sysctl variables are not available to newly created namespace

Eric W. Biederman ebiederm at xmission.com
Thu Jul 28 15:51:10 UTC 2016


Madhukrishna G <Madhukrishna.G at mphasis.com> writes:

> Hi Eric,
>
> Thanks for your reply.
>
> Can you please let me know the patch for this fix or kernel version
> where the fix was integrated.

To be clear the behavior (not all sysctls being visible) is the fix.
The old behavior was buggy.

As for what/when/where I don't recall the details clearly.  That change
happened years ago.  If you want to figure it out you can look at
net/net_sysctl.c:register_net_sysctl() and look into it's history in
git.

Eric


More information about the Containers mailing list