aboutsummaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2007-10-01 04:20:12 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-01 10:52:23 -0400
commit8792f961ba8057d9f27987def3600253a3ba060f (patch)
treed12f795ab089e215e6e42c962c1abf06f70c3010 /mm/oom_kill.c
parent4047727e5ae33f9b8d2b7766d1994ea6e5ec2991 (diff)
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 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions