summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-04-29 14:38:01 -0700
committerakpm <akpm@linux-foundation.org>2022-04-29 14:38:01 -0700
commit7374fa33dc2dd76b71999f8fd236e73b21161030 (patch)
treeb664db7fc3e1d22bf0bb9f7a3af8d80059e7781d /init
parentd679ae94fdd5d3ab00c35078f5af5f37e068b03d (diff)
downloadlinux-stable-7374fa33dc2dd76b71999f8fd236e73b21161030.tar.gz
linux-stable-7374fa33dc2dd76b71999f8fd236e73b21161030.tar.bz2
linux-stable-7374fa33dc2dd76b71999f8fd236e73b21161030.zip
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 <keescook@chromium.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Cc: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ddcbefe535e9..5cddb9ba0eef 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