diff options
author | 2024-01-09 21:13:55 -0800 | |
---|---|---|
committer | 2024-01-23 14:40:23 -0800 | |
commit | 6ae99ac8b7da30c9fdb15e380624dbc41f8200c8 (patch) | |
tree | f5c6c46df17c2350447ed9c8bad37bc2a4aeee47 /net/core/sock.c | |
parent | bpf: Track aligned st store as imprecise spilled registers (diff) | |
download | wireguard-linux-6ae99ac8b7da30c9fdb15e380624dbc41f8200c8.tar.xz wireguard-linux-6ae99ac8b7da30c9fdb15e380624dbc41f8200c8.zip |
selftests/bpf: Add a selftest with not-8-byte aligned BPF_ST
Add a selftest with a 4 bytes BPF_ST of 0 where the store is not
8-byte aligned. The goal is to ensure that STACK_ZERO is properly
marked in stack slots and the STACK_ZERO value can propagate
properly during the load.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240110051355.2737232-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions