diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-05-01 23:36:36 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-05-01 23:36:36 +0200 |
commit | f8e811b98935f702b48abc92563462a15c226eb8 (patch) | |
tree | 5446de054b7d168c118783df77577f14d4055d81 /include/asm-ia64 | |
parent | [IA64] TS_RESTORE_SIGMASK (diff) | |
download | linux-f8e811b98935f702b48abc92563462a15c226eb8.tar.xz linux-f8e811b98935f702b48abc92563462a15c226eb8.zip |
[IA64] 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>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
0 files changed, 0 insertions, 0 deletions