summaryrefslogtreecommitdiffstats
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-04-03 23:48:25 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:05 +0200
commit6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9 (patch)
tree1d298fe98692134505d10f2d4d7fc0f9c6494ad1 /kernel/sys_ni.c
parentinclude/linux/syscalls.h: add sys32_quotactl() prototype (diff)
downloadlinux-6af9f7bf3c399e0ab1eee048e13572c6d4e15fe9.tar.xz
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 'kernel/sys_ni.c')
-rw-r--r--kernel/sys_ni.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index 7078052284fd..74395a95b7e9 100644
--- a/kernel/sys_ni.c
+++ b/kernel/sys_ni.c
@@ -146,6 +146,7 @@ cond_syscall(sys_io_destroy);
cond_syscall(sys_io_submit);
cond_syscall(sys_io_cancel);
cond_syscall(sys_io_getevents);
+cond_syscall(sys_sysfs);
cond_syscall(sys_syslog);
cond_syscall(sys_process_vm_readv);
cond_syscall(sys_process_vm_writev);