|
From: | Paolo Bonzini |
Subject: | Re: O_SAFER |
Date: | Mon, 24 Aug 2009 13:20:34 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3 |
On 08/24/2009 11:29 AM, Bruno Haible wrote:
Eric Blake wrote:For that matter, proposing an O_SAFER to the glibc folks might be worthwhile.Yes, but better call it O_NONSTD
O_NOSTDFD?
If glibc or the kernel goes into this direction, it would be cool. Whether gnulib should define this O_SAFER, I'm not sure. We get some problem with unistd--.h and fcntl--.h: How do we define open() such that open (s, f [, m]) ::= open (s, f | O_SAFER [, m]) That becomes a bit hairy.
... what about creat, too? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |