mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
Fix alias to keep old rule and add new one instead of updating old rule.
Alias was broken because it when an alias was made the old path was completely removed and there was no way to specify it. Update it so aliases just add an new duplicate rule instead.
This commit is contained in:
@@ -53,6 +53,8 @@ struct cod_entry {
|
||||
int audit; /* audit flags for mode */
|
||||
int deny; /* TRUE or FALSE */
|
||||
|
||||
int alias_ignore; /* ignore for alias processing */
|
||||
|
||||
int subset;
|
||||
|
||||
pattern_t pattern_type;
|
||||
|
Reference in New Issue
Block a user