diff options
| author | Eduard Zingerman <eddyz87@gmail.com> | 2026-08-11 14:57:01 -0700 |
|---|---|---|
| committer | Eduard Zingerman <eddyz87@gmail.com> | 2026-08-11 14:57:01 -0700 |
| commit | 07cb86aa50816b070b99c89bf948762ef035a1f2 (patch) | |
| tree | c285cc5bc0c4989a39ef4ec92a49fe4da548f469 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | d114bb98936770c501c958bf2bc5fb6b7c0bad7b (diff) | |
| parent | 81f209d5f7435646df047400a88bc81e0a16b9eb (diff) | |
Merge branch 'bpf-compare-iterator-types-during-state-pruning'
Ning Ding says:
====================
bpf: Compare iterator types during state pruning
Iterator stack slots can be marked MEM_RCU or PTR_UNTRUSTED. The
STACK_ITER check in stacksafe() does not compare this type, so state
pruning can treat these states as equal and prune an unsafe path.
Compare the type and add a test where RCU protection has a gap.
---
Changes in v2:
- Convert the regression test to inline assembly so its verifier-sensitive
control-flow layout is stable.
- Add Eduard Zingerman's Acked-by tag to patch 1.
v1: https://lore.kernel.org/bpf/20260807004320.134069-1-dingning04@gmail.com/
====================
Link: https://patch.msgid.link/20260811035955.132989-1-dingning04@gmail.com
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
