diff options
author | Andrey Ignatov <rdna@fb.com> | 2019-03-18 18:17:03 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-12 13:54:59 -0700 |
commit | c2d5f12e4c6cf7e94cfcb98389db51557cf05f9a (patch) | |
tree | 3d19f0d31a0dcfdd7a8e1f0a8968799d62c270d2 /tools/testing/selftests/ima | |
parent | selftests/bpf: Add sysctl and strtoX helpers to bpf_helpers.h (diff) | |
download | linux-dev-c2d5f12e4c6cf7e94cfcb98389db51557cf05f9a.tar.xz linux-dev-c2d5f12e4c6cf7e94cfcb98389db51557cf05f9a.zip |
selftests/bpf: Test ARG_PTR_TO_LONG arg type
Test that verifier handles new argument types properly, including
uninitialized or partially initialized value, misaligned stack access,
etc.
Example of output:
#456/p ARG_PTR_TO_LONG uninitialized OK
#457/p ARG_PTR_TO_LONG half-uninitialized OK
#458/p ARG_PTR_TO_LONG misaligned OK
#459/p ARG_PTR_TO_LONG size < sizeof(long) OK
#460/p ARG_PTR_TO_LONG initialized OK
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ima')
0 files changed, 0 insertions, 0 deletions