diff options
author | Yonghong Song <yhs@fb.com> | 2020-12-10 02:33:50 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-12-14 21:50:10 +0100 |
commit | b4b638c36b7e7acd847b9c4b9c80f268e45ea30c (patch) | |
tree | e57bb1465df207af5c0987249b17c66606ca5e70 /net/bluetooth/smp.c | |
parent | bpf: Permits pointers on stack for helper calls (diff) | |
download | linux-b4b638c36b7e7acd847b9c4b9c80f268e45ea30c.tar.xz linux-b4b638c36b7e7acd847b9c4b9c80f268e45ea30c.zip |
selftests/bpf: Add a test for ptr_to_map_value on stack for helper access
Change bpf_iter_task.c such that pointer to map_value may appear
on the stack for bpf_seq_printf() to access. Without previous
verifier patch, the bpf_iter test will fail.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201210013350.943985-1-yhs@fb.com
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions