Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: source-changes
Date: 04/12/2005 14:13:16
Module Name: src
Committed By: hannken
Date: Tue Apr 12 14:13:16 UTC 2005
Modified Files:
src/sys/kern: kern_lkm.c
Log Message:
`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.85 -r1.86 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.