glibc/sysdeps/unix
Ulrich Drepper 7fb90fb89b Fix Linux getcwd for long paths
The getcwd syscall (so far?) can only handle path up to one page
in size.  There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this.  In that case fall
back to the generic getcwd.

Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
..
bsd BZ #11538: Fix ttyname_r callers not to expect errno was set. 2010-04-28 15:00:14 -07:00
common
i386
inet
mman
powerpc
sh
sparc
sysv Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
x86_64
Implies
Makefile
Subdirs
_exit.S
alarm.c
clock_gettime.c
clock_nanosleep.c
clock_settime.c
closedir.c
confstr.h
dirfd.c
dirstream.h
errnos-tmpl.c
errnos.awk
execve.S
fdopendir.c Optimize fdopendir a bit. 2011-05-08 00:48:30 -04:00
fork.S
fxstat.c
get_child_max.c
getdents.c
getegid.S
geteuid.S
getlogin.c BZ #11538: Fix ttyname_r callers not to expect errno was set. 2010-04-28 15:00:14 -07:00
getlogin_r.c Fix Linux getlogin{_r,} implementation 2010-03-24 17:02:57 -07:00
getpagesize.c
getppid.S
grantpt.c
ioctls-tmpl.c
ioctls.awk
make-syscalls.sh
mk-local_lim.c
mkdir.c
mkfifo.c
mkfifoat.c
nice.c
opendir.c Optimize fdopendir a bit. 2011-05-08 00:48:30 -04:00
readdir.c
readdir_r.c More accurate computatin of reclen in readdir_r. 2010-12-19 16:00:59 -05:00
rewinddir.c Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
rmdir.c
s-proto-bp.S
s-proto-cancel.S
s-proto.S
seekdir.c
setxid.h
siglist.c
snarf-ioctls
sockatmark.c
start.c
stime.c
syscall-template.S
syscall.S
syscalls.list Add syncfs syscall. 2011-04-01 13:08:28 -04:00
sysdep.h
system.c
telldir.c
time.c
utime.c
xmknod.c
xstat.c