linux/tools/include
Jordan Rome 65ab5ac4df bpf: Add bpf_copy_from_user_str kfunc
This adds a kfunc wrapper around strncpy_from_user,
which can be called from sleepable BPF programs.

This matches the non-sleepable 'bpf_probe_read_user_str'
helper except it includes an additional 'flags'
param, which allows consumers to clear the entire
destination buffer on success or failure.

Signed-off-by: Jordan Rome <linux@jordanrome.com>
Link: https://lore.kernel.org/r/20240823195101.3621028-1-linux@jordanrome.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-08-23 15:40:01 -07:00
..
asm selftests/vDSO: add tests for vgetrandom 2024-07-19 20:22:12 +02:00
asm-generic bitops: Change function return types from long to int 2024-05-03 17:04:50 +02:00
io_uring
linux bitmap-6.11-rc1 2024-07-26 09:50:36 -07:00
nolibc tools/nolibc: implement strerror() 2024-06-29 09:44:57 +02:00
perf
tools
trace/events
uapi bpf: Add bpf_copy_from_user_str kfunc 2024-08-23 15:40:01 -07:00
vdso