aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorBjörn Töpel <[email protected]>2019-05-22 09:23:23 +0000
committerDaniel Borkmann <[email protected]>2019-05-23 13:55:17 +0000
commit00d8304553de529802430799d2b2566fd32859d4 (patch)
tree473f9c1df30dac8de3b4ada7c41cfe0a3c8e1838 /tools/bpf/bpftool/prog.c
parentbpf, riscv: clear target register high 32-bits for and/or/xor on ALU32 (diff)
downloadkernel-00d8304553de529802430799d2b2566fd32859d4.tar.gz
kernel-00d8304553de529802430799d2b2566fd32859d4.zip
selftests: bpf: add zero extend checks for ALU32 and/or/xor
Add three tests to test_verifier/basic_instr that make sure that the high 32-bits of the destination register is cleared after an ALU32 and/or/xor. Signed-off-by: Björn Töpel <[email protected]> Acked-by: Yonghong Song <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions