Chris PeBenito ed7015
Chris PeBenito 29af4c
policy_module(rtkit, 1.1.0)
Chris PeBenito ed7015
Chris PeBenito ed7015
########################################
Chris PeBenito ed7015
#
Chris PeBenito ed7015
# Declarations
Chris PeBenito ed7015
#
Chris PeBenito ed7015
Chris PeBenito ed7015
type rtkit_daemon_t;
Chris PeBenito ed7015
type rtkit_daemon_exec_t;
Chris PeBenito ed7015
dbus_system_domain(rtkit_daemon_t, rtkit_daemon_exec_t)
Chris PeBenito ed7015
Chris PeBenito ed7015
########################################
Chris PeBenito ed7015
#
Chris PeBenito ed7015
# rtkit_daemon local policy
Chris PeBenito ed7015
#
Chris PeBenito ed7015
Chris PeBenito ed7015
allow rtkit_daemon_t self:capability { dac_read_search setuid sys_chroot setgid sys_nice sys_ptrace };
Chris PeBenito ed7015
allow rtkit_daemon_t self:process { setsched getcap setcap setrlimit };
Chris PeBenito ed7015
Chris PeBenito ed7015
kernel_read_system_state(rtkit_daemon_t)
Chris PeBenito ed7015
Jeremy Solt ac19f1
domain_getsched_all_domains(rtkit_daemon_t)
Chris PeBenito ed7015
domain_read_all_domains_state(rtkit_daemon_t)
Chris PeBenito ed7015
Chris PeBenito ed7015
fs_rw_anon_inodefs_files(rtkit_daemon_t)
Chris PeBenito ed7015
Chris PeBenito ed7015
auth_use_nsswitch(rtkit_daemon_t)
Chris PeBenito ed7015
Chris PeBenito ed7015
logging_send_syslog_msg(rtkit_daemon_t)
Chris PeBenito ed7015
Jeremy Solt ac19f1
miscfiles_read_localization(rtkit_daemon_t)
Chris PeBenito ed7015
Chris PeBenito ed7015
optional_policy(`
Chris PeBenito ed7015
	policykit_dbus_chat(rtkit_daemon_t)
Chris PeBenito ed7015
')