NetBSD/sys/compat/ibcs2
he 7a30544200 When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.

This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.

Thanks to pooka@ for the hints for traversing the VOP* layer.
2010-03-03 08:20:38 +00:00
..
files.ibcs2
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_exec_coff.c
ibcs2_exec_elf32.c
ibcs2_exec_xout.c
ibcs2_exec.c
ibcs2_exec.h
ibcs2_fcntl.c
ibcs2_fcntl.h
ibcs2_grp.h
ibcs2_ioctl.c
ibcs2_ipc.c
ibcs2_misc.c When implementing "read directory", when there are too many empty entries 2010-03-03 08:20:38 +00:00
ibcs2_mman.h
ibcs2_mod.c
ibcs2_mount.h
ibcs2_pwd.h
ibcs2_signal.c
ibcs2_signal.h
ibcs2_signo.c
ibcs2_socksys.c
ibcs2_socksys.h
ibcs2_stat.c
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h
ibcs2_syscallargs.h
ibcs2_syscalls.c
ibcs2_sysent.c
ibcs2_sysi86.h
ibcs2_termios.h
ibcs2_time.h
ibcs2_timeb.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.h
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_wait.h
Makefile
syscalls.conf
syscalls.master
TODO