Skip to content

Commit

Permalink
Relax the macOS sandbox (fixes ocaml#4389)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Aug 12, 2021
1 parent 7964ede commit 111e564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/state/shellscripts/sandbox_exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -ue
POL='(version 1)(allow default)(deny network*)(deny file-write*)'
POL="$POL"'(allow network* (remote unix))'
POL="$POL"'(allow file-write* (literal "/dev/null") (literal "/dev/dtracehelper"))'
POL="$POL"'(deny file-read* (regex #"^(/private)?/var/folders/"))'

add_mounts() {
if [ -d "$2" ]; then
Expand Down

0 comments on commit 111e564

Please sign in to comment.