bpf_dsl: Change bpf_dsl_unittests into actual standalone unit tests
commitfdb1befee90e6849a1743fcacbe01521261a6366
authormdempsky <mdempsky@chromium.org>
Fri, 20 Feb 2015 04:18:47 +0000 (19 20:18 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 04:19:20 +0000 (20 04:19 +0000)
tree8c355dce30da3813ad7024be3efad1d0d4b76d6d
parent242ad8711d9f0d58fb45b134468ad68b0835fad2
bpf_dsl: Change bpf_dsl_unittests into actual standalone unit tests

Previously they were more like integration tests that relied on
seccomp-bpf for installing the policies and executing them via live
system calls.

BUG=449357

Review URL: https://codereview.chromium.org/940693004

Cr-Commit-Position: refs/heads/master@{#317238}
sandbox/linux/bpf_dsl/bpf_dsl_unittest.cc
sandbox/linux/bpf_dsl/seccomp_macros.h
sandbox/linux/bpf_dsl/trap_registry.h
sandbox/linux/seccomp-bpf/trap.h
sandbox/linux/seccomp-bpf/verifier.h