From: Florian Weimer Date: Thu, 20 Aug 2015 06:44:09 +0000 (+0200) Subject: nptl: Document crash due to incorrect use of locks X-Git-Tag: glibc-2.23~622 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4e69ed3e4b2d51ebd3dfaa0730793cf913de77;p=thirdparty%2Fglibc.git nptl: Document crash due to incorrect use of locks --- diff --git a/ChangeLog b/ChangeLog index b3c98924661..c0f7f5d0088 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-08-20 Florian Weimer + + * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to + incorrect use. + 2015-08-19 Joseph Myers [BZ #18370] diff --git a/sysdeps/x86/elide.h b/sysdeps/x86/elide.h index 47e89cfc8da..6e532883402 100644 --- a/sysdeps/x86/elide.h +++ b/sysdeps/x86/elide.h @@ -93,7 +93,9 @@ elision_adapt(signed char *adapt_count, unsigned int status) ret; \ }) -/* Returns true if lock defined by IS_LOCK_FREE was elided. */ +/* Returns true if lock defined by IS_LOCK_FREE was elided. The call + to _xend crashes if the application incorrectly tries to unlock a + lock which has not been locked. */ #define ELIDE_UNLOCK(is_lock_free) \ ({ \