net/sysctl: make ipv4/ping_group_range work in user namespaces

We dump sysctls from criu user namespace, but restore from restored user
namespace. So group id values should be mapped to the restored user
namespace gid space to restore correctly.

Signed-off-by: Andrei Vagin <avagin@google.com>
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov 2025-06-08 14:07:13 +08:00 committed by Andrei Vagin
parent 45d09ae17e
commit 87bd09a0d1
2 changed files with 45 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{
'flavor': 'ns',
'flavor': 'ns uns',
'flags': 'suid'
}