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:   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.




Home | Main Index | Thread Index | Old Index