]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
libbpf: add bpf_prog_test_run_xattr
authorLorenz Bauer <lmb@cloudflare.com>
Mon, 3 Dec 2018 11:31:25 +0000 (11:31 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 4 Dec 2018 16:18:13 +0000 (08:18 -0800)
commit64a975913b311e5192a76cd10721d4565c9addd1
treed2ea353fbba1d2dcaf87c228e4898b456231b4d4
parent2587a974f184ff1cd8103de25b6354a3a4da7132
libbpf: add bpf_prog_test_run_xattr

Add a new function, which encourages safe usage of the test interface.
bpf_prog_test_run continues to work as before, but should be considered
unsafe.

Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
tools/lib/bpf/libbpf.map