diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-05-15 17:01:58 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-05-23 23:41:01 +0200 |
commit | f1674dc79fd276aeef6cad738a5f25ed2ba6d329 (patch) | |
tree | e904349782c623c02c32ca8a7d4586bfbc8039d1 /tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c | |
parent | cb8edce28073a906401c9e421eca7c99f3396da1 (diff) |
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 <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230523170013.728457-4-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_obj_pinning.c')
0 files changed, 0 insertions, 0 deletions