Subject: Re: popen reentrant (was Re: SA/pthread and vfork)
To: Christos Zoulas <christos@zoulas.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 09/10/2003 11:54:26
On Wednesday, September 10, 2003, at 10:08 AM, Christos Zoulas wrote:
> It seems to me that the vfork semantics should be changed so that
> upcalls
> should not be happening while the child is running on the parent's
> stack.
> Maybe we should introduce a process flag that indicates P_INVFORK, and
> have execve clear it. While a process is in P_INVFORK, it cannot
> execute
> upcalls.
P_PPWAIT isn't good enough?
-- Jason R. Thorpe <thorpej@wasabisystems.com>