Merge pull request #5251 from emilazy/darwin-sandbox-rosetta-2

sandbox: allow Rosetta 2 on Darwin
This commit is contained in:
Eelco Dolstra 2021-09-15 09:11:26 +02:00 committed by GitHub
commit d2c8eed344
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"))