diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-12-22 20:26:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-12-22 20:26:56 +0000 |
commit | 33c6de5801caeb9087c19f265e8af71309743445 (patch) | |
tree | 1d1f18fb27a48affa666c621c39dbc06bd8aad6a /nptl | |
parent | fc242bef00206c3bab4117345734ce744f0b7eff (diff) | |
download | glibc-33c6de5801caeb9087c19f265e8af71309743445.tar.gz glibc-33c6de5801caeb9087c19f265e8af71309743445.tar.xz glibc-33c6de5801caeb9087c19f265e8af71309743445.zip |
* nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't
blacklist the group till after we look it up.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/pthread_kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_kill.c b/nptl/sysdeps/unix/sysv/linux/pthread_kill.c index 259c954322..75089365c3 100644 --- a/nptl/sysdeps/unix/sysv/linux/pthread_kill.c +++ b/nptl/sysdeps/unix/sysv/linux/pthread_kill.c @@ -37,7 +37,7 @@ __pthread_kill (threadid, signo) /* Not a valid thread handle. */ return ESRCH; - /* Force load of pd->tid into local variable or register. Oherwise + /* Force load of pd->tid into local variable or register. Otherwise if a thread exits between ESRCH test and tgkill, we might return EINVAL, because pd->tid would be cleared by the kernel. */ pid_t tid = atomic_forced_read (pd->tid); |