Subject: Re: Real vfork() (was: third results)
To: None <Sean.Witham@asa.co.uk>
From: Gordon W. Ross <gwr@mc.com>
List: tech-kern
Date: 04/10/1998 11:18:52
> Date: Fri, 10 Apr 1998 00:31:14 +0100 (BST)
> From: Sean Witham <Sean.Witham@asa.co.uk>
> 
> [...]
> Would a better long term option be to implement a forkexec() atomic
> system call which someone else mentioned ? I'm not against a well
> documented vfork. I just wondered what people thought of the atomic
> fork and exec system call.
> 
> If we are to have vfork there should some comments about its problems
> and maybe a note in the man pages BUGS section suggesting the
> implmentation of forkexec().
> 
> --Sean

There is a POSIX spec. for something like this called: spawn
and I think it is an extension like 1003.1j or something.
It was intended for non-VM systems to replace fork+exec.

If you're going to add a system call, you might want to
make it comply with the "spawn" extension.

Gordon