freebsd-nq/sys/i386/linux
Marcel Moolenaar 5a02dbe45a Fix the duplicate filenames that are the result of using getdents.
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.
1999-10-21 09:14:49 +00:00
..
imgact_linux.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_dummy.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_file.c Fix the duplicate filenames that are the result of using getdents. 1999-10-21 09:14:49 +00:00
linux_genassym.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_ioctl.c Swap IOC_OUT and IOC_IN for the SETDIR macro. The linux ioctl read and 1999-10-06 19:51:37 +00:00
linux_ipc.c Linux doesn't complain if you remove a msg queue that doesn't exist 1999-09-23 09:57:45 +00:00
linux_locore.s Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
linux_mib.c $Id$ -> $FreeBSD$ 1999-08-28 02:16:32 +00:00
linux_mib.h $Id$ -> $FreeBSD$ 1999-08-28 02:16:32 +00:00
linux_misc.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_proto.h sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_signal.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_socket.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_stats.c Fix a braino: Linux minor device numbers are 8 bits wide and not 10. 1999-08-29 11:47:01 +00:00
linux_syscall.h Regeneration. 1999-09-22 22:05:37 +00:00
linux_sysent.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_sysvec.c Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
linux_util.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_util.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux.h sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.conf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.master sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00