summaryrefslogtreecommitdiff
path: root/samples/bpf
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-08-31 15:05:45 -0700
committerDavid S. Miller <davem@davemloft.net>2017-09-01 06:05:15 +0100
commitae2cf1c466bea99e927899707aed022942505d27 (patch)
tree43d9417f06dc3330cb01741daeb32c0e92cb0271 /samples/bpf
parent482dca939fb7ee35ba20b944b4c2476133dbf0df (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>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions