diff options
author | Mahesh Bandewar <maheshb@google.com> | 2023-01-04 18:28:42 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-06 12:41:52 +0000 |
commit | 6b754d7bd007c5f68fbb2d9abd5c00d253b033d0 (patch) | |
tree | a13913f2626350b96a9aa478e66df1a3f8c77f08 /scripts/bpf_doc.py | |
parent | 3d759e9e24c38758abc19a4f5e1872a6460d5745 (diff) | |
download | linux-6b754d7bd007c5f68fbb2d9abd5c00d253b033d0.tar.gz linux-6b754d7bd007c5f68fbb2d9abd5c00d253b033d0.tar.bz2 linux-6b754d7bd007c5f68fbb2d9abd5c00d253b033d0.zip |
sysctl: expose all net/core sysctls inside netns
All were not visible to the non-priv users inside netns. However,
with 4ecb90090c84 ("sysctl: allow override of /proc/sys/net with
CAP_NET_ADMIN"), these vars are protected from getting modified.
A proc with capable(CAP_NET_ADMIN) can change the values so
not having them visible inside netns is just causing nuisance to
process that check certain values (e.g. net.core.somaxconn) and
see different behavior in root-netns vs. other-netns
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions