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

Issue 2931173003: Implement the V2 sandbox in the process launcher. (Closed)

Created:
3 years, 6 months ago by Greg K
Modified:
3 years, 5 months ago
CC:
chromium-reviews, jam, danakj+watch_chromium.org, mac-reviews_chromium.org, darin-cc_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement the V2 sandbox in the process launcher. Implements the V2 sandbox in the process launcher, passing the parameters and flags to Chrome Helper executable. The V2 sandbox is currently a disabled by default feature. BUG=689306 CQ-DEPEND=2916323004 Review-Url: https://codereview.chromium.org/2931173003 Cr-Commit-Position: refs/heads/master@{#482462} Committed: https://chromium.googlesource.com/chromium/src/+/0f7a19296f354d7ed937a0d161c08638f542d919

Patch Set 1 #

Total comments: 6

Patch Set 2 : Re-organize into sandbox_parameters_mac.mm #

Patch Set 3 : Fix deps #

Total comments: 4

Patch Set 4 : Add header guard #

Patch Set 5 : Fix deps and review comments #

Patch Set 6 : Fix name clash #

Patch Set 7 : Fix name clash #

Patch Set 8 : Fix command line setup #

Total comments: 2

Patch Set 9 : Implement the V2 sandbox in the process launcher. #

Total comments: 1

Patch Set 10 : Add comment explaining V2 sandbox #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -13 lines) Patch
M chrome/app/chrome_exe_main_mac.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/child_process_launcher_helper.h View 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/child_process_launcher_helper_mac.cc View 1 2 3 4 5 6 7 3 chunks +34 lines, -0 lines 0 comments Download
A content/browser/sandbox_parameters_mac.h View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
A content/browser/sandbox_parameters_mac.mm View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
M content/common/sandbox_init_mac.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/common/sandbox_mac.h View 1 chunk +12 lines, -1 line 0 comments Download
M content/common/sandbox_mac.mm View 4 chunks +18 lines, -5 lines 0 comments Download
M content/public/common/content_features.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 64 (45 generated)
Greg K
PTAL. Thanks, Greg
3 years, 6 months ago (2017-06-12 18:16:37 UTC) #2
Robert Sesek
https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h File base/mac/bundle_locations.h (right): https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h#newcode54 base/mac/bundle_locations.h:54: // Return the bundle identifier of the outer bundle. ...
3 years, 6 months ago (2017-06-12 21:13:55 UTC) #3
Greg K
https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h File base/mac/bundle_locations.h (right): https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h#newcode54 base/mac/bundle_locations.h:54: // Return the bundle identifier of the outer bundle. ...
3 years, 6 months ago (2017-06-12 21:15:51 UTC) #4
Robert Sesek
https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h File base/mac/bundle_locations.h (right): https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h#newcode54 base/mac/bundle_locations.h:54: // Return the bundle identifier of the outer bundle. ...
3 years, 6 months ago (2017-06-12 21:18:07 UTC) #5
Greg K
https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h File base/mac/bundle_locations.h (right): https://codereview.chromium.org/2931173003/diff/1/base/mac/bundle_locations.h#newcode54 base/mac/bundle_locations.h:54: // Return the bundle identifier of the outer bundle. ...
3 years, 6 months ago (2017-06-13 18:27:21 UTC) #7
Robert Sesek
Nice! https://codereview.chromium.org/2931173003/diff/40001/content/browser/child_process_launcher_helper_mac.cc File content/browser/child_process_launcher_helper_mac.cc (right): https://codereview.chromium.org/2931173003/diff/40001/content/browser/child_process_launcher_helper_mac.cc#newcode81 content/browser/child_process_launcher_helper_mac.cc:81: // base::CommandLine::AppendArguments messes up the arguments. How so? ...
3 years, 6 months ago (2017-06-13 19:05:08 UTC) #15
Greg K
https://codereview.chromium.org/2931173003/diff/40001/content/browser/child_process_launcher_helper_mac.cc File content/browser/child_process_launcher_helper_mac.cc (right): https://codereview.chromium.org/2931173003/diff/40001/content/browser/child_process_launcher_helper_mac.cc#newcode81 content/browser/child_process_launcher_helper_mac.cc:81: // base::CommandLine::AppendArguments messes up the arguments. On 2017/06/13 19:05:08, ...
3 years, 6 months ago (2017-06-14 17:21:17 UTC) #30
Greg K
3 years, 6 months ago (2017-06-14 17:21:18 UTC) #31
Robert Sesek
LGTM! https://codereview.chromium.org/2931173003/diff/140001/content/browser/sandbox_parameters_mac.h File content/browser/sandbox_parameters_mac.h (right): https://codereview.chromium.org/2931173003/diff/140001/content/browser/sandbox_parameters_mac.h#newcode6 content/browser/sandbox_parameters_mac.h:6: #define CONTENT_BROWSER_SANDBOX_PARAMETERS_MAC_ nit: needs trailing _H_
3 years, 6 months ago (2017-06-14 17:47:00 UTC) #34
Greg K
https://codereview.chromium.org/2931173003/diff/140001/content/browser/sandbox_parameters_mac.h File content/browser/sandbox_parameters_mac.h (right): https://codereview.chromium.org/2931173003/diff/140001/content/browser/sandbox_parameters_mac.h#newcode6 content/browser/sandbox_parameters_mac.h:6: #define CONTENT_BROWSER_SANDBOX_PARAMETERS_MAC_ On 2017/06/14 17:47:00, Robert Sesek wrote: > ...
3 years, 6 months ago (2017-06-14 20:26:34 UTC) #36
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/2931173003/160001
3 years, 6 months ago (2017-06-15 20:02:28 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/465123)
3 years, 6 months ago (2017-06-15 20:15:00 UTC) #44
Greg K
thakis@chromium.org: Please review changes in chrome/ avi@chromium.org: Please review changes in content/ Thanks, Greg
3 years, 6 months ago (2017-06-15 21:05:05 UTC) #46
Nico
chrome/ rs-lgtm Avi's out until next week I think.
3 years, 6 months ago (2017-06-15 21:06:17 UTC) #47
Greg K
jochen@chromium.org: Please review changes in content/ Thanks, Greg
3 years, 6 months ago (2017-06-15 21:09:07 UTC) #51
Greg K
jochen is OOO, creis@ can you PTAL for OWNERS review of content/? Thanks, Greg
3 years, 6 months ago (2017-06-16 18:39:06 UTC) #53
Charlie Reis
content/ LGTM with nit. https://codereview.chromium.org/2931173003/diff/160001/content/public/common/content_features.cc File content/public/common/content_features.cc (right): https://codereview.chromium.org/2931173003/diff/160001/content/public/common/content_features.cc#newcode383 content/public/common/content_features.cc:383: const base::Feature kMacV2Sandbox{"MacV2Sandbox", Can you ...
3 years, 6 months ago (2017-06-17 20:08:00 UTC) #54
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/2931173003/180001
3 years, 5 months ago (2017-06-26 23:37:37 UTC) #61
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 23:41:16 UTC) #64
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/0f7a19296f354d7ed937a0d161c0...

Powered by Google App Engine
This is Rietveld 408576698