From 6fb2dde3f1aa3a1419cb6c2dfa53dd1d506722a4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 May 2011 14:53:20 -0400 Subject: Make complete getcwd work in rtld --- ChangeLog | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 488ce8f..3454901 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,15 +3,20 @@ [BZ #12713] * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report ENAMETOOLONG use generic getcwd. - * sysdeps/posix/getcwd.c: Add support to use openat. + * sysdeps/posix/getcwd.c: Add support to use openat. Make usable + in rtld. Use *stat64. * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines): - Add dl-getcwd. + Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64. * sysdeps/unix/sysv/linux/dl-getcwd.c: New file. - * include/sys/stat.h: Define __fstatat macro. + * sysdeps/unix/sysv/linux/dl-openat64.c: New file. + * sysdeps/unix/sysv/linux/dl-opendir.c: New file. + * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file. + * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and + __fstatat64 macros. * include/dirent.h: Add libc_hidden_proto for rewinddir. * dirent/rewinddir.c: Add libc_hidden_def. * sysdeps/mach/hurd/rewinddir.c: Likewise. - * sysdeps/unix/rewinddir.c: Likewise. + * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc. * include/dirent.h (__alloc_dir): Add flags parameter. * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir. -- cgit v1.1