diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-04-03 09:09:33 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-06 12:23:35 +0100 |
commit | 2830b68361a9f58354ad043c6d85043ea917f907 (patch) | |
tree | d4ab2ecbeb4340365274a8fc81c5dd0e0e092cb7 /arch/powerpc/math-emu/stfiwx.c | |
parent | sysctl: Separate the binary sysctl logic into it's own file. (diff) | |
download | linux-2830b68361a9f58354ad043c6d85043ea917f907.tar.xz linux-2830b68361a9f58354ad043c6d85043ea917f907.zip |
sysctl: Refactor the binary sysctl handling to remove duplicate code
Read in the binary sysctl path once, instead of reread it
from user space each time the code needs to access a path
element.
The deprecated sysctl warning is moved to do_sysctl so
that the compat_sysctl entries syscalls will also warn.
The return of -ENOSYS when !CONFIG_SYSCTL_SYSCALL is moved
to binary_sysctl. Always leaving a do_sysctl available
that handles !CONFIG_SYSCTL_SYSCALL and printing the
deprecated sysctl warning allows for a single defitition
of the sysctl syscall.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'arch/powerpc/math-emu/stfiwx.c')
0 files changed, 0 insertions, 0 deletions