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 google/grte/v5-2.27/master updated. glibc-2.27-173-gc82f5de


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, google/grte/v5-2.27/master has been updated
       via  c82f5de1841d09f9055fa3160757cf9945e8bcbc (commit)
       via  daff045526c2659f6814b15565447ea5cfd26dbe (commit)
       via  bcc3b772c47373818cc7db9dc8c1227611617043 (commit)
      from  43fc4e47ae7e96fab55e78441f1000d0fd729a24 (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=c82f5de1841d09f9055fa3160757cf9945e8bcbc

commit c82f5de1841d09f9055fa3160757cf9945e8bcbc
Author: Stan Shebs <stanshebs@google.com>
Date:   Thu Dec 6 09:25:59 2018 -0800

    Revert "Forward-port __google_auxv addition"
    
    This reverts commit cfa5a3225d0705d1fe9617e7ca6ceb6f52ad21c8.

diff --git a/elf/Versions b/elf/Versions
index 242df2b..05eba2a 100644
--- a/elf/Versions
+++ b/elf/Versions
@@ -81,6 +81,5 @@ ld {
     __tunable_get_val;
 
     _google_dl_debug_state_hook;
-    __google_auxv;
   }
 }
diff --git a/elf/dl-init.c b/elf/dl-init.c
index 2f12665..3e72fa3 100644
--- a/elf/dl-init.c
+++ b/elf/dl-init.c
@@ -74,8 +74,6 @@ call_init (struct link_map *l, int argc, char **argv, char **env)
 }
 
 
-ElfW(auxv_t) *__google_auxv;
-
 void
 _dl_init (struct link_map *main_map, int argc, char **argv, char **env)
 {
@@ -83,17 +81,6 @@ _dl_init (struct link_map *main_map, int argc, char **argv, char **env)
   ElfW(Dyn) *preinit_array_size = main_map->l_info[DT_PREINIT_ARRAYSZ];
   unsigned int i;
 
-  /* _dl_init is called from _dl_start_user during loader startup.
-     It is also called from dl_open_worker.
-     Prevent multiple initialization of __google_auxv.  */
-  if (__google_auxv == NULL)
-    {
-      char **e;
-
-      for (e = env; *e; ++e) /* Skip.  */;
-      __google_auxv = (ElfW(auxv_t) *) ++e;
-    }
-
   if (__glibc_unlikely (GL(dl_initfirst) != NULL))
     {
       call_init (GL(dl_initfirst), argc, argv, env);
diff --git a/elf/dl-support.c b/elf/dl-support.c
index c05cf98..a097f22 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -240,9 +240,6 @@ _dl_aux_init (ElfW(auxv_t) *av)
   uid_t uid = 0;
   gid_t gid = 0;
 
-  extern ElfW(auxv_t) *__google_auxv;
-  __google_auxv = av;
-
   _dl_auxv = av;
   for (; av->a_type != AT_NULL; ++av)
     switch (av->a_type)

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

commit daff045526c2659f6814b15565447ea5cfd26dbe
Author: Stan Shebs <stanshebs@google.com>
Date:   Wed Dec 5 11:10:03 2018 -0800

    Add a note about passwd.borg.base organization

diff --git a/nss/nss_borg/borg-pwd.c b/nss/nss_borg/borg-pwd.c
index 1f685ee..a0eb0e3 100644
--- a/nss/nss_borg/borg-pwd.c
+++ b/nss/nss_borg/borg-pwd.c
@@ -95,6 +95,7 @@ static enum nss_status _nss_borg_getpwent_r_locked(struct passwd *result,
     ret = NSS_STATUS_SUCCESS;
   } else if (
 	     // Yes, this is one of those cases where an assign makes sense.
+	     // NB: passwd.borg.base is not ordered by UID as of cl/201005022.
 	     fb != NULL && (result = sparecopy) && (fgetpwent_r(fb, result, buffer, buflen, &result) == 0)) {
     DEBUG("Returning base user %d:%s\n", result->pw_uid, result->pw_name);
     ret = NSS_STATUS_SUCCESS;

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

commit bcc3b772c47373818cc7db9dc8c1227611617043
Author: Stan Shebs <stanshebs@google.com>
Date:   Wed Dec 5 09:47:39 2018 -0800

    Fix mistaken order of arguments to open_path

diff --git a/elf/dl-load.c b/elf/dl-load.c
index 0906de5..f78140a 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -2053,7 +2053,7 @@ _dl_map_object (struct link_map *loader, const char *name, off_t offset,
 	      && main_map != NULL && main_map->l_type != lt_loaded
 	      && cache_rpath (main_map, &main_map->l_rpath_dirs, DT_RPATH,
 			      "RPATH"))
-	    fd = open_path (name, namelen, mode, offset,
+	    fd = open_path (name, namelen, offset, mode,
 			    &main_map->l_rpath_dirs,
 			    &realname, &fb, loader ?: main_map, LA_SER_RUNPATH,
 			    &found_other_class);

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

Summary of changes:
 elf/Versions            |    1 -
 elf/dl-init.c           |   13 -------------
 elf/dl-load.c           |    2 +-
 elf/dl-support.c        |    3 ---
 nss/nss_borg/borg-pwd.c |    1 +
 5 files changed, 2 insertions(+), 18 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]