diff options
author | Samuel Ortiz <[email protected]> | 2007-10-01 01:20:12 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-10-01 07:52:23 -0700 |
commit | 8792f961ba8057d9f27987def3600253a3ba060f (patch) | |
tree | d12f795ab089e215e6e42c962c1abf06f70c3010 /net/lapb/lapb_out.c | |
parent | 4047727e5ae33f9b8d2b7766d1994ea6e5ec2991 (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 <[email protected]>
Acked-by: Antonino Daplas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions