On Mon, Feb 2, 2026 at 6:41 AM Leon Hwang <[email protected]> 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 <[email protected]>
> ---
>  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 <[email protected]>

[...]

Reply via email to