History log of /linux-master/tools/testing/selftests/bpf/progs/timer_crash.c
Revision Date Author Comments
# a7e75016 08-Feb-2022 Kumar Kartikeya Dwivedi <memxor@gmail.com>

selftests/bpf: Add test for bpf_timer overwriting crash

Add a test that validates that timer value is not overwritten when doing
a copy_map_value call in the kernel. Without the prior fix, this test
triggers a crash.

Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220209070324.1093182-3-memxor@gmail.com