|
@@ -677,9 +677,9 @@ enum profile_mode aa_g_profile_mode = APPARMOR_ENFORCE;
|
|
|
module_param_call(mode, param_set_mode, param_get_mode,
|
|
|
&aa_g_profile_mode, S_IRUSR | S_IWUSR);
|
|
|
|
|
|
-#ifdef CONFIG_SECURITY_APPARMOR_HASH
|
|
|
/* whether policy verification hashing is enabled */
|
|
|
bool aa_g_hash_policy = IS_ENABLED(CONFIG_SECURITY_APPARMOR_HASH_DEFAULT);
|
|
|
+#ifdef CONFIG_SECURITY_APPARMOR_HASH
|
|
|
module_param_named(hash_policy, aa_g_hash_policy, aabool, S_IRUSR | S_IWUSR);
|
|
|
#endif
|
|
|
|