diff options
author | 2024-01-23 18:21:24 -0800 | |
---|---|---|
committer | 2024-01-24 16:21:03 -0800 | |
commit | b73d08d1318a2dde5bacbab77d0e2fd2aa47c933 (patch) | |
tree | 0809ecfbdc0da2d20074ffb45e140dab820c7d54 /tools/lib/bpf/nlattr.c | |
parent | selftests/bpf: Add BPF object loading tests with explicit token passing (diff) | |
download | linux-b73d08d1318a2dde5bacbab77d0e2fd2aa47c933.tar.gz linux-b73d08d1318a2dde5bacbab77d0e2fd2aa47c933.tar.bz2 linux-b73d08d1318a2dde5bacbab77d0e2fd2aa47c933.zip |
selftests/bpf: Add tests for BPF object load with implicit token
Add a test to validate libbpf's implicit BPF token creation from default
BPF FS location (/sys/fs/bpf). Also validate that disabling this
implicit BPF token creation works.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20240124022127.2379740-28-andrii@kernel.org
Diffstat (limited to 'tools/lib/bpf/nlattr.c')
0 files changed, 0 insertions, 0 deletions