summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorFabian Frederick2014-04-03 23:48:25 +0200
committerLinus Torvalds2014-04-04 01:21:05 +0200
commit6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9 (patch)
tree1d298fe98692134505d10f2d4d7fc0f9c6494ad1 /init
parentinclude/linux/syscalls.h: add sys32_quotactl() prototype (diff)
downloadkernel-qcow2-linux-6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9.tar.gz
kernel-qcow2-linux-6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9.tar.xz
kernel-qcow2-linux-6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9.zip
sys_sysfs: Add CONFIG_SYSFS_SYSCALL
sys_sysfs is an obsolete system call no longer supported by libc. - This patch adds a default CONFIG_SYSFS_SYSCALL=y - Option can be turned off in expert mode. - cond_syscall added to kernel/sys_ni.c [akpm@linux-foundation.org: tweak Kconfig help text] Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index d56cb03c1b49..e45cc62904b3 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1290,6 +1290,16 @@ config UID16
help
This enables the legacy 16-bit UID syscall wrappers.
+config SYSFS_SYSCALL
+ bool "Sysfs syscall support" if EXPERT
+ default y
+ ---help---
+ sys_sysfs is an obsolete system call no longer supported in libc.
+ Note that disabling this option is more secure but might break
+ compatibility with some systems.
+
+ If unsure say Y here.
+
config SYSCTL_SYSCALL
bool "Sysctl syscall support" if EXPERT
depends on PROC_SYSCTL