sandbox/linux: refactor bpf_dsl dependency on die.h
This CL changes the bpf_dsl "Kill" builtin function to simply map to
SECCOMP_RET_KILL, rather than to a trap handler. Additionally, it
changes the default PolicyCompiler behavior for handling impossible
conditions to use this behavior.
However, it also adds SetPanicFunc as a way to override this default
behavior, and SandboxBPF uses this to maintain Chrome's historical
behavior of printing an error message with SANDBOX_DIE.
Arguably the Policy object should actually be responsible for
providing a Panic function, but that change will require modifying
existing Policy classes elsewhere in the Chromium source tree, so
I'll look into that in a followup CL.
BUG=449357
Review URL: https://codereview.chromium.org/
1302043002
Cr-Commit-Position: refs/heads/master@{#344574}