90f63b1ea8
glibc2 defines struct dirent differently than the Linux kernel does. The getdents function therefore needs to read a heuristically defined number of kernel dirents to satisfy the request. In case where too many kernel dirents have been read, the function lseeks on the directory so that a next call will start with the right dirent. The offset used in lseeking is the offset-field in the last dirent passed to the application. This can only mean that the offset-field holds the offset of the next dirent and not the offset of the dirent itself. |
||
---|---|---|
.. | ||
imgact_linux.c | ||
linux_dummy.c | ||
linux_file.c | ||
linux_genassym.c | ||
linux_ioctl.c | ||
linux_ipc.c | ||
linux_locore.s | ||
linux_mib.c | ||
linux_mib.h | ||
linux_misc.c | ||
linux_proto.h | ||
linux_signal.c | ||
linux_socket.c | ||
linux_stats.c | ||
linux_syscall.h | ||
linux_sysent.c | ||
linux_sysvec.c | ||
linux_util.c | ||
linux_util.h | ||
linux.h | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |