]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: Add initial poke descriptor table for jit images
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 22 Nov 2019 20:07:57 +0000 (21:07 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 25 Nov 2019 01:04:11 +0000 (17:04 -0800)
commita66886fe6c24ebeeb6dc10fbd9b75158029eacf7
treec47b8231030896a840130b56aea3277780e78653
parent2beee5f57441413b64a9c2bd657e17beabb98d1c
bpf: Add initial poke descriptor table for jit images

Add initial poke table data structures and management to the BPF
prog that can later be used by JITs. Also add an instance of poke
specific data for tail call maps; plan for later work is to extend
this also for BPF static keys.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/1db285ec2ea4207ee0455b3f8e191a4fc58b9ade.1574452833.git.daniel@iogearbox.net
include/linux/bpf.h
include/linux/filter.h
kernel/bpf/core.c