diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-10-18 16:11:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-20 14:01:29 +0200 |
commit | 9ef2a8cd5c0dcb8e1f1534615c56eb13b630c363 (patch) | |
tree | 52d1bcf9c1257a973d3a78cdf54d0d6f005df705 /net/ipv4/inet_connection_sock.c | |
parent | bpf: require CAP_NET_ADMIN when using sockmap maps (diff) | |
download | linux-9ef2a8cd5c0dcb8e1f1534615c56eb13b630c363.tar.xz linux-9ef2a8cd5c0dcb8e1f1534615c56eb13b630c363.zip |
bpf: require CAP_NET_ADMIN when using devmap
Devmap is used with XDP which requires CAP_NET_ADMIN so lets also
make CAP_NET_ADMIN required to use the map.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_connection_sock.c')
0 files changed, 0 insertions, 0 deletions