Changes

Summary

  1. net/sysctl: put common multiplier outside the brackets (commit: 7f35e46) (details)
  2. net/sysctl: c/r ipv4/ping_group_range value (commit: f38e588) (details)
  3. zdtm/netns_sub_sysctl: add ipv4/ping_group_range sysctl check (commit: 1c9fd58) (details)
Commit 7f35e46e9d6110ca8a15048e48706f0ff8c48edc by Pavel Tikhomirov
net/sysctl: put common multiplier outside the brackets

Also add an explanation of the logic behind this calculation.

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
(commit: 7f35e46)
The file was modifiedcriu/net.c (diff)
Commit f38e58836ac0e0fd842424076e19667fb49f975b by Pavel Tikhomirov
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>
(commit: f38e588)
The file was modifiedimages/netdev.proto (diff)
The file was modifiedcriu/net.c (diff)
Commit 1c9fd58ff052e8b1f2373076fdb4db8662bc5cb5 by Pavel Tikhomirov
zdtm/netns_sub_sysctl: add ipv4/ping_group_range sysctl check

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
(commit: 1c9fd58)
The file was modifiedtest/zdtm/lib/sysctl.h (diff)
The file was modifiedtest/zdtm/static/netns_sub_sysctl.c (diff)
The file was modifiedtest/zdtm/lib/sysctl.c (diff)