commit | 680cd62e910d7b7e3c1fcde6ba67c6ca770c2286 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Mon Jan 16 00:42:27 2017 -0800 |
committer | John Johansen <john.johansen@canonical.com> | Mon Jan 16 01:18:24 2017 -0800 |
tree | 76730905bf9676fefb5070d908a13085ebb32394 | |
parent | 57e36bbd67bd1509f550311b162be78cadfe887b [diff] [blame] |
apparmor: add debug assert AA_BUG and Kconfig to control debug info Signed-off-by: John Johansen <john.johansen@canonical.com>
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 1dae66b..99a6e5e 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c
@@ -681,7 +681,7 @@ #endif /* Debug mode */ -bool aa_g_debug; +bool aa_g_debug = IS_ENABLED(CONFIG_SECURITY_DEBUG_MESSAGES); module_param_named(debug, aa_g_debug, aabool, S_IRUSR | S_IWUSR); /* Audit mode */