tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: more fexecve questions



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


Home | Main Index | Thread Index | Old Index