diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-06-23 19:58:52 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2009-06-23 19:58:52 +0000 |
commit | 683c143e481694f192b32596692e0570a67ee454 (patch) | |
tree | ab4c937bced49b2bac0907eee4e844972d5b130d | |
parent | e2c647f0ed5164c285f8b312d4c5b9cf07dcf459 (diff) |
* nptl/init.c (sighandler_setxid): Remove duplicate decrement ofeglibc-2_7
__xidcmd->cntr.
git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_7@8588 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r-- | libc/ChangeLog.eglibc | 5 | ||||
-rw-r--r-- | libc/nptl/init.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index 040fa78f6..ad99f5ec5 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,8 @@ +2009-06-23 Joseph Myers <joseph@codesourcery.com> + + * nptl/init.c (sighandler_setxid): Remove duplicate decrement of + __xidcmd->cntr. + 2008-04-11 Paul Brook <paul@codesourcery.com> * Versions.def: Add GLIBC_2.8 for backported symbols. diff --git a/libc/nptl/init.c b/libc/nptl/init.c index 517bd1331..a7b458db2 100644 --- a/libc/nptl/init.c +++ b/libc/nptl/init.c @@ -216,9 +216,6 @@ sighandler_setxid (int sig, siginfo_t *si, void *ctx) INTERNAL_SYSCALL_NCS (__xidcmd->syscall_no, err, 3, __xidcmd->id[0], __xidcmd->id[1], __xidcmd->id[2]); - if (atomic_decrement_val (&__xidcmd->cntr) == 0) - lll_futex_wake (&__xidcmd->cntr, 1, LLL_PRIVATE); - /* Reset the SETXID flag. */ struct pthread *self = THREAD_SELF; int flags, newval; |