NetBSD/sys/compat/linux32/common
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
..
linux32_dirent.c When implementing "read directory", when there are too many empty entries 2010-03-03 08:20:38 +00:00
linux32_errno.h
linux32_exec.c
linux32_exec.h
linux32_exec_elf32.c
linux32_fcntl.c
linux32_ioctl.c
linux32_ioctl.h
linux32_ipc.h
linux32_ipccall.c
linux32_machdep.h
linux32_misc.c
linux32_mman.c
linux32_mod.c
linux32_resource.c
linux32_sched.c
linux32_sem.h
linux32_shm.h
linux32_signal.c
linux32_signal.h
linux32_socket.c
linux32_socketcall.c
linux32_socketcall.h
linux32_sockio.h
linux32_stat.c
linux32_sysctl.c
linux32_sysctl.h
linux32_sysinfo.c
linux32_termios.c
linux32_termios.h
linux32_time.c
linux32_types.h
linux32_uid16.c
linux32_unistd.c
linux32_utsname.c
linux32_wait.c