diff options
author | 2018-04-18 15:56:01 -0700 | |
---|---|---|
committer | 2018-04-19 21:46:25 +0200 | |
commit | f56a653c1fd13a197076dec4461c656fd2adec73 (patch) | |
tree | d6ccb94ff2fa8c17a385e4ca29ec6e4b446829a4 /scripts/bpf_helpers_doc.py | |
parent | bpf: btf: Add pretty print capability for data with BTF type info (diff) | |
download | wireguard-linux-f56a653c1fd13a197076dec4461c656fd2adec73.tar.xz wireguard-linux-f56a653c1fd13a197076dec4461c656fd2adec73.zip |
bpf: btf: Add BPF_BTF_LOAD command
This patch adds a BPF_BTF_LOAD command which
1) loads and verifies the BTF (implemented in earlier patches)
2) returns a BTF fd to userspace. In the next patch, the
BTF fd can be specified during BPF_MAP_CREATE.
It currently limits to CAP_SYS_ADMIN.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions