Re: [PATCH bpf-next v9 2/9] libbpf: Add support for extended bpf syscall
From: Andrii Nakryiko <hidden>
Date: 2026-02-04 19:48:55
Also in:
bpf, linux-kselftest, lkml
From: Andrii Nakryiko <hidden>
Date: 2026-02-04 19:48:55
Also in:
bpf, linux-kselftest, lkml
On Mon, Feb 2, 2026 at 6:41 AM Leon Hwang [off-list ref] wrote:
To support the extended BPF syscall introduced in the previous commit, introduce the following internal APIs: * 'sys_bpf_ext()' * 'sys_bpf_ext_fd()' They wrap the raw 'syscall()' interface to support passing extended attributes. * 'probe_sys_bpf_ext()' Check whether current kernel supports the BPF syscall common attributes. Signed-off-by: Leon Hwang <redacted> --- tools/lib/bpf/bpf.c | 36 +++++++++++++++++++++++++++++++++ tools/lib/bpf/features.c | 8 ++++++++ tools/lib/bpf/libbpf_internal.h | 3 +++ 3 files changed, 47 insertions(+)
LGTM Acked-by: Andrii Nakryiko <andrii@kernel.org> [...]