Re: [RFC] O_NOACC: open without any access



On Tue, 23 Jun 2009 16:52:17 +0100
David Howells <dhowells@xxxxxxxxxx> wrote:

Miklos Szeredi <miklos@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/