1 |
commit: 913e235d5896f9bfb04dce44e3242d968afaf5b9 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Fri Aug 29 17:32:35 2014 +0000 |
4 |
Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com> |
5 |
CommitDate: Fri Aug 29 17:32:35 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=913e235d |
7 |
|
8 |
Enable powertop support for system administrator |
9 |
|
10 |
--- |
11 |
policy/modules/roles/sysadm.te | 3 +++ |
12 |
1 file changed, 3 insertions(+) |
13 |
|
14 |
diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te |
15 |
index fb6ec87..6265657 100644 |
16 |
--- a/policy/modules/roles/sysadm.te |
17 |
+++ b/policy/modules/roles/sysadm.te |
18 |
@@ -534,6 +534,9 @@ ifndef(`distro_redhat',` |
19 |
') |
20 |
|
21 |
ifdef(`distro_gentoo',` |
22 |
+ # powertop support |
23 |
+ dev_read_cpuid(sysadm_t) |
24 |
+ |
25 |
optional_policy(` |
26 |
dnsmasq_admin(sysadm_t, sysadm_r) |
27 |
') |