Re: chrdev_open lifetime question

From: Pete Zaitcev
Date: Mon Mar 19 2007 - 21:03:56 EST


On Wed, 7 Mar 2007 17:23:05 -0500, "Dmitry Torokhov" <dmitry.torokhov@xxxxxxxxx> wrote:

> It seems that if a process keeps a character device open then other
> processes will also be able to get into filp->f_op->open(inode,filp)
> in chrdev_open() even after a driver called cdev_del() as part of its
> unwind procedure. Is this correct or am I missing something?

I see no replies in the archives. Have you got any private ones?

Also, what's the context?

-- Pete
-
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/