diff options
author | Emily <vcs@emily.moe> | 2021-05-17 00:15:30 +0100 |
---|---|---|
committer | Emily <vcs@emily.moe> | 2021-05-17 01:24:31 +0100 |
commit | 559a504da7d4289badfb4ebf7906f80fbf50bedf (patch) | |
tree | 7c3f4ced9efab52f703207f02ad566f59cc358d3 /shell.nix | |
parent | de9e43c2ea8ac8752d42660c17a7b683682ef38b (diff) |
sandbox: allow SystemVersionCompat.plist on Darwin
For whatever reason, many programs trying to access SystemVersion.plist
also open SystemVersionCompat.plist; this includes Python code and
coreutils’ `cat(1)` (but not the native macOS `/bin/cat`). Illustratory
`dtruss(1m)` output:
open("/System/Library/CoreServices/SystemVersion.plist\0", 0x0, 0x0) = 3 0
open("/System/Library/CoreServices/SystemVersionCompat.plist\0", 0x0, 0x0) = 4 0
I assume this is a Big Sur change relating to the 10.16.x/11.x
version compatibility divide and that it’s something along the lines of
a hook inside libSystem.
Fixes a lot of sandboxed package builds under Big Sur.
Diffstat (limited to 'shell.nix')
0 files changed, 0 insertions, 0 deletions