diff options
| author | Michal Januszewski <[email protected]> | 2007-04-01 23:49:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-04-02 10:06:09 -0700 |
| commit | f991519c197534811046e5e47389b6fafcdf1e48 (patch) | |
| tree | a8df0ce3aafc97968a354e736305a3fc807f1dea /include/linux/debugobjects.h | |
| parent | 1d64b9cb1dc2a7cd521444e3d908adeccd026356 (diff) | |
[PATCH] vt: fix potential race in VT_WAITACTIVE handler
On a multiprocessor machine the VT_WAITACTIVE ioctl call may return 0 if
fg_console has already been updated in redraw_screen() but the console
switch itself hasn't been completed. Fix this by checking fg_console in
vt_waitactive() with the console sem held.
Signed-off-by: Michal Januszewski <[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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions