aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_ip_tunnel.txt.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-06-20 10:08:26 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-06-20 13:24:54 +0200
commit6247d1c3f73bab8fccd7b0d608d1a0aaf07fecdb (patch)
tree95aeda791ee771511358831e9a5d49e8f375f67b /sys/linux/socket_ip_tunnel.txt.const
parent8f633d840e3eb6454f036e9da3285bcf27345616 (diff)
executor: fix enabling of ICMP/ping sockets
net/ipv4/ping_group_range sysctl grants access to ICMP sockets to the specified user groups. But it needs to be set inside of the net namespace (it's per-namespace). We were setting it but in the init namespace only (which we don't use). Set it after CLONE_NEWNET. This repairs testing of ICMP sockets. Note: don't set it for setuid sandbox since it's "low privilege".
Diffstat (limited to 'sys/linux/socket_ip_tunnel.txt.const')
0 files changed, 0 insertions, 0 deletions