cvs commit: src/usr.bin/truss main.c
Martin Cracauer
cracauer at FreeBSD.org
Sat Dec 27 17:20:26 PST 2003
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
More information about the cvs-src
mailing list