diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2025-07-04 16:03:54 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-07 08:25:07 -0700 |
commit | 68cca81fd57fd9f5b8fd8da0dccd1d00522592f9 (patch) | |
tree | d4cda7b8249802c2b1bbbfc7de47889fe4e9ee5d /scripts/lib/kdoc/kdoc_re.py | |
parent | c4aa454c64ae022e5a9d55b3c31e9b8dd8a1544f (diff) |
selftests/bpf: tests for __arg_untrusted void * global func params
Check usage of __arg_untrusted parameters of primitive type:
- passing of {trusted, untrusted, map value, scalar value, values with
variable offset} to untrusted `void *`, `char *` or enum is ok;
- varifier represents such parameters as rdonly_untrusted_mem(sz=0).
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250704230354.1323244-9-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions