Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Issue 937303005: Revert of bpf_dsl: decouple PolicyCompiler from Syscall (Closed)

Created:
5 years, 10 months ago by kaliamoorthi
Modified:
5 years, 10 months ago
CC:
chromium-reviews, rickyz+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of bpf_dsl: decouple PolicyCompiler from Syscall (patchset #3 id:40001 of https://codereview.chromium.org/939943002/) Reason for revert: This CL seem to increase nacl_helper size and results in Linux_x64 failure. Original issue's description: > bpf_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} TBR=jln@chromium.org,mdempsky@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=449357 Committed: https://crrev.com/e83e901c290d599fcbd82da8a436d520aca94879 Cr-Commit-Position: refs/heads/master@{#317295}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -40 lines) Patch
M sandbox/linux/bpf_dsl/policy_compiler.h View 3 chunks +1 line, -6 lines 0 comments Download
M sandbox/linux/bpf_dsl/policy_compiler.cc View 6 chunks +14 lines, -16 lines 0 comments Download
M sandbox/linux/integration_tests/bpf_dsl_seccomp_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M sandbox/linux/seccomp-bpf/trap.h View 2 chunks +19 lines, -3 lines 0 comments Download
M sandbox/linux/seccomp-bpf/trap.cc View 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 20 (6 generated)
kaliamoorthi
Created Revert of bpf_dsl: decouple PolicyCompiler from Syscall
5 years, 10 months ago (2015-02-20 11:06:03 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/937303005/1
5 years, 10 months ago (2015-02-20 11:07:42 UTC) #2
commit-bot: I haz the power
Failed to apply patch for sandbox/linux/bpf_dsl/policy_compiler.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 10 months ago (2015-02-20 11:08:32 UTC) #4
mdempsky
How much larger does this make nacl_helper?
5 years, 10 months ago (2015-02-20 11:10:09 UTC) #6
kaliamoorthi
On 2015/02/20 11:10:09, mdempsky wrote: > How much larger does this make nacl_helper? Please check ...
5 years, 10 months ago (2015-02-20 11:12:31 UTC) #7
mdempsky
lgtm
5 years, 10 months ago (2015-02-20 11:33:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/937303005/1
5 years, 10 months ago (2015-02-20 11:34:26 UTC) #10
commit-bot: I haz the power
Failed to apply patch for sandbox/linux/bpf_dsl/policy_compiler.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 10 months ago (2015-02-20 11:34:56 UTC) #12
mdempsky
On 2015/02/20 11:12:31, kaliamoorthi wrote: > On 2015/02/20 11:10:09, mdempsky wrote: > > How much ...
5 years, 10 months ago (2015-02-20 11:35:08 UTC) #14
mdempsky
On 2015/02/20 11:34:56, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
5 years, 10 months ago (2015-02-20 11:36:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/937303005/1
5 years, 10 months ago (2015-02-20 11:37:25 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-20 11:38:06 UTC) #18
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e83e901c290d599fcbd82da8a436d520aca94879 Cr-Commit-Position: refs/heads/master@{#317295}
5 years, 10 months ago (2015-02-20 11:38:45 UTC) #19
kaliamoorthi
5 years, 10 months ago (2015-02-20 12:18:29 UTC) #20
Message was sent while issue was closed.
On 2015/02/20 11:36:39, mdempsky wrote:
> On 2015/02/20 11:34:56, I haz the power (commit-bot) wrote:
> > Failed to apply patch for sandbox/linux/bpf_dsl/policy_compiler.cc:
> 
> Probably because of https://codereview.chromium.org/944763004/

No revert of this one solves the problem.

Powered by Google App Engine
This is Rietveld 408576698