[selinux-policy: 179/3172] add renice all domains

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 19:20:28 UTC 2010


commit 5817e3a8204450a13ac09097c590380eef1eb27b
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Wed May 18 13:21:00 2005 +0000

    add renice all domains

 refpolicy/policy/modules/system/domain.if |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/refpolicy/policy/modules/system/domain.if b/refpolicy/policy/modules/system/domain.if
index 69c8de8..082d8d4 100644
--- a/refpolicy/policy/modules/system/domain.if
+++ b/refpolicy/policy/modules/system/domain.if
@@ -105,6 +105,20 @@ class fd use;
 
 ########################################
 #
+# domain_set_all_domains_priorities(domain)
+#
+define(`domain_set_all_domains_priorities',`
+requires_block_template(`$0'_depend)
+allow $1 domain:process setsched;
+')
+
+define(`domain_set_all_domains_priorities_depend',`
+attribute domain;
+class process setsched;
+')
+
+########################################
+#
 # domain_signal_all_domains(domain)
 #
 define(`domain_signal_all_domains',`


More information about the scm-commits mailing list