HomeFreeBSD

devctl: allow to register a hook to receive the events

Description

devctl: allow to register a hook to receive the events

In preparation for netlink sysvent add a function that allow
registering a function to hook the events and also send it via
another kernel module (nlsysvent will be that module).

Prepare a static list of known existing events in the kernel that
will be used to prepopulate nlsysvent multicast group (one per event)

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D37573

Details

Provenance
baptAuthored on Jun 1 2023, 9:01 PM
Reviewer
imp
Differential Revision
D37573: devctl: allow to register a hook to receive the events
Parents
rGfe06db1817e0: bsdinstall: remove sendmail hardening option
Branches
Unknown
Tags
Unknown