DescriptionMerge 79618 - Landing for Julien Tinnes, jln@google.com:---chroot to /proc instead of /tmp. This gets rid of a lot of unnecessarycomplexity and fixes a race condition.(Original idea from Markus)The chroot helper will chroot to /proc/self/fdinfo (or /proc/self/fd). This ispretty safe because access to this directory is protected by the ptrace() checkin the kernel and the helper is privileged.Moreover, as soon as the helper _exit() and becomes a zombie, the directorywill be empty. Zygote should wait() for us to make everything deterministric.We also export SBX_HELPER_PID so that Zygote can specifically wait for thehelper. ---BUG=76542
R=markus,aglReview URL: http://codereview.chromium.org/6683056
TBR=cevans@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80694
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|