diff options
| author | Chenbo Feng <fengc@google.com> | 2017-06-02 17:04:59 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:51:45 +0300 |
| commit | 73a23d04435e3adbe87bd5c9abc8e696fd7a0357 (patch) | |
| tree | 1cd9595bdfa936bd89103ccbd1e14b6a0eac69bd /kernel/trace/bpf_trace.c | |
| parent | 8604eec9796759143f9a5e690f10f118d4260530 (diff) | |
FROMLIST: [net-next,v2,1/2] 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.
(url: http://patchwork.ozlabs.org/patch/769459/)
Signed-off-by: Chenbo Feng <fengc@google.com>
Bug: 30950746
Change-Id: I11bef84ce26cf8b8f1b89483c32a7fcdd61ae926
Diffstat (limited to 'kernel/trace/bpf_trace.c')
0 files changed, 0 insertions, 0 deletions
