bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGTERM ignored before exec race


From: Chet Ramey
Subject: Re: SIGTERM ignored before exec race
Date: Mon, 25 Mar 2013 10:55:57 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

On 3/25/13 10:34 AM, Pádraig Brady wrote:

> I've confirmed that bash 4.3 alpha doesn't have the issue.
> Well I can't reproduce easily at least.
> I didn't notice a NEWS item corresponding to it though.

It's not a new feature.  There are several items in CHANGES that refer to
reworked signal handling.

> If I wanted to inspect this code change what would be the best approach?

Look for RESET_SIGTERM and CHECK_SIGTERM in the source code (jobs.c and
execute_cmd.c, mostly) and trace the code back through quit.h to sig.c.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]