Re: [RFC] new open flag O_NOSTD

From: Jim Meyering
Date: Sun Aug 30 2009 - 07:19:10 EST

James Youngman wrote:
> On Mon, Aug 24, 2009 at 1:22 PM, Eric Blake<ebb9@xxxxxxx> wrote:
>> The name proposed in this mail is O_NOSTD (implying that a successful
>> result will not be any of the standard file descriptors); other ideas
>> mentioned on the bug-gnulib list were O_SAFER, O_NONSTD, O_NOSTDFD.
>> Thoughts?
> Mostly yes, I like it.
> I'd like to explicitly vote against O_SAFER, because there may be (for
> some systems or in the future) some other way of making open(2) safer.
> I'd vote positively for O_NOSTDFD or O_NOSTD.

I like this addition, too.
However, I would prefer O_NOSTDFD,
since O_NOSTD evokes "non-standard".
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at