From: Alexander Popov Date: Mon, 12 Jun 2023 12:45:56 +0000 (+0300) Subject: Skip normalize_cmdline_options() for the vsyscall cmdline parameter X-Git-Tag: v0.6.6~145 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=7e8aa925cc42f232445f106131ef0cf856f6f549;hp=d85b4a586681e3f70029b3225b63934701afd7a6;p=kconfig-hardened-check.git Skip normalize_cmdline_options() for the vsyscall cmdline parameter See vsyscall_setup() in arch/x86/entry/vsyscall/vsyscall_64.c --- diff --git a/kconfig_hardened_check/checks.py b/kconfig_hardened_check/checks.py index 6a41be2..1e15658 100644 --- a/kconfig_hardened_check/checks.py +++ b/kconfig_hardened_check/checks.py @@ -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 ]