Created attachment 399166 [details] Show inherited signals in trap -p output Description of problem: trap -p doesn't show ignored signals inherited from its parent across an execve Version-Release number of selected component (if applicable): bash-4.1.2-3.fc14 How reproducible: Always Steps to Reproduce: 1. trap '' SIGINT 2. exec bash 3. trap -p Actual results: Nothing is returned as output of trap -p. But at the same time, running cat and trying to interrupt it shows that the signal is in fact being ignored Expected results: The list of ignored signals should be returned Additional info: Attached patch ensures that inherited ignored signals are reflected in trap_list and then subsequently displayed when trap -p is invoked.
It's not a bug, it's a feature: http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00084.html So this is how it feels to close my own bug report as NOTABUG ;)