Subject: Re: generic hook infrastructure
To: None <tech-kern@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-kern
Date: 01/31/2006 14:23:32
On Tue, Jan 31, 2006 at 11:27:51PM +1030, Brett Lymn wrote:
> 
> At the moment we have a lot of hooks in the kernel, mountroot hooks,
> power hooks, exec hooks, umount hooks... and many more.  Some of these
> hooks are implemented using routines in kern_subr.c but others are
> separate implementations.

Can you take a look at FreeBSD's sys/eventhandler.h? If it fits what you
need, we don't have to invent Yet Another Interface (TM).

Joerg