The NetBSD Project

CVS log for src/sys/compat/linux/common/linux_file64.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / compat / linux / common

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-5-2-2-RELEASE


Revision 1.48.6.1 / (download) - annotate - [select for diffs], Wed Mar 17 02:59:52 2010 UTC (14 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.48: +7 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Pull up following revision(s) (requested by he in ticket #1323):
	sys/compat/common/vfs_syscalls_30.c: revision 1.31
	sys/compat/ibcs2/ibcs2_misc.c: revision 1.110
	sys/compat/irix/irix_dirent.c: revision 1.24
	sys/compat/linux/common/linux_file64.c: revision 1.50
	sys/compat/linux/common/linux_misc.c: revision 1.214
	sys/compat/linux32/common/linux32_dirent.c: revision 1.10
	sys/compat/sunos/sunos_misc.c: revision 1.166
	sys/compat/sunos32/sunos32_misc.c: revision 1.69
	sys/compat/svr4/svr4_misc.c: revision 1.149
	sys/compat/svr4_32/svr4_32_misc.c: revision 1.68
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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>