From: John Johansen Date: Thu, 11 Jul 2013 04:03:43 +0000 (-0700) Subject: apparmor: enable users to query whether apparmor is enabled X-Git-Tag: v3.12-rc1~107^2~14 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c611616cd3cb27f9605ee4954532b3fe144d951b;p=linux-block.git apparmor: enable users to query whether apparmor is enabled Signed-off-by: John Johansen --- diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 2e2a0dd4a73f..96506dfe51ec 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -742,7 +742,7 @@ module_param_named(paranoid_load, aa_g_paranoid_load, aabool, /* Boot time disable flag */ static bool apparmor_enabled = CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE; -module_param_named(enabled, apparmor_enabled, aabool, S_IRUSR); +module_param_named(enabled, apparmor_enabled, bool, S_IRUGO); static int __init apparmor_enabled_setup(char *str) {