Skip to content
Commit 73455092 authored by Al Viro's avatar Al Viro
Browse files

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7ac6cd65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment