diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2025-10-02 12:11:40 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-10-02 13:34:08 -0700 |
commit | 2ce61c63e7459058709f12f43a8a98c500382382 (patch) | |
tree | a9ea28b2e5038fc94c28396a1727996a67eeb6f8 /scripts/generate_rust_target.rs | |
parent | f09f57c7467710144e7522c7fa1abca87af8f7c6 (diff) |
selftests/bpf: Add tests for rejection of ALU ops with negative offsets
Define a simple program using MOD, DIV, ADD instructions,
make sure that the program is rejected if invalid offset
field is used for instruction.
These are test cases for
commit 55c0ced59fe1 ("bpf: Reject negative offsets for ALU ops")
Link: https://lore.kernel.org/all/tencent_70D024BAE70A0A309A4781694C7B764B0608@qq.com/
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions