net/sysctl: c/r ipv4/ping_group_range value

It is per net namespace, we need it to allow creation of unprivileged
ICMP sockets.

Note: in case this sysctl was disabled after unprivileged ICMP
socket was created we still need to somehow handle it on restore.

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov 2025-01-16 11:00:28 +08:00 committed by Andrei Vagin
parent 9c40781c26
commit 4ca74b9aff
2 changed files with 103 additions and 1 deletions

View file

@ -74,4 +74,5 @@ message netns_entry {
repeated netns_id nsids = 7;
optional string ext_key = 8;
repeated sysctl_entry unix_conf = 9;
repeated sysctl_entry ipv4_sysctl = 10;
}