DescriptionRevert 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 #
Created: 6 years, 4 months ago
(Patch set is too large to download)
Messages
Total messages: 5 (0 generated)
|