diff options
| author | 2025-05-12 21:53:46 +0100 | |
|---|---|---|
| committer | 2025-05-12 18:29:03 -0700 | |
| commit | d060b6aab031b6113f78cd3d1585115f13386eec (patch) | |
| tree | 92b067babe341fa9525245bab1e442f060e74ada /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | libbpf: Use proper errno value in nlattr (diff) | |
helpers: make few bpf helpers public
Make bpf_dynptr_slice_rdwr, bpf_dynptr_check_off_len and
__bpf_dynptr_write available outside of the helpers.c by
adding their prototypes into linux/include/bpf.h.
bpf_dynptr_check_off_len() implementation is moved to header and made
inline explicitly, as small function should typically be inlined.
These functions are going to be used from bpf_trace.c in the next
patch of this series.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Link: https://lore.kernel.org/r/20250512205348.191079-2-mykyta.yatsenko5@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
