Skip to contentSkip to conversation

cups policy

PATCH Russell Coker 2 participants 2 messages Oct 14, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The attached patch is needed for the latest version of cups in rawhide.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
program/cups.fc renamed from usr/src/se/policy/file_contexts/program/cups.fc +1 -1
@@ -20,7 +20,7 @@
 /usr/sbin/cupsd		--	system_u:object_r:cupsd_exec_t
 /usr/bin/cups-config-daemon --	system_u:object_r:cupsd_config_exec_t
 /usr/sbin/hal_lpadmin --	system_u:object_r:cupsd_config_exec_t
-/usr/sbin/printconf-backend --	system_u:object_r:sbin_t
+/usr/sbin/printconf-backend --	system_u:object_r:cupsd_config_exec_t
 /var/log/cups(/.*)?		system_u:object_r:cupsd_log_t
 /var/spool/cups(/.*)?		system_u:object_r:print_spool_t
 /var/run/cups/printcap	--	system_u:object_r:cupsd_var_run_t
program/unused/cups.te renamed from usr/src/se/policy/domains/program/unused/cups.te +8 -0
@@ -170,6 +170,14 @@
 # CUPS configuration daemon
 daemon_domain(cupsd_config)
 
+ifdef(`distro_redhat', `
+ifdef(`rpm.te', `
+allow cupsd_config_t rpm_var_lib_t:dir { getattr search };
+allow cupsd_config_t rpm_var_lib_t:file { getattr read };
+')
+allow cupsd_config_t initrc_exec_t:file getattr;
+')dnl end distro_redhat
+
 allow cupsd_config_t { etc_t etc_runtime_t net_conf_t }:file { getattr read };
 allow cupsd_config_t self:file { getattr read };
 
#1 lore raw

Merged.

Quoted 1 line · Russell Coker

The attached patch is needed for the latest version of cups in rawhide.

Signature · 7 lines
James Carter <[email protected]>
National Security Agency

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.