bpf: permits pointers on stack for helper calls
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesIn review
- v22 patches 4 repliesSuperseded
- v12 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- do not permit spilled reg state NOT_INIT on stack. (Daniel)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: permits pointers on stack for helper callskernel/ | +3 | 2 replies | |
| 2/2 | selftests/bpf: add a test for ptr_to_map_value on stack for helper accesstools/ tools/ | +5 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Song Liu |
|---|---|
| 1/2 | |
| 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 v3 0/2] bpf: permits pointers on stack for helper calls
This patch permits pointers on stack for helper calls if permission is granted. Patch #1 described the detailed usecase and Patch #2 added a test.
Changelog:
v2 -> v3:
- do not permit spilled reg state NOT_INIT on stack. (Daniel)
v1 -> v2:
- fix a verifier test failure due to verifier change.
Yonghong Song (2):
bpf: permits pointers on stack for helper calls selftests/bpf: add a test for ptr_to_map_value on stack for helper
access
kernel/bpf/verifier.c | 4 +++- tools/testing/selftests/bpf/progs/bpf_iter_task.c | 3 ++- tools/testing/selftests/bpf/verifier/unpriv.c | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-)
Signature · 1 line
2.24.1