aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:26:03 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:26:03 +0100
commit6622abb463eefb0c9cd28ea2f87c71a8185313e7 (patch)
tree9f6454cf1a4577f0ca297ae6a644961606c9b0fc
parent2ddf453e0db41a872dc3103ce94c30a4f624631d (diff)
Merge pull request #9641 from amarshall/darwin-sandbox-stderr
Allow access to /dev/stderr in Darwin sandbox (cherry picked from commit c6d7013583c568590aff285fb7414d1675a745f4) Change-Id: I5657f6f4ee9dad8c978bad0d71f5cac51584e4f2
-rw-r--r--src/libstore/build/sandbox-defaults.sb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build/sandbox-defaults.sb b/src/libstore/build/sandbox-defaults.sb
index 77f013aea..25ec11285 100644
--- a/src/libstore/build/sandbox-defaults.sb
+++ b/src/libstore/build/sandbox-defaults.sb
@@ -68,6 +68,7 @@ R""(
(allow file*
(literal "/dev/null")
(literal "/dev/random")
+ (literal "/dev/stderr")
(literal "/dev/stdin")
(literal "/dev/stdout")
(literal "/dev/tty")