commit | ae2cf1c466bea99e927899707aed022942505d27 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu Aug 31 15:05:45 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 01 06:05:15 2017 +0100 |
tree | 43d9417f06dc3330cb01741daeb32c0e92cb0271 | |
parent | 482dca939fb7ee35ba20b944b4c2476133dbf0df [diff] |
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>