summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJohan Almbladh <johan.almbladh@anyfinetworks.com>2021-10-01 15:03:40 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-10-01 17:04:25 +0200
commit89b63462765cc0370f22ebec53d3e83cbbb17613 (patch)
tree168d3364a90e9c833d9da6e6c442f1d88d9dc99c /include/uapi/linux
parentcaaaa1667bf198c54cc3141ad92ca6ce853e99cd (diff)
downloadcachepc-linux-89b63462765cc0370f22ebec53d3e83cbbb17613.tar.gz
cachepc-linux-89b63462765cc0370f22ebec53d3e83cbbb17613.zip
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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions