Chromium Code Reviews
Descriptionlinux: use /proc/self/exe when exec'ing ourselves
We don't want to ever go out to disk when looking for data after
startup, since they can be changed by an update.
We *should* just be using the zygote, but the zygote is sandboxed-only
for now, and fixing that has a lengthy dependency graph. In the
interim, /proc/self/exe is the correct executable and exec'ing it should
work as long as the subprocess doesn't need any other files from the
Chrome directory.
BUG=22703
TEST=Start Chrome. Move away the entire Chrome directory; plugins
should still work.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32486
Patch Set 1 #Patch Set 2 : wow #Patch Set 3 : fixed test #
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||