Subject: CVS commit: [netbsd-2-0] src/sys/miscfs/kernfs
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 09/01/2005 17:53:26
Module Name:	src
Committed By:	riz
Date:		Thu Sep  1 17:53:26 UTC 2005

Modified Files:
	src/sys/miscfs/kernfs [netbsd-2-0]: kernfs_vnops.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #5637):
	sys/miscfs/kernfs/kernfs_vnops.c: revision 1.112
Also protect the ipsec ioctls from negative offsets to prevent panics
in m_copydata(). Pointed out by Karl Janmar. Move the negative offset
check from kernfs_xread() to kernfs_read().


To generate a diff of this commit:
cvs rdiff -r1.98.2.5 -r1.98.2.6 src/sys/miscfs/kernfs/kernfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.