Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2013 13:37:09 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Mark Johnston <markj@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r254266 - in head: share/man/man9 sys/kern sys/sys
Message-ID:  <201308131337.09671.jhb@freebsd.org>
In-Reply-To: <201308130307.r7D37nZl017329@svn.freebsd.org>
References:  <201308130307.r7D37nZl017329@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308131337.09671.jhb>