diff options
| author | Andrii Nakryiko <[email protected]> | 2024-02-02 19:05:28 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-02-03 02:08:58 +0000 |
| commit | e2e70535dd76c6f17bdc9009ffca3d26cfd35ea4 (patch) | |
| tree | c62f08e9d64c498ef6d87b9d47430f4438fd9c83 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | bpf: handle trusted PTR_TO_BTF_ID_OR_NULL in argument check logic (diff) | |
| download | kernel-e2e70535dd76c6f17bdc9009ffca3d26cfd35ea4.tar.gz kernel-e2e70535dd76c6f17bdc9009ffca3d26cfd35ea4.zip | |
selftests/bpf: add more cases for __arg_trusted __arg_nullable args
Add extra layer of global functions to ensure that passing around
(trusted) PTR_TO_BTF_ID_OR_NULL registers works as expected. We also
extend trusted_task_arg_nullable subtest to check three possible valid
argumements: known NULL, known non-NULL, and maybe NULL cases.
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
