forked from lix-project/lix
Merge pull request #4817 from emilazy/fix-sandboxed-big-sur-system-version-access
sandbox: allow SystemVersionCompat.plist on Darwin
This commit is contained in:
commit
a22cad62d4
|
@ -32,7 +32,9 @@
|
||||||
(literal "/tmp") (subpath TMPDIR))
|
(literal "/tmp") (subpath TMPDIR))
|
||||||
|
|
||||||
; Some packages like to read the system version.
|
; 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.
|
; Without this line clang cannot write to /dev/null, breaking some configure tests.
|
||||||
(allow file-read-metadata (literal "/dev"))
|
(allow file-read-metadata (literal "/dev"))
|
||||||
|
|
Loading…
Reference in a new issue