mirror-linux/tools/include/uapi/linux
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
..
tc_act
bits.h tools headers: Synchronize linux/bits.h with the kernel sources 2024-04-26 22:13:10 -03:00
bpf.h bpf: Add bpf_copy_from_user_str kfunc 2024-08-23 15:40:01 -07:00
bpf_common.h
bpf_perf_event.h
btf.h
const.h tools headers UAPI: Sync the linux/const.h with the kernel headers 2023-05-10 14:19:20 -03:00
erspan.h
fadvise.h
filter.h
fs.h tools: sync uapi/linux/fs.h header into tools subdir 2024-07-12 15:52:12 -07:00
fscrypt.h tools headers UAPI: Update tools's copy of fscrypt.h header 2023-11-22 10:57:46 -08:00
hw_breakpoint.h
if_link.h bonding: Add independent control state machine 2024-02-06 13:17:54 +01:00
if_tun.h
if_xdp.h selftests/bpf: Add XDP_UMEM_TX_METADATA_LEN to XSK TX metadata test 2024-07-25 11:57:33 +02:00
in.h tools/include: Sync network socket headers with the kernel sources 2024-08-07 10:59:07 -07:00
io_uring.h tools headers: Grab copy of io_uring.h 2023-10-19 16:42:03 -06:00
kcmp.h
kvm.h tools/include: Sync uapi/linux/kvm.h with the kernel sources 2024-08-06 12:30:32 -07:00
memfd.h selftests/mm: fix additional build errors for selftests 2024-04-25 20:56:42 -07:00
mman.h mm: add MAP_DROPPABLE for designating always lazily freeable mappings 2024-07-19 20:22:12 +02:00
netdev.h netdev: add qstat for csum complete 2024-05-30 12:15:56 +02:00
netlink.h
perf_event.h tools/include: Sync uapi/linux/perf.h with the kernel sources 2024-08-06 14:34:29 -07:00
pkt_cls.h net/sched: Remove uapi support for tcindex classifier 2024-01-02 14:25:51 +00:00
pkt_sched.h net/sched: Remove uapi support for CBQ qdisc 2024-01-02 14:25:51 +00:00
prctl.h selftests/mm: kvm, mdwe fixes to avoid requiring "make headers" 2024-07-03 19:30:07 -07:00
seccomp.h tools headers UAPI: Copy seccomp.h to be able to build 'perf bench' in older systems 2023-09-13 08:48:48 -03:00
seg6.h
seg6_local.h
stat.h tools/include: Sync filesystem headers with the kernel sources 2024-08-07 10:59:07 -07:00
stddef.h
tcp.h
tls.h
types.h
userfaultfd.h selftests/mm: fix additional build errors for selftests 2024-04-25 20:56:42 -07:00