svn commit: r254266 - in head: share/man/man9 sys/kern sys/sys
John Baldwin
jhb at freebsd.org
Tue Aug 13 18:27:48 UTC 2013
On Monday, August 12, 2013 11:07:49 pm Mark Johnston wrote:
> Author: markj
> Date: Tue Aug 13 03:07:49 2013
> New Revision: 254266
> URL: http://svnweb.freebsd.org/changeset/base/254266
>
> Log:
> Add event handlers for module load and unload events. The load handlers are
> called after the module has been loaded, and the unload handlers are called
> before the module is unloaded. Moreover, the module unload handlers may
> return an error to prevent the unload from proceeding.
>
> Reviewed by: avg
> MFC after: 2 weeks
Please call this something else like kld_load or linker_file_load, etc.
Modules (and in particular mod_*) mean something else (subr_module.c,
DECLARE_MODULE(), etc.), and a single linker_file main contain zero or
more "modules".
--
John Baldwin
More information about the svn-src-head
mailing list