summaryrefslogtreecommitdiffstats
path: root/include/linux/bpf.h
diff options
context:
space:
mode:
authorAlexei Starovoitov2014-09-26 09:17:05 +0200
committerDavid S. Miller2014-09-26 21:05:15 +0200
commit475fb78fbf48592ce541627c60a7b331060e31f5 (patch)
tree0abd11c01180004027ec187475ab48db9ac054d5 /include/linux/bpf.h
parentbpf: handle pseudo BPF_LD_IMM64 insn (diff)
downloadkernel-qcow2-linux-475fb78fbf48592ce541627c60a7b331060e31f5.tar.gz
kernel-qcow2-linux-475fb78fbf48592ce541627c60a7b331060e31f5.tar.xz
kernel-qcow2-linux-475fb78fbf48592ce541627c60a7b331060e31f5.zip
bpf: verifier (add branch/goto checks)
check that control flow graph of eBPF program is a directed acyclic graph check_cfg() does: - detect loops - detect unreachable instructions - check that program terminates with BPF_EXIT insn - check that all branches are within program boundary Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions