mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
Allow getpwuid in the darwin sandbox.
This commit is contained in:
parent
197922ea4e
commit
453f675810
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
||||||
; Allow sending signals within the sandbox.
|
; Allow sending signals within the sandbox.
|
||||||
(allow signal (target same-sandbox))
|
(allow signal (target same-sandbox))
|
||||||
|
|
||||||
|
; Allow getpwuid.
|
||||||
|
(allow mach-lookup (global-name "com.apple.system.opendirectoryd.libinfo"))
|
||||||
|
|
||||||
; Access to /tmp.
|
; Access to /tmp.
|
||||||
(allow file* process-exec (literal "/tmp") (subpath TMPDIR))
|
(allow file* process-exec (literal "/tmp") (subpath TMPDIR))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue