In my kernel module I'd like to create multiple FDs, and pass them later to the user-space via ioctl
.
The user-space code will use these FDs to wait for an event using poll()
or select()
.
If I were creating such FDs in the user-space, I'd call eventfd()
, but how do that in the kernel-space?