diff options
| author | Chenbo Feng <fengc@google.com> | 2017-06-01 04:15:59 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-06-02 21:24:40 +0300 |
| commit | fb9a307d11d62749d75b404f15517d73f5d6e148 (patch) | |
| tree | 6ccbff4ca2822fe980aebf7acb3b6c0d9b224dec /tools/perf/scripts/python/syscall-counts.py | |
| parent | d0a65400eba812e86aa5676524dad09af3292f5a (diff) | |
| download | linux-fb9a307d11d62749d75b404f15517d73f5d6e148.tar.xz | |
bpf: Allow CGROUP_SKB eBPF program to access sk_buff
This allows cgroup eBPF program to classify packet based on their
protocol or other detail information. Currently program need
CAP_NET_ADMIN privilege to attach a cgroup eBPF program, and A
process with CAP_NET_ADMIN can already see all packets on the system,
for example, by creating an iptables rules that causes the packet to
be passed to userspace via NFLOG.
Signed-off-by: Chenbo Feng <fengc@google.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
