Date: Sat, 25 Sep 2004 13:35:07 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) To: Mike Meyer <mwm@mired.org> Cc: freebsd-hackers@freebsd.org Subject: Re: execute a user process in the kernel Message-ID: <xzpisa2twd0.fsf@dwp.des.no> In-Reply-To: <20040925100740.GA814@empiric.icir.org> (Bruce M. Simpson's message of "Sat, 25 Sep 2004 03:07:40 -0700") References: <BAY1-F10eZZfm95LyRk00055aa3@hotmail.com> <16722.59709.451226.932084@guru.mired.org> <xzpekkrwsca.fsf@dwp.des.no> <20040925100740.GA814@empiric.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce M Simpson <bms@spc.org> writes: > On Fri, Sep 24, 2004 at 06:21:25PM +0200, Dag-Erling Sm=F8rgrav wrote: > > You could, of course, write a kernel API for creating processes from > > scratch. They'd still need a parent, but you can use init(8) (pid 1) > > for that. > If we were to implement POSIX spawn(), we'd need something like this. Uh, no. posix_spawn(3) can be implemented entirely in userland and does not require any special kernel support. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpisa2twd0.fsf>