diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-09-29 02:01:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:24 -0700 |
commit | 5f412b24240d92212e50ebbaff2dff20c9e6f3d0 (patch) | |
tree | 4929d68d6949c887fbd3fb0594b0c1ec5a7e765d /Documentation/SecurityBugs | |
parent | 67cc0161ecc9ebee6eba4af6cbfdba028090b1b9 (diff) |
[PATCH] Fix locking for tty drivers when doing urgent characters
If you send a priority character (as is done for flow control) then the tty
driver can either have its own method for "jumping the queue" or the characrer
can be queued normally. In the latter case we call the write method but
without the atomic_write_lock taken elsewhere.
Make this consistent. Note that the send_xchar method if implemented remains
outside of the lock as it can jump ahead of a current write so must not be
locked out by it.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/SecurityBugs')
0 files changed, 0 insertions, 0 deletions