Hardware hotplug events on Linux, the gory details
Summary
The article provides a deep dive into how Linux handles hardware hotplug events via netlink and udev, including kernel-to-userspace messaging, the udev packet format, and security considerations around credentials. It includes practical code references and a step-by-step guide to listening for kernel and udev events, along with Bloom-filter based filtering concepts for event routing.