summaryrefslogtreecommitdiff
path: root/libc/misc/ttyent
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-11 05:36:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-11 05:36:43 +0000
commitda738bcee47f9e2423bcc66f379e0c5e44c62b78 (patch)
tree9c45712bea37152fda4a2e7311fd937c67027657 /libc/misc/ttyent
parent10e7c9d7d64922a211cf9ea81405e187112a0ad5 (diff)
rholzmann writes in Bug 716:
utent.c has a few problems with mutex locking when used in a binary that was linked with pthreads. The are a few deadlock conditions where functions may be called which lock the utmplock but never release it and where a function that hold the lock calls other functions which try to relock the same lock. For example, notice in the __getutent function the error condition does not unlock the semaphore. The problem is not visible when pthreads isn't used since the lock/unlock functions are NOOP functions.
Diffstat (limited to 'libc/misc/ttyent')
0 files changed, 0 insertions, 0 deletions