]> sourceware.org Git - newlib-cygwin.git/commit
strace: Make sure strace timer isn't copied to child process
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 6 Jul 2016 17:12:59 +0000 (19:12 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 6 Jul 2016 17:12:59 +0000 (19:12 +0200)
commit8cff1569fc5816a8b38ad47834cebd109dad1cce
tree21c796f2b7ae3f98222dd8bdc480fdf46a9d87c6
parent28d393c001975a62af6952a1f516d37a1413ce34
strace: Make sure strace timer isn't copied to child process

At fork time the .data and .bss segments of the Cygwin DLL are copied
over to the child process.  This also copies the strace timer since
it's in the .bss segment so far.  Fix that by moving the strace timer
out into the .data_cygwin_nocopy segment.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/strace.cc
This page took 0.027376 seconds and 5 git commands to generate.