]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bpf: Add bpf_verify_program() to the library.
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 May 2017 18:42:48 +0000 (11:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 May 2017 18:19:00 +0000 (14:19 -0400)
commit91045f5e5238a6d2ad21d41d7e86e2fa65f90d76
treee9acd575376236e1715bfa6704fdef67f7981a72
parente07b98d9bffe410019dfcf62c3428d4a96c56a2c
bpf: Add bpf_verify_program() to the library.

This allows a test case to load a BPF program and unconditionally
acquire the verifier log.

It also allows specification of the strict alignment flag.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h