diff options
author | Samuel Ortiz <sameo@openedhand.com> | 2007-10-01 01:20:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-01 07:52:23 -0700 |
commit | 8792f961ba8057d9f27987def3600253a3ba060f (patch) | |
tree | d12f795ab089e215e6e42c962c1abf06f70c3010 /kernel/futex_compat.c | |
parent | 4047727e5ae33f9b8d2b7766d1994ea6e5ec2991 (diff) | |
download | linux-8792f961ba8057d9f27987def3600253a3ba060f.tar.bz2 |
VT ioctl race fix
When calling the RELDISP VT ioctl, we are reading vt_newvt while the
console workqueue could be messing with it (through change_console()). We
fix this race by taking the console semaphore before reading vt_newvt.
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Acked-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/futex_compat.c')
0 files changed, 0 insertions, 0 deletions