linux/include
Eric W. Biederman 49a0c45833 sysctl: Factor out sysctl_data.
There as been no easy way to wrap the default sysctl strategy routine except
for returning 0.  Which is not always what we want.  The few instances I have
seen that want different behaviour have written their own version of
sysctl_data.  While not too hard it is unnecessary code and has the potential
for extra bugs.

So to make these situations easier and make that part of sysctl more symetric
I have factord sysctl_data out of do_sysctl_strategy and exported as a
function everyone can use.

Further having sysctl_data be an explicit function makes checking for badly
formed sysctl tables much easier.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:22 -07:00
..
acpi
asm-alpha increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
asm-arm PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
asm-arm26
asm-avr32
asm-blackfin
asm-cris
asm-frv
asm-generic
asm-h8300
asm-ia64 increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [MIPS] Alchemy: Renumber interrupts so irq_cpu can work. 2007-10-17 18:28:48 +01:00
asm-parisc
asm-powerpc PM: Rework struct platform_suspend_ops 2007-10-18 14:37:18 -07:00
asm-ppc Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-10-17 09:05:55 -07:00
asm-s390
asm-sh increase AT_VECTOR_SIZE to terminate saved_auxv properly 2007-10-17 08:43:00 -07:00
asm-sh64
asm-sparc
asm-sparc64
asm-um x86: rename .i assembler includes to .h 2007-10-17 20:16:29 +02:00
asm-v850
asm-x86 Hibernation: Arbitrary boot kernel support on x86_64 2007-10-18 14:37:19 -07:00
asm-xtensa
crypto
keys
linux sysctl: Factor out sysctl_data. 2007-10-18 14:37:22 -07:00
math-emu
media
mtd
net 9p: remove sysctl 2007-10-17 14:35:15 -05:00
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild