Skip to content

Commit f18169c

Browse files
Yonghong SongAlexei Starovoitov
authored andcommitted
bpf: Sync uapi bpf.h header for the tooling infra
Commit 0abff46 ("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>
1 parent 4107a1a commit f18169c

File tree

1 file changed

+4
-1
lines changed
  • tools/include/uapi/linux

1 file changed

+4
-1
lines changed

tools/include/uapi/linux/bpf.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6019,7 +6019,10 @@ union bpf_attr {
60196019
FN(user_ringbuf_drain, 209, ##ctx) \
60206020
FN(cgrp_storage_get, 210, ##ctx) \
60216021
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+
*/
60236026

60246027
/* backwards-compatibility macros for users of __BPF_FUNC_MAPPER that don't
60256028
* know or care about integer value that is now passed as second argument

0 commit comments

Comments
 (0)