• Al Viro's avatar
    [PATCH] beginning of sysctl cleanup - ctl_table_set · 73455092
    Al Viro authored
    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>
    73455092
sysctl_net.c 2.96 KB