[Devel] O_NONBLOCK for directory
Kir Kolyshkin
kir at openvz.org
Fri Apr 15 10:27:28 PDT 2016
On 04/14/2016 10:30 PM, gremlin at gremlin.ru wrote:
> On 2016-04-14 15:35:09 -0700, Kir Kolyshkin wrote:
>
> > 2. What's the reason for adding O_DIRECTORY? Ideally, the
> > changelog should say why we're doing it, not what we do
> > (as it's pretty clear from the patch itself).
>
> Scriptum est:
>
> O_DIRECTORY
> If pathname is not a directory, cause the open to fail.
I am well aware of what O_DIRECTORY flag does.
My question is what was the reason for adding it.
Kir
More information about the Devel
mailing list