[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F90F3AB.7050600@parallels.com>
Date: Fri, 20 Apr 2012 09:27:07 +0400
From: Pavel Emelyanov <xemul@...allels.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
CC: David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Serge E. Hallyn" <serge@...lyn.com>,
Gao feng <gaofeng@...fujitsu.com>,
"pablo@...filter.org" <pablo@...filter.org>,
Stephen Hemminger <shemminger@...tta.com>
Subject: Re: [PATCH net-next 01/19] net: Implement register_net_sysctl.
> @@ -117,6 +117,13 @@ struct ctl_table_header *register_net_sysctl_rotable(const
> }
> EXPORT_SYMBOL_GPL(register_net_sysctl_rotable);
>
> +struct ctl_table_header *register_net_sysctl(struct net *net,
> + const char *path, struct ctl_table *table)
> +{
> + return __register_sysctl_table(&net->sysctls, path, table);
Eric, am I right, that after this all sysctl-s registered in init_net will
not be even visible in the non-init net namespaces?
If I'm not mistaken, before this all non-virtualized, i.e. "global" sysctls
were read-only in sub net namespaces and that solved lots of problems for us.
> +}
> +EXPORT_SYMBOL_GPL(register_net_sysctl);
> +
> void unregister_net_sysctl_table(struct ctl_table_header *header)
> {
> unregister_sysctl_table(header);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists