Re: [PATCH v2] Implement close-on-fork

From: David Howells
Date: Fri May 15 2020 - 12:53:38 EST


Karstens, Nate <Nate.Karstens@xxxxxxxxxx> wrote:

> > already has a portable solution
>
> What is the solution?

sys_spawn(const char *path, const char **argv, const char **envv,
unsigned long clone_flags, unsigned int nfds, int *fds);

maybe?

David