DescriptionNon-SFI mode: Open primary IPC::Channel before seccomp-sandbox enabled.
Currently, the primary IPC::Channel is created in NonSfiListener::Listen().
However, it is run in CLIENT mode so that it requires socketpair() system
call, which we're going to prohibit.
This CL moves the IPC::Channel opening before seccomp-bpf engaged.
Along with the change, we get rid of IPC::SyncChannel for NonSfiListener.
It is because:
- SyncChannel's complicated structure is not necessary here, and
- we cannot create the IOThread required by SyncChannel before seccomp-bpf
is engaged.
By this Change, IO operation for the primary IPC::Channel in Non-SFI mode
runs on the main thread rather than NaCl_IOThread.
TEST=Ran browser_tests --gtest_filter=*NonSfi* locally. Ran bots.
BUG=358417
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (1 generated)
|