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
..
2007-10-17 08:43:00 -07:00
2007-10-18 14:37:20 -07:00
2007-10-17 20:15:13 +02:00
2006-01-03 11:35:26 +01:00
2007-07-25 10:09:20 -07:00
2007-10-10 21:15:29 -07:00
2007-07-16 09:05:47 -07:00
2007-07-22 09:57:02 -04:00
2007-10-17 08:42:48 -07:00
2007-10-17 08:43:07 -07:00
2007-05-11 08:29:36 -07:00
2007-05-09 12:30:49 -07:00
2007-10-18 14:37:21 -07:00
2007-10-17 08:42:46 -07:00
2007-10-15 17:00:12 +02:00
2007-05-08 11:15:04 -07:00
2006-12-07 08:39:46 -08:00
2006-06-30 19:25:36 +02:00
2007-10-17 08:42:55 -07:00
2006-05-15 11:20:55 -07:00
2007-10-18 14:37:20 -07:00
2007-10-01 07:52:23 -07:00
2007-10-17 08:43:00 -07:00
2007-10-10 16:48:12 -07:00
2007-05-08 11:15:13 -07:00
2007-07-17 10:23:03 -07:00
2006-12-07 08:39:36 -08:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:54 -07:00
2007-07-16 09:05:50 -07:00
2007-09-11 17:21:20 -07:00
2007-10-16 09:43:10 -07:00
2007-10-17 08:42:54 -07:00
2007-07-31 15:39:42 -07:00
2006-12-04 02:00:22 -05:00
2006-12-07 08:39:43 -08:00
2007-10-11 22:11:11 +02:00
2007-10-11 22:11:12 +02:00
2007-07-16 09:05:47 -07:00
2007-10-17 08:43:01 -07:00
2007-02-14 08:09:54 -08:00
2006-07-03 15:27:01 -07:00
2007-10-11 22:11:12 +02:00
2006-07-03 15:27:04 -07:00
2007-10-17 08:42:59 -07:00
2007-07-17 10:23:02 -07:00
2007-10-18 14:37:21 -07:00
2007-07-16 09:05:48 -07:00
2007-07-09 18:51:58 +02:00
2007-10-17 08:42:47 -07:00
2007-10-18 14:37:19 -07:00
2007-10-17 08:42:55 -07:00
2007-10-16 09:43:04 -07:00
2007-10-17 08:42:48 -07:00
2007-10-17 08:42:53 -07:00
2007-07-31 15:39:42 -07:00
2007-10-16 09:43:01 -07:00
2007-07-16 09:05:49 -07:00
2007-10-17 08:42:50 -07:00
2006-07-03 15:27:01 -07:00
2007-07-17 10:23:02 -07:00
2007-07-16 09:05:49 -07:00
2006-07-03 15:27:01 -07:00
2007-07-19 10:04:49 -07:00
2007-10-15 17:00:19 +02:00
2007-10-17 16:55:11 +02:00
2007-10-15 17:00:12 +02:00
2007-10-15 17:00:13 +02:00
2007-10-15 17:00:12 +02:00
2007-10-17 09:11:18 -07:00
2007-07-16 09:05:50 -07:00
2007-10-18 14:37:19 -07:00
2007-10-10 16:49:18 -07:00
2007-10-17 08:42:47 -07:00
2007-07-19 10:04:49 -07:00
2006-10-04 07:55:30 -07:00
2006-07-03 15:27:02 -07:00
2007-07-16 09:05:41 -07:00
2007-10-17 08:42:55 -07:00
2007-10-18 14:37:19 -07:00
2007-10-18 14:37:22 -07:00
2007-10-17 08:42:48 -07:00
2007-10-18 14:37:20 -07:00
2007-07-20 11:26:47 -07:00
2007-07-25 10:09:20 -07:00
2007-05-08 11:15:07 -07:00
2007-09-19 11:24:18 -07:00
2007-10-17 09:11:18 -07:00
2007-07-16 09:05:47 -07:00
2007-09-19 11:24:17 -07:00
2007-05-09 08:57:56 +02:00
2007-08-27 10:27:48 -07:00