All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Generalize grub2 pattern
@ 2013-10-22 20:47 Luis Ressel
  0 siblings, 0 replies; 3+ messages in thread
From: Luis Ressel @ 2013-10-22 20:47 UTC (permalink / raw)
  To: refpolicy

GRUB2 helper programs can be either named grub2-* or grub-*
---
 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.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [refpolicy] [PATCH] Generalize grub2 pattern
@ 2014-02-16 13:35 Luis Ressel
  2014-03-03 14:07 ` Christopher J. PeBenito
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Ressel @ 2014-02-16 13:35 UTC (permalink / raw)
  To: refpolicy

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [refpolicy] [PATCH] Generalize grub2 pattern
  2014-02-16 13:35 [refpolicy] [PATCH] Generalize grub2 pattern Luis Ressel
@ 2014-03-03 14:07 ` Christopher J. PeBenito
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher J. PeBenito @ 2014-03-03 14:07 UTC (permalink / raw)
  To: refpolicy

On 2/16/2014 8:35 AM, Luis Ressel wrote:
> 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)
 
Merged.

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-03 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-16 13:35 [refpolicy] [PATCH] Generalize grub2 pattern Luis Ressel
2014-03-03 14:07 ` Christopher J. PeBenito
  -- strict thread matches above, loose matches on Subject: below --
2013-10-22 20:47 Luis Ressel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.