Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: upcalls from kernel code to user space daemons | Date | Fri, 18 Jun 2004 23:08:29 +0000 (UTC) |
| |
Followup to: <1087236468.10367.27.camel@stevef95.austin.ibm.com> By author: Steve French <smfltc@us.ibm.com> In newsgroup: linux.dev.kernel > > Is there a good terse example of an upcall from a kernel module (such as > filesystem) to an optional user space helper daemon? The NFS RPC > example seems more complicated than what I would like as does the > captive ioctl approach which I see in a few places. >
autofs does this by having the kernel write to the write-end of a pipe, and have the userspace daemon read from the read end of the same pipe.
The same thing can be done with sockets.
-hpa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |