diff options
author | Johan Almbladh | 2021-10-01 15:03:39 +0200 |
---|---|---|
committer | Daniel Borkmann | 2021-10-01 17:04:25 +0200 |
commit | caaaa1667bf198c54cc3141ad92ca6ce853e99cd (patch) | |
tree | 2659170370cdcb9036b4f151f5980569e897015e /lib/errname.c | |
parent | 6bbc7103738f0e0871a9331351ee3cd4d462b431 (diff) |
bpf/tests: Add tests of BPF_LDX and BPF_STX with small sizes
This patch adds a series of tests to verify the behavior of BPF_LDX and
BPF_STX with BPF_B//W sizes in isolation. In particular, it checks that
BPF_LDX zero-extendeds the result, and that BPF_STX does not overwrite
adjacent bytes in memory.
BPF_ST and operations on BPF_DW size are deemed to be sufficiently
tested by existing tests.
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-2-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'lib/errname.c')
0 files changed, 0 insertions, 0 deletions