Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0

From: Christoph Hellwig
Date: Mon Nov 03 2014 - 03:35:02 EST


On Fri, Oct 31, 2014 at 11:53:09AM -0700, Linus Torvalds wrote:
> On Fri, Oct 31, 2014 at 11:44 AM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> >
> > Does the patch in this thread not fix that?
>
> It should. Modulo the glibc problem that makes it hard to actually set
> the mode properly.

That doesn't help because we explicitly reject O_RDONLY when combined
with O_TMPFILE.
--
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/