This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.27.9000-237-gfa97d2a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  fa97d2ab5b19de0ca3cd02471d0bbf4f09b5032d (commit)
      from  b8114edd3c9e789c36789f4ce5ca6deb41ea0a14 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=fa97d2ab5b19de0ca3cd02471d0bbf4f09b5032d

commit fa97d2ab5b19de0ca3cd02471d0bbf4f09b5032d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 25 00:48:01 2018 +0100

    hurd: Fix accessing errno from rtld
    
    Letting rtld access errno through TLS can not work at early stages since
    TLS will not be initialized yet.  When a private errno is not possible,
    we thus have no other way than going through __errno_location.
    
    	* include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
    	TLS declaration of errno.

diff --git a/ChangeLog b/ChangeLog
index 94175ab..1b7ddba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-03-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
+	TLS declaration of errno.
+
 2018-03-24  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #22998]
diff --git a/include/errno.h b/include/errno.h
index 3c3d228..457114b 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -20,7 +20,7 @@
 #  define errno rtld_errno
 extern int rtld_errno attribute_hidden;
 
-# elif IS_IN_LIB
+# elif IS_IN_LIB && !IS_IN (rtld)
 
 #  include <tls.h>
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    5 +++++
 include/errno.h |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]