NetBSD/sys/compat/irix
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.irix Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_dirent.c When implementing "read directory", when there are too many empty entries 2010-03-03 08:20:38 +00:00
irix_errno.c
irix_errno.h
irix_exec_elf32.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_exec_elf64.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_exec.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_exec.h Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_fcntl.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_fcntl.h
irix_ioctl.c
irix_ioctl.h
irix_kmem.c Use uintptr_t instead of uint32_t as an intermediate stage when 2009-08-31 05:36:23 +00:00
irix_kmem.h
irix_misc.c
irix_mman.c The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live 2010-01-08 11:35:07 +00:00
irix_mman.h
irix_mod.c make this compile 2008-11-21 20:53:28 +00:00
irix_mount.c bzero -> memset 2009-03-18 16:00:08 +00:00
irix_prctl.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_prctl.h
irix_resource.c - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total 2009-03-29 01:02:48 +00:00
irix_resource.h
irix_signal.c typo in comment 2010-02-15 09:39:00 +00:00
irix_signal.h
irix_stat.c
irix_swap.c
irix_swap.h
irix_syscall.h Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +00:00
irix_syscallargs.h Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +00:00
irix_syscalls.c Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +00:00
irix_sysctl.c
irix_sysctl.h
irix_sysent.c Regen (new makesyscalls.sh) 2009-12-14 00:53:32 +00:00
irix_sysmp.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_sysmp.h
irix_syssgi.c Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_syssgi.h
irix_systeminfo.c
irix_types.h Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
irix_usema.c
irix_usema.h
Makefile
syscalls.conf
syscalls.master Convert the syscalls.master to a format from which it is easier 2009-01-13 22:27:43 +00:00