Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751952AbaKCIe7 (ORCPT ); Mon, 3 Nov 2014 03:34:59 -0500 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 Date: Mon, 3 Nov 2014 00:34:47 -0800 From: Christoph Hellwig To: Linus Torvalds Cc: Andy Lutomirski , Christoph Hellwig , Al Viro , "linux-kernel@vger.kernel.org" , Eric Rannaud , Andrew Morton , linux-fsdevel Subject: Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/