diff options
author | Dave Marchevsky <[email protected]> | 2021-04-16 13:47:04 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-04-19 18:23:33 -0700 |
commit | c77cec5c207b68a3cbc2af2f81070ec428f41145 (patch) | |
tree | 0a40b8c3beeb6f735fc54e932bdd5a85ad8ec3d8 /scripts/gdb/linux/timerlist.py | |
parent | bdc4e369454fcae108e18feb0fcbb6f06815f94b (diff) |
bpf/selftests: Add bpf_get_task_stack retval bounds test_prog
Add a libbpf test prog 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