OS/X fork() officially broken?

Matthieu Patou mat at samba.org
Wed Oct 3 17:18:15 MDT 2012

On 10/03/2012 12:24 PM, Jelmer Vernooij wrote:
> On Wed, 2012-10-03 at 12:04 -0700, Jeremy Allison wrote:
>> On Wed, Oct 03, 2012 at 04:11:33PM +0200, Volker Lendecke wrote:
>>> Hi!
>>> Via the discussion thread on
>>> https://lwn.net/Articles/518306/ I found the link to the
>>> OS/X fork manpage:
>>> http://developer.apple.com/library/ios/#documentation/system/conceptual/manpages_iphoneos/man2/fork.2.html
>>> Despite the link pointing at ios, the text says it is the
>>> OS/X manpage for fork(2).
>>> Look at the CAVEATS section. That is likely one of the more
>>> technical reasons why Apple switched to something but Samba.
>>> For us it does not make any sense at all to even try to
>>> revive smbd on OS/X in its current architecture.
>> Isn't that an iOS manpage, not an OS/X manpage ?
> It's a confusing location for it, but the header says Mac OS X. Another
> copy can be found here:
> https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man2/fork.2.html
>> I can't believe they broke fork() so badly. It's a UNIX
>> after all..
> ... if you remove the shiny outside layers, and the plastering on top of
> what remains of the BSDish core. ;-)
But as jim pointed it with mach kernel ipc for pretty a lot of things, 
but I can't help thinking that this hasn't changes since a couple of years.


Matthieu Patou
Samba Team

More information about the samba-technical mailing list