Re: clone() <-> getpid() bug in 2.6?
From: Chris Wedgwood
Date: Sat Jun 05 2004 - 16:54:56 EST
On Sat, Jun 05, 2004 at 10:55:47PM +0200, Arjan van de Ven wrote:
> ... or glibc internally caches the getpid() result and doesn't
> notice the app calls clone() internally... strace seems to show 1
> getpid() call total not 2.
glibc caches getpid() ?!?
it's not like it's a slow syscall or used often
--cw
-
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/