aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorJohan Almbladh <[email protected]>2021-08-09 11:18:17 +0200
committerDaniel Borkmann <[email protected]>2021-08-10 11:32:50 +0200
commit565731acfcf28ffdaeeae3f03f3ced719f30bd99 (patch)
treec1e0824875d6a9d5a0f3fa0e536fac451201831f /net/unix/unix_bpf.c
parentb55dfa850015453144c969208a7518e7095259a4 (diff)
bpf, tests: Add BPF_MOV tests for zero and sign extension
Tests for ALU32 and ALU64 MOV with different sizes of the immediate value. Depending on the immediate field width of the native CPU instructions, a JIT may generate code differently depending on the immediate value. Test that zero or sign extension is performed as expected. Mainly for JIT testing. Signed-off-by: Johan Almbladh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions