From: Brooks Moses Date: Fri, 11 Apr 2014 20:37:15 +0000 (-0700) Subject: For b/12342355, remove inappropriate assert in EXEC_ORIGIN support. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae4d5ce7debf3108345fd6b4baaae20880d74e37;p=thirdparty%2Fglibc.git For b/12342355, remove inappropriate assert in EXEC_ORIGIN support. --- diff --git a/README.google b/README.google index 5ac5b4a6924..81cc9359d89 100644 --- a/README.google +++ b/README.google @@ -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) diff --git a/elf/rtld.c b/elf/rtld.c index acc4f00458c..5fd7ba7d5a6 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -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; }