Skip to contentSkip to conversation

admin_logrotate changes

PATCH [email protected] 1 participant 1 message May 30, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

Remove unconfined_domain from logrotate, needs to be able to write files at different sensitivities

policy/modules/admin/logrotate.te +1 -4
@@ -75,6 +75,7 @@
 mls_file_read_up(logrotate_t)
 mls_file_write_down(logrotate_t)
 mls_file_upgrade(logrotate_t)
+mls_process_write_down(logrotate_t)
 
 selinux_get_fs_mount(logrotate_t)
 selinux_get_enforce_mode(logrotate_t)
@@ -193,10 +194,6 @@
 	squid_domtrans(logrotate_t)
 ')
 
-optional_policy(`
-	unconfined_domain(logrotate_t)
-')
-
 ifdef(`TODO',`
 # it should not require this
 allow logrotate_t {staff_home_dir_t sysadm_home_dir_t}:dir { getattr read search };

--
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.