Re: [PATCH] trap -p does not display ignored signals inherited from pare
From:
Siddhesh Poyarekar
Subject:
Re: [PATCH] trap -p does not display ignored signals inherited from parent by a bash process
Date:
Fri, 26 Mar 2010 11:21:58 +0530
On Fri, Mar 26, 2010 at 11:20 AM, Siddhesh Poyarekar
<siddhesh.poyarekar@gmail.com> wrote:
> The code does explicitly hard ignore signals ignored when entering a
> non-interactive shell; see initialize_terminating_signals() in sig.c.
> The problem is that in addition to this, it ends up doing a hard
> ignore for the special signals in GETORIGSIG() -- not for all
> terminating signals, just the special signals.
>
Oops, forgot to add that GETORIGSIG is called for interactive as well
as non-interactive shells.
--
Siddhesh Poyarekar
http://siddhesh.in