Thread (20 messages) 20 messages, 2 authors, 2016-09-15

Re: [PATCHv4 net-next 06/15] bpf: enable non-core use of the verfier

flat view

From: Alexei Starovoitov <hidden>
Date: 2016-09-15 20:10:36

On Thu, Sep 15, 2016 at 08:12:26PM +0100, Jakub Kicinski wrote:
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 <redacted>
---
v4:
 - separate from the header split patch.
Acked-by: Alexei Starovoitov <ast@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help