Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1632687 - Part 1.5: Protect the hard-coded IPC child fd from acci…
…dental multiple use. r=mccr8 This "create a pipe" operation has a mode where, on Unix, it doesn't create a new transport but rather uses a hard-coded fd for the initial IPC channel in a child process. (It was originally written for Windows and the assumption of using named pipes and pathnames for everything.) That seems like a footgun, so this patch checks for trying to "create" that pipe twice. However, it doesn't check for accidentally calling it in the parent process. Differential Revision: https://phabricator.services.mozilla.com/D72259
- Loading branch information