Commit 1fcc5ce
macos: codesign Python interpreter to fix bootstrap namespace restriction
Without an ad-hoc signature on the Python binary (the browser process),
process_requirement.cc fails with errSecCSUnsigned (-67030). Chrome
responds by launching subprocesses with a restricted bootstrap namespace
that cannot see Mach services registered by the parent. This causes
bootstrap_look_up for MachPortRendezvousServer to return 1102 regardless
of whether the service name is correct.
Signing the Python binary (in addition to subprocess and .so files)
prevents the namespace restriction and allows subprocesses to find the
registered service.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2c0a356 commit 1fcc5ce
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
| |||
0 commit comments