Skip to content

Commit 79eb271

Browse files
bulwahnjrjohansen
authored andcommitted
apparmor: correct config reference to intended one
Commit 5bfcbd2 ("apparmor: Enable tuning of policy paranoid load for embedded systems") introduces the config SECURITY_APPARMOR_PARANOID_LOAD, but then refers in the code to SECURITY_PARANOID_LOAD; note the missing APPARMOR in the middle. Correct this to the introduced and intended config option. Fixes: 5bfcbd2 ("apparmor: Enable tuning of policy paranoid load for embedded systems") Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent eac9312 commit 79eb271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/apparmor/lsm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ module_param_named(path_max, aa_g_path_max, aauint, S_IRUSR);
14021402
* DEPRECATED: read only as strict checking of load is always done now
14031403
* that none root users (user namespaces) can load policy.
14041404
*/
1405-
bool aa_g_paranoid_load = IS_ENABLED(CONFIG_SECURITY_PARANOID_LOAD);
1405+
bool aa_g_paranoid_load = IS_ENABLED(CONFIG_SECURITY_APPARMOR_PARANOID_LOAD);
14061406
module_param_named(paranoid_load, aa_g_paranoid_load, aabool, S_IRUGO);
14071407

14081408
static int param_get_aaintbool(char *buffer, const struct kernel_param *kp);

0 commit comments

Comments
 (0)