Allow referenced dynptr to be overwritten when siblings exists
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Allow overwriting referenced dynptr when refcnt > 1kernel/ | +21 | 4 replies | Applied |
| 2/2 | selftests/bpf: Test overwriting referenced dynptrtools/ | +115 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kumar Kartikeya Dwivedi |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v1 0/2] Allow referenced dynptr to be overwritten when siblings exists
The patchset conditionally allow a referenced dynptr to be overwritten when its siblings (original dynptr or dynptr clone) exist. Do it before the verifier relation tracking refactor to mimimize verifier changes at a time.
Amery Hung (2):
bpf: Allow overwriting referenced dynptr when refcnt > 1 selftests/bpf: Test overwriting referenced dynptr
kernel/bpf/verifier.c | 23 +++- .../testing/selftests/bpf/progs/dynptr_fail.c | 115 ++++++++++++++++++ 2 files changed, 136 insertions(+), 2 deletions(-)
Signature · 1 line
2.52.0