News for hackers. Stuff that matters.
Re:Fork() without exec() is dangerous in large programs (2016) by wruza on Tuesday June 14, 2022 @04:55PM (#31745952)
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.
Re:Fork() without exec() is dangerous in large programs (2016) by emmelaich on Tuesday June 14, 2022 @07:51PM (#31747495)
I suppose Linux's clone3 call goes the closest to that.