diff options
author | Johan Almbladh <johan.almbladh@anyfinetworks.com> | 2021-10-01 16:03:40 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-10-01 18:04:25 +0300 |
commit | 89b63462765cc0370f22ebec53d3e83cbbb17613 (patch) | |
tree | 168d3364a90e9c833d9da6e6c442f1d88d9dc99c /init | |
parent | caaaa1667bf198c54cc3141ad92ca6ce853e99cd (diff) | |
download | linux-89b63462765cc0370f22ebec53d3e83cbbb17613.tar.xz |
bpf/tests: Add zero-extension checks in BPF_ATOMIC tests
This patch updates the existing tests of BPF_ATOMIC operations to verify
that a 32-bit register operand is properly zero-extended. In particular,
it checks the operation on archs that require 32-bit operands to be
properly zero-/sign-extended or the result is undefined, e.g. MIPS64.
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211001130348.3670534-3-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions