Re: [PATCH] CRED: Further fix execve error handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Wednesday, August 20, 2008 - 9:33 am

On Wed, 20 Aug 2008 18:21:59 +0400
"Alexander Beregalov" <a.beregalov@gmail.com> wrote:


Looks like a false trip of the lock debugging code. I've seen the same
and having dumped the values in tty_do_resize plus the entry/exit paths
it seems to be bogus.


Note that the lock is only acquired in one place in this code and that
the second lock is only take if the two locks differ. Also the second
lock take is not &tty->termios_mutex at all but real_tty.

So I'd say either broken compiler or broken lock debug tools but hey I
could be wrong ;)

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

Messages in current thread:
[PATCH] CRED: Further fix execve error handling, David Howells, (Wed Aug 20, 6:56 am)
Re: [PATCH] CRED: Further fix execve error handling, Alexander Beregalov, (Wed Aug 20, 7:21 am)
Re: [PATCH] CRED: Further fix execve error handling, David Howells, (Wed Aug 20, 8:07 am)
Re: [PATCH] CRED: Further fix execve error handling, Alan Cox, (Wed Aug 20, 9:33 am)
Re: [PATCH] CRED: Further fix execve error handling, James Morris, (Wed Aug 20, 3:37 pm)
Re: [PATCH] CRED: Further fix execve error handling, David Howells, (Thu Aug 21, 5:43 am)