Subject: CVS commit: [netbsd-3] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 04/13/2005 16:01:38
Module Name:	src
Committed By:	tron
Date:		Wed Apr 13 16:01:38 UTC 2005

Modified Files:
	src/sys/kern [netbsd-3]: kern_lkm.c

Log Message:
Pull up revision 1.86 (requested by hanken in ticket #137):
`lkmlookup()' is called with its name argument either from kernel or from
user space. Add an argument `need_copyin' to only use `copyinstr()' if
the name is from user space.
modstat -n NAME works again.
Reviewed by: Peter Postma <peter@netbsd.org>


To generate a diff of this commit:
cvs rdiff -r1.83 -r1.83.2.1 src/sys/kern/kern_lkm.c

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