diff options
author | Matteo Croce <teknoraver@meta.com> | 2024-05-31 01:27:21 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-01 16:03:21 -0700 |
commit | 19249c0724f2048ab68179eac69004947b07d431 (patch) | |
tree | a5104bc6cf306aefb4e2db3374eeb8e7f01bfa2b /net/unix/af_unix.c | |
parent | 165f87691a898aea113923224c269bae14749ebc (diff) | |
download | linux-19249c0724f2048ab68179eac69004947b07d431.tar.gz linux-19249c0724f2048ab68179eac69004947b07d431.tar.bz2 linux-19249c0724f2048ab68179eac69004947b07d431.zip |
net: make net.core.{r,w}mem_{default,max} namespaced
The following sysctl are global and can't be read from a netns:
net.core.rmem_default
net.core.rmem_max
net.core.wmem_default
net.core.wmem_max
Make the following sysctl parameters available readonly from within a
network namespace, allowing a container to read them.
Signed-off-by: Matteo Croce <teknoraver@meta.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev>
Link: https://lore.kernel.org/r/20240530232722.45255-2-technoboy85@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions