]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.
authorBrooks Moses <bmoses@google.com>
Fri, 11 Apr 2014 20:37:15 +0000 (13:37 -0700)
committerBrooks Moses <bmoses@google.com>
Fri, 11 Apr 2014 20:37:15 +0000 (13:37 -0700)
README.google
elf/rtld.c

index 5ac5b4a6924a3525e9b33b972e2673311800395e..81cc9359d89909de53165d0e831286015d61fd3d 100644 (file)
@@ -287,3 +287,7 @@ sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data
   For b/5732800, expose calls from malloc to mmap, munmap, and sbrk.
   Forward ported from cl/42670015, with changes.
   (ppluzhnikov, google-local)
+
+elf/rtld.c
+  For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.
+  (bmoses, google-local)
index acc4f00458c3244c1e53521a4428c273c2181015..5fd7ba7d5a6647f05c34133404be18910f5e9281 100644 (file)
@@ -2909,10 +2909,6 @@ get_directory (const char *file_path)
     dest = __mempcpy (dest, file_path, path_len);
   *dest = '\0';
 
-  /* Confirm that the constructed path is valid.  */
-  struct stat64 st;
-  assert (__xstat64 (_STAT_VER, full_dir_path, &st) == 0);
-
   return full_dir_path;
 }