nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0265-grub-set-bootflag-Update-comment-about-running-as-ro.patch

4d592c
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4d592c
From: Hans de Goede <hdegoede@redhat.com>
4d592c
Date: Wed, 13 Nov 2019 12:15:43 +0100
4d592c
Subject: [PATCH] grub-set-bootflag: Update comment about running as root
4d592c
 through pkexec
4d592c
4d592c
We have stopped using pkexec for grub-set-bootflag, instead it is now
4d592c
installed suid root, update the comment accordingly.
4d592c
4d592c
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
4d592c
---
4d592c
 util/grub-set-bootflag.c | 2 +-
4d592c
 1 file changed, 1 insertion(+), 1 deletion(-)
4d592c
4d592c
diff --git a/util/grub-set-bootflag.c b/util/grub-set-bootflag.c
4d592c
index f8dc310909a..32f1c104a2b 100644
4d592c
--- a/util/grub-set-bootflag.c
4d592c
+++ b/util/grub-set-bootflag.c
4d592c
@@ -18,7 +18,7 @@
4d592c
  */
4d592c
 
4d592c
 /*
4d592c
- * NOTE this gets run by users as root (through pkexec), so this does not
4d592c
+ * NOTE this gets run by users as root (its suid root), so this does not
4d592c
  * use any grub library / util functions to allow for easy auditing.
4d592c
  * The grub headers are only included to get certain defines.
4d592c
  */