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-22 08:56:38 -07:00
2008-04-17 10:14:51 -07:00
2007-12-07 14:28:02 -08:00
2008-04-17 10:42:34 -04:00
2007-07-29 17:09:29 -07:00
2008-04-17 10:42:34 -04:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2008-04-22 08:56:38 -07:00
2008-04-08 13:51:35 -07:00
2008-04-17 10:14:51 -07:00
2008-05-01 14:29:44 -07:00
2008-05-01 14:29:12 -07:00