diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-20 03:24:31 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-01-20 05:36:59 +0300 |
commit | fcd1c9177195489c40198d2769649439dd88505b (patch) | |
tree | e5a90dbd92ed6ef04729bf5ddc180d272c5f75b5 /scripts/cleanpatch | |
parent | 205c380778d09291668da5267057a80385f89437 (diff) | |
download | linux-fcd1c9177195489c40198d2769649439dd88505b.tar.xz |
bpf: add couple of test cases for signed extended imms
Add a couple of test cases for interpreter and JIT that are
related to an issue we faced some time ago in Cilium [1],
which is fixed in LLVM with commit e53750e1e086 ("bpf: fix
bug on silently truncating 64-bit immediate").
Test cases were run-time checking kernel to behave as intended
which should also provide some guidance for current or new
JITs in case they should trip over this. Added for cBPF and
eBPF.
[1] https://github.com/cilium/cilium/pull/2162
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions