Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[platform/kernel/linux-rpi.git] / init / Kconfig
index bb1225e..7e5c3dd 100644 (file)
@@ -66,7 +66,7 @@ config RUST_IS_AVAILABLE
          This shows whether a suitable Rust toolchain is available (found).
 
          Please see Documentation/rust/quick-start.rst for instructions on how
-         to satify the build requirements of Rust support.
+         to satisfy the build requirements of Rust support.
 
          In particular, the Makefile target 'rustavailable' is useful to check
          why the Rust toolchain is not being detected.
@@ -87,7 +87,7 @@ config CC_HAS_ASM_GOTO_OUTPUT
 config CC_HAS_ASM_GOTO_TIED_OUTPUT
        depends on CC_HAS_ASM_GOTO_OUTPUT
        # Detect buggy gcc and clang, fixed in gcc-11 clang-14.
-       def_bool $(success,echo 'int foo(int *x) { asm goto (".long (%l[bar]) - .\n": "+m"(*x) ::: bar); return *x; bar: return 0; }' | $CC -x c - -c -o /dev/null)
+       def_bool $(success,echo 'int foo(int *x) { asm goto (".long (%l[bar]) - .": "+m"(*x) ::: bar); return *x; bar: return 0; }' | $CC -x c - -c -o /dev/null)
 
 config TOOLS_SUPPORT_RELR
        def_bool $(success,env "CC=$(CC)" "LD=$(LD)" "NM=$(NM)" "OBJCOPY=$(OBJCOPY)" $(srctree)/scripts/tools-support-relr.sh)
@@ -1732,6 +1732,19 @@ config KALLSYMS
          symbolic stack backtraces. This increases the size of the kernel
          somewhat, as all symbols have to be loaded into the kernel image.
 
+config KALLSYMS_SELFTEST
+       bool "Test the basic functions and performance of kallsyms"
+       depends on KALLSYMS
+       default n
+       help
+         Test the basic functions and performance of some interfaces, such as
+         kallsyms_lookup_name. It also calculates the compression rate of the
+         kallsyms compression algorithm for the current symbol set.
+
+         Start self-test automatically after system startup. Suggest executing
+         "dmesg | grep kallsyms_selftest" to collect test results. "finish" is
+         displayed in the last line, indicating that the test is complete.
+
 config KALLSYMS_ALL
        bool "Include all symbols in kallsyms"
        depends on DEBUG_KERNEL && KALLSYMS