mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
Fix the value being set in nt_name when allowed path exist
The patch: - sets nt_name to the path, if it is allowed. Acked-by: Christian Boltz <apparmor@cboltz.de> (acked on IRC based on a link to the ML archive[1]) [1] https://lists.ubuntu.com/archives/apparmor/2014-August/006194.html
This commit is contained in:
parent
a620f18cf0
commit
9e37c3278e
@ -1127,7 +1127,7 @@ def handle_children(profile, hat, root):
|
||||
nt_name = None
|
||||
for entr in m:
|
||||
if aa[profile][hat]['allow']['path'].get(entr, False):
|
||||
nt_name = aa[profile][hat]
|
||||
nt_name = entr
|
||||
break
|
||||
if to_name and to_name != nt_name:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user