This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getpid/vfork broken


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 â


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]