diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2025-07-04 16:03:51 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-07 08:25:07 -0700 |
commit | aaa0e57e693083b997f21064689710dfe98b326c (patch) | |
tree | cf4c509c30702400e2a2762546cdaa23be977fcd /scripts/lib/kdoc/kdoc_re.py | |
parent | 182f7df70419f368c4310dc151677d574e53c44a (diff) |
libbpf: __arg_untrusted in bpf_helpers.h
Make btf_decl_tag("arg:untrusted") available for libbpf users via
macro. Makes the following usage possible:
void foo(struct bar *p __arg_untrusted) { ... }
void bar(struct foo *p __arg_trusted) {
...
foo(p->buz->bar); // buz derefrence looses __trusted
...
}
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20250704230354.1323244-6-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