diff --git a/refpolicy/policy/modules/system/domain.if b/refpolicy/policy/modules/system/domain.if index 69c8de8b..082d8d42 100644 --- a/refpolicy/policy/modules/system/domain.if +++ b/refpolicy/policy/modules/system/domain.if @@ -103,6 +103,20 @@ attribute privfd; 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)