Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c611616c authored by John Johansen's avatar John Johansen
Browse files

apparmor: enable users to query whether apparmor is enabled

parent dfe4ac28
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -742,7 +742,7 @@ module_param_named(paranoid_load, aa_g_paranoid_load, aabool,


/* Boot time disable flag */
/* Boot time disable flag */
static bool apparmor_enabled = CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE;
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)
static int __init apparmor_enabled_setup(char *str)
{
{