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

2016-09-15 Thread Alexei Starovoitov
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 invo

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

2016-09-15 Thread Jakub Kicinski
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