NetBSD/sys/compat/linux32
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
..
arch/amd64 Regen for personality(2) update. 2009-11-24 10:44:41 +00:00
common When implementing "read directory", when there are too many empty entries 2010-03-03 08:20:38 +00:00
Makefile.inc
files.linux32 Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
linux32_syscall.h
linux32_syscallargs.h
linux32_syscalls.c