Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758756AbZFWQGp (ORCPT ); Tue, 23 Jun 2009 12:06:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753355AbZFWQGg (ORCPT ); Tue, 23 Jun 2009 12:06:36 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:43815 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751444AbZFWQGg (ORCPT ); Tue, 23 Jun 2009 12:06:36 -0400 Date: Tue, 23 Jun 2009 17:06:10 +0100 From: Alan Cox To: David Howells Cc: Miklos Szeredi , dhowells@redhat.com, hch@infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, viro@ZenIV.linux.org.uk, adilger@sun.com, akpm@linux-foundation.org Subject: Re: [RFC] O_NOACC: open without any access Message-ID: <20090623170610.7fd8a3f8@lxorguk.ukuu.org.uk> In-Reply-To: <16370.1245772337@redhat.com> References: <20090623134640.GA13831@infradead.org> <20090623143408.GA2147@infradead.org> <16370.1245772337@redhat.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 21 On Tue, 23 Jun 2009 16:52:17 +0100 David Howells wrote: > Miklos Szeredi wrote: > > > Right, but that makes it useless for things which want to open it > > despite having no permission on the file. > > For my purposes, if I'm going to emulate pioctl() in userspace, I also need to > be able to open device files that don't have drivers available, and when you > do open a dev file in this manner, it must _not_ call the ->open() routine of > the device driver So how are you going to make that work in conjunction with the in progress work on doing stuff like revoke(), and with module reference counting ? -- 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/