Date: Sat, 27 Dec 2003 17:20:03 -0800 (PST) From: Martin Cracauer <cracauer@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/truss main.c Message-ID: <200312280120.hBS1K3l6059712@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cracauer 2003/12/27 17:20:03 PST
FreeBSD src repository
Modified files:
usr.bin/truss main.c
Log:
Fix signal behaviour.
In my last change I made sure that the signal as reported from a truss
exit is the same as if truss wasn't between parent and trussed
program. I was smart enough to not have it coredump on SIGQUIT but it
didn't ocur to me SIGSEGV might cause a coredump, too :-)
So get rid of SIGQUIT extra hack and limit coredumpsize to zero
instead.
Tested: still works, correct signal reported. No more codedumps from
SIGSEGV in the trussed proces. This file compiles cleanly on AMD64
(sledge).
Revision Changes Path
1.36 +7 -2 src/usr.bin/truss/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312280120.hBS1K3l6059712>
