kobject
kobject copied to clipboard
Package kobject provides access to Linux kobject userspace events. MIT Licensed.
Without it, under high even rate from the kernel (e.g. OS boot), the call will fail with ENOBUFS, and the client would lose the event stream.
Kernel uses a [64-bit `atomic64_t`](https://elixir.bootlin.com/linux/v6.12.6/source/lib/kobject_uevent.c#L33) type for representing the auto-incremented uevent sequence number. Although rare, this could in theory allow the possibility of an overflow on 32-bit systems.
Similar in spirit to #5, except it also exposes the `SetOption()` method for the ability to set the `netlink.NoENOBUFS` option on the netlink socket, in which case the socket won't...