mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +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:
@@ -251,6 +251,7 @@ optflag_table_t warnflag_table[] = {
|
||||
{ 0, "rule-downgraded", "warn if a rule is downgraded to a lesser but still enforcing rule", WARN_RULE_DOWNGRADED },
|
||||
{ 0, "abi", "warn if there are abi issues in the profile", WARN_ABI },
|
||||
{ 0, "deprecated", "warn if something in the profile is deprecated", WARN_DEPRECATED },
|
||||
{ 0, "dev", "turn on warnings that are useful for profile development", WARN_DEV },
|
||||
{ 0, NULL, NULL, 0 },
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user