Skip to contentSkip to conversation

Generalize grub2 pattern

PATCH New Luis Ressel 1 participant 1 message Oct 22, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Generalize grub2 pattern

GRUB2 helper programs can be either named grub2-* or grub-*

---
 policy/modules/admin/bootloader.fc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
policy/modules/admin/bootloader.fc +2 -2
index 2626ebf..8c7e6c2 100644
@@ -7,5 +7,5 @@
 /sbin/ybin.*		--	gen_context(system_u:object_r:bootloader_exec_t,s0)
 
 /usr/sbin/grub		--	gen_context(system_u:object_r:bootloader_exec_t,s0)
-/usr/sbin/grub2-bios-setup	--	gen_context(system_u:object_r:bootloader_exec_t,s0)
-/usr/sbin/grub2-probe	--	gen_context(system_u:object_r:bootloader_exec_t,s0)
+/usr/sbin/grub2?-bios-setup	--	gen_context(system_u:object_r:bootloader_exec_t,s0)
+/usr/sbin/grub2?-probe	--	gen_context(system_u:object_r:bootloader_exec_t,s0)
Signature · 1 line
1.8.4