mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
parser: Add warning flag that can toggle a set of developer warnings
Add the flag --warn=dev to be able to toggle several developer warnings with a single flag. Note: --warn=all is being reserved for a larger patch to warnings when all warnings are setup with control flags. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/600 Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -56,6 +56,7 @@ extern int parser_token;
|
||||
#define WARN_RULE_DOWNGRADED 2
|
||||
#define WARN_ABI 4
|
||||
#define WARN_DEPRECATED 8
|
||||
#define WARN_DEV (WARN_RULE_NOT_ENFORCED | WARN_RULE_DOWNGRADED | WARN_ABI | WARN_DEPRECATED)
|
||||
|
||||
extern dfaflags_t warnflags;
|
||||
|
||||
|
Reference in New Issue
Block a user