Remove Mac child process interpose code
Categories
(Core Graveyard :: Plug-ins, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: haik, Unassigned)
References
Details
On Mac, we use DYLD_INSERT_LIBRARIES when launching child processes[1] to load libplugin_child_interpose.dylib as an interposition library.
From plugin_child_interpose.mm[2],
// These hooks are needed to make certain OS calls work from the child process
// (a background process) that would normally only work when called in the
// parent process (the foreground process). They allow us to serialize
// information from the child process to the parent process, so that the same
// (or equivalent) calls can be made from the parent process.
This was added in bug 1185084 for NPAPI plugins such as Silverlight and Flash, but now the only supported plugin is Flash. Once Flash support is removed from the tree, the interpose code should also be removed.
I'm going to mark this bug as blocked by the Flash removal bug however we might be able to remove this code first. After some quick testing without libplugin_child_interpose.dylib, I didn't notice any problems with Flash. We should investigate if this is still needed by Flash. Removing this gets us one step closer to blocking the use of dyld variables such as DYLD_INSERT_LIBRARIES which allows libraries to be injected into Firefox.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Handling this as part of clearing all of NPAPI.
Updated•2 years ago
|
Description
•