nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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