]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nlsysevent: add a genetlink(4) module to report kernel events
authorBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 1 Jun 2023 21:02:06 +0000 (23:02 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 1 Jun 2023 21:02:06 +0000 (23:02 +0200)
commit8a2af0b469b6d65ee48f2352ca56225b36d32342
treeef171dd3adf95effe54aa5c6b591e8b511ca7144
parentafbb26b58b93bddf0e8720698cd712eac7f8c13d
nlsysevent: add a genetlink(4) module to report kernel events

Hooked to devctl_notify, this allows consumers to received events
by subscribing to a system over a generic netlink protocol

Reviewed by: imp, melifaro
Differential Revision: https://reviews.freebsd.org/D37574
sys/modules/Makefile
sys/modules/nlsysevent/Makefile [new file with mode: 0644]
sys/netlink/netlink_sysevent.c [new file with mode: 0644]
sys/netlink/netlink_sysevent.h [new file with mode: 0644]