summaryrefslogtreecommitdiff
path: root/bpf_insns.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-15bpf: use Linux' define of BPF_MAXINSNSDaniel Borkmann1-0/+4
2013-06-04bpf: split up instructions and extensions from headerDaniel Borkmann1-0/+58
orm>
authorJakub Kicinski <jakub.kicinski@netronome.com>2016-09-21 11:43:58 +0100
committerDavid S. Miller <davem@davemloft.net>2016-09-21 19:50:02 -0400
commit13a27dfc669724564aafa2699976ee756029fed2 (patch)
tree716dc81499b54b9bad19483ddc9a39c09210bbc9
parent58e2af8b3a6b587e4ac8414343581da4349d3c0f (diff)
bpf: enable non-core use of the verfier
Advanced JIT compilers and translators may want to use eBPF verifier as a base for parsers or to perform custom checks and validations. Add ability for external users to invoke the verifier and provide callbacks to be invoked for every intruction checked. For now only add most basic callback for per-instruction pre-interpretation checks is added. More advanced users may also like to have per-instruction post callback and state comparison callback. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat