[PATCH bpf-next v6 07/16] bpf: kernel side support for BTF Var and DataSec

2019-04-09 Thread Daniel Borkmann
This work adds kernel-side verification, logging and seq_show dumping of BTF Var and DataSec kinds which are emitted with latest LLVM. The following constraints apply: BTF Var must have: - Its kind_flag is 0 - Its vlen is 0 - Must point to a valid type - Type must not resolve to a forward type -

[PATCH bpf-next v6 07/16] bpf: kernel side support for BTF Var and DataSec

2019-04-09 Thread Daniel Borkmann
This work adds kernel-side verification, logging and seq_show dumping of BTF Var and DataSec kinds which are emitted with latest LLVM. The following constraints apply: BTF Var must have: - Its kind_flag is 0 - Its vlen is 0 - Must point to a valid type - Type must not resolve to a forward type -