aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/test_cgrp2_sock2.sh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-12-02samples/bpf: add userspace example for prohibiting socketsDavid Ahern1-0/+81
Add examples preventing a process in a cgroup from opening a socket based family, protocol and type. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>