2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 13:58:22 +00:00

Add support for rlimit and signal rules to aa-mergeprof

Acked-by: Kshitij Gupta <kgupta8592@gmail.com>
This commit is contained in:
Christian Boltz 2015-11-24 00:11:56 +01:00
parent 593cbf993f
commit f1e08d0684

View File

@ -631,7 +631,7 @@ class Merge(object):
elif re.search('\d', ans):
default_option = ans
for ruletype in ['capability', 'network', 'change_profile']:
for ruletype in ['capability', 'change_profile', 'network', 'rlimit', 'signal']:
if other.aa[profile][hat].get(ruletype, False): # needed until we have proper profile initialization
for rule_obj in other.aa[profile][hat][ruletype].rules: