]> err.no Git - linux-2.6/commit
[PATCH] beginning of sysctl cleanup - ctl_table_set
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Jul 2008 01:22:20 +0000 (21:22 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:08 +0000 (20:53 -0400)
commit734550921e9b7ab924a43aa3d0bd4239dac4fbf1
tree7be4b0808ba9860f1d953b45120262a277866021
parent7ac6cd653d7c31ad6b7bb5b88c549c4ebf628c34
[PATCH] beginning of sysctl cleanup - ctl_table_set

New object: set of sysctls [currently - root and per-net-ns].
Contains: pointer to parent set, list of tables and "should I see this set?"
method (->is_seen(set)).
Current lists of tables are subsumed by that; net-ns contains such a beast.
->lookup() for ctl_table_root returns pointer to ctl_table_set instead of
that to ->list of that ctl_table_set.

[folded compile fixes by rdd for configs without sysctl]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/sysctl.h
include/net/net_namespace.h
kernel/sysctl.c
net/sysctl_net.c