From owner-svn-src-all@FreeBSD.ORG Mon Feb 17 12:37:27 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83FA725C; Mon, 17 Feb 2014 12:37:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F2B51BC1; Mon, 17 Feb 2014 12:37:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1HCbRu5038265; Mon, 17 Feb 2014 12:37:27 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1HCbRoB038264; Mon, 17 Feb 2014 12:37:27 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201402171237.s1HCbRoB038264@svn.freebsd.org> From: Andriy Gapon Date: Mon, 17 Feb 2014 12:37:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r262037 - stable/9/share/man/man9 X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 17 Feb 2014 12:37:27 -0000 Author: avg Date: Mon Feb 17 12:37:26 2014 New Revision: 262037 URL: http://svnweb.freebsd.org/changeset/base/262037 Log: MFC r254266,254309: Add event handlers for module load and unload events This is just a merge of EVENTHANDLER.9, the actual code chnage was merged earlier. Modified: stable/9/share/man/man9/EVENTHANDLER.9 Directory Properties: stable/9/share/man/man9/ (props changed) Modified: stable/9/share/man/man9/EVENTHANDLER.9 ============================================================================== --- stable/9/share/man/man9/EVENTHANDLER.9 Mon Feb 17 12:29:17 2014 (r262036) +++ stable/9/share/man/man9/EVENTHANDLER.9 Mon Feb 17 12:37:26 2014 (r262037) @@ -23,7 +23,7 @@ .\" SUCH DAMAGE. .\" $FreeBSD$ .\" -.Dd January 7, 2005 +.Dd August 1, 2013 .Dt EVENTHANDLER 9 .Os .Sh NAME @@ -197,6 +197,12 @@ Callbacks invoked when an interface is c Callbacks invoked when a new network interface appears. .It Vt ifnet_departure_event Callbacks invoked when a network interface is taken down. +.It Vt kld_load +Callbacks invoked after a linker file has been loaded. +.It Vt kld_unload +Callbacks invoked before a linker file is about to be unloaded. +These callbacks may be used to return an error and prevent the unload from +proceeding. .It Vt power_profile_change Callbacks invoked when the power profile of the system changes. .It Vt process_exec