mirror of
https://github.com/NixOS/nix
synced 2025-07-06 05:01:48 +02:00
Always use the Darwin sandbox
Even with "build-use-sandbox = false", we now use sandboxing with a permissive profile that allows everything except the creation of setuid/setgid binaries.
This commit is contained in:
parent
d3f780996c
commit
85e93d7b87
5 changed files with 100 additions and 87 deletions
5
src/libstore/sandbox-minimal.sb
Normal file
5
src/libstore/sandbox-minimal.sb
Normal file
|
@ -0,0 +1,5 @@
|
|||
(allow default)
|
||||
|
||||
; Disallow creating setuid/setgid binaries, since that
|
||||
; would allow breaking build user isolation.
|
||||
(deny file-write-setugid)
|
Loading…
Add table
Add a link
Reference in a new issue