summaryrefslogtreecommitdiffstats
path: root/samples/bpf/test_cgrp2_sock2.sh
Commit message (Collapse)AuthorAgeFilesLines
* samples/bpf: add userspace example for prohibiting socketsDavid Ahern2016-12-021-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>