NetBSD/sys/compat/linux
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 Nuke fs_lfs.h included for unknown reasons (if there was a reason 2010-03-02 15:46:19 +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.linux Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
linux_syscall.h
linux_syscallargs.h
linux_syscalls.c