Skip normalize_cmdline_options() for the vsyscall cmdline parameter
authorAlexander Popov <alex.popov@linux.com>
Mon, 12 Jun 2023 12:45:56 +0000 (15:45 +0300)
committerAlexander Popov <alex.popov@linux.com>
Mon, 12 Jun 2023 12:45:56 +0000 (15:45 +0300)
See vsyscall_setup() in arch/x86/entry/vsyscall/vsyscall_64.c

kconfig_hardened_check/checks.py

index 6a41be215541c6368c0f7aab0fca888421d4e081..1e156586af6d1328ea3727172fc31a89a368b11b 100644 (file)
@@ -590,6 +590,7 @@ no_kstrtobool_options = [
     'ssbd', # See parse_spectre_v4_param() in arch/arm64/kernel/proton-pack.c
     '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
     'tsx' # See tsx_init() in arch/x86/kernel/cpu/tsx.c
 ]