mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge branch 'cboltz-fix-deny-hat' into 'apparmor-2.13'
[2.11..2.13] handle_children: Fix denying of adding a hat See merge request apparmor/apparmor!378 Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
commit
d2e83231f0
1 changed files with 1 additions and 1 deletions
|
@ -992,7 +992,7 @@ def handle_children(profile, hat, root):
|
|||
hat = default_hat
|
||||
elif ans == 'CMD_DENY':
|
||||
# As unknown hat is denied no entry for it should be made
|
||||
return None
|
||||
continue
|
||||
|
||||
elif typ == 'capability':
|
||||
# If capability then we (should) have pid, profile, hat, program, mode, capability
|
||||
|
|
Loading…
Add table
Reference in a new issue