Merge pull request #4817 from emilazy/fix-sandboxed-big-sur-system-version-access

sandbox: allow SystemVersionCompat.plist on Darwin
This commit is contained in:
Eelco Dolstra
2021-05-17 11:15:48 +02:00
committed by GitHub
+3 -1
View File
@@ -32,7 +32,9 @@
(literal "/tmp") (subpath TMPDIR))
; Some packages like to read the system version.
(allow file-read* (literal "/System/Library/CoreServices/SystemVersion.plist"))
(allow file-read*
(literal "/System/Library/CoreServices/SystemVersion.plist")
(literal "/System/Library/CoreServices/SystemVersionCompat.plist"))
; Without this line clang cannot write to /dev/null, breaking some configure tests.
(allow file-read-metadata (literal "/dev"))