Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd159bc

Browse files
philwobuchgr
authored andcommitted
sandbox: Allow UNIX sockets on macOS even when block-network is used.
Closes bazelbuild#3444. PiperOrigin-RevId: 163047183
1 parent ee98301 commit cd159bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/com/google/devtools/build/lib/sandbox/DarwinSandboxedSpawnRunner.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ private void writeConfig(
248248
out.println("(deny network*)");
249249
out.println("(allow network* (local ip \"localhost:*\"))");
250250
out.println("(allow network* (remote ip \"localhost:*\"))");
251+
out.println("(allow network* (remote unix-socket))");
251252
}
252253

253254
// By default, everything is read-only.

0 commit comments

Comments
 (0)