Add __ref annotation for kfuncs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Add support for per-parameter trusted argsDocumentation/ kernel/ net/ | +51 | 10 replies | |
| 2/2 | selftests/bpf: Extend KF_TRUSTED_ARGS test for __ref annotationtools/ | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next v1 0/2] Add __ref annotation for kfuncs
We decided to delay adding this until a usecase came up, and since now there is one, instead of KF_TRUSTED_ARGS that applies to all arguments, add a __ref suffix that has the same effect but only for the argument it is applied to.
Kumar Kartikeya Dwivedi (2):
bpf: Add support for per-parameter trusted args selftests/bpf: Extend KF_TRUSTED_ARGS test for __ref annotation
Documentation/bpf/kfuncs.rst | 18 +++++++++ kernel/bpf/btf.c | 39 +++++++++++++------- net/bpf/test_run.c | 9 ++++- tools/testing/selftests/bpf/verifier/calls.c | 38 +++++++++++++++---- 4 files changed, 81 insertions(+), 23 deletions(-)
Signature · 1 line
2.34.1