hi,

> On Wed, Jan 25, 2012 at 12:50:12PM +0100, Martin Husemann wrote:
>> A working alternative aproach to this patch is to use a vfork based emulation
>> in userland only (FreeBSD is doing that). It is less kernel code, but to
>> me sounds a bit hackish and/or fragile - maybe a matter of personal taste.
> 
> As said earlier, this can fail pretty badly when libraries (think pth)
> overwrite system calls to do "transparent" operations behind the back.
> Our mutexes for example are process specific.

i don't understand.  can you explain?

posix_spawn, if implemented in userland, is supposed to be in libc
and thus can use the raw versions of system calls without being fooled
by such libraries.

YAMAMOTO Takashi

> 
> Joerg

Reply via email to