nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0345-verifiers-MIPS-fallout-cleanup.patch

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