forked from lix-project/lix
Merge pull request #1651 from LnL7/darwin-sandbox-getpwuid
Allow getpwuid in the darwin sandbox
This commit is contained in:
commit
9ccea31dc2
|
@ -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