Date: Thu, 23 Sep 2004 02:37:29 -0700 From: Bruce M Simpson <bms@spc.org> To: Gordon David <kylincsos@hotmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: execute a user process in the kernel Message-ID: <20040923093729.GC870@empiric.icir.org> In-Reply-To: <BAY1-F10eZZfm95LyRk00055aa3@hotmail.com> References: <BAY1-F10eZZfm95LyRk00055aa3@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 23, 2004 at 08:18:14AM +0000, Gordon David wrote: > Kqueue is a good method to notify the user. But I want the code in the > kernel directly calls a user program. This is Very, Very Hard indeed, because it's not something supported by the system, but it should be possible. Look at create_init() and start_init() and see if they can be adapted to your needs. The hard part here is building the process image. Good luck. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040923093729.GC870>