Re: [RFC PATCH] vfs: new open(2) flag to open filesystem node

From: Ulrich Drepper
Date: Mon Jul 06 2009 - 01:50:39 EST


On Sun, Jul 5, 2009 at 17:40, Linus
Torvalds<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> O_SEARCH is only meaningful for directories. For anything else, it's not
> at all POSIX - it's expressly defined to be "undefined".

And this is why there is the differentiation with O_EXEC. Yes, i
didn't mention it in the last email. But I mentioned it when it came
up the first time.

I don't say this is indeed what is wanted/needed here. But there are
IMO some similarities and I think implementing O_SEARCH and O_EXEC is
desirable. If it means completely different implementations from te
proposed O_NODE, so be it. But my gut tells me there is some overlay.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/