login
Header Space

 
 

Re: [PATCH, RFC] Char dev BKL pushdown v2

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roland Dreier <rdreier@...>
Cc: Linus Torvalds <torvalds@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Peter Zijlstra <a.p.zijlstra@...>, Thomas Gleixner <tglx@...>, Alan Cox <alan@...>, Alexander Viro <viro@...>, <linux-kernel@...>, Stephen Rothwell <sfr@...>
Date: Monday, May 19, 2008 - 6:56 pm

Roland Dreier <rdreier@cisco.com> wrote:


ioctl() will not be called on a given file descriptor before open() is
done, no.  If there are other file descriptors open, though, somebody
can be calling ioctl() on them while the open() for the new one is
executing.
 

That is the point, yes.  The key there is to avoid registering the
device before everything has been set up to actually manage the device. 

jon
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH, RFC] Char dev BKL pushdown v2, Jonathan Corbet, (Sun May 18, 6:15 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stefan Richter, (Mon May 19, 1:46 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stefan Richter, (Mon May 19, 3:27 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stefan Richter, (Mon May 19, 4:07 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Ingo Molnar, (Mon May 19, 9:17 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stephen Rothwell, (Mon May 19, 12:03 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 9:46 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Roland Dreier, (Mon May 19, 12:00 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 9:37 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Roland Dreier, (Mon May 19, 4:38 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 4:42 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Roland Dreier, (Mon May 19, 6:18 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Alan Cox, (Tue May 20, 4:26 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 6:56 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Jeff Dike, (Mon May 19, 10:10 pm)
speck-geostationary