aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_khelp.c
Commit message (Collapse)AuthorAgeFilesLines
* sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326271
* Cleanup and simplification in khelp_{register|deregister}_helper(). NoLawrence Stewart2013-06-151-24/+18
| | | | | | | | | functional changes. MFC after: 1 week Notes: svn path=/head/; revision=251778
* Add a private KPI between hhook and khelp that allows khelp modules to insertLawrence Stewart2013-06-151-95/+31
| | | | | | | | | | hook functions into hhook points which register after the modules were loaded - potentially useful during boot or if hhook points are dynamically registered. MFC after: 1 week Notes: svn path=/head/; revision=251774
* Internalise handling of virtualised hook points insideLawrence Stewart2013-06-151-40/+11
| | | | | | | | | | | | hhook_{add|remove}_hook_lookup() so that khelp (and other potential API consumers) do not have to care when they attempt to (un)hook a particular hook point identified by id and type. Reviewed by: scottl MFC after: 1 week Notes: svn path=/head/; revision=251770
* Use the full and proper company name for Swinburne University of TechnologyLawrence Stewart2011-04-121-3/+3
| | | | | | | | | | | throughout the source tree. Requested by: Grenville Armitage, Director of CAIA at Swinburne University of Technology MFC after: 3 days Notes: svn path=/head/; revision=220560
* - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9),Lawrence Stewart2010-12-211-0/+471
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: svn path=/head/; revision=216615