[PATCH] sysctl: Allow /proc/sys without sys_sysctl
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 27 Sep 2006 08:51:04 +0000 (01:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:19 +0000 (08:26 -0700)
commitb89a81712f486e4f7a606987413e387605fdeaf4
tree98702b89a50e927c38f2e31cf824c10d2585722f
parent571817849c76aabf34d534c905b5e604f2e824c5
[PATCH] sysctl: Allow /proc/sys without sys_sysctl

Since sys_sysctl is deprecated start allow it to be compiled out.  This
should catch any remaining user space code that cares, and paves the way
for further sysctl cleanups.

[akpm@osdl.org: If sys_sysctl() is not compiled-in, emit a warning]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/ia32/sys_ia32.c
arch/mips/kernel/linux32.c
arch/powerpc/kernel/sys_ppc32.c
arch/s390/kernel/compat_linux.c
arch/sparc64/kernel/sys_sparc32.c
arch/x86_64/ia32/sys_ia32.c
fs/Kconfig
init/Kconfig
kernel/sysctl.c