aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog.hppa
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2010-06-24 12:13:36 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2010-06-24 12:13:36 -0400
commit3680f14a7d12a9faa86e09aaea1b3aa20713355e (patch)
treed814d52924009bfab3d450a05d77e24ebff8451b /ChangeLog.hppa
parent131fafa7dac6437fd6bb320bac49b0198825b192 (diff)
downloadglibc-3680f14a7d12a9faa86e09aaea1b3aa20713355e.tar
glibc-3680f14a7d12a9faa86e09aaea1b3aa20713355e.tar.gz
glibc-3680f14a7d12a9faa86e09aaea1b3aa20713355e.tar.bz2
glibc-3680f14a7d12a9faa86e09aaea1b3aa20713355e.zip
[hppa] Fix incorrect stack frame usage in vfork.
In a multithreaded environment the call to vfork was incorrectly creating a stack frame. Given that the child unwinds the stack frame first to call exec, it will corrupt any values the parent stored in the stack frame. The solution is to avoid creating a stack frame unless required to call an error function, in which case we are assured no child was created.
Diffstat (limited to 'ChangeLog.hppa')
-rw-r--r--ChangeLog.hppa6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index faad5e9a33..2ccc911430 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,3 +1,9 @@
+2010-06-24 Carlos O'Donell <carlos@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
+ frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
+ from the stack frame on successfull return.
+
2010-06-23 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):