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