On 2018-04-02 07:29 PM, Mouse wrote:
Basically, what I want is a syscall that a vfork()ed child can call to have the unsharing effects of execve(2) or _exit(2) (return the vmspace to the parent and let the it continue), while the child carries on with a clone of the vmspace without actually doing an exec or exit. This is
That sounds suspiciously like Linux's unshare(2) call, with the CLONE_VM option.
Eric