Skip to content

Commit

Permalink
init/Kconfig: remove USELIB syscall by default
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
kees authored and akpm00 committed Apr 29, 2022
1 parent d679ae9 commit 7374fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7374fa3

Please sign in to comment.