linux-next/Documentation
Kumar Kartikeya Dwivedi 9805af8d8a bpf: Document UAPI details for special BPF types
The kernel recognizes some special BPF types in map values or local
kptrs. Document that only bpf_spin_lock and bpf_timer will preserve
backwards compatibility, and kptr will preserve backwards compatibility
for the operations on the pointer, not the types supported for such
kptrs.

For local kptrs, document that there are no stability guarantees at all.

Finally, document that 'bpf_' namespace is reserved for adding future
special fields, hence BPF programs must not declare types with such
names in their programs and still expect backwards compatibility.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20221103191013.1236066-2-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-11-03 19:31:13 -07:00
..
2022-10-09 08:56:54 -07:00
2022-10-12 15:01:58 -07:00
2022-10-03 16:39:37 -07:00
2022-10-27 12:31:57 -07:00
2022-10-09 22:30:23 -07:00
2022-10-10 12:00:45 -07:00
2022-09-28 09:02:45 +02:00
2022-09-01 00:33:34 -04:00
2022-10-22 15:30:15 -07:00
2022-10-11 20:07:44 -07:00
2022-10-04 10:12:08 -07:00
2022-10-03 16:39:37 -07:00