procps/ps
Jaromir Capik c1f10d11bc Allow core file generation by ps command (rhbz#871825, rhbz#512857)
Since the ps command handles signals with it's own handler, it doesn't create
core files when something wrong happens. The attached patch restores the ps
command ability to create core files by calling the default handler once we
print our custom message. The original RH's workaround masked SIGABRT and
SIGSEGV signals and that would conflict with the original intention of the
custom signal handler and also with the filtering patch I sent in my previous
email. Moreover, this solution generates core for all relevant signals (SIGFPE,
etc.).

Bug-Redhat: http://bugzilla.redhat.com/871825
Bug-Redhat: http://bugzilla.redhat.com/512857
Reference: http://www.freelists.org/post/procps/PATCH-Allow-core-file-generation-by-ps-command-rhbz871825-rhbz512857

Signed-off-by: Craig Small <csmall@enc.com.au>
2012-12-13 22:17:03 +11:00
..
common.h ps: fix compiler warnings 2012-03-03 18:36:29 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c Allow core file generation by ps command (rhbz#871825, rhbz#512857) 2012-12-13 22:17:03 +11:00
global.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c SELinux spelling (rhbz#859900) 2012-09-27 21:46:46 +10:00
Makefile.am all: check stdout and stderr status at exit 2012-03-23 15:57:53 +01:00
output.c Fixing negative ETIME field in ps (rhbz#871819, rhbz#433266) 2012-12-13 21:34:05 +11:00
parser.c SELinux spelling (rhbz#859900) 2012-09-27 21:46:46 +10:00
ps.1 SELinux spelling (rhbz#859900) 2012-09-27 21:46:46 +10:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
sortformat.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
stacktrace.c ps: cut out code unused code 2012-11-06 22:30:02 +11:00