Re: Interface for communicating from kernel to user mode

2025-02-28 Thread Mouse
> what is suitable interface or mechanism on NetBSD to send message > with some data from kernel-mode code to user-mode process ? There are lots of options. Depending on tradeoffs such as the typical size of a message, the bandwidth required, and how many such comm channels need to be supported a

Re: Interface for communicating from kernel to user mode

2025-02-28 Thread Michael van Elst
mo...@rodents-montreal.org (Mouse) writes: >- Userland creates an AF_LOCAL SOCK_STREAM socketpair and passes one of > the resulting socket fds to the kernel, which takes over the > referenced socket and uses it, with userland reading from and > writing to the other socket. That's about how