nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
80913e
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
80913e
From: Daniel Kiper <daniel.kiper@oracle.com>
80913e
Date: Mon, 18 Mar 2019 13:09:22 +0100
80913e
Subject: [PATCH] verifiers: MIPS fallout cleanup
80913e
80913e
MIPS fallout cleanup after commit 4d4a8c96e (verifiers: Add possibility
80913e
to verify kernel and modules command lines).
80913e
80913e
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
80913e
Reviewed-by: Ross Philipson <ross.philipson@oracle.com>
80913e
---
80913e
 grub-core/loader/mips/linux.c | 2 +-
80913e
 1 file changed, 1 insertion(+), 1 deletion(-)
80913e
80913e
diff --git a/grub-core/loader/mips/linux.c b/grub-core/loader/mips/linux.c
b32e65
index 20135ce25..e4ed95921 100644
80913e
--- a/grub-core/loader/mips/linux.c
80913e
+++ b/grub-core/loader/mips/linux.c
80913e
@@ -314,7 +314,7 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
80913e
 
80913e
   grub_memcpy (params, LINUX_IMAGE, sizeof (LINUX_IMAGE));
80913e
   grub_create_loader_cmdline (argc, argv, params + sizeof (LINUX_IMAGE) - 1,
80913e
-			      size);
80913e
+			      size, GRUB_VERIFY_KERNEL_CMDLINE);
80913e
 #else
80913e
   linux_argv = extra;
80913e
   argv_off = (grub_uint8_t *) linux_argv - (grub_uint8_t *) playground;