Home
last modified time | relevance | path

Searched hist:f1674dc79fd276aeef6cad738a5f25ed2ba6d329 (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/bpf/
H A Dbpf.hdiff f1674dc79fd276aeef6cad738a5f25ed2ba6d329 Tue May 16 02:01:58 CEST 2023 Andrii Nakryiko <andrii@kernel.org> 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
H A Dbpf.cdiff f1674dc79fd276aeef6cad738a5f25ed2ba6d329 Tue May 16 02:01:58 CEST 2023 Andrii Nakryiko <andrii@kernel.org> 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
H A Dlibbpf.mapdiff f1674dc79fd276aeef6cad738a5f25ed2ba6d329 Tue May 16 02:01:58 CEST 2023 Andrii Nakryiko <andrii@kernel.org> 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