diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-22 19:46:10 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-01 13:07:13 -0400 |
commit | 74d92abc6143b124db03f0d341f02bde72fba6f5 (patch) | |
tree | d5b2d4e42d3ca0b145f66597d21a9df8855c35bf /drivers/char/vt_ioctl.c | |
parent | e4c576b911e364737b1bf4f5bfdab1c440713f26 (diff) |
[PATCH] fix file and descriptor handling in perfmon
Races galore... General rule: as soon as it's in descriptor table,
it's over; another thread might have started IO on it/dup2() it
elsewhere/dup2() something *over* it/etc. fd_install() is the very
last step one should take - it's a point of no return.
Besides, the damn thing leaked on failure exits...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/char/vt_ioctl.c')
0 files changed, 0 insertions, 0 deletions