Commit 1ef53d75 authored by Eloy Durán's avatar Eloy Durán

[Sandbox] Use a few more literal paths instead of regexps.

parent b99dad05
......@@ -71,11 +71,13 @@ __END__
(allow network-outbound)
(allow process-exec
(literal
"<%= pod_bin %>"
"<%= ruby_bin %>"
"<%= File.join(developer_prefix, 'usr/bin/xcrun') %>"
"<%= File.join(developer_prefix, 'usr/bin/xcodebuild') %>"
)
(regex
#"^<%= pod_bin %>"
#"^<%= ruby_bin %>"
#"^<%= File.join(developer_prefix, 'usr/bin/xcrun') %>"
#"^<%= File.join(developer_prefix, 'usr/bin/xcodebuild') %>"
<% prefixes.each do |prefix| %>
#"^<%= prefix %>/*"
<% end %>
......@@ -112,13 +114,15 @@ __END__
)
(allow file-write*
(literal
"/dev/dtracehelper"
"/dev/null"
)
(regex
#"^<%= Pod::Config.instance.project_root %>"
#"^<%= Pod::Config.instance.repos_dir %>"
#"^/Users/[^.]+/Library/Caches/CocoaPods/*"
#"^/dev/dtracehelper"
#"^/dev/tty"
#"^/dev/null"
#"^/private/var"
)
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment