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

Issue 10539009: mac: Make the (10.6-only) sandbox hole for the components build smaller (Closed)

Created:
8 years, 6 months ago by Nico
Modified:
6 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

mac: Make the (10.6-only) sandbox hole for the components build smaller Part 2/2 of the changes requested by jeremy at https://chromiumcodereview.appspot.com/10389047 Previously, the components build added (allow file-read-metadata) to the sandbox on 10.6. With this patch, only all parent directories of the bundle executable get this exception. BUG=127465 TEST=component build still runs Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141020

Patch Set 1 #

Total comments: 5

Patch Set 2 : avi #

Patch Set 3 : test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -41 lines) Patch
M content/common/common.sb View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/sandbox_mac.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M content/common/sandbox_mac.mm View 6 chunks +50 lines, -39 lines 2 comments Download
M content/common/sandbox_mac_diraccess_unittest.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Nico
https://chromiumcodereview.appspot.com/10539009/diff/1/content/common/sandbox_mac.h File content/common/sandbox_mac.h (right): https://chromiumcodereview.appspot.com/10539009/diff/1/content/common/sandbox_mac.h#newcode155 content/common/sandbox_mac.h:155: static FilePath GetCanonicalSandboxPath(const FilePath& path); This is a behavior-preserving ...
8 years, 6 months ago (2012-06-05 17:54:20 UTC) #1
Nico
ping
8 years, 6 months ago (2012-06-06 21:27:57 UTC) #2
jeremy
LGTM
8 years, 6 months ago (2012-06-07 10:00:13 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10539009/1
8 years, 6 months ago (2012-06-07 14:35:06 UTC) #4
commit-bot: I haz the power
Presubmit check for 10539009-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 6 months ago (2012-06-07 14:35:08 UTC) #5
Avi (use Gerrit)
LGTM with super important comment nits :) https://chromiumcodereview.appspot.com/10539009/diff/1/content/common/sandbox_mac.h File content/common/sandbox_mac.h (right): https://chromiumcodereview.appspot.com/10539009/diff/1/content/common/sandbox_mac.h#newcode128 content/common/sandbox_mac.h:128: // Returns ...
8 years, 6 months ago (2012-06-07 14:50:01 UTC) #6
Nico
ty! https://chromiumcodereview.appspot.com/10539009/diff/1/content/common/sandbox_mac.h File content/common/sandbox_mac.h (right): https://chromiumcodereview.appspot.com/10539009/diff/1/content/common/sandbox_mac.h#newcode128 content/common/sandbox_mac.h:128: // Returns a (allow file-read-metadata) rule for |allowed_dir| ...
8 years, 6 months ago (2012-06-07 14:59:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10539009/4002
8 years, 6 months ago (2012-06-07 15:00:05 UTC) #8
commit-bot: I haz the power
Try job failure for 10539009-4002 (retry) on mac_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-07 15:16:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/10539009/2002
8 years, 6 months ago (2012-06-07 15:25:38 UTC) #10
commit-bot: I haz the power
Change committed as 141020
8 years, 6 months ago (2012-06-07 16:38:23 UTC) #11
Jiang Jiang
https://codereview.chromium.org/10539009/diff/2002/content/common/sandbox_mac.mm File content/common/sandbox_mac.mm (right): https://codereview.chromium.org/10539009/diff/2002/content/common/sandbox_mac.mm#newcode114 content/common/sandbox_mac.mm:114: for (FilePath path = allowed_path; This seems wrong as ...
6 years, 4 months ago (2014-08-13 10:48:08 UTC) #12
Nico
https://codereview.chromium.org/10539009/diff/2002/content/common/sandbox_mac.mm File content/common/sandbox_mac.mm (right): https://codereview.chromium.org/10539009/diff/2002/content/common/sandbox_mac.mm#newcode114 content/common/sandbox_mac.mm:114: for (FilePath path = allowed_path; On 2014/08/13 10:48:08, Jiang ...
6 years, 4 months ago (2014-08-13 15:43:17 UTC) #13
Jiang Jiang
On 2014/08/13 15:43:17, Nico (very away) wrote: > https://codereview.chromium.org/10539009/diff/2002/content/common/sandbox_mac.mm > File content/common/sandbox_mac.mm (right): > > ...
6 years, 4 months ago (2014-08-13 15:47:40 UTC) #14
Nico
On Wed, Aug 13, 2014 at 8:47 AM, <jiangj@opera.com> wrote: > On 2014/08/13 15:43:17, Nico ...
6 years, 4 months ago (2014-08-13 15:53:02 UTC) #15
Jiang Jiang
On 2014/08/13 15:47:40, Jiang wrote: > On 2014/08/13 15:43:17, Nico (very away) wrote: > > ...
6 years, 4 months ago (2014-08-13 15:53:37 UTC) #16
Jiang Jiang
On 2014/08/13 15:53:02, Nico (very away) wrote: > On Wed, Aug 13, 2014 at 8:47 ...
6 years, 4 months ago (2014-08-13 15:56:06 UTC) #17
Jiang Jiang
6 years, 4 months ago (2014-08-13 16:00:35 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/472513002/ posted to correct the loop logic.

Powered by Google App Engine
This is Rietveld 408576698