aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/sandbox.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb
index 9054372bf..e847744ad 100644
--- a/Library/Homebrew/sandbox.rb
+++ b/Library/Homebrew/sandbox.rb
@@ -152,6 +152,10 @@ class Sandbox
(regex #"^/dev/ttys?[0-9]*$")
)
(deny file-write*) ; deny non-whitelist file write operations
+ (allow process-exec
+ (literal "/bin/ps")
+ (with no-sandbox)
+ ) ; allow certain processes running without sandbox
(allow default) ; allow everything else
EOS