History log of /freebsd-current/sys/netlink/netlink_sysevent.c
Revision Date Author Comments
# f40cd16b 08-Jun-2023 Ed Maste <emaste@FreeBSD.org>

kern: Move devctl_systems[] out of sys/sys/devctl.h

The amd64-gcc12 build was failing with `error: 'devctl_systems' defined
but not used`. Just move it to the C file where it's used.

PR: 271903
Sponsored by: The FreeBSD Foundation


# 99084611 02-Jun-2023 Baptiste Daroussin <bapt@FreeBSD.org>

nlsysevent: add default command to the events


# 0bcb3ebd 02-Jun-2023 Baptiste Daroussin <bapt@FreeBSD.org>

nlsysevent: deduplicate the code and split into smaller functions

No functional changes intended

Suggested by: melifaro


# 3f9c093d 02-Jun-2023 Baptiste Daroussin <bapt@FreeBSD.org>

nlsysevent: rename variables for clarity of the code

Suggested by: melifaro


# cef0bbae 02-Jun-2023 Baptiste Daroussin <bapt@FreeBSD.org>

nlsysevent: specify all netlink header the same way


# 8a2af0b4 01-Jun-2023 Baptiste Daroussin <bapt@FreeBSD.org>

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