diff options
author | Lawrence Stewart <lstewart@FreeBSD.org> | 2010-12-21 13:45:29 +0000 |
---|---|---|
committer | Lawrence Stewart <lstewart@FreeBSD.org> | 2010-12-21 13:45:29 +0000 |
commit | a8d61afdc24f4ba6964d85df11b8452f5151e70f (patch) | |
tree | d1795b16494a34c32c9b508a6fcfbf4c65150d2d /sys/conf/files | |
parent | a11df0cbe6bc6f9004b9fc651429c7e9f287fba3 (diff) | |
download | src-a8d61afdc24f4ba6964d85df11b8452f5151e70f.tar.gz src-a8d61afdc24f4ba6964d85df11b8452f5151e70f.zip |
- Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9),
and in many respects can be thought of as a more generic superset of pfil.
Hhook provides a way for kernel subsystems to export hook points that Khelp
modules can hook to provide enhanced or new functionality to the kernel. The
KPI has been designed to ensure hook points pose no noticeable overhead when
no hook functions are registered.
- Introduce the Khelp (Kernel Helpers) KPI. Khelp provides a framework for
managing Khelp modules, which indirectly use the Hhook KPI to register their
hook functions with hook points of interest within the kernel. Khelp modules
aim to provide a structured way to dynamically extend the kernel at runtime in
an ABI preserving manner. Depending on the subsystem providing hook points, a
Khelp module may be able to associate per-object data for maintaining relevant
state between hook calls.
- pjd's Object Specific Data (OSD) KPI is used to manage the per-object data
allocated to Khelp modules. Create a new "OSD_KHELP" OSD type for use by the
Khelp framework.
- Bump __FreeBSD_version to 900028 to mark the introduction of the new KPIs.
In collaboration with: David Hayes <dahayes at swin edu au> and
Grenville Armitage <garmitage at swin edu au>
Sponsored by: FreeBSD Foundation
Reviewed by: bz, others along the way
MFC after: 3 months
Notes
Notes:
svn path=/head/; revision=216615
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 6e794a50b1a8..55778203872b 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -2138,9 +2138,11 @@ kern/kern_exit.c standard kern/kern_fail.c standard kern/kern_fork.c standard kern/kern_gzio.c optional gzio +kern/kern_hhook.c standard kern/kern_idle.c standard kern/kern_intr.c standard kern/kern_jail.c standard +kern/kern_khelp.c standard kern/kern_kthread.c standard kern/kern_ktr.c optional ktr kern/kern_ktrace.c standard |