[PATCH] [BZ #18433] Check file access/existence before forking.

Zack Weinberg zackw@panix.com
Fri Sep 11 21:01:00 GMT 2015


On Fri, Sep 11, 2015 at 5:18 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> All in all I am inclined to say leave things as they are.  Nobody uses
>> posix_spawn if they can help it, anyway :)
>
> We need to move people off fork and clone to posix_spawn.  If it is
> missing functionality, we should add it.

... I honestly have no idea why you say that.  I am under the
impression that posix_spawn is a monstrosity from the days when the
POSIX committee was inclined to make up interfaces out of whole cloth
in order to fix things that weren't broken, and that it should under
no circumstances be used in new code.

zw



More information about the Libc-alpha mailing list