Commit Graph

4 Commits

Author SHA1 Message Date
jmmv
3fd8e29a11 Add support for load-time parameters for modules, which are passed through
a dictionary.  As discussed in tech-kern@.
2008-03-02 11:18:43 +00:00
rumble
3d82d54236 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.
2008-01-17 22:30:54 +00:00
ad
1ada21e131 Add a cast for kauth_authorize_system.. 2008-01-16 18:29:18 +00:00
ad
bbc79e58a6 Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00