Re: OT: fork(): parent or child should run first?

From: Ian Campbell
Date: Wed Jan 11 2006 - 08:47:35 EST


On Wed, 2006-01-11 at 14:25 +0100, Bernd Petrovitsch wrote:
> Then this leaves the race if an old pid is reused in a newly created
> process before the last instances of that pid is cleaned up.

The PID won't be available to be re-used until the signal handler has
called waitpid() on it?

Ian.

--
Ian Campbell
Current Noise: Sloth - Wishman

I understand why you're confused. You're thinking too much.
-- Carole Wallach.

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