diff options
author | David Ahern <dsahern@gmail.com> | 2017-08-31 15:05:45 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-01 06:05:15 +0100 |
commit | ae2cf1c466bea99e927899707aed022942505d27 (patch) | |
tree | 43d9417f06dc3330cb01741daeb32c0e92cb0271 /samples | |
parent | 482dca939fb7ee35ba20b944b4c2476133dbf0df (diff) | |
download | linux-rpi3-ae2cf1c466bea99e927899707aed022942505d27.tar.gz linux-rpi3-ae2cf1c466bea99e927899707aed022942505d27.tar.bz2 linux-rpi3-ae2cf1c466bea99e927899707aed022942505d27.zip |
bpf: Allow cgroup sock filters to use get_current_uid_gid helper
Allow BPF programs run on sock create to use the get_current_uid_gid
helper. IPv4 and IPv6 sockets are created in a process context so
there is always a valid uid/gid
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions