execute a user process in the kernel

Dag-Erling Smørgrav des at des.no
Sat Sep 25 04:35:15 PDT 2004


Bruce M Simpson <bms at spc.org> writes:
> On Fri, Sep 24, 2004 at 06:21:25PM +0200, Dag-Erling Smørgrav 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list