mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
7fb90fb89b
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). |
||
---|---|---|
.. | ||
bitypes.h | ||
cdefs.h | ||
dir.h | ||
errno.h | ||
fcntl.h | ||
file.h | ||
gmon_out.h | ||
gmon.h | ||
ioctl.h | ||
ipc.h | ||
mman.h | ||
msg.h | ||
poll.h | ||
prctl.h | ||
profil.h | ||
queue.h | ||
resource.h | ||
select.h | ||
sem.h | ||
sendfile.h | ||
shm.h | ||
signal.h | ||
socket.h | ||
stat.h | ||
statfs.h | ||
statvfs.h | ||
sysctl.h | ||
sysinfo.h | ||
syslog.h | ||
termios.h | ||
time.h | ||
timeb.h | ||
times.h | ||
types.h | ||
uio.h | ||
un.h | ||
unistd.h | ||
utsname.h | ||
vlimit.h | ||
vtimes.h | ||
wait.h | ||
xattr.h |