From 18915d533a2430c48ca62a53e3ddc5028522d955 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 12 Jun 2023 15:00:32 +0300 Subject: [PATCH] Skip normalize_cmdline_options() for the slub_debug cmdline parameter See setup_slub_debug() in mm/slub.c --- kconfig_hardened_check/checks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kconfig_hardened_check/checks.py b/kconfig_hardened_check/checks.py index 46922a2..fc1f6dd 100644 --- a/kconfig_hardened_check/checks.py +++ b/kconfig_hardened_check/checks.py @@ -588,6 +588,7 @@ no_kstrtobool_options = [ 'retbleed', # See retbleed_parse_cmdline() in arch/x86/kernel/cpu/bugs.c 'rodata', # See set_debug_rodata() in init/main.c 'ssbd', # See parse_spectre_v4_param() in arch/arm64/kernel/proton-pack.c + 'slub_debug', # See setup_slub_debug() in mm/slub.c 'tsx' # See tsx_init() in arch/x86/kernel/cpu/tsx.c ] -- 2.31.1