Generalize grub2 pattern
PATCH 1/1 Generalize grub2 pattern
GRUB2 helper programs can be named either grub2-* or grub-*, depending on distro and configuration.
--- policy/modules/admin/bootloader.fc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
policy/modules/admin/bootloader.fc +2 -2
@@ -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.5.5
PATCH 1/1 Generalize grub2 pattern
Quoted 11 lines · Luis Ressel
GRUB2 helper programs can be named either grub2-* or grub-*, depending on distro and configuration.
--- policy/modules/admin/bootloader.fc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)policy/modules/admin/bootloader.fc +0
-0
policy/modules/admin/bootloader.fc line 11
Quoted 7 lines
policy/modules/admin/bootloader.fc +2
-2@@ -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)
Merged.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com