[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240725001411.39614-1-technoboy85@gmail.com>
Date: Thu, 25 Jul 2024 02:14:09 +0200
From: technoboy85@...il.com
To: Andrii Nakryiko <andrii.nakryiko@...il.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
bpf@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Matteo Croce <teknoraver@...a.com>
Subject: [PATCH bpf-next v3 0/2] bpf: enable some functions in cgroup programs
From: Matteo Croce <teknoraver@...a.com>
Enable some BPF kfuncs and the helper bpf_current_task_under_cgroup()
for program types BPF_CGROUP_*.
These will be used by systemd-networkd:
https://github.com/systemd/systemd/pull/32212
Matteo Croce (2):
bpf: enable generic kfuncs for BPF_CGROUP_* programs
bpf: allow bpf_current_task_under_cgroup() with BPF_CGROUP_*
include/linux/bpf.h | 1 +
kernel/bpf/cgroup.c | 2 ++
kernel/bpf/helpers.c | 29 +++++++++++++++++++++++++++++
kernel/trace/bpf_trace.c | 23 -----------------------
4 files changed, 32 insertions(+), 23 deletions(-)
--
2.45.2
Powered by blists - more mailing lists