projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4107a1a
)
bpf: Sync uapi bpf.h header for the tooling infra
author
Yonghong Song
<yonghong.song@linux.dev>
Thu, 13 Feb 2025 05:04:27 +0000
(21:04 -0800)
committer
Alexei Starovoitov
<ast@kernel.org>
Thu, 13 Feb 2025 05:56:30 +0000
(21:56 -0800)
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>
tools/include/uapi/linux/bpf.h
patch
|
blob
|
blame
|
history
diff --git
a/tools/include/uapi/linux/bpf.h
b/tools/include/uapi/linux/bpf.h
index 2acf9b33637174bd16b1d12ccc6410c5f55a7ea9..fff6cdb8d11a2c211a6205ae2937b2bdf593cd42 100644
(file)
--- a/
tools/include/uapi/linux/bpf.h
+++ b/
tools/include/uapi/linux/bpf.h
@@
-6019,7
+6019,10
@@
union bpf_attr {
FN(user_ringbuf_drain, 209, ##ctx) \
FN(cgrp_storage_get, 210, ##ctx) \
FN(cgrp_storage_delete, 211, ##ctx) \
- /* */
+ /* This helper list is effectively frozen. If you are trying to \
+ * add a new helper, you should add a kfunc instead which has \
+ * less stability guarantees. See Documentation/bpf/kfuncs.rst \
+ */
/* backwards-compatibility macros for users of __BPF_FUNC_MAPPER that don't
* know or care about integer value that is now passed as second argument