2
0
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:
John Johansen
2010-02-12 13:46:55 -08:00
parent 94b2a345f2
commit eafddd3cea
3 changed files with 25 additions and 7 deletions

View File

@@ -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;