summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-08-28 22:08:39 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-08-28 22:09:29 +0200
commit17a62de1ff4c7548748a8d264382131f523f071a (patch)
tree8751a44b0738acbc264930a4e0d2a11c0bf499de /ChangeLog
parent9570bc53fcc11d3cfe028989e611266e8d55bd09 (diff)
downloadglibc-17a62de1ff4c7548748a8d264382131f523f071a.tar.gz
glibc-17a62de1ff4c7548748a8d264382131f523f071a.tar.xz
glibc-17a62de1ff4c7548748a8d264382131f523f071a.zip
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: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 23c900dcf7..eb604b854b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
+	__proc_dostop call.
+
 2014-08-27  Mark Wielaard  <mjw@redhat.com>
 
 	[BZ #17319]