diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-11-11 17:06:08 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-15 12:03:43 -0800 |
commit | a5c57f81eb2b5d6de4f46e47fd85be50d179bfd8 (patch) | |
tree | ec6cd2995fed010ef99ecf1ca17b404c9db9134f /tools/testing/selftests/bpf/progs/exceptions_assert.c | |
parent | 8c5677f8b31e92b57be7d5d0fbb1ac66eedf4f91 (diff) |
veristat: add ability to set BPF_F_TEST_SANITY_STRICT flag with -r flag
Add a new flag -r (--test-sanity), similar to -t (--test-states), to add
extra BPF program flags when loading BPF programs.
This allows to use veristat to easily catch sanity violations in
production BPF programs.
reg_bounds tests are also enforcing BPF_F_TEST_SANITY_STRICT flag now.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231112010609.848406-13-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/exceptions_assert.c')
0 files changed, 0 insertions, 0 deletions