[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>
This commit is contained in:
committed by
Linus Torvalds
parent
571817849c
commit
b89a81712f
@@ -740,7 +740,7 @@ asmlinkage long compat_sys_umask(u32 mask)
|
||||
return sys_umask((int)mask);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
#ifdef CONFIG_SYSCTL_SYSCALL
|
||||
struct __sysctl_args32 {
|
||||
u32 name;
|
||||
int nlen;
|
||||
|
Reference in New Issue
Block a user