Skip to content
Commit de4e83bd authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

sysctl: Register the base sysctl table like any other sysctl table.



Simplify the code by treating the base sysctl table like any other
sysctl table and register it with register_sysctl_table.

To ensure this table is registered early enough to avoid problems
call sysctl_init from proc_sys_init.

Rename sysctl_net.c:sysctl_init() to net_sysctl_init() to avoid
name conflicts now that kernel/sysctl.c:sysctl_init() is no longer
static.

Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
parent 0ce8974d
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