Closed Bug 1917904 Opened 5 months ago Closed 4 months ago

Allow passing mach ports into content processes at startup

Categories

(Core :: IPC, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(2 files)

This would build on the work in bug 1440207 to allow passing mach ports with geckoargs into content processes on macOS. The ports would be included in the initial messages between the parent and content processes which are also used for transferring a task_t.

This is necessary to allow unifying shared memory implementations on macOS so we only have a single (mach-based) shared memory implementation (as there are various shared memory objects which are passed at startup on macOS which currently use posix shared memory).

This builds on the support from bug 1440207 to allow passing mach ports into
new content processes. This is done using the existing initial mach IPC already
used to transfer a mach task port to the parent process on child process
creation.

Blocks: 1454816
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8253fd9c090d Support passing mach ports into new processes, r=ipc-reviewers,jld
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: