getpid/vfork broken
Ulrich Drepper
drepper@redhat.com
Tue Mar 9 07:48:00 GMT 2004
I've checked in some changes for x86 and x86-64. But I still think it's
a terrible idea to even try to support it.
For instance, on x86 it's not possible to get the tid field corrected,
too. So raise won't work (fortunately it's caught by the kernel). It
is possible on other archs but only at the code of making each and every
user of the tid field more complicated. That's simply not acceptable
and this is why vfork was crippled. It interferes far too much with
many other parts of the implementation.
Anyway, for the getpid handling, the other archs need to be handled,
too. The x86/x86-64 changes are kept small, I envision this is the
model for the other archs, too.
--
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
More information about the Libc-hacker
mailing list