Konstantin Belousov 17b9edd35a The code in linux_proc_exit() contains a race when multiple linux based
processes exits at the same time.  The linux_emuldata structure is freed
but p->p_emuldata is left as a dangling pointer to the just freed memory.

The check for W_EXIT in the loop scanning the child processes isn't safe
since the state of the child process can change right afterwards. Lock
the process and check the W_EXIT before delivering signal.

Submitted by:	tegge
Reviewed by:	davidxu
MFC after:	1 week
2008-10-31 10:38:30 +00:00
..
2008-04-08 09:45:49 +00:00
2007-01-14 16:34:43 +00:00
2006-12-21 13:11:06 +00:00
2006-12-31 12:39:10 +00:00
2006-12-20 20:17:35 +00:00
2008-04-08 09:45:49 +00:00