[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090623165337.GA8204@infradead.org>
Date: Tue, 23 Jun 2009 12:53:37 -0400
From: Christoph Hellwig <hch@...radead.org>
To: David Howells <dhowells@...hat.com>
Cc: Miklos Szeredi <miklos@...redi.hu>, hch@...radead.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
torvalds@...ux-foundation.org, viro@...IV.linux.org.uk,
adilger@....com, alan@...rguk.ukuu.org.uk,
akpm@...ux-foundation.org
Subject: Re: [RFC] O_NOACC: open without any access
On Tue, Jun 23, 2009 at 04:52:17PM +0100, David Howells wrote:
> Miklos Szeredi <miklos@...redi.hu> 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.
Last time I checked afs didn't support device files at all. And limited
the magic commands to not work on device files doesn't sound to bad.
Of course specifying what these magic tools are actually supposed to do
would be an interesting start.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists