3 ms·
Curious why there isn’t an interface in which all required handles and resources could be passed to a child process explicitly. E.g.: execvpehm( ...,
by wruza 4y ago
Curious why there isn’t an interface in which all required handles and resources could be passed to a child process explicitly. E.g.:
execvpehm(
...,
int *handles, size_t,
void **pages, size_t,
/* etc */
);
Would remove so many headaches with concurrency and accidental inheritance.
- emmelaich 4y agoI suppose Linux's clone3 call goes the closest to that.