DescriptionTell nacl_helper to use non SFI mode in HandleForkRequest
Before this patch, we were passing this info by the first IPC
to nacl_helper (NaClProcessMsg_Start). This timing is too late
for seccomp sandbox initialization.
This patch introduces a new process type, nacl-loader-nonsfi.
For now, nacl_helper says it can handle both nacl-loader and
nacl-loader-nonsfi. Once we have splitted nacl_helper into two
binaries, we will probably create two NaClForkDelegate
instances and let each of them to focus on a single process
type.
Also removed uses_nonsfi_mode from NaClStartParams. This is
unnecessary anymore.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3734
TEST=out/Release/browser_tests --gtest_filter='NaCl*' and trybot
R=jln@chromium.org, jochen@chromium.org, mseaborn@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261279
Patch Set 1 #
Total comments: 14
Patch Set 2 : #
Total comments: 11
Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #
Total comments: 4
Patch Set 6 : #Messages
Total messages: 50 (0 generated)
|