Red Hat Bugzilla – Bug 309551
utrace: SA_RESETHAND fails on 1st PTRACE_CONT(sig)
Last modified: 2010-10-22 15:01:56 EDT
+++ This bug was initially created as a clone of Bug #284311 +++
Description of problem:
For the user-level impact see the Bug 284311.
If one signals the inferior during PTRACE_CONT and the inferior's handler is
using SA_RESETHAND then the signal will be delivered to the default handler (the
installed one gets ignored).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gcc -o sa-resethand-on-cont-signal sa-resethand-on-cont-signal.c -Wall -ggdb2
Created attachment 208871 [details]
Confirmed the failure is reproduced in rhts with the 1017.0 tree
Already fixed in the original Fedora Bug 284311.
Roland is/will be working on this issue.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
*** Bug 364821 has been marked as a duplicate of this bug. ***
You can download this test kernel from http://people.redhat.com/dzickus/el5
Confirmed sa-resethand-on-cont-signal now passes when using the -75.el5 kernel
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.