mirror-linux/tools/include/uapi
Brendan Jackman c6458e72f6 bpf: Clarify return value of probe str helpers
When the buffer is too small to contain the input string, these helpers
return the length of the buffer, not the length of the original string.
This tries to make the docs totally clear about that, since "the length
of the [copied ]string" could also refer to the length of the input.

Signed-off-by: Brendan Jackman <jackmanb@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: KP Singh <kpsingh@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210112123422.2011234-1-jackmanb@google.com
2021-01-12 21:38:34 +01:00
..
asm tools: Fix off-by 1 relative directory includes 2020-03-06 08:36:46 -03:00
asm-generic tools headers UAPI: Update epoll_pwait2 affected files 2020-12-24 09:24:19 -03:00
drm tools headers UAPI: Sync drm/i915_drm.h with the kernel sources 2020-11-03 08:35:13 -03:00
linux bpf: Clarify return value of probe str helpers 2021-01-12 21:38:34 +01:00
sound tools include UAPI: Sync sound/asound.h copy 2020-02-12 11:04:23 -03:00