Al Viro f8e811b989 [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>
2008-05-01 14:36:36 -07:00
..
2008-04-30 08:29:47 -07:00
2008-05-01 14:29:44 -07:00
2008-04-28 10:03:30 -07:00
2007-12-07 16:10:19 -08:00
2008-04-29 13:47:45 -07:00
2005-04-16 15:20:36 -07:00
2008-04-29 08:06:11 -07:00
2008-04-27 12:01:13 +03:00
2005-04-16 15:20:36 -07:00