bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUnet News: vfork and the signal race


From: Thomas Bushnell, BSG
Subject: Re: GNUnet News: vfork and the signal race
Date: Fri, 25 Nov 2011 17:35:07 -0800

The original BSD man page warned that the behavior should not be relied on.

Thomas

On Nov 25, 2011 4:10 PM, "Christian Grothoff" <christian@grothoff.org> wrote:
On 11/25/2011 07:50 PM, Thomas Bushnell, BSG wrote:
Programs which depend on the special suspend-the-parent behavior of
vfork were always regarded as buggy...

So relying on the well-documented behavior of a system call is a bug? Did you even read about the scenario I described at
https://gnunet.org/vfork ? Before writing this, I looked around for existing information on vfork, but I didn't find anyone making a good argument (or even the claim) that relying on 'suspend-the-parent' was per-se buggy.  (Naturally, the result would be non-portable for systems where fork==vfork, but then maybe implementing vfork as fork is the bug? ;-))

Happy hacking

Christian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]