lkml.org 
[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] O_NOACC: open without any access
On Tue, Jun 23, 2009 at 04:52:17PM +0100, David Howells wrote:
> Miklos Szeredi <miklos@szeredi.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.


\
 
 \ /
  Last update: 2009-06-23 18:57    [W:0.057 / U:9.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site