commit | 74d92abc6143b124db03f0d341f02bde72fba6f5 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 22 19:46:10 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu May 01 13:07:13 2008 -0400 |
tree | d5b2d4e42d3ca0b145f66597d21a9df8855c35bf | |
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>