diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 17:12:13 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 17:12:13 +0000 |
commit | bd9337ce8f7afe8dda38ee3afe3dd260507f7c2c (patch) | |
tree | 5cf40fd48476896c4d4148f6953b5f106ca03c77 /base | |
parent | 8bcdfc9fbecfea07eed5b410c4e7b4e118e12dc1 (diff) | |
download | chromium_src-bd9337ce8f7afe8dda38ee3afe3dd260507f7c2c.zip chromium_src-bd9337ce8f7afe8dda38ee3afe3dd260507f7c2c.tar.gz chromium_src-bd9337ce8f7afe8dda38ee3afe3dd260507f7c2c.tar.bz2 |
Revert 43086 - 1. Create a new sandbox type which allows access to Unix sockets in the Mac
renderer sandbox to support running Native Client.
2. Put the Native Client sel_ldr (which contains the user's untrusted code
into a new Mac sandbox type.
3. Open /dev/random in SandboxWarmup().
4. Remove the "nosandbox" flag when running Mac tests.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=327
TEST=nacl_ui_tests still pass while running in the sandbox.
Review URL: http://codereview.chromium.org/1234003
TBR=msneck@google.com
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/rand_util_c.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/base/rand_util_c.h b/base/rand_util_c.h index 20e3082..5a0bf73 100644 --- a/base/rand_util_c.h +++ b/base/rand_util_c.h @@ -9,9 +9,6 @@ extern "C" { #endif -// Note this *should* be in "namespace base" but the function is needed -// from C so namespaces cannot be used. - // Returns an FD for /dev/urandom, possibly pre-opened before sandboxing // was switched on. This is a C function so that Native Client can use it. int GetUrandomFD(void); |