mirror-linux/tools/include/uapi/linux
Dave Marchevsky a42effb0b2 bpf: Clarify data_len param in bpf_snprintf and bpf_seq_printf comments
Since the data_len in these two functions is a byte len of the preceding
u64 *data array, it must always be a multiple of 8. If this isn't the
case both helpers error out, so let's make the requirement explicit so
users don't need to infer it.

Signed-off-by: Dave Marchevsky <davemarchevsky@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210917182911.2426606-10-davemarchevsky@fb.com
2021-09-17 14:02:06 -07:00
..
tc_act
bpf.h bpf: Clarify data_len param in bpf_snprintf and bpf_seq_printf comments 2021-09-17 14:02:06 -07:00
bpf_common.h
bpf_perf_event.h
btf.h bpf: Support for new btf kind BTF_KIND_TAG 2021-09-14 18:45:52 -07:00
const.h
erspan.h
ethtool.h tools: include: Add ethtool_drvinfo definition to UAPI header 2021-08-24 14:48:40 -07:00
fadvise.h
fcntl.h
filter.h
fs.h tools headers UAPI: Sync linux/fs.h with the kernel sources 2021-09-11 16:14:53 -03:00
fscrypt.h
hw_breakpoint.h
if_link.h ipv6: add IFLA_INET6_RA_MTU to expose mtu value 2021-08-27 17:29:18 -07:00
if_tun.h
if_xdp.h
in.h tools headers UAPI: Sync linux/in.h copy with the kernel sources 2021-09-11 16:12:26 -03:00
kcmp.h
kvm.h tools headers UAPI: Sync linux/kvm.h with the kernel sources 2021-09-10 18:15:22 -03:00
lirc.h
mman.h
mount.h tools include UAPI: Update linux/mount.h copy 2021-09-10 18:15:22 -03:00
netlink.h
openat2.h
perf_event.h tools headers UAPI: Sync linux/perf_event.h with the kernel sources 2021-05-21 16:03:08 -03:00
pkt_cls.h
pkt_sched.h
prctl.h tools headers UAPI: Sync linux/prctl.h with the kernel sources 2021-09-10 18:15:22 -03:00
sched.h
seg6.h
seg6_local.h
stat.h
tcp.h
tls.h
types.h
usbdevice_fs.h
vhost.h