From owner-svn-src-all@FreeBSD.ORG Tue Aug 13 18:27:47 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EE5029C4; Tue, 13 Aug 2013 18:27:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAFA52B23; Tue, 13 Aug 2013 18:27:47 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F390EB91C; Tue, 13 Aug 2013 14:27:43 -0400 (EDT) From: John Baldwin To: Mark Johnston Subject: Re: svn commit: r254266 - in head: share/man/man9 sys/kern sys/sys Date: Tue, 13 Aug 2013 13:37:09 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p28; KDE/4.5.5; amd64; ; ) References: <201308130307.r7D37nZl017329@svn.freebsd.org> In-Reply-To: <201308130307.r7D37nZl017329@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201308131337.09671.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 13 Aug 2013 14:27:44 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 18:27:48 -0000 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