Re: [PATCH -rt] race condition in fs/compat.c with compat_sys_ioctl

Ingo Molnar
2005-11-16T08:33:47Z

* Andi Kleen <ak@suse.de> wrote:

> Steven Rostedt <rostedt@goodmis.org> writes:
> >
> > That's the problem. I found out that one ioctl might sleep holding the
> > sem and won't be woken up until another process calls another ioctl to
> > wake it up. But unfortunately, the one waking up the sleeper will block
> > on the sem. (the killer was tty_wait_until_sent)
>
> You should have looked into mainline first. The semaphore is already
> gone because it wasn't even needed anymore.

well 2.6.14 isnt _that_ old :-) But in any case, it's great that the
semaphore is gone!

Ingo