···5757extern void _cthread_fork_child(void);
5858extern void _cthread_fork_child_postinit(void);
59596060+extern void _mig_fork_child(void);
6061extern void _mach_fork_child(void);
6162extern void _cproc_fork_child(void);
6263extern void _libc_fork_child(void);
···161162162163void libSystem_atfork_child(void)
163164{
165165+ // Mach ports are not inherited across fork except for the Bootstrap.
166166+ // So why is the following line not needed on OS X?
167167+ _mig_fork_child();
168168+164169 _dyld_fork_child();
165170 _cthread_fork_child();
166171