From 82a4ee736c9cfa31fc2439f2e4e48442a9dfd15d Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 12 Jun 2023 15:55:41 +0300 Subject: [PATCH] Skip normalize_cmdline_options() for the vdso32 and vdso cmdline parameters See vdso32_setup() in arch/x86/entry/vdso/vdso32-setup.c --- kconfig_hardened_check/checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kconfig_hardened_check/checks.py b/kconfig_hardened_check/checks.py index 1e15658..9052aaa 100644 --- a/kconfig_hardened_check/checks.py +++ b/kconfig_hardened_check/checks.py @@ -591,6 +591,8 @@ no_kstrtobool_options = [ 'slub_debug', # See setup_slub_debug() in mm/slub.c 'iommu', # See iommu_setup() in arch/x86/kernel/pci-dma.c 'vsyscall', # See vsyscall_setup() in arch/x86/entry/vsyscall/vsyscall_64.c + 'vdso32', # See vdso32_setup() in arch/x86/entry/vdso/vdso32-setup.c + 'vdso', # See vdso32_setup() in arch/x86/entry/vdso/vdso32-setup.c 'tsx' # See tsx_init() in arch/x86/kernel/cpu/tsx.c ] -- 2.31.1