Date: Wed, 27 Aug 1997 03:01:02 -0400 (EDT) From: Ken Wong <wong@a17b32.rogerswave.ca> To: Simon Shapiro <Shimon@i-Connect.Net> Cc: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: Calling a Daemon from the Kernel - How? Message-ID: <Pine.BSF.3.91.970827024654.449B-100000@wong.rogerswave.ca> In-Reply-To: <XFMail.970825145344.Shimon@i-Connect.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
I got something similar to what you are discribing. but not exactly... it is more like the Send-Receive-Reply found in QNX ( microkernel OS). it is basically allow a process passing message another process. But then you can make a kernel to fake a dummy kernel process and talk to the daemon. with this machanism, one can built a microkernel freebsd if the will is there. Maybe I should ask the list if there is any demand for the send-receive-reply be included in the kernel for future development. On Mon, 25 Aug 1997, Simon Shapiro wrote: > Hi Y'all; > > How do I write a program that gets called from the kernel. > I know how to write a program that call the kernel :-) > I even know (some of you may argue with this) how to write a kernel driver > that gets called form userspace :-) > > I want to write a daemon (or whatever) that gets called by the kernel to do > sone dirty work I do not think belongs in the kernel. > > In Linux, there is a kerneld with its attendant protocol. > In other O/S's I had a messy procedure that posts a read to the device, > waiting to be called. As soon as it is called, it posts another READ. > One can get fancy with this, but the serializing implied by this mechanism > is not always a bad thing. > > Any ideas or suggestions are very welcome. > > Simon > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970827024654.449B-100000>