Skip to main content

uevent_open

Function uevent_open 

Source
pub fn uevent_open() -> Result<Fd, CoreError>
Expand description

Open a non-blocking NETLINK_KOBJECT_UEVENT socket bound to all kernel groups.

ยงErrors

  • EMFILE / ENFILE: File descriptor limit hit.
  • ENOMEM: Insufficient kernel memory.
  • EPERM: Insufficient privilege to bind to the multicast group.