mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
Add cux and CUx to PROFILE_MODE_RE
cux and CUx are valid exec permissions, so they should be accepted by validate_profile_mode() ;-) Acked-by: John Johansen <john.johansen@canonical.com> for trunk and 2.9
This commit is contained in:
parent
39ebf164de
commit
6ae4a3c2f0
1 changed files with 1 additions and 1 deletions
|
@ -2529,7 +2529,7 @@ def collapse_log():
|
|||
if not profile_known_network(aa[profile][hat], family, sock_type):
|
||||
log_dict[aamode][profile][hat]['netdomain'][family][sock_type] = True
|
||||
|
||||
PROFILE_MODE_RE = re.compile('^(r|w|l|m|k|a|ix|ux|px|pux|cx|pix|cix|Ux|Px|PUx|Cx|Pix|Cix)+$')
|
||||
PROFILE_MODE_RE = re.compile('^(r|w|l|m|k|a|ix|ux|px|pux|cx|pix|cix|cux|Ux|Px|PUx|Cx|Pix|Cix|CUx)+$')
|
||||
PROFILE_MODE_DENY_RE = re.compile('^(r|w|l|m|k|a|x)+$')
|
||||
|
||||
def validate_profile_mode(mode, allow, nt_name=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue