nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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