|
@@ -847,10 +847,6 @@ static __net_init int ipv4_sysctl_init_net(struct net *net)
|
|
/* Update the variables to point into the current struct net */
|
|
/* Update the variables to point into the current struct net */
|
|
for (i = 0; i < ARRAY_SIZE(ipv4_net_table) - 1; i++)
|
|
for (i = 0; i < ARRAY_SIZE(ipv4_net_table) - 1; i++)
|
|
table[i].data += (void *)net - (void *)&init_net;
|
|
table[i].data += (void *)net - (void *)&init_net;
|
|
-
|
|
|
|
- /* Don't export sysctls to unprivileged users */
|
|
|
|
- if (net->user_ns != &init_user_ns)
|
|
|
|
- table[0].procname = NULL;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|