Commit Graph

14 Commits

Author SHA1 Message Date
rumble
7846a18697 Fix an error path that previously panicked when module_fetch_info failed. 2008-05-04 21:35:12 +00:00
ad
5d413581c7 Re-do yesterday's build fix to hook in the MD stuff if available. 2008-05-02 12:59:34 +00:00
ad
1bb1fee762 - Add module_find_section(), allows a module to look up data in its object.
- Work around build failure.
2008-05-01 17:23:16 +00:00
ad
8ef40c772a Get the pre-loaded module code working. 2008-05-01 14:44:48 +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
b5723bb617 Ensure that if kobj_load fails we do not call kobj_close followed by
kobj_unload, as an unloaded kobj will already have been freed by an
implicit kobj_unload call in kobj_close. This fixes random panics when a
module fails to load.
2008-01-19 18:20:39 +00:00
rumble
8a7c44d074 Ensure that circular dependencies do not panic the machine by doubly
locking the same file. Remove the special self-dependant case previously
introduced, as the general case handles it properly.
2008-01-19 00:57:35 +00:00
rumble
cab5348539 Deal with braindead modules that depend on themselves, rather than inducing
an ambiguous panic later on.
2008-01-18 16:41:46 +00:00
rumble
81097194ca Avoid NULL pointer deref. 2008-01-18 14:29:44 +00:00
simonb
604b8b0477 Fix tyop in a KASSERT: s/mod_required/mod->mod_required/ 2008-01-18 01:41:55 +00:00
rumble
75030bbb1e Fix a panic that occurs when a dependency had already been loaded and a
dependant module is loaded by setting modp when returning ENOENT.

Also, be stricter with regards to MAXMODNAME.
2008-01-17 22:35:53 +00:00
ad
a2134a7a24 - Include lkm_map if !LKM. XXX
- Add a comment about dependencies.
2008-01-16 18:28:32 +00:00
ad
bbc79e58a6 Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00