Skip to content
Commit 17a62de1 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

Fix hang on fork



If e.g. a signal is being received while we are running fork(), the signal
thread may be having our SS lock when we make the space copy, and thus in the
child we can not take the SS lock any more.

* sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around __proc_dostop call.

Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
parent 9570bc53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment