glibc/sysdeps/mach/hurd
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
..
bits Define __rtld_lock_recursive_* for Hurd. 2010-01-18 14:44:22 -08:00
i386 Remove .ctors' and .dtors' output sections 2010-12-24 20:14:37 -05:00
net
powerpc Remove .ctors' and .dtors' output sections 2010-12-24 20:14:37 -05:00
sys
_exit.c
_G_config.h
accept.c
access.c
adjtime.c
bind.c
brk.c
chdir.c
check_fds.c
chflags.c
chmod.c
chown.c
chroot.c
clock.c
close.c
closedir.c
configure configure tweaks, support $libc_add_on_config_subdirs 2009-09-15 14:14:42 -07:00
configure.in
connect.c
cthreads.c
device-nrs.h
dirfd.c
dirstream.h
dl-cache.c
dl-execstack.c
dl-sysdep.c Fix typos from last patch. 2010-03-29 18:43:06 -07:00
dl-sysdep.h
dup2.c
enbl-secure.c
err_hurd.sub
errlist.c
errno-loc.c
errno.c
errnos.awk
euidaccess.c
execve.c
faccessat.c
fchdir.c
fchflags.c Remove doubled words. 2011-04-22 21:34:32 -04:00
fchmod.c Remove doubled words. 2011-04-22 21:34:32 -04:00
fchmodat.c
fchown.c
fchownat.c
fcntl.c
fdatasync.c
fdopendir.c
fexecve.c
fgetxattr.c
flistxattr.c
flock.c
fork.c
fpathconf.c
fremovexattr.c
fsetxattr.c
fstatfs64.c
fstatfs.c
fstatvfs64.c
fstatvfs.c
fsync.c
ftruncate.c Remove doubled words. 2011-04-22 21:34:32 -04:00
futimes.c
fxstat64.c
fxstat.c
fxstatat64.c
fxstatat.c
getclktck.c
getcwd.c Hurd: Fix spurious mach_port_deallocate in getcwd. 2009-12-22 11:47:13 -08:00
getdents.c
getdomain.c
getdtsz.c
getegid.c
geteuid.c
getgid.c
getgroups.c
gethostid.c
gethostname.c
getitimer.c
getlogin_r.c
getlogin.c
getpeername.c
getpgid.c
getpid.c
getppid.c
getpriority.c
getresgid.c
getresuid.c
getrlimit.c
getrusage.c
getsid.c
getsockname.c
getsockopt.c
getuid.c
getxattr.c
group_member.c
if_index.c Remove useless "if" before "free". 2008-03-19 06:43:34 +00:00
ifreq.c
ifreq.h Fix __if_freereq crash: Unlike the generic version which uses free, Hurd needs munmap. 2011-02-21 16:53:10 -08:00
Implies
init-posix.c
ioctl.c
isatty.c
jmp-unwind.c
kernel-features.h
kill.c
lchmod.c
lchown.c
lgetxattr.c
libc_p-ldscript
libc-ldscript
link.c
linkat.c Hurd: Fix linkat symlink handling. 2010-06-02 10:25:56 -07:00
listen.c
listxattr.c
lseek64.c
lseek.c
lsetxattr.c
lutimes.c
lxstat64.c
lxstat.c
Makeconfig
Makefile * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: 2009-01-07 01:59:43 +00:00
malloc-machine.h * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, 2008-11-07 15:07:10 +00:00
mig-reply.c
mkdir.c
mkdirat.c Fix Hurd mkdirat. 2009-09-28 11:37:20 -07:00
mlock.c
mmap.c
munlock.c
open64.c
open.c 2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org> 2008-07-07 00:41:05 +00:00
openat64.c
openat.c 2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org> 2008-07-07 00:41:05 +00:00
opendir.c
pathconf.c
pipe.c
poll.c
ppoll.c
pread64.c
pread.c
prof-freq.c
profil.c
pselect.c
ptrace.c
ptsname.c
pwrite64.c
pwrite.c
read.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
readlink.c
reboot.c
recv.c * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. 2008-07-02 19:35:02 +00:00
recvfrom.c * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. 2008-07-02 19:35:02 +00:00
recvmsg.c * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. 2008-07-02 19:35:02 +00:00
removexattr.c
rename.c
revoke.c
rewinddir.c Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
rmdir.c
sbrk.c
seekdir.c
select.c
send.c 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org> 2008-07-02 09:53:29 +00:00
sendfile64.c
sendfile.c
sendmsg.c Hurd: fix sendmsg memory leak in error paths 2010-07-20 19:19:34 -07:00
sendto.c * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. 2008-07-02 09:54:02 +00:00
setdomain.c
setegid.c
seteuid.c
setgid.c
setgroups.c
sethostid.c
sethostname.c
setitimer.c
setlogin.c
setpgid.c
setpriority.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit.c
setsid.c
setsockopt.c
settimeofday.c
setuid.c
setxattr.c
shutdown.c
sigaction.c
sigaltstack.c
siglist.h
sigpending.c
sigprocmask.c
sigstack.c
sigsuspend.c
sigwait.c
socket.c
socketpair.c
spawni.c
statfs64.c
statfs.c
statfsconv.c
statvfs64.c
statvfs.c
Subdirs
symlink.c
symlinkat.c
sync.c
telldir.c
times.c
tls.h
tmpfile64.c
tmpfile.c
truncate.c
ttyname_r.c Hurd: fix ttyname{,_r} errno result for non-ttys 2010-08-03 09:54:22 -07:00
ttyname.c Hurd: fix ttyname{,_r} errno result for non-ttys 2010-08-03 09:54:22 -07:00
umask.c
uname.c
unlink.c
unlinkat.c
utimes.c
Versions
wait4.c
write.c
xmknod.c
xmknodat.c
xstat64.c
xstat.c
xstatconv.c