Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760360AbZFWP4r (ORCPT ); Tue, 23 Jun 2009 11:56:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760069AbZFWP4Y (ORCPT ); Tue, 23 Jun 2009 11:56:24 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53221 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756875AbZFWP4X (ORCPT ); Tue, 23 Jun 2009 11:56:23 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20090623134640.GA13831@infradead.org> <20090623143408.GA2147@infradead.org> To: Miklos Szeredi Cc: 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, alan@lxorguk.ukuu.org.uk, akpm@linux-foundation.org Subject: Re: [RFC] O_NOACC: open without any access Date: Tue, 23 Jun 2009 16:52:17 +0100 Message-ID: <16370.1245772337@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 661 Lines: 16 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. David -- 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/