aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2023-05-16 00:01:58 +0000
committerDaniel Borkmann <[email protected]>2023-05-23 21:41:01 +0000
commitf1674dc79fd276aeef6cad738a5f25ed2ba6d329 (patch)
treee904349782c623c02c32ca8a7d4586bfbc8039d1 /tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c
parentbpf: Support O_PATH FDs in BPF_OBJ_PIN and BPF_OBJ_GET commands (diff)
downloadkernel-f1674dc79fd276aeef6cad738a5f25ed2ba6d329.tar.gz
kernel-f1674dc79fd276aeef6cad738a5f25ed2ba6d329.zip
libbpf: Add opts-based bpf_obj_pin() API and add support for path_fd
Add path_fd support for bpf_obj_pin() and bpf_obj_get() operations (through their opts-based variants). This allows to take advantage of new kernel-side support for O_PATH-based pin/get location specification. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c')
0 files changed, 0 insertions, 0 deletions