mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Merge pull request #1651 from LnL7/darwin-sandbox-getpwuid
Allow getpwuid in the darwin sandbox
This commit is contained in:
commit
9ccea31dc2
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