aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-04-03 17:48:27 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 19:21:05 -0400
commit69369a7003735d0d8ef22097e27a55a8bad9557a (patch)
treeb7638899a8e81fc18a497791685f1b571d733896 /init/Kconfig
parent8f6c5ffc8987f4f5b5a3e9d557d94bbf3a9bf216 (diff)
fs, kernel: permit disabling the uselib syscall
uselib hasn't been used since libc5; glibc does not use it. Support turning it off. When disabled, also omit the load_elf_library implementation from binfmt_elf.c, which only uselib invokes. bloat-o-meter: add/remove: 0/4 grow/shrink: 0/1 up/down: 0/-785 (-785) function old new delta padzero 39 36 -3 uselib_flags 20 - -20 sys_uselib 168 - -168 SyS_uselib 168 - -168 load_elf_library 426 - -426 The new CONFIG_USELIB defaults to `y'. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index e45cc62904b3..8114a06117e3 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -273,6 +273,16 @@ config FHANDLE
273 get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2) 273 get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)
274 syscalls. 274 syscalls.
275 275
276config USELIB
277 bool "uselib syscall"
278 default y
279 help
280 This option enables the uselib syscall, a system call used in the
281 dynamic linker from libc5 and earlier. glibc does not use this
282 system call. If you intend to run programs built on libc5 or
283 earlier, you may need to enable this syscall. Current systems
284 running glibc can safely disable this.
285
276config AUDIT 286config AUDIT
277 bool "Auditing support" 287 bool "Auditing support"
278 depends on NET 288 depends on NET