diff options
author | Dave Marchevsky <[email protected]> | 2021-04-16 13:47:03 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-04-19 18:23:33 -0700 |
commit | bdc4e369454fcae108e18feb0fcbb6f06815f94b (patch) | |
tree | 4fd9ee3fe5b4621e45acc494a03155b7ea1ae1e1 /scripts/gdb/linux/timerlist.py | |
parent | fd0b88f73f5372c08ceff5cc7ddd8ceac502679c (diff) |
bpf/selftests: Add bpf_get_task_stack retval bounds verifier test
Add a bpf_iter test which feeds bpf_get_task_stack's return value into
seq_write after confirming it's positive. No attempt to bound the value
from above is made.
Load will fail if verifier does not refine retval range based on
buf sz input to bpf_get_task_stack.
Signed-off-by: Dave Marchevsky <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions