Files
android_kernel_fxtec_sm6115/include/uapi/linux
Brendan Jackman 2fdf8923da UPSTREAM: 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.

Change-Id: I4fe93000430de7f5d7d618390ed1a2b8a18175a4
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
2026-05-31 11:15:45 +01:00
..
2023-09-23 10:48:08 +02:00
2026-05-31 11:15:33 +01:00