Skip to content

Commit

Permalink
sandbox: allow more TTYs.
Browse files Browse the repository at this point in the history
This is needed on Catalina.

Fixes #6546
  • Loading branch information
MikeMcQuaid committed Oct 7, 2019
1 parent b7e0eaa commit 1cd75e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/sandbox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class SandboxProfile
(literal "/dev/random")
(literal "/dev/zero")
(regex #"^/dev/fd/[0-9]+$")
(regex #"^/dev/ttys?[0-9]*$")
(regex #"^/dev/tty[a-z0-9]*$")
)
(deny file-write*) ; deny non-whitelist file write operations
(allow process-exec
Expand Down

0 comments on commit 1cd75e4

Please sign in to comment.