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, fedora/master, updated. glibc-2.13-1003-g42cf17c


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, fedora/master has been updated
       via  42cf17c0ff63072dcd1c22ac65fe598c8158773a (commit)
       via  207e77fd3f0a94acdf0557608dd4f10ce0e0f22f (commit)
       via  4e242545be898962a8a63a1e99e69095c39494f9 (commit)
       via  8db2296a1929a4bda2e22501d97ef9a4b7b71386 (commit)
       via  8eb0f2a81e6cc4a389a0b3b5a18cfdd308a8be62 (commit)
       via  13a55937d8d1cddbfa0d0e33b721b9c5e1e924b0 (commit)
       via  acee487360384487c27d4a0738cf529badb7b3a8 (commit)
       via  320a5dc07b907b1e640fd11ce49a04aa2b367711 (commit)
       via  f574184a0e4b6ed69a5d9a3234543fba6d2a7367 (commit)
       via  162ba701c2d305ae2fda1e901c85c9004d52b208 (commit)
       via  e1fb097f447a89aa69a926e45e673a52d86a6c57 (commit)
       via  5bdcc10322c488f53557440acf71623d8b313ab5 (commit)
       via  eac80ce2fa2497c2b4ea1d55d690ad53e1375ece (commit)
       via  22836f52e3e4740e450f9b93a2f1e31a90b168a6 (commit)
       via  7b3b0b2a63f7e980adb630550c0dc9639ec09d7f (commit)
       via  bc469bea5c7eb774b7f01fadb37564015ef22c3f (commit)
       via  24c55fb3b3cb1d5ec338909a1f7b5bc7404d2cdc (commit)
       via  5d493feb1a590d713e0a96dc31053cdd1c0d7a83 (commit)
       via  be97a69ebe137a0caab097df5e0ceb9fa92443eb (commit)
       via  be9c5e8b2014bdbf724f206bb25249c67115db49 (commit)
       via  dcf4f6efae2b72adca411d76e7b778b223b85a30 (commit)
       via  e371399f16f58b962917f0371675a72d31725284 (commit)
       via  f49839299a085505eb673544744b61d2d9cdd1db (commit)
       via  a7b80ed51d2ff41ff88c28771454e8517f8b8456 (commit)
       via  c1e9e399b3b124ad818dcd75e916e2d9488fe004 (commit)
       via  96b4b1b04ef56c7cf5cb4f55cdee5df4e5886c6b (commit)
       via  6894bb76e73f8f816010ef346d9f4fea54385a33 (commit)
       via  72d1dddb023e8f66da37bd88fada6f97299fdc4a (commit)
       via  bdc2f971eec30e23fd0bc55af3f589d93542cd7b (commit)
       via  fd3bb3392b936ab7acc36b145eb87e2222643c73 (commit)
       via  56a7f7dd43e2b1dbedfb621bb4ff5ebefabb185e (commit)
       via  2952b11705faf16e8dae432e0a9bbf99e34d4c67 (commit)
       via  6a564b67fcb72bc5b6d5869bc9c2d575d44eee1a (commit)
       via  447ef77660d96faf744a05f030217e5a5fcd774e (commit)
       via  c05c983867ff7803940e22915f79b490110f42b5 (commit)
       via  d8741b523e8731586d5bdc3625de0de5c2430f7a (commit)
       via  509342214301fc76ee7ae0a0f27ed63bb2e2bad5 (commit)
       via  64913e4216f961c5f51928abd4191e23c3375894 (commit)
       via  9c1cc6f1fed4115de028610bc9ef5476c8fab56e (commit)
       via  2a81eaa5a29932c7ab9d4f90007cfef6dd451247 (commit)
       via  7734679ac1260356711dcbeeb500683dbc668948 (commit)
       via  887ae4ea1fe6fe4fa46e6e136f88012a974b3404 (commit)
       via  9329581898d695c002358c842c2967bfdcc1fcc8 (commit)
       via  4da0fb475d00ca0d8ec75beb0b6d67ea68bb5234 (commit)
       via  0f7843d00f0703837f380eb03143a4ed5d485ead (commit)
       via  445d72ca267e2f4815847c3ad2bc108952049444 (commit)
       via  0e8131bb32cf026c87baeacb7abf2a9bdbbc4953 (commit)
       via  6fb2dde3f1aa3a1419cb6c2dfa53dd1d506722a4 (commit)
       via  7fb90fb89bbdf273ab7ab96517fe1b156cd7aee1 (commit)
       via  28377d1bf58625172a1734b92e835591d4d23a18 (commit)
       via  66bdbaa4522f561d4ea90a77af243c004ecf642c (commit)
       via  c1e9ea3517686173bed4beb07c8bf366c94b8edb (commit)
       via  95721191747f271812735c26f06c73887d02bdaf (commit)
       via  f87dfb1f11c01f2ccdc40d81e134cd06b32e28e8 (commit)
       via  47c3cd7a74e8c089d60d603afce6d9cf661178d6 (commit)
       via  d08055417d0187875806161fab8c4777adfb7ba8 (commit)
       via  8a35c9120fedda4d5cce1d37783e1f8bf6fc58da (commit)
       via  acd41f47eae558eb35871de3af7114c43093ff99 (commit)
       via  a04469764964a82863e0f61659bfa2d875f6fb7e (commit)
       via  597df64714851a68b25663c8b61b0e597552bebb (commit)
      from  73206a6fb40b2c617eb96b8ba43e4940c1725117 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=42cf17c0ff63072dcd1c22ac65fe598c8158773a

commit 42cf17c0ff63072dcd1c22ac65fe598c8158773a
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri May 13 14:43:19 2011 +0200

    2.13.90-12

diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index adff925..6b34ecc 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -18,11 +18,12 @@
 %define debuginfocommonarches %{biarcharches} alpha alphaev6
 %define multiarcharches ppc ppc64 %{ix86} x86_64 %{sparc}
 %define systemtaparches %{ix86} x86_64
+%define silentrules PARALLELMFLAGS=-s
 
 Summary: The GNU libc libraries
 Name: glibc
 Version: %{glibcversion}
-Release: 11
+Release: 12
 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
 # Things that are linked directly into dynamically linked programs
 # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -363,7 +364,7 @@ configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables"
 	--disable-profile --enable-experimental-malloc --enable-nss-crypt ||
 { cat config.log; false; }
 
-make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" PARALLELMFLAGS=-s
+make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" %{silentrules}
 
 cd ..
 }
@@ -409,7 +410,7 @@ GCC=`cat Gcc`
 
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT
-make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{nptl_target_cpu}-linuxnptl PARALLELMFLAGS=-s
+make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{nptl_target_cpu}-linuxnptl %{silentrules}
 %ifnarch %{auxarches}
 cd build-%{nptl_target_cpu}-linuxnptl && \
   make %{?_smp_mflags} install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` && \
@@ -731,7 +732,7 @@ export TIMEOUTFACTOR=16
 parent=$$
 echo ====================TESTING=========================
 cd build-%{nptl_target_cpu}-linuxnptl
-( make %{?_smp_mflags} -k check PARALLELMFLAGS=-s 2>&1
+( make %{?_smp_mflags} -k check %{silentrules} 2>&1
   sleep 10s
   teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
   [ -n "$teepid" ] && kill $teepid
@@ -740,7 +741,7 @@ cd ..
 %if %{buildxen}
 echo ====================TESTING -mno-tls-direct-seg-refs=============
 cd build-%{nptl_target_cpu}-linuxnptl-nosegneg
-( make %{?_smp_mflags} -k check PARALLELMFLAGS=-s 2>&1
+( make %{?_smp_mflags} -k check %{silentrules} 2>&1
   sleep 10s
   teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
   [ -n "$teepid" ] && kill $teepid
@@ -753,7 +754,7 @@ cd build-%{nptl_target_cpu}-linuxnptl-power6
 ( if [ -d ../power6emul ]; then
     export LD_PRELOAD=`cd ../power6emul; pwd`/\$LIB/power6emul.so
   fi
-  make %{?_smp_mflags} -k check PARALLELMFLAGS=-s 2>&1
+  make %{?_smp_mflags} -k check %{silentrules} 2>&1
   sleep 10s
   teepid="`ps -eo ppid,pid,command | awk '($1 == '${parent}' && $3 ~ /^tee/) { print $2 }'`"
   [ -n "$teepid" ] && kill $teepid
@@ -1046,6 +1047,32 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Fri May 13 2011 Andreas Schwab <schwab@redhat.com> - 2.13.90-12
+- Update from master
+  - Fix resizing table for unique symbols when adding symbol for copy
+    relocation (BZ#12511)
+  - Fix sched_setscheduler call in spawn implementation (BZ#12052)
+  - Report write error in addmnt even for cached streams (BZ#12625)
+  - Translate kernel error into what pthread_create should return
+    (BZ#386)
+  - More configurability for secondary group lookup (BZ#11257)
+  - Several locale data updates (BZ#11258, BZ#11487, BZ#11532,
+    BZ#11578, BZ#11653, BZ#11668, BZ#11945, BZ#11947, BZ#12158,
+    BZ#12200, BZ#12178, BZ#12178, BZ#12346, BZ#12449, BZ#12545,
+    BZ#12551, BZ#12611, BZ#12660, BZ#12681, BZ#12541, BZ#12711,
+    BZ#12738)
+  - Fix Linux getcwd for long paths (BZ#12713)
+  - static tls memory leak on TLS_DTV_AT_TP archs
+  - Actually undefine ARG_MAX from <linux/limits.h>
+  - Backport BIND code to query name as TLD (BZ#12734)
+  - Allow $ORIGIN to reference trusted directoreis in SUID binaries
+    (BZ #12393)
+  - Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
+  - Report if no record is found by initgroups in nss_files
+- Never leave $ORIGIN unexpanded
+- Revert "Ignore origin of privileged program"
+- Reexport RPC interface
+
 * Thu May  5 2011 Andreas Schwab <schwab@redhat.com> - 2.13.90-11
 - Update from master
   - Don't use removed rpc headers
@@ -4726,7 +4753,7 @@ rm -f *.filelist*
 - rebuilt against newer glibc-kernheaders to use the correct
   PATH_MAX
 - handle .athlon.rpm glibc the same way as .i686.rpm
-- add a couple of .ISO-8859-15 locales (#61922)
+- add a couple of .ISO-8859-15 locales (#61908)
 - readd temporarily currencies which were superceeded by Euro
   into the list of accepted currencies by localedef to make
   standard conformance testsuites happy

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=207e77fd3f0a94acdf0557608dd4f10ce0e0f22f

commit 207e77fd3f0a94acdf0557608dd4f10ce0e0f22f
Author: Andreas Schwab <schwab@redhat.com>
Date:   Mon May 9 10:55:58 2011 +0200

    Never leave $ORIGIN unexpanded

diff --git a/ChangeLog b/ChangeLog
index d4e5f53..0cbeb73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-13  Andreas Schwab  <schwab@redhat.com>
+
+	* elf/dl-load.c (is_dst): Remove parameter secure, all callers
+	changed.  Move check for valid use of $ORIGIN ...
+	(_dl_dst_substitute): ... here.  Reset check_for_trusted when a
+	path element is skipped.
+
 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
 
 	[BZ #12511]
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 18a83d2..6e16a9a 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -250,8 +250,7 @@ is_trusted_path_normalize (const char *path, size_t len)
 
 
 static size_t
-is_dst (const char *start, const char *name, const char *str,
-	int is_path, int secure)
+is_dst (const char *start, const char *name, const char *str, int is_path)
 {
   size_t len;
   bool is_curly = false;
@@ -280,12 +279,6 @@ is_dst (const char *start, const char *name, const char *str,
 	   && (!is_path || name[len] != ':'))
     return 0;
 
-  if (__builtin_expect (secure, 0)
-      && ((name[len] != '\0' && name[len] != '/'
-	   && (!is_path || name[len] != ':'))
-	  || (name != start + 1 && (!is_path || name[-2] != ':'))))
-    return 0;
-
   return len;
 }
 
@@ -300,13 +293,10 @@ _dl_dst_count (const char *name, int is_path)
     {
       size_t len;
 
-      /* $ORIGIN is not expanded for SUID/GUID programs (except if it
-	 is $ORIGIN alone) and it must always appear first in path.  */
       ++name;
-      if ((len = is_dst (start, name, "ORIGIN", is_path,
-			 INTUSE(__libc_enable_secure))) != 0
-	  || (len = is_dst (start, name, "PLATFORM", is_path, 0)) != 0
-	  || (len = is_dst (start, name, "LIB", is_path, 0)) != 0)
+      if ((len = is_dst (start, name, "ORIGIN", is_path)) != 0
+	  || (len = is_dst (start, name, "PLATFORM", is_path)) != 0
+	  || (len = is_dst (start, name, "LIB", is_path)) != 0)
 	++cnt;
 
       name = strchr (name + len, '$');
@@ -339,9 +329,16 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
 	  size_t len;
 
 	  ++name;
-	  if ((len = is_dst (start, name, "ORIGIN", is_path,
-			     INTUSE(__libc_enable_secure))) != 0)
+	  if ((len = is_dst (start, name, "ORIGIN", is_path)) != 0)
 	    {
+	      /* For SUID/GUID programs $ORIGIN must always appear
+		 first in a path element.  */
+	      if (__builtin_expect (INTUSE(__libc_enable_secure), 0)
+		  && ((name[len] != '\0' && name[len] != '/'
+		       && (!is_path || name[len] != ':'))
+		      || (name != start + 1 && (!is_path || name[-2] != ':'))))
+		repl = (const char *) -1;
+	      else
 #ifndef SHARED
 	      if (l == NULL)
 		repl = _dl_get_origin ();
@@ -352,9 +349,9 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
 	      check_for_trusted = (INTUSE(__libc_enable_secure)
 				   && l->l_type == lt_executable);
 	    }
-	  else if ((len = is_dst (start, name, "PLATFORM", is_path, 0)) != 0)
+	  else if ((len = is_dst (start, name, "PLATFORM", is_path)) != 0)
 	    repl = GLRO(dl_platform);
-	  else if ((len = is_dst (start, name, "LIB", is_path, 0)) != 0)
+	  else if ((len = is_dst (start, name, "LIB", is_path)) != 0)
 	    repl = DL_DST_LIB;
 
 	  if (repl != NULL && repl != (const char *) -1)
@@ -374,6 +371,7 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
 		 element, but keep an empty element at the end.  */
 	      if (wp == result && is_path && *name == ':' && name[1] != '\0')
 		++name;
+	      check_for_trusted = false;
 	    }
 	  else
 	    /* No DST we recognize.  */

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4e242545be898962a8a63a1e99e69095c39494f9

commit 4e242545be898962a8a63a1e99e69095c39494f9
Merge: 8db2296 320a5dc
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri May 13 14:31:55 2011 +0200

    Merge remote-tracking branch 'origin/master' into fedora/master

diff --cc NEWS
index 11f086e,b8afa6e..df17fb9
--- a/NEWS
+++ b/NEWS
@@@ -7,6 -7,24 +7,14 @@@ using `glibc' in the "product" field
  
  Version 2.14
  
+ * The following bugs are resolved with this release:
+ 
+   386, 11257, 11258, 11487, 11532, 11578, 11653, 11668, 11724, 11945, 11947,
+   12052, 12158, 12178, 12200, 12346, 12393, 12420, 12445, 12449, 12454,
+   12460, 12469, 12489, 12509, 12510, 12511, 12518, 12527, 12541, 12545,
+   12551, 12583, 12587, 12597, 12611, 12625, 12631, 12650, 12653, 12655,
+   12660, 12681, 12685, 12711, 12713, 12714, 12717, 12723, 12734, 12738
+ 
 -* The RPC implementation in libc is obsoleted.  Old programs keep working
 -  but new programs cannot be linked with the routines in libc anymore.
 -  Programs in need of RPC functionality must be linked against TI-RPC.
 -  The TI-RPC implemtation is IPv6 enabled and there are other benefits.
 -
 -  Visible changes of this change include (obviously) the inability to link
 -  programs using RPC functions without referencing the TI-RPC library and the
 -  removal of the RPC headers from the glibc headers.
 -  Implemented by Ulrich Drepper.
 -
  * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
    syncfs
  
diff --cc elf/Makefile
index 41ad20b,a18c1cd..509515f
--- a/elf/Makefile
+++ b/elf/Makefile
@@@ -200,10 -198,10 +200,10 @@@ tests += loadtest restest1 preloadtest 
  	 tst-align tst-align2 $(tests-execstack-$(have-z-execstack)) \
  	 tst-dlmodcount tst-dlopenrpath tst-deep1 \
  	 tst-dlmopen1 tst-dlmopen2 tst-dlmopen3 \
 -	 unload3 unload4 unload5 unload6 unload7 tst-global1 order2 \
 +	 unload3 unload4 unload5 unload6 unload7 unload8 tst-global1 order2 \
  	 tst-audit1 tst-audit2 \
  	 tst-stackguard1 tst-addr1 tst-thrlock \
- 	 tst-unique1 tst-unique2 tst-unique3 \
+ 	 tst-unique1 tst-unique2 tst-unique3 tst-unique4 \
  	 tst-initorder
  #	 reldep9
  test-srcs = tst-pathopt
diff --cc localedata/SUPPORTED
index f88f53c,2813c92..5a0fa26
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@@ -133,9 -132,9 +134,10 @@@ en_SG.UTF-8/UTF-8 
  en_SG/ISO-8859-1 \
  en_US.UTF-8/UTF-8 \
  en_US/ISO-8859-1 \
 +en_US.ISO-8859-15/ISO-8859-15 \
  en_ZA.UTF-8/UTF-8 \
  en_ZA/ISO-8859-1 \
+ en_ZM/UTF-8 \
  en_ZW.UTF-8/UTF-8 \
  en_ZW/ISO-8859-1 \
  es_AR.UTF-8/UTF-8 \
@@@ -372,7 -374,8 +379,9 @@@ sv_FI/ISO-8859-1 
  sv_FI@euro/ISO-8859-15 \
  sv_SE.UTF-8/UTF-8 \
  sv_SE/ISO-8859-1 \
 +sv_SE.ISO-8859-15/ISO-8859-15 \
+ sw_KE/UTF-8 \
+ sw_TZ/UTF-8 \
  ta_IN/UTF-8 \
  te_IN/UTF-8 \
  tg_TJ.UTF-8/UTF-8 \

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8db2296a1929a4bda2e22501d97ef9a4b7b71386

commit 8db2296a1929a4bda2e22501d97ef9a4b7b71386
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri May 13 14:29:15 2011 +0200

    Revert "Ignore rpath elements containing non-isolated use of $ORIGIN when privileged"
    
    This reverts commit 049b59f78fdcb533fe2999ba73daa32c2f8cb758.

diff --git a/ChangeLog b/ChangeLog
index d250249..273763e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -450,13 +450,6 @@
 
 	* elf/ldd.bash.in: Never run file directly.
 
-2011-03-14  Andreas Schwab  <schwab@redhat.com>
-
-	* elf/dl-load.c (is_dst): Remove parameter secure, all callers
-	changed.  Don't check for isolated use.
-	(_dl_dst_substitute): Ignore rpath elements containing
-	non-isolated use of $ORIGIN when privileged.
-
 2011-03-07  Andreas Schwab  <schwab@redhat.com>
 
 	* include/link.h (struct link_map): Remove l_orig_initfini.
diff --git a/elf/dl-load.c b/elf/dl-load.c
index ed3552f..00ea465 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -169,7 +169,8 @@ local_strdup (const char *s)
 
 
 static size_t
-is_dst (const char *start, const char *name, const char *str, int is_path)
+is_dst (const char *start, const char *name, const char *str,
+	int is_path, int secure)
 {
   size_t len;
   bool is_curly = false;
@@ -198,6 +199,11 @@ is_dst (const char *start, const char *name, const char *str, int is_path)
 	   && (!is_path || name[len] != ':'))
     return 0;
 
+  if (__builtin_expect (secure, 0)
+      && ((name[len] != '\0' && (!is_path || name[len] != ':'))
+	  || (name != start + 1 && (!is_path || name[-2] != ':'))))
+    return 0;
+
   return len;
 }
 
@@ -212,10 +218,13 @@ _dl_dst_count (const char *name, int is_path)
     {
       size_t len;
 
+      /* $ORIGIN is not expanded for SUID/GUID programs (except if it
+	 is $ORIGIN alone) and it must always appear first in path.  */
       ++name;
-      if ((len = is_dst (start, name, "ORIGIN", is_path)) != 0
-	  || (len = is_dst (start, name, "PLATFORM", is_path)) != 0
-	  || (len = is_dst (start, name, "LIB", is_path)) != 0)
+      if ((len = is_dst (start, name, "ORIGIN", is_path,
+			 INTUSE(__libc_enable_secure))) != 0
+	  || (len = is_dst (start, name, "PLATFORM", is_path, 0)) != 0
+	  || (len = is_dst (start, name, "LIB", is_path, 0)) != 0)
 	++cnt;
 
       name = strchr (name + len, '$');
@@ -247,16 +256,9 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
 	  size_t len;
 
 	  ++name;
-	  if ((len = is_dst (start, name, "ORIGIN", is_path)) != 0)
+	  if ((len = is_dst (start, name, "ORIGIN", is_path,
+			     INTUSE(__libc_enable_secure))) != 0)
 	    {
-	      /* $ORIGIN is not expanded for SUID/GUID programs
-		 (except if it is $ORIGIN alone) and it must always
-		 appear first in path.  */
-	      if (__builtin_expect (INTUSE(__libc_enable_secure), 0)
-		  && ((name[len] != '\0' && (!is_path || name[len] != ':'))
-		      || (name != start + 1 && (!is_path || name[-2] != ':'))))
-		repl = (const char *) -1;
-	      else
 #ifndef SHARED
 	      if (l == NULL)
 		repl = _dl_get_origin ();
@@ -264,9 +266,9 @@ _dl_dst_substitute (struct link_map *l, const char *name, char *result,
 #endif
 		repl = l->l_origin;
 	    }
-	  else if ((len = is_dst (start, name, "PLATFORM", is_path)) != 0)
+	  else if ((len = is_dst (start, name, "PLATFORM", is_path, 0)) != 0)
 	    repl = GLRO(dl_platform);
-	  else if ((len = is_dst (start, name, "LIB", is_path)) != 0)
+	  else if ((len = is_dst (start, name, "LIB", is_path, 0)) != 0)
 	    repl = DL_DST_LIB;
 
 	  if (repl != NULL && repl != (const char *) -1)

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8eb0f2a81e6cc4a389a0b3b5a18cfdd308a8be62

commit 8eb0f2a81e6cc4a389a0b3b5a18cfdd308a8be62
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri May 13 14:26:32 2011 +0200

    Revert "Ignore origin of privileged program"
    
    This reverts commit 96611391ad8823ba58405325d78cefeae5cdf699.

diff --git a/ChangeLog b/ChangeLog
index b61ad6b..d250249 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1009,11 +1009,6 @@
 
 	* sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
 
-2010-12-13  Andreas Schwab  <schwab@redhat.com>
-
-	* elf/dl-object.c (_dl_new_object): Ignore origin of privileged
-	program.
-
 2010-11-11  Andreas Schwab  <schwab@redhat.com>
 
 	* posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
diff --git a/elf/dl-object.c b/elf/dl-object.c
index 822812f..ee93b6a 100644
--- a/elf/dl-object.c
+++ b/elf/dl-object.c
@@ -220,9 +220,6 @@ _dl_new_object (char *realname, const char *libname, int type,
     out:
       new->l_origin = origin;
     }
-  else if (INTUSE(__libc_enable_secure) && type == lt_executable)
-    /* The origin of a privileged program cannot be trusted.  */
-    new->l_origin = (char *) -1;
 
   return new;
 }

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=13a55937d8d1cddbfa0d0e33b721b9c5e1e924b0

commit 13a55937d8d1cddbfa0d0e33b721b9c5e1e924b0
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri May 13 14:22:47 2011 +0200

    Fixup ChangeLog

diff --git a/ChangeLog b/ChangeLog
index 7200801..b61ad6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -457,15 +457,6 @@
 	(_dl_dst_substitute): Ignore rpath elements containing
 	non-isolated use of $ORIGIN when privileged.
 
-	* elf/dl-load.c (_dl_dst_substitute): When skipping the first
-	rpath element also skip the following colon.
-	(expand_dynamic_string_token): Add is_path parameter and pass
-	down to DL_DST_REQUIRED and _dl_dst_substitute.
-	(decompose_rpath): Call expand_dynamic_string_token with
-	non-zero is_path.  Ignore empty rpaths.
-	(_dl_map_object_from_fd): Call expand_dynamic_string_token
-	with zero is_path.
-
 2011-03-07  Andreas Schwab  <schwab@redhat.com>
 
 	* include/link.h (struct link_map): Remove l_orig_initfini.

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=acee487360384487c27d4a0738cf529badb7b3a8

commit acee487360384487c27d4a0738cf529badb7b3a8
Author: Andreas Schwab <schwab@redhat.com>
Date:   Thu May 12 17:30:08 2011 +0200

    Reexport RPC interface

diff --git a/NEWS b/NEWS
index 583136a..11f086e 100644
--- a/NEWS
+++ b/NEWS
@@ -7,17 +7,6 @@ using `glibc' in the "product" field.
 
 Version 2.14
 
-* The RPC implementation in libc is obsoleted.  Old programs keep working
-  but new programs cannot be linked with the routines in libc anymore.
-  Programs in need of RPC functionality must be linked against TI-RPC.
-  The TI-RPC implemtation is IPv6 enabled and there are other benefits.
-
-  Visible changes of this change include (obviously) the inability to link
-  programs using RPC functions without referencing the TI-RPC library, the
-  removal of the RPC headers from the glibc headers, and the lack of
-  symbols defined in <rpc/netdb.h> when <netdb.h> is installed.
-  Implemented by Ulrich Drepper.
-
 * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
   syncfs
 
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 67e1ca2..5e7cca5 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -635,7 +635,7 @@ for linking")
 # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libc_hidden_def(name) hidden_def (name)
 # define libc_hidden_weak(name) hidden_weak (name)
-# define libc_hidden_nolink(name, version) hidden_nolink (name, libc, version)
+# define libc_hidden_nolink(name, version) hidden_def (name)
 # define libc_hidden_ver(local, name) hidden_ver (local, name)
 # define libc_hidden_data_def(name) hidden_data_def (name)
 # define libc_hidden_data_weak(name) hidden_data_weak (name)
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 5134ce9..40c73d1 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -53,7 +53,7 @@ headers-in-tirpc = $(addprefix rpc/,auth.h auth_unix.h clnt.h pmap_clnt.h \
 				    des_crypt.h)
 headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \
 		       $(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h
-headers = rpc/netdb.h
+headers = rpc/netdb.h $(headers-in-tirpc) $(headers-not-in-tirpc)
 install-others = $(inst_sysconfdir)/rpc
 generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \
 	    $(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen

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

Summary of changes:
 ChangeLog                               |  188 ++-
 NEWS                                    |   23 +-
 dirent/rewinddir.c                      |    3 +-
 elf/Makefile                            |    5 +-
 elf/dl-close.c                          |   36 +-
 elf/dl-load.c                           |  150 +-
 elf/dl-lookup.c                         |   47 +-
 elf/dl-object.c                         |    3 -
 elf/dl-reloc.c                          |   26 +-
 elf/tst-unique4.cc                      |   27 +
 elf/tst-unique4.h                       |    7 +
 elf/tst-unique4lib.cc                   |   17 +
 fedora/glibc.spec.in                    |   41 +-
 grp/initgroups.c                        |   45 +-
 iconvdata/Makefile                      |   20 +-
 iconvdata/cp770.c                       |   29 +
 iconvdata/cp771.c                       |   29 +
 iconvdata/cp772.c                       |   29 +
 iconvdata/cp773.c                       |   29 +
 iconvdata/cp774.c                       |   29 +
 iconvdata/gconv-modules                 |   22 +-
 iconvdata/gen-8bit-gap-1.sh             |    6 +-
 iconvdata/gen-8bit-gap.sh               |    6 +-
 iconvdata/gen-8bit.sh                   |    4 +-
 iconvdata/testdata/{CP1256 => CP770}    |    0
 iconvdata/testdata/CP770..UTF8          |   14 +
 iconvdata/testdata/{CP1256 => CP771}    |    0
 iconvdata/testdata/CP771..UTF8          |   14 +
 iconvdata/testdata/{CP1256 => CP772}    |    0
 iconvdata/testdata/CP772..UTF8          |   14 +
 iconvdata/testdata/{CP1256 => CP773}    |    0
 iconvdata/testdata/CP773..UTF8          |   14 +
 iconvdata/testdata/{CP1256 => CP774}    |    0
 iconvdata/testdata/CP774..UTF8          |   14 +
 iconvdata/tst-tables.sh                 |    7 +-
 include/dirent.h                        |    5 +-
 include/libc-symbols.h                  |    2 +-
 include/sys/stat.h                      |    6 +
 locale/C-translit.h                     | 1196 +++++-----
 locale/C-translit.h.in                  |    4 +-
 locale/iso-639.def                      |    2 +
 locale/programs/localedef.c             |    2 +-
 localedata/ChangeLog                    |  106 +-
 localedata/SUPPORTED                    |   11 +
 localedata/charmaps/CP770               |  267 ++
 localedata/charmaps/CP771               |  267 ++
 localedata/charmaps/CP772               |  267 ++
 localedata/charmaps/CP773               |  267 ++
 localedata/charmaps/CP774               |  267 ++
 localedata/charmaps/UTF-8               | 4379 +++++++++++++++++++++++++++++++
 localedata/locales/ar_IN                |    2 +-
 localedata/locales/as_IN                |    2 +-
 localedata/locales/bem_ZM               |  195 ++
 localedata/locales/bn_IN                |    2 +-
 localedata/locales/en_IN                |    2 +-
 localedata/locales/en_ZM                |   92 +
 localedata/locales/es_NI                |   56 +-
 localedata/locales/es_PA                |    6 +-
 localedata/locales/es_SV                |   58 +-
 localedata/locales/et_EE                |    4 +-
 localedata/locales/ff_SN                |  195 ++
 localedata/locales/gu_IN                |    2 +-
 localedata/locales/hi_IN                |    2 +-
 localedata/locales/kn_IN                |    3 +-
 localedata/locales/kok_IN               |    2 +-
 localedata/locales/ks_IN                |    2 +-
 localedata/locales/lb_LU                |  196 ++
 localedata/locales/lij_IT               |  130 +
 localedata/locales/mhr_RU               |  162 ++
 localedata/locales/ml_IN                |    2 +-
 localedata/locales/mr_IN                |    2 +-
 localedata/locales/or_IN                |    2 +-
 localedata/locales/os_RU                |  170 ++
 localedata/locales/pa_IN                |    2 +-
 localedata/locales/ru_RU                |   38 +-
 localedata/locales/sa_IN                |    2 +-
 localedata/locales/sd_IN                |    2 +-
 localedata/locales/sq_AL                |    4 +-
 localedata/locales/sw_KE                |  170 ++
 localedata/locales/sw_TZ                |  121 +
 localedata/locales/ta_IN                |    2 +-
 localedata/locales/te_IN                |    2 +-
 localedata/locales/tk_TM                |  146 +-
 localedata/locales/translit_neutral     |    2 +
 localedata/locales/wae_CH               |  240 ++
 localedata/locales/yue_HK               |  166 ++
 manual/stdio.texi                       |  130 +-
 misc/mntent_r.c                         |    6 +-
 nptl/ChangeLog                          |    5 +
 nptl/allocatestack.c                    |    2 +-
 nss/nss_files/files-initgroups.c        |    4 +-
 nss/nsswitch.conf                       |    2 +-
 resolv/res_debug.c                      |    5 +-
 resolv/res_init.c                       |    5 +
 resolv/res_query.c                      |   14 +-
 resolv/resolv.h                         |    4 +-
 sunrpc/Makefile                         |    2 +-
 sysdeps/mach/hurd/rewinddir.c           |    4 +-
 sysdeps/posix/getcwd.c                  |  365 ++-
 sysdeps/posix/spawni.c                  |    4 +-
 sysdeps/unix/fdopendir.c                |    4 +-
 sysdeps/unix/opendir.c                  |    9 +-
 sysdeps/unix/rewinddir.c                |    8 +-
 sysdeps/unix/sysv/linux/Makefile        |    3 +-
 sysdeps/unix/sysv/linux/dl-fxstatat64.c |    6 +
 sysdeps/unix/sysv/linux/dl-getcwd.c     |    1 +
 sysdeps/unix/sysv/linux/dl-openat64.c   |   40 +
 sysdeps/unix/sysv/linux/dl-opendir.c    |    6 +
 sysdeps/unix/sysv/linux/getcwd.c        |   55 +-
 sysdeps/unix/sysv/linux/sys/param.h     |    5 +-
 sysdeps/unix/sysv/linux/sys/sysmacros.h |    6 +-
 111 files changed, 9640 insertions(+), 1187 deletions(-)
 create mode 100644 elf/tst-unique4.cc
 create mode 100644 elf/tst-unique4.h
 create mode 100644 elf/tst-unique4lib.cc
 create mode 100644 iconvdata/cp770.c
 create mode 100644 iconvdata/cp771.c
 create mode 100644 iconvdata/cp772.c
 create mode 100644 iconvdata/cp773.c
 create mode 100644 iconvdata/cp774.c
 copy iconvdata/testdata/{CP1256 => CP770} (100%)
 create mode 100644 iconvdata/testdata/CP770..UTF8
 copy iconvdata/testdata/{CP1256 => CP771} (100%)
 create mode 100644 iconvdata/testdata/CP771..UTF8
 copy iconvdata/testdata/{CP1256 => CP772} (100%)
 create mode 100644 iconvdata/testdata/CP772..UTF8
 copy iconvdata/testdata/{CP1256 => CP773} (100%)
 create mode 100644 iconvdata/testdata/CP773..UTF8
 copy iconvdata/testdata/{CP1256 => CP774} (100%)
 create mode 100644 iconvdata/testdata/CP774..UTF8
 create mode 100644 localedata/charmaps/CP770
 create mode 100644 localedata/charmaps/CP771
 create mode 100644 localedata/charmaps/CP772
 create mode 100644 localedata/charmaps/CP773
 create mode 100644 localedata/charmaps/CP774
 create mode 100644 localedata/locales/bem_ZM
 create mode 100644 localedata/locales/en_ZM
 create mode 100644 localedata/locales/ff_SN
 create mode 100644 localedata/locales/lb_LU
 create mode 100644 localedata/locales/lij_IT
 create mode 100644 localedata/locales/mhr_RU
 create mode 100644 localedata/locales/os_RU
 create mode 100644 localedata/locales/sw_KE
 create mode 100644 localedata/locales/sw_TZ
 create mode 100644 localedata/locales/wae_CH
 create mode 100644 localedata/locales/yue_HK
 create mode 100644 sysdeps/unix/sysv/linux/dl-fxstatat64.c
 create mode 100644 sysdeps/unix/sysv/linux/dl-getcwd.c
 create mode 100644 sysdeps/unix/sysv/linux/dl-openat64.c
 create mode 100644 sysdeps/unix/sysv/linux/dl-opendir.c


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]