Descriptionbpf_dsl: decouple PolicyCompiler from Syscall
Logically, the "escape hatch PC" is now like a compiler flag, that the
user can set appropriately. In the case of SandboxBPF, it will set the
PC to Syscall::Call(-1), as before.
This isn't a very satisfying way to resolve this cyclic dependency, but
it's the simplest and least intrusive I could think of.
BUG=449357
Committed: https://crrev.com/242ad8711d9f0d58fb45b134468ad68b0835fad2
Cr-Commit-Position: refs/heads/master@{#317237}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Respond to jln feedback #Patch Set 3 : clang-format #
Messages
Total messages: 10 (2 generated)
|