Messages in this thread | | | Subject | Re: Fixing UML against NPTL (was: Re: [uml-devel] [PATCH] UML: Use PTRACE_KILL instead of SIGKILL to kill host-OS processes (take #2)) | From | Christophe Saout <> | Date | Thu, 11 Nov 2004 19:31:51 +0100 |
| |
Am Donnerstag, den 11.11.2004, 12:45 -0500 schrieb Daniel Jacobowitz:
> Glibc caches the PID. If you're going to use clone directly, use the > gettid/getpid syscall directly. It's kind of rude that glibc breaks > getpid in this way; I recommend filing a bug in the glibc bugzilla at > sources.redhat.com.
If glibc insists on caching the pid, it could also simply invalidate the pid cache in the clone function.
[unhandled content-type:application/pgp-signature] | |