dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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