Created
February 25, 2016 02:56
-
-
Save azinman/8271381d8aec271e51f0 to your computer and use it in GitHub Desktop.
Example jail for vanadium jenkins tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(version 1) | |
(deny default) | |
(allow network*) | |
(allow file-write* file-read-data file-read-metadata | |
(regex "^/Users/zinman/vanadium") | |
(regex "^(/private)?/tmp")) | |
(allow file-read-data file-read-metadata | |
(regex "^/dev/autofs.*") | |
(regex "^/Library/Preferences") | |
(regex "^/Library/Internet Plug-Ins") | |
(regex "^/Library/PreferencePanes") | |
(regex "^/usr/share/icu") | |
(regex "^/usr/share/locale") | |
(regex "^/System/Library") | |
(regex "^/Applications/Xcode.app") | |
(regex "^/usr/bin") | |
(regex "^/usr/lib") | |
(regex "^/var")) | |
(allow mach* sysctl-read) | |
(allow signal (target same-sandbox)) | |
(allow process-fork) | |
(allow process-exec | |
(regex "^/bin") | |
(regex "^/usr/bin") | |
(regex "^(/private?)/tmp") | |
(regex "^/Users/zinman/vanadium") | |
(regex "^/Applications/Xcode.app")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment