Commit Graph

7 Commits

Author SHA1 Message Date
ad
61270d54f1 If autoloading a module, don't consider the current working directory. 2008-05-20 19:20:38 +00:00
ad
67280de1f2 Allow module class to be passed to module_load(), as a basic sanity check
that we are loading the right kind of module.
2008-05-20 17:24:56 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
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