diff options
| author | Dave Marchevsky <davemarchevsky@fb.com> | 2023-11-07 11:56:39 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-10 06:07:51 +0300 |
| commit | e9ed8df7187cfdce1075d0ee591544ac15d072f1 (patch) | |
| tree | c234716003d73512a51a9e4e43b0a3cecf0c38ef /include/uapi/linux | |
| parent | 1b12171533a9bb23cf6fba7262b479028b65e1e8 (diff) | |
| download | linux-e9ed8df7187cfdce1075d0ee591544ac15d072f1.tar.xz | |
selftests/bpf: Test bpf_refcount_acquire of node obtained via direct ld
This patch demonstrates that verifier changes earlier in this series
result in bpf_refcount_acquire(mapval->stashed_kptr) passing
verification. The added test additionally validates that stashing a kptr
in mapval and - in a separate BPF program - refcount_acquiring the kptr
without unstashing works as expected at runtime.
Signed-off-by: Dave Marchevsky <davemarchevsky@fb.com>
Link: https://lore.kernel.org/r/20231107085639.3016113-7-davemarchevsky@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
