Messages in this thread | | | Date | Wed, 5 Nov 2014 09:10:10 -0800 | Subject | Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0 | From | Linus Torvalds <> |
| |
On Wed, Nov 5, 2014 at 7:32 AM, Andy Lutomirski <luto@amacapital.net> wrote: > > I have no idea whether it's a security risk, but it's a serious "wtf?!?" risk.
Yeah. And considering that the only apparently user of this read-only O_TMPFILE interface doesn't actually need it anyway because it carries around the whole "read-only to the client" information independently, I think the issue is moot. We don't need zero-sized read-only O_TMPFILE files.
Linus
| |