Date: Tue, 16 Sep 2008 01:46:11 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf rtld_lock.c Message-ID: <200809160146.m8G1kFt4066230@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2008-09-16 01:46:11 UTC FreeBSD src repository Modified files: libexec/rtld-elf rtld_lock.c Log: SVN rev 183061 on 2008-09-16 01:46:11Z by davidxu Allow multiple locks to be acquired by detecting corresponding bit flag, otherwise if a thread acquired a lock, another thread or the current thread itself can no longer acquire another lock because thread_mask_set() return whole flag word, this results bit leaking in the word and misbehavior in later locking and unlocking. Revision Changes Path 1.6 +2 -2 src/libexec/rtld-elf/rtld_lock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809160146.m8G1kFt4066230>