summaryrefslogtreecommitdiffstats
path: root/kernel/futex_compat.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2007-10-01 01:20:12 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-01 07:52:23 -0700
commit8792f961ba8057d9f27987def3600253a3ba060f (patch)
treed12f795ab089e215e6e42c962c1abf06f70c3010 /kernel/futex_compat.c
parent4047727e5ae33f9b8d2b7766d1994ea6e5ec2991 (diff)
downloadtalos-obmc-linux-8792f961ba8057d9f27987def3600253a3ba060f.tar.gz
talos-obmc-linux-8792f961ba8057d9f27987def3600253a3ba060f.zip
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
OpenPOWER on IntegriCloud