mandoline sandbox: prewarm libraries before we raise the sandbox.
commit25d8872d321ede78e50868d362eb2f278ebe0bf0
authorerg <erg@chromium.org>
Wed, 29 Jul 2015 21:24:12 +0000 (29 14:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 29 Jul 2015 21:24:47 +0000 (29 21:24 +0000)
treea4cdd21ac4300e7278078439189dfec49efd9e80
parent8b98057eaa184be84ae394dc949baaaa4a147471
mandoline sandbox: prewarm libraries before we raise the sandbox.

That was quick.

This moves back to a world where we don't perform dlopen() in the
sandbox. As is, we actually load other shared objects from our build
directories (html_viewer.mojo depends on libmedia_library.so, for
example), and the useage of things like base::SysInfo is too pervasive
throughout chrome to reasonably not so this.

BUG=492524

Review URL: https://codereview.chromium.org/1264463005

Cr-Commit-Position: refs/heads/master@{#340989}
mandoline/app/desktop/BUILD.gn
mandoline/app/desktop/main.cc
mandoline/services/core_services/main.cc
mojo/runner/BUILD.gn
mojo/runner/child_process.cc
mojo/runner/child_process.mojom
mojo/runner/child_process_host.cc
mojo/runner/linux_sandbox.cc [moved from mandoline/app/desktop/linux_sandbox.cc with 89% similarity]
mojo/runner/linux_sandbox.h [moved from mandoline/app/desktop/linux_sandbox.h with 80% similarity]