mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
remove superfluous/outdated comment about m / ix
For the records: the valid statement from the comment is: # m is not implied by ix Acked-by: Kshitij Gupta <kgupta8592@gmail.com>
This commit is contained in:
parent
3e74935279
commit
da8230fe95
2 changed files with 0 additions and 16 deletions
|
@ -434,14 +434,6 @@ class Merge(object):
|
|||
if not allow_mode & apparmor.aamode.AA_MAY_EXEC:
|
||||
mode |= apparmor.aa.str_to_mode('ix')
|
||||
|
||||
# m is not implied by ix
|
||||
|
||||
### If we get an mmap request, check if we already have it in allow_mode
|
||||
##if mode & AA_EXEC_MMAP:
|
||||
## # ix implies m, so we don't need to add m if ix is present
|
||||
## if contains(allow_mode, 'ix'):
|
||||
## mode = mode - AA_EXEC_MMAP
|
||||
|
||||
if not mode:
|
||||
continue
|
||||
|
||||
|
|
|
@ -1702,14 +1702,6 @@ def ask_the_questions():
|
|||
if not allow_mode & apparmor.aamode.AA_MAY_EXEC:
|
||||
mode |= str_to_mode('ix')
|
||||
|
||||
# m is not implied by ix
|
||||
|
||||
### If we get an mmap request, check if we already have it in allow_mode
|
||||
##if mode & AA_EXEC_MMAP:
|
||||
## # ix implies m, so we don't need to add m if ix is present
|
||||
## if contains(allow_mode, 'ix'):
|
||||
## mode = mode - AA_EXEC_MMAP
|
||||
|
||||
if not mode:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue