Skip to contentSkip to conversation

cups: add cups-browsed executable fc

PATCH New Guido Trentalancia 2 participants 2 messages Dec 29, 2016 – Dec 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cups: add cups-browsed executable fc

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

---
 policy/modules/contrib/cups.fc |    1 +
 1 file changed, 1 insertion(+)
policy/modules/contrib/cups.fc +1 -0
@@ -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)
#1 lore raw

PATCH 1/1 cups: add cups-browsed executable fc

Quoted 10 lines · Guido Trentalancia via refpolicy

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

---
 policy/modules/contrib/cups.fc |    1 +
 1 file changed, 1 insertion(+)

policy/modules/contrib/cups.fc line 49

Quoted 7 lines
policy/modules/contrib/cups.fc +1 -0
@@ -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.

Signature · 1 line
Chris PeBenito