Re: [patch] af_unix fix for a panic a DoS and a memory leak [Re:

Tuomas Heino (iheino@cc.hut.fi)
Tue, 2 Mar 1999 22:52:08 +0200 (EET)


On Tue, 2 Mar 1999, Andrea Arcangeli wrote:

> Here my proggy. The implementation could be a bit bad (btw is there a
> smarter way to kill all pending zombie tasks without having to recall
> waitonpid(WNOHANG) for every last child previously launched?) but it
> should stress the basic functionality of unix-sockets quite well.
You mean just basic while(waitpid(-1, NULL, WNOHANG) > 0); or something
even smarter than that? ;)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/