Don't normalize the `cfi` cmdline parameter
authorAlexander Popov <alex.popov@linux.com>
Sun, 1 Sep 2024 21:36:18 +0000 (00:36 +0300)
committerAlexander Popov <alex.popov@linux.com>
Sun, 1 Sep 2024 21:36:18 +0000 (00:36 +0300)
kernel_hardening_checker/checks.py

index 665b8bc699ece09127d1a7c311cdfc8f8d1b2aa8..efea049dbdd7c2a7f7ca733d1ca5b87e2220d42b 100755 (executable)
@@ -691,6 +691,7 @@ no_kstrtobool_options = [
     '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
+    'cfi', # See cfi_parse_cmdline() in arch/x86/kernel/alternative.c
     'tsx' # See tsx_init() in arch/x86/kernel/cpu/tsx.c
 ]