diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2025-07-04 16:03:50 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-07 08:25:06 -0700 |
commit | 182f7df70419f368c4310dc151677d574e53c44a (patch) | |
tree | 845b14e07a40c56f8e333e936498ca85b4117ddd /scripts/lib/kdoc/kdoc_re.py | |
parent | f1f5d6f25d098e21b0a53237cfd055fc28787c46 (diff) |
bpf: attribute __arg_untrusted for global function parameters
Add support for PTR_TO_BTF_ID | PTR_UNTRUSTED global function
parameters. Anything is allowed to pass to such parameters, as these
are read-only and probe read instructions would protect against
invalid memory access.
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250704230354.1323244-5-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