aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorJiong Wang <[email protected]>2018-12-05 18:52:36 +0000
committerAlexei Starovoitov <[email protected]>2018-12-07 21:30:48 +0000
commitc099f3f413f354ecdd518e4be6a232592e91d5b9 (patch)
tree376ae3306dbeee7a83d76f705159e7de1d61b464 /tools/lib/bpf/bpf_prog_linfo.c
parentbpf: verifier remove the rejection on BPF_ALU | BPF_ARSH (diff)
downloadkernel-c099f3f413f354ecdd518e4be6a232592e91d5b9.tar.gz
kernel-c099f3f413f354ecdd518e4be6a232592e91d5b9.zip
selftests: bpf: update testcases for BPF_ALU | BPF_ARSH
"arsh32 on imm" and "arsh32 on reg" now are accepted. Also added two new testcases to make sure arsh32 won't be treated as arsh64 during interpretation or JIT code-gen for which case the high bits will be moved into low halve that the testcases could catch them. Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Jiong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions