diff options
author | 2023-12-02 09:57:03 -0800 | |
---|---|---|
committer | 2023-12-02 11:36:51 -0800 | |
commit | e02dea158ddaebe6e725be715e0009923b96ec8e (patch) | |
tree | 188fa71703b207c98697a36cc1f76984493a22d2 /kernel/bpf/log.c | |
parent | bpf: enforce precision of R0 on program/async callback return (diff) | |
download | wireguard-linux-e02dea158ddaebe6e725be715e0009923b96ec8e.tar.xz wireguard-linux-e02dea158ddaebe6e725be715e0009923b96ec8e.zip |
selftests/bpf: validate async callback return value check correctness
Adjust timer/timer_ret_1 test to validate more carefully verifier logic
of enforcing async callback return value. This test will pass only if
return result is marked precise and read.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231202175705.885270-10-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/log.c')
0 files changed, 0 insertions, 0 deletions