diff options
| author | Leon Hwang <leon.hwang@linux.dev> | 2026-05-12 18:31:51 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-12 22:44:39 +0300 |
| commit | b1bff40809429bcf80c201255a2bcdf1c5eec06e (patch) | |
| tree | 0eeb8ebf1da5c176ed70471d93adb52f140d5945 /include | |
| parent | f28771c0691bcb7f477a0f35550b17b88c32dea8 (diff) | |
| download | linux-b1bff40809429bcf80c201255a2bcdf1c5eec06e.tar.xz | |
libbpf: Add support for extended BPF syscall
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.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Link: https://lore.kernel.org/r/20260512153157.28382-3-leon.hwang@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
