mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
Add support for rlimit and signal rules to aa-mergeprof
Acked-by: Kshitij Gupta <kgupta8592@gmail.com>
This commit is contained in:
parent
593cbf993f
commit
f1e08d0684
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user