nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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