2016-12-29 22:26:34

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] cups: add cups-browsed executable fc

Add the file context for the cups-browsed executable file.

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/cups.fc | 1 +
1 file changed, 1 insertion(+)

--- a/policy/modules/contrib/cups.fc 2016-12-22 23:12:59.377081677 +0100
+++ b/policy/modules/contrib/cups.fc 2016-12-29 23:14:47.118441022 +0100
@@ -43,6 +43,7 @@
/usr/local/linuxprinter/ppd(/.*)? gen_context(system_u:object_r:cupsd_rw_etc_t,s0)

/usr/sbin/hp-[^/]+ -- gen_context(system_u:object_r:hplip_exec_t,s0)
+/usr/sbin/cups-browsed -- gen_context(system_u:object_r:cupsd_exec_t,s0)
/usr/sbin/cupsd -- gen_context(system_u:object_r:cupsd_exec_t,s0)
/usr/sbin/hal_lpadmin -- gen_context(system_u:object_r:cupsd_config_exec_t,s0)
/usr/sbin/hpiod -- gen_context(system_u:object_r:hplip_exec_t,s0)


2016-12-30 19:16:28

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] cups: add cups-browsed executable fc

On 12/29/16 17:26, Guido Trentalancia via refpolicy wrote:
> Add the file context for the cups-browsed executable file.
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> policy/modules/contrib/cups.fc | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/policy/modules/contrib/cups.fc 2016-12-22 23:12:59.377081677 +0100
> +++ b/policy/modules/contrib/cups.fc 2016-12-29 23:14:47.118441022 +0100
> @@ -43,6 +43,7 @@
> /usr/local/linuxprinter/ppd(/.*)? gen_context(system_u:object_r:cupsd_rw_etc_t,s0)
>
> /usr/sbin/hp-[^/]+ -- gen_context(system_u:object_r:hplip_exec_t,s0)
> +/usr/sbin/cups-browsed -- gen_context(system_u:object_r:cupsd_exec_t,s0)
> /usr/sbin/cupsd -- gen_context(system_u:object_r:cupsd_exec_t,s0)
> /usr/sbin/hal_lpadmin -- gen_context(system_u:object_r:cupsd_config_exec_t,s0)
> /usr/sbin/hpiod -- gen_context(system_u:object_r:hplip_exec_t,s0)

Merged.

--
Chris PeBenito