Skip to content

Commit

Permalink
Make Darwin sandboxing default again.
Browse files Browse the repository at this point in the history
RELNOTES: Darwin sandboxing is default.

--
MOS_MIGRATED_REVID=136013826
  • Loading branch information
hermione521 committed Oct 13, 2016
1 parent dfd85b6 commit 7b825b8
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ public SandboxActionContextConsumer(CommandEnvironment env) {
|| (OS.getCurrent() == OS.DARWIN && DarwinSandboxRunner.isSupported())) {
contexts.put(SpawnActionContext.class, "sandboxed");

// This makes the "sandboxed" strategy the default Spawn strategy on Linux, unless it is
// This makes the "sandboxed" strategy the default Spawn strategy, unless it is
// overridden by a later BlazeModule.
if (OS.getCurrent() == OS.LINUX) {
spawnContexts.put("", "sandboxed");
}
spawnContexts.put("", "sandboxed");
}

this.contexts = contexts.build();
Expand Down

0 comments on commit 7b825b8

Please sign in to comment.