On Tue, Sep 10, 2019 at 06:11:55PM +0200, Kamil Rytarowski wrote: > O_EXEC should be tunable in runtime, with: > > fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_EXEC); Why? You can't do that with O_WRITE. -- David A. Holland dholland%netbsd.org@localhost