Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kees Cook and committed by
akpm
7374fa33 d679ae94

+2 -2
+2 -2
init/Kconfig
··· 435 435 See the man page for more details. 436 436 437 437 config USELIB 438 - bool "uselib syscall" 439 - def_bool ALPHA || M68K || SPARC || X86_32 || IA32_EMULATION 438 + bool "uselib syscall (for libc5 and earlier)" 439 + default ALPHA || M68K || SPARC 440 440 help 441 441 This option enables the uselib syscall, a system call used in the 442 442 dynamic linker from libc5 and earlier. glibc does not use this