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

Issue 2686433002: Move SandboxCompiler class into the sandbox library. (Closed)

Created:
3 years, 10 months ago by Greg K
Modified:
3 years, 10 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, jam, darin-cc_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move SandboxCompiler class into the sandbox library. This moves the SandboxCompiler class into the isolated sandbox library, as it only works with the sandbox and does not depend on any Chrome libraries. This will allow the SandboxCompiler to be re-used in other executables for the v2 sandbox. In addition, it checks in unit tests for the V2 sandbox rules to check that they are consistently supported across the test bots and OS version. BUG=689306 Review-Url: https://codereview.chromium.org/2686433002 Cr-Commit-Position: refs/heads/master@{#449117} Committed: https://chromium.googlesource.com/chromium/src/+/16b6fc55bc0b25e8c64d0bec64ab8ddbf4684a18

Patch Set 1 #

Patch Set 2 : Fix deps #

Patch Set 3 : Use existing test binary #

Patch Set 4 : Fix missing path #

Total comments: 2

Patch Set 5 : Try getting rid of sysctl-read #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -238 lines) Patch
M content/common/sandbox_mac.h View 1 chunk +0 lines, -32 lines 0 comments Download
M content/common/sandbox_mac.mm View 3 chunks +2 lines, -39 lines 0 comments Download
D content/common/sandbox_mac_compiler_unittest.mm View 1 chunk +0 lines, -161 lines 0 comments Download
M content/common/sandbox_mac_diraccess_unittest.mm View 2 chunks +2 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 2 chunks +1 line, -1 line 0 comments Download
M sandbox/mac/BUILD.gn View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
A sandbox/mac/sandbox_compiler.h View 1 chunk +50 lines, -0 lines 0 comments Download
A sandbox/mac/sandbox_compiler.cc View 1 chunk +50 lines, -0 lines 0 comments Download
A + sandbox/mac/sandbox_mac_compiler_unittest.mm View 3 chunks +3 lines, -4 lines 0 comments Download
A sandbox/mac/sandbox_mac_compiler_v2_unittest.mm View 1 2 3 4 1 chunk +137 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (22 generated)
Greg K
PTAL. Thanks, Greg
3 years, 10 months ago (2017-02-07 04:24:40 UTC) #8
Greg K
On 2017/02/07 04:24:40, Greg K wrote: > PTAL. > > Thanks, > > Greg The ...
3 years, 10 months ago (2017-02-07 07:24:08 UTC) #15
Robert Sesek
https://codereview.chromium.org/2686433002/diff/60001/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm File sandbox/mac/sandbox_mac_compiler_v2_unittest.mm (right): https://codereview.chromium.org/2686433002/diff/60001/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm#newcode62 sandbox/mac/sandbox_mac_compiler_v2_unittest.mm:62: CHECK(result) << error; Use ASSERT_TRUE instead of CHECK.
3 years, 10 months ago (2017-02-07 21:13:39 UTC) #18
Greg K
https://codereview.chromium.org/2686433002/diff/60001/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm File sandbox/mac/sandbox_mac_compiler_v2_unittest.mm (right): https://codereview.chromium.org/2686433002/diff/60001/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm#newcode62 sandbox/mac/sandbox_mac_compiler_v2_unittest.mm:62: CHECK(result) << error; On 2017/02/07 21:13:39, Robert Sesek wrote: ...
3 years, 10 months ago (2017-02-08 00:25:44 UTC) #23
Robert Sesek
lgtm
3 years, 10 months ago (2017-02-08 22:25:57 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2686433002/80001
3 years, 10 months ago (2017-02-08 22:36:13 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 22:48:25 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/16b6fc55bc0b25e8c64d0bec64ab...

Powered by Google App Engine
This is Rietveld 408576698