2010-12-13 14:12:22 +00:00
|
|
|
policy_module(cpufreqselector, 1.2.0)
|
2009-07-27 13:09:00 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type cpufreqselector_t;
|
|
|
|
type cpufreqselector_exec_t;
|
|
|
|
application_domain(cpufreqselector_t, cpufreqselector_exec_t)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# cpufreq-selector local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow cpufreqselector_t self:capability { sys_nice sys_ptrace };
|
|
|
|
allow cpufreqselector_t self:fifo_file rw_fifo_file_perms;
|
|
|
|
|
|
|
|
files_read_etc_files(cpufreqselector_t)
|
|
|
|
files_read_usr_files(cpufreqselector_t)
|
|
|
|
|
|
|
|
corecmd_search_bin(cpufreqselector_t)
|
|
|
|
|
|
|
|
dev_rw_sysfs(cpufreqselector_t)
|
|
|
|
|
2010-06-21 13:03:11 +00:00
|
|
|
miscfiles_read_localization(cpufreqselector_t)
|
|
|
|
|
2009-07-27 13:09:00 +00:00
|
|
|
userdom_read_all_users_state(cpufreqselector_t)
|
2009-09-03 13:15:17 +00:00
|
|
|
userdom_dontaudit_search_user_home_dirs(cpufreqselector_t)
|
2009-07-27 13:09:00 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
2009-09-03 13:15:17 +00:00
|
|
|
dbus_system_domain(cpufreqselector_t, cpufreqselector_exec_t)
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
consolekit_dbus_chat(cpufreqselector_t)
|
|
|
|
')
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
policykit_dbus_chat(cpufreqselector_t)
|
|
|
|
')
|
2009-07-27 13:09:00 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
nscd_dontaudit_search_pid(cpufreqselector_t)
|
|
|
|
')
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
policykit_domtrans_auth(cpufreqselector_t)
|
|
|
|
policykit_read_lib(cpufreqselector_t)
|
|
|
|
policykit_read_reload(cpufreqselector_t)
|
|
|
|
')
|