Chris PeBenito ae1b7d
policy_module(cpufreqselector, 1.1.1)
Chris PeBenito f4962a
Chris PeBenito f4962a
########################################
Chris PeBenito f4962a
#
Chris PeBenito f4962a
# Declarations
Chris PeBenito f4962a
#
Chris PeBenito f4962a
Chris PeBenito f4962a
type cpufreqselector_t;
Chris PeBenito f4962a
type cpufreqselector_exec_t;
Chris PeBenito f4962a
application_domain(cpufreqselector_t, cpufreqselector_exec_t)
Chris PeBenito f4962a
Chris PeBenito f4962a
########################################
Chris PeBenito f4962a
#
Chris PeBenito f4962a
# cpufreq-selector local policy
Chris PeBenito f4962a
#
Chris PeBenito f4962a
Chris PeBenito f4962a
allow cpufreqselector_t self:capability { sys_nice sys_ptrace };
Chris PeBenito f4962a
allow cpufreqselector_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito f4962a
Chris PeBenito f4962a
files_read_etc_files(cpufreqselector_t)
Chris PeBenito f4962a
files_read_usr_files(cpufreqselector_t)
Chris PeBenito f4962a
Chris PeBenito f4962a
corecmd_search_bin(cpufreqselector_t)
Chris PeBenito f4962a
Chris PeBenito f4962a
dev_rw_sysfs(cpufreqselector_t)
Chris PeBenito f4962a
Chris PeBenito ae1b7d
miscfiles_read_localization(cpufreqselector_t)
Chris PeBenito ae1b7d
Chris PeBenito f4962a
userdom_read_all_users_state(cpufreqselector_t)
Dan Walsh 3eaa99
userdom_dontaudit_search_admin_dir(cpufreqselector_t)
Chris PeBenito f4962a
Chris PeBenito f4962a
optional_policy(`
Chris PeBenito 634a13
	dbus_system_domain(cpufreqselector_t, cpufreqselector_exec_t)
Chris PeBenito 634a13
Chris PeBenito 634a13
	optional_policy(`
Chris PeBenito 634a13
		consolekit_dbus_chat(cpufreqselector_t)
Chris PeBenito 634a13
	')
Chris PeBenito 634a13
Chris PeBenito 634a13
	optional_policy(`
Chris PeBenito 634a13
		policykit_dbus_chat(cpufreqselector_t)
Chris PeBenito 634a13
	')
Chris PeBenito f4962a
')
Chris PeBenito f4962a
Chris PeBenito f4962a
optional_policy(`
Chris PeBenito f4962a
	nscd_dontaudit_search_pid(cpufreqselector_t)
Chris PeBenito f4962a
')
Chris PeBenito f4962a
Chris PeBenito f4962a
optional_policy(`
Chris PeBenito f4962a
	policykit_domtrans_auth(cpufreqselector_t)
Chris PeBenito f4962a
	policykit_read_lib(cpufreqselector_t)
Chris PeBenito f4962a
	policykit_read_reload(cpufreqselector_t)
Chris PeBenito f4962a
')