diff options
author | laforge@chromium.org <laforge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 23:39:14 +0000 |
---|---|---|
committer | laforge@chromium.org <laforge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 23:39:14 +0000 |
commit | b49384ca8da9ec25c74740a64d4389d43a1acf4b (patch) | |
tree | 5041d043aa9e6388b35b58cf351ce0ab49993d56 /DEPS | |
parent | bd50c65207ea0408cc6e14a72866dbbe26e0d7a1 (diff) | |
download | chromium_src-b49384ca8da9ec25c74740a64d4389d43a1acf4b.zip chromium_src-b49384ca8da9ec25c74740a64d4389d43a1acf4b.tar.gz chromium_src-b49384ca8da9ec25c74740a64d4389d43a1acf4b.tar.bz2 |
Revert 79867 - Revert 79618 - Landing for Julien Tinnes, jln@google.com:
---
chroot to /proc instead of /tmp. This gets rid of a lot of unnecessary
complexity and fixes a race condition.
(Original idea from Markus)
The chroot helper will chroot to /proc/self/fdinfo (or /proc/self/fd). This is
pretty safe because access to this directory is protected by the ptrace() check
in the kernel and the helper is privileged.
Moreover, as soon as the helper _exit() and becomes a zombie, the directory
will be empty. Zygote should wait() for us to make everything deterministric.
We also export SBX_HELPER_PID so that Zygote can specifically wait for the
helper.
---
BUG=76542
R=markus,agl
Review URL: http://codereview.chromium.org/6683056
TBR=cevans@chromium.org
Review URL: http://codereview.chromium.org/6675053
TBR=laforge@chromium.org
Review URL: http://codereview.chromium.org/6780010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79921 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'DEPS')
0 files changed, 0 insertions, 0 deletions