Commit eadf73a
macos: ad-hoc codesign subprocess and .so to fix MachPortRendezvous failures
Chrome 130+ MachPortRendezvousServerMac validates the signature of each
connecting subprocess via process_requirement.cc. Without a valid code
signature the server rejects the connection, bootstrap_look_up returns
BOOTSTRAP_UNKNOWN_SERVICE (1102), and shared_memory_switch.cc kills the
subprocess ("No rendezvous client, terminating process").
The browser process also fails its own process_requirement check (-67030)
when it has loaded the unsigned cefpython_py*.so extension, because macOS
marks the process code signature as invalid when an unsigned library is
dlopen'd into a signed process.
Ad-hoc signing both the subprocess binary and the Python extension gives
them a valid (self-signed) code identity that process_requirement.cc
accepts, restoring normal MachPortRendezvousClient operation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8290b0a commit eadf73a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
0 commit comments