diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-19 00:52:09 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-19 00:52:09 +0000 |
commit | 87f59d48a8c90999ce33ba414435fae0e32e2f0c (patch) | |
tree | 9043699619840f869b7191b66fa7968df84c9801 /chrome/renderer/renderer.sb | |
parent | bd5ef825f5ba6517a0a6a2cfb8ebcb09134efe74 (diff) | |
download | chromium_src-87f59d48a8c90999ce33ba414435fae0e32e2f0c.zip chromium_src-87f59d48a8c90999ce33ba414435fae0e32e2f0c.tar.gz chromium_src-87f59d48a8c90999ce33ba414435fae0e32e2f0c.tar.bz2 |
Revert 52872 - Remove the special hole that was opened for Native Client
in order for it to do bind() and connect().
BUG=http://code.google.com/p/chromium/issues/detail?id=26781
TEST=all tests pass, especially nacl_ui_tests
Review URL: http://codereview.chromium.org/2881016
TBR=msneck@google.com
Review URL: http://codereview.chromium.org/2842059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer.sb')
-rw-r--r-- | chrome/renderer/renderer.sb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/renderer/renderer.sb b/chrome/renderer/renderer.sb index 9c075b4..4165162 100644 --- a/chrome/renderer/renderer.sb +++ b/chrome/renderer/renderer.sb @@ -19,3 +19,17 @@ ; USER_HOMEDIR is substitued at runtime - http://crbug.com/11269 ;10.6_ONLY (allow file-read-data (subpath "USER_HOMEDIR/Library/Fonts")) ; 10.6 + +; Needed for the Native Client plugin and loader. These lines are enabled +; if and only if --internal-nacl (or --enable-nacl) are used (and they +; are off by default). +; TODO(msneck): Refactor Native Client to use something other than Unix +; sockets. Then change or remove the code in chrome/common/sandbox_mac.mm +; which deals with the ";NACL" prefix. +; See http://code.google.com/p/nativeclient/issues/detail?id=344 +;NACL;BEFORE_10.6 (allow network-inbound (from unix-socket)) +;NACL;BEFORE_10.6 (allow network-outbound (to unix-socket)) +;NACL;10.6_ONLY (allow network-inbound (regex #"^(/private)?/tmp/nacl-")) +;NACL;10.6_ONLY (allow network-outbound (regex #"^(/private)?/tmp/nacl-")) +;NACL;10.6_ONLY (allow network-bind (local ip4)) +;NACL;10.6_ONLY (allow file-write* (regex #"^(/private)?/tmp/nacl-"))
\ No newline at end of file |