Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bpf: Sync uapi bpf.h header for the tooling infra

Commit 0abff462d802 ("bpf: Add comment about helper freeze") missed the
tooling header sync. Fix it.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20250213050427.2788837-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Yonghong Song and committed by
Alexei Starovoitov
f18169c8 4107a1ae

+4 -1
+4 -1
tools/include/uapi/linux/bpf.h
··· 6019 6019 FN(user_ringbuf_drain, 209, ##ctx) \ 6020 6020 FN(cgrp_storage_get, 210, ##ctx) \ 6021 6021 FN(cgrp_storage_delete, 211, ##ctx) \ 6022 - /* */ 6022 + /* This helper list is effectively frozen. If you are trying to \ 6023 + * add a new helper, you should add a kfunc instead which has \ 6024 + * less stability guarantees. See Documentation/bpf/kfuncs.rst \ 6025 + */ 6023 6026 6024 6027 /* backwards-compatibility macros for users of __BPF_FUNC_MAPPER that don't 6025 6028 * know or care about integer value that is now passed as second argument