Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



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@localhost>


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.




Home | Main Index | Thread Index | Old Index