mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
add pix transition mode
This commit is contained in:
@@ -497,7 +497,7 @@ static int process_dfa_entry(aare_ruleset_t *dfarules, struct cod_entry *entry)
|
||||
/* ix implies m but the apparmor module does not add m bit to
|
||||
* dfa states like it does for pcre
|
||||
*/
|
||||
if (entry->mode & AA_EXEC_INHERIT)
|
||||
if ((entry->mode & AA_EXEC_MODIFIERS) == AA_EXEC_INHERIT)
|
||||
entry->mode |= AA_EXEC_MMAP;
|
||||
if (!aare_add_rule(dfarules, tbuf, entry->mode))
|
||||
ret = FALSE;
|
||||
|
Reference in New Issue
Block a user