tech-kern archive

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

Re: next vforkup chapter: lwpctl

On Mon, Feb 14, 2011 at 03:16:11PM +0200, Antti Kantee wrote:
> The following patch makes a vfork child update the parent's lwpctl area
> while the child is running.  Comments or better ideas?

I think this is a very good case of "don't do that". malloc after
vfork() is just wrong. If rumphijack internally forces that for normal
system calls, it should downgrade vfork() to fork().


Home | Main Index | Thread Index | Old Index