Bug 309551 - utrace: SA_RESETHAND fails on 1st PTRACE_CONT(sig)
Summary: utrace: SA_RESETHAND fails on 1st PTRACE_CONT(sig)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: beta
: ---
Assignee: Roland McGrath
QA Contact: Martin Jenner
URL:
Whiteboard:
: 364821 (view as bug list)
Depends On: 284311
Blocks: 425461
TreeView+ depends on / blocked
 
Reported: 2007-09-27 18:18 UTC by Jan Kratochvil
Modified: 2018-10-19 22:16 UTC (History)
3 users (show)

Fixed In Version: RHBA-2008-0314
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 14:56:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Testcase. (4.04 KB, text/plain)
2007-09-27 18:18 UTC, Jan Kratochvil
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0314 0 normal SHIPPED_LIVE Updated kernel packages for Red Hat Enterprise Linux 5.2 2008-05-20 18:43:34 UTC

Description Jan Kratochvil 2007-09-27 18:18:52 UTC
+++ 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):
kernel-2.6.18-48.el5.x86_64

Steps to Reproduce:
1. gcc -o sa-resethand-on-cont-signal sa-resethand-on-cont-signal.c -Wall -ggdb2

Actual results:
FAIL

Expected results:
PASS

Comment 1 Jan Kratochvil 2007-09-27 18:18:52 UTC
Created attachment 208871 [details]
Testcase.

Comment 2 Mike Gahagan 2007-10-25 17:23:17 UTC
Confirmed the failure is reproduced in rhts with the 1017.0 tree
http://rhts.lab.boston.redhat.com/cgi-bin/rhts/jobs.cgi?id=9498&type=Single

Comment 3 Jan Kratochvil 2007-11-16 23:42:02 UTC
Already fixed in the original Fedora Bug 284311.


Comment 4 Eric Bachalo 2007-12-14 20:37:40 UTC
Roland is/will be working on this issue.

Comment 5 RHEL Program Management 2007-12-14 20:45:53 UTC
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
release.

Comment 6 Roland McGrath 2007-12-17 22:43:12 UTC
*** Bug 364821 has been marked as a duplicate of this bug. ***

Comment 8 Don Zickus 2007-12-21 20:18:02 UTC
in 2.6.18-62.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 10 Mike Gahagan 2008-01-28 20:44:37 UTC
Confirmed sa-resethand-on-cont-signal now passes when using the -75.el5 kernel

Comment 12 errata-xmlrpc 2008-05-21 14:56:36 UTC
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.

http://rhn.redhat.com/errata/RHBA-2008-0314.html



Note You need to log in before you can comment on or make changes to this bug.