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:
committed by
Tyler Hicks
parent
f6c192f584
commit
74d72d6028
@@ -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;
|
||||
|
Reference in New Issue
Block a user