summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2026-08-28 23:16:15 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-08-29 18:16:33 -0700
commit25b0d73a7742d7415156c607f6278682efc12fc2 (patch)
tree7e8d0f471fe5660060f877cb6e68ccc2c5f3ef33 /tools/lib/python/kdoc/python_version.py
parentf7213961e8e24b3ed98b13406c06fcf91138ad2f (diff)
downloadlinux-next-25b0d73a7742d7415156c607f6278682efc12fc2.tar.gz
linux-next-25b0d73a7742d7415156c607f6278682efc12fc2.zip
docs/bpf: Document arena pointers in a by-value return
Section 2.9 describes the by-value return contract as scalars only, which no longer holds: a kfunc and a global subprogram may now return a struct or union whose members are scalars or arena pointers. Update it. Note that an arena pointer member is handed back as a scalar like every other member. That costs nothing: the program has to cast_kern() the value before it can be used, and the verifier allows that cast on any scalar, so the member gives the program no reach it did not already have. Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20260829061615.1700421-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions