Re: [RFC] O_NOACC: open without any access
From: Alan Cox
Date: Tue Jun 23 2009 - 12:33:03 EST
On Tue, 23 Jun 2009 17:10:52 +0100
David Howells <dhowells@xxxxxxxxxx> wrote:
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > 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 ?
>
> Reference count on which module? This would not take a reference on the device
> driver as it would not refer to it, but would still have a file struct, an
> inode struct and a dentry struct on the underlying fs.
Which means the device could be unloaded, something else loaded and your
handle wouldn't be invalidated but would be stale ?
Perhaps it would make more sense to me if I knew why you needed to do
this ?
--
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/