summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <cpebenito@tresys.com>2009-09-03 09:15:17 -0400
committerChris PeBenito <cpebenito@tresys.com>2009-09-03 09:15:17 -0400
commit634a13c21f137279bf470035ba28101448a9fb84 (patch)
tree6b0fd1b2c74f6910115e417635345db5e6ce6f98
parentf6137171f300d4a92cc27b6a08d04bb26b8401e9 (diff)
cpufreqselector patch from dan.
-rw-r--r--policy/modules/apps/cpufreqselector.te13
1 files changed, 11 insertions, 2 deletions
diff --git a/policy/modules/apps/cpufreqselector.te b/policy/modules/apps/cpufreqselector.te
index 434cc9f9..2bd85728 100644
--- a/policy/modules/apps/cpufreqselector.te
+++ b/policy/modules/apps/cpufreqselector.te
@@ -1,5 +1,5 @@
-policy_module(cpufreqselector, 1.0.0)
+policy_module(cpufreqselector, 1.0.1)
########################################
#
@@ -26,9 +26,18 @@ corecmd_search_bin(cpufreqselector_t)
dev_rw_sysfs(cpufreqselector_t)
userdom_read_all_users_state(cpufreqselector_t)
+userdom_dontaudit_search_user_home_dirs(cpufreqselector_t)
optional_policy(`
- consolekit_dbus_chat(cpufreqselector_t)
+ dbus_system_domain(cpufreqselector_t, cpufreqselector_exec_t)
+
+ optional_policy(`
+ consolekit_dbus_chat(cpufreqselector_t)
+ ')
+
+ optional_policy(`
+ policykit_dbus_chat(cpufreqselector_t)
+ ')
')
optional_policy(`