Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Stephen M. Rumble <rumble@netbsd.org>
List: source-changes
Date: 01/17/2008 22:30:54
Module Name:	src
Committed By:	rumble
Date:		Thu Jan 17 22:30:54 UTC 2008

Modified Files:
	src/sys/kern: sys_module.c

Log Message:
MODCTL_LOAD and MODCTL_FORCELOAD generally pass a path (if a module name
is passed, it's fixed up in kobj_subr.c), so permit MAXPATHLEN arguments.
The other commands deal strictly with module names, so leave them be.

While we're here, copyinstr()'s length parameter includes NUL-termination,
so no need to subtract 1.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/kern/sys_module.c

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