Merge pull request #5251 from emilazy/darwin-sandbox-rosetta-2
sandbox: allow Rosetta 2 on Darwin
This commit is contained in:
commit
d2c8eed344
|
@ -97,3 +97,7 @@
|
||||||
; This is used by /bin/sh on macOS 10.15 and later.
|
; This is used by /bin/sh on macOS 10.15 and later.
|
||||||
(allow file*
|
(allow file*
|
||||||
(literal "/private/var/select/sh"))
|
(literal "/private/var/select/sh"))
|
||||||
|
|
||||||
|
; Allow Rosetta 2 to run x86_64 binaries on aarch64-darwin.
|
||||||
|
(allow file-read*
|
||||||
|
(subpath "/Library/Apple/usr/libexec/oah"))
|
||||||
|
|
Loading…
Reference in a new issue