From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0 Date: Mon, 3 Nov 2014 00:34:47 -0800 Message-ID: <20141103083447.GA8617@infradead.org> References: <4e8f7a1abcf5e0527ef8968143b2d0fcae48f5f4.1414658968.git.e@nanocritical.com> <5452B241.5010603@amacapital.net> <20141031084220.GA29085@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andy Lutomirski , Christoph Hellwig , Al Viro , "linux-kernel@vger.kernel.org" , Eric Rannaud , Andrew Morton , linux-fsdevel To: Linus Torvalds Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:46031 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751364AbaKCIev (ORCPT ); Mon, 3 Nov 2014 03:34:51 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Oct 31, 2014 at 11:53:09AM -0700, Linus Torvalds wrote: > On Fri, Oct 31, 2014 at 11:44 AM, Andy Lutomirski 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.