Skip to content

Commit

Permalink
apparmor: enable users to query whether apparmor is enabled
Browse files Browse the repository at this point in the history
Signed-off-by: John Johansen <john.johansen@canonical.com>
  • Loading branch information
John Johansen committed Aug 14, 2013
1 parent dfe4ac2 commit c611616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/apparmor/lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c611616

Please sign in to comment.