From: Kees Cook Date: Fri, 29 Apr 2022 21:38:01 +0000 (-0700) Subject: init/Kconfig: remove USELIB syscall by default X-Git-Tag: v6.1-rc5~1236^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7374fa33dc2dd76b71999f8fd236e73b21161030;p=platform%2Fkernel%2Flinux-starfive.git init/Kconfig: remove USELIB syscall by default The uselib syscall has been long deprecated. There's no need to keep this enabled by default under X86_32. Link: https://lkml.kernel.org/r/20220412212519.4113845-1-keescook@chromium.org Signed-off-by: Kees Cook Reviewed-by: Nathan Chancellor Cc: Masahiro Yamada Signed-off-by: Andrew Morton --- diff --git a/init/Kconfig b/init/Kconfig index ddcbefe..5cddb9b 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -435,8 +435,8 @@ config CROSS_MEMORY_ATTACH See the man page for more details. config USELIB - bool "uselib syscall" - def_bool ALPHA || M68K || SPARC || X86_32 || IA32_EMULATION + bool "uselib syscall (for libc5 and earlier)" + default ALPHA || M68K || SPARC help This option enables the uselib syscall, a system call used in the dynamic linker from libc5 and earlier. glibc does not use this