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

Issue 470693004: Revert of Fix Mac sandbox meta data access (reland) (Closed)

Created:
6 years, 4 months ago by adamk
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of Fix Mac sandbox meta data access (reland) (patchset #2 of https://codereview.chromium.org/469383002/) Reason for revert: Caused GPU crashes on Mac10.6 Blink layout tests running with component=shared_library. Original issue's description: > Fix Mac sandbox meta data access (reland) > > We currently allow all metadata access due to > https://codereview.chromium.org/10539009/ made the for loop comparison > in Sandbox::AllowMetadataForPath() always false, when we actually only > want to allow access to the path and all its parent path until root. > > Turn the for loop to a do/while loop instead as it's a better fit, also > add a test case for Sandbox::AllowMetadataForPath(). > > We also need file read meta data access to all the .dylibs we linked to. > > It should only affect component builds on OS X 10.6 and utility process > as no other process is using this mechanism. > > BUG=403801 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289738 TBR=avi@chromium.org,jeremy@chromium.org,thakis@chromium.org,jiangj@opera.com NOTREECHECKS=true NOTRY=true BUG=403801 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289877

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -35 lines) Patch
M content/common/sandbox_mac.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/sandbox_mac.mm View 2 chunks +4 lines, -22 lines 0 comments Download
M content/common/sandbox_mac_diraccess_unittest.mm View 2 chunks +1 line, -12 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
adamk
Created Revert of Fix Mac sandbox meta data access (reland)
6 years, 4 months ago (2014-08-15 15:38:34 UTC) #1
Nico
link to bot? On Fri, Aug 15, 2014 at 8:38 AM, <adamk@chromium.org> wrote: > Reviewers: ...
6 years, 4 months ago (2014-08-15 15:39:23 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adamk@chromium.org/470693004/1
6 years, 4 months ago (2014-08-15 15:42:38 UTC) #3
adamk
Last green run: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.6%20%28dbg%29/builds/17137 First red run: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.6%20%28dbg%29/builds/17138
6 years, 4 months ago (2014-08-15 15:43:39 UTC) #4
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 15:47:56 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (1) as 289877

Powered by Google App Engine
This is Rietveld 408576698