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

Issue 341033: Sandbox Worker process on the Mac. (Closed)

Created:
11 years, 1 month ago by jeremy
Modified:
11 years, 1 month ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Sandbox Worker process on the Mac. * Add plumbing to allow multiple Sandbox profiles on OS X. * Separate sandbox_init_wrapper into platform specific files. * Sandbox Worker process & add plumbing to Sandbox utility process when we bring that up. * Remove mention of stale bugs in utility process on Mac. BUG=23582 TEST=Worker process should work.

Patch Set 1 #

Total comments: 27

Patch Set 2 : Fix initial review comments. #

Total comments: 15

Patch Set 3 : Fixes for Mike's comments #

Patch Set 4 : Fix style niggle #

Patch Set 5 : Fix tvl's comments - file bug for regex escaping. #

Total comments: 10

Patch Set 6 : Fix latest round of comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -70 lines) Patch
M chrome/app/chrome_dll_main.cc View 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/browser/utility.sb View 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/utility_process_host.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/utility_process_host_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
A chrome/browser/worker.sb View 1 chunk +35 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/sandbox_init_wrapper.h View 1 2 3 4 5 2 chunks +8 lines, -10 lines 0 comments Download
D chrome/common/sandbox_init_wrapper.cc View 1 chunk +0 lines, -44 lines 0 comments Download
A chrome/common/sandbox_init_wrapper_linux.cc View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
A chrome/common/sandbox_init_wrapper_mac.cc View 1 2 3 4 5 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/common/sandbox_init_wrapper_win.cc View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/common/sandbox_mac.h View 1 2 3 4 5 1 chunk +24 lines, -1 line 0 comments Download
M chrome/common/sandbox_mac.mm View 1 2 3 4 5 2 chunks +42 lines, -4 lines 0 comments Download
M chrome/renderer/renderer_main_platform_delegate_mac.mm View 1 2 3 4 5 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jeremy
Mark: this CL still needs some work, but could you take a quick look and ...
11 years, 1 month ago (2009-10-29 16:54:58 UTC) #1
Mark Mentovai
Still a little rough around the edges, but the right approach. http://codereview.chromium.org/341033/diff/1/7 File chrome/common/chrome_switches.cc (right): ...
11 years, 1 month ago (2009-10-29 17:06:24 UTC) #2
TVL
http://codereview.chromium.org/341033/diff/1/11 File chrome/common/sandbox_init_wrapper_mac.cc (right): http://codereview.chromium.org/341033/diff/1/11#newcode29 Line 29: if (process_type == switches::kRendererProcess) { you can't get ...
11 years, 1 month ago (2009-10-29 17:10:26 UTC) #3
pink (ping after 24hrs)
drive-by http://codereview.chromium.org/341033/diff/2005/32 File chrome/app/chrome_dll_main.cc (right): http://codereview.chromium.org/341033/diff/2005/32#newcode486 Line 486: if(process_type != switches::kRendererProcess) space after |if| before ...
11 years, 1 month ago (2009-11-02 17:12:13 UTC) #4
jeremy
All fixed, ready for another look. http://codereview.chromium.org/341033/diff/1/7 File chrome/common/chrome_switches.cc (right): http://codereview.chromium.org/341033/diff/1/7#newcode586 Line 586: // The ...
11 years, 1 month ago (2009-11-02 17:38:41 UTC) #5
TVL
http://codereview.chromium.org/341033/diff/1/14 File chrome/common/sandbox_mac.mm (right): http://codereview.chromium.org/341033/diff/1/14#newcode88 Line 88: { On 2009/11/02 17:38:41, jeremy wrote: > Sorry, ...
11 years, 1 month ago (2009-11-02 17:54:17 UTC) #6
jeremy
All fixed + bug filed for regex issues - crbug.com/26492 Ready for another look. http://codereview.chromium.org/341033/diff/1/14 ...
11 years, 1 month ago (2009-11-02 18:28:19 UTC) #7
pink (ping after 24hrs)
i think there just needs to be more documentation on what is a worker, what ...
11 years, 1 month ago (2009-11-03 19:13:41 UTC) #8
TVL
lg http://codereview.chromium.org/341033/diff/3009/4041 File chrome/browser/utility_process.sb (right): http://codereview.chromium.org/341033/diff/3009/4041#newcode36 Line 36: (allow file* (regex #"^DIR_TO_ALLOW_ACCESS")) the wildcard here ...
11 years, 1 month ago (2009-11-04 00:17:38 UTC) #9
Mark Mentovai
The comments aren't inline because Rietveld was read-only when I began. chrome_dll_main.cc:484 Lowercase "s" sandbox. ...
11 years, 1 month ago (2009-11-04 02:21:19 UTC) #10
jeremy
All fixed, lgty? cpu: could you please take a quick look over sandbox_init_wrapper_win.cc and see ...
11 years, 1 month ago (2009-11-04 10:24:49 UTC) #11
cpu_(ooo_6.6-7.5)
11 years, 1 month ago (2009-11-04 21:12:27 UTC) #12
looked at the 3 windows files, they lgtm.

Powered by Google App Engine
This is Rietveld 408576698