From: aranea@aixah.de (Luis Ressel) Date: Sun, 16 Feb 2014 14:35:39 +0100 Subject: [refpolicy] [PATCH] Generalize grub2 pattern Message-ID: <1392557739-2018-1-git-send-email-aranea@aixah.de> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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(-) diff --git a/policy/modules/admin/bootloader.fc b/policy/modules/admin/bootloader.fc index 2626ebf..8c7e6c2 100644 --- a/policy/modules/admin/bootloader.fc +++ b/policy/modules/admin/bootloader.fc @@ -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) -- 1.8.5.5