diff options
| author | Chenbo Feng <[email protected]> | 2017-05-31 18:16:00 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-06-02 14:24:40 -0400 |
| commit | 80b7d81912d807f161d55e9c2c9cc81061666f83 (patch) | |
| tree | a37d8f96dc9e71aedb6528138208bde42fbabf61 /tools/perf/scripts/python/bin | |
| parent | fb9a307d11d62749d75b404f15517d73f5d6e148 (diff) | |
bpf: Remove the capability check for cgroup skb eBPF program
Currently loading a cgroup skb eBPF program require a CAP_SYS_ADMIN
capability while attaching the program to a cgroup only requires the
user have CAP_NET_ADMIN privilege. We can escape the capability
check when load the program just like socket filter program to make
the capability requirement consistent.
Change since v1:
Change the code style in order to be compliant with checkpatch.pl
preference
Signed-off-by: Chenbo Feng <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions