Author: sthibault
Date: 2011-07-02 22:02:09 +0000 (Sat, 02 Jul 2011)
New Revision: 4776

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-PTRACE_CONTINUE.diff
Modified:
   glibc-package/trunk/debian/changelog
Log:
  * patches/hurd-i386/submitted-PTRACE_CONTINUE.diff: New patch from Jeremy
    Koenig, to fix initialized value.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2011-07-02 11:08:27 UTC (rev 
4775)
+++ glibc-package/trunk/debian/changelog        2011-07-02 22:02:09 UTC (rev 
4776)
@@ -3,6 +3,8 @@
   [ Samuel Thibault ]
   * patches/README: Add "unsubmitted" category.
   * Rename most local hurd-i386 patches into unsubmitted.
+  * patches/hurd-i386/submitted-PTRACE_CONTINUE.diff: New patch from Jeremy
+    Koenig, to fix initialized value.
   
   [ Aurelien Jarno ]
   * debhelper.in/libc.preinst: replace unbreakable space by normal space.

Added: 
glibc-package/trunk/debian/patches/hurd-i386/submitted-PTRACE_CONTINUE.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-PTRACE_CONTINUE.diff 
                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-PTRACE_CONTINUE.diff 
2011-07-02 22:02:09 UTC (rev 4776)
@@ -0,0 +1,29 @@
+http://sourceware.org/ml/libc-alpha/2011-06/msg00124.html
+
+* hurd/hurdsig.c (post_signal): Don't call resume() with ACT uninitialized,
+as it might result in the target thread being left suspended.
+---
+ hurd/hurdsig.c |    7 +++++--
+ 1 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
+index 0ec0f27..74a01a6 100644
+--- a/hurd/hurdsig.c
++++ b/hurd/hurdsig.c
+@@ -558,8 +558,11 @@ post_signal (struct hurd_sigstate *ss,
+   if (signo == 0)
+     {
+       if (untraced)
+-      /* This is PTRACE_CONTINUE.  */
+-      resume ();
++      {
++        /* This is PTRACE_CONTINUE.  */
++        act = ignore;
++        resume ();
++      }
+ 
+       /* This call is just to check for pending signals.  */
+       __spin_lock (&ss->lock);
+-- 
+1.7.5.3
+


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1qd8gq-0003df...@vasks.debian.org

Reply via email to