Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2008 09:09:22 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/libexec/rtld-elf rtld_lock.c
Message-ID:  <200810310909.m9V99Udd015968@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2008-10-31 09:09:22 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    libexec/rtld-elf     rtld_lock.c 
  Log:
  SVN rev 184497 on 2008-10-31 09:09:22Z by davidxu
  
  Merge revision 183061 from head to stable/7.
  
  > 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.
  
  Approved by:    re (kib)
  
  Revision  Changes    Path
  1.4.2.2   +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?200810310909.m9V99Udd015968>