2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

refactor parser prefix parsing to remove execess code

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Steve Beattie <steve@nxnw.org>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
John Johansen
2013-09-12 13:26:13 -07:00
committed by Tyler Hicks
parent f6c192f584
commit 74d72d6028
2 changed files with 87 additions and 115 deletions

View File

@@ -37,6 +37,12 @@ extern int parser_token;
typedef enum pattern_t pattern_t;
struct prefixes {
int audit;
int deny;
int owner;
};
struct flagval {
int hat;
int complain;