On Fri, Mar 26, 2010 at 11:20 AM, Siddhesh Poyarekar <siddhesh.poyare...@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