Daniel Eischen 396a73603d Set the tcb (thread control block) in the child process after a fork.
This protects against a race with an upcall in the parent during the
fork which can clobber the parent's tcb before the vm space is copied
in the child.  The child then gets a corrupted tcb that is either null
or that points to another thread that doesn't exist in the child (after
a fork, only the fork()ing thread exists in the child).

Reported by:	Arno J. Klaassen (arno at heho / snv / jussieu / fr)
2007-12-06 06:04:01 +00:00
..
2007-12-02 22:21:30 +00:00
2007-12-03 15:13:44 +00:00
2007-06-10 19:06:09 +00:00
2007-05-24 20:28:14 +00:00
2007-05-24 22:10:22 +00:00
2007-04-09 01:45:30 +00:00
2007-10-16 02:10:44 +00:00
2007-12-03 11:15:46 +00:00
2007-04-09 01:45:30 +00:00
2007-11-17 21:29:02 +00:00