From owner-cvs-src@FreeBSD.ORG Sat Dec 27 17:20:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B09F16A4CE; Sat, 27 Dec 2003 17:20:25 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2795D43D2D; Sat, 27 Dec 2003 17:20:04 -0800 (PST) (envelope-from cracauer@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBS1K40B059713; Sat, 27 Dec 2003 17:20:04 -0800 (PST) (envelope-from cracauer@repoman.freebsd.org) Received: (from cracauer@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBS1K3l6059712; Sat, 27 Dec 2003 17:20:03 -0800 (PST) (envelope-from cracauer) Message-Id: <200312280120.hBS1K3l6059712@repoman.freebsd.org> From: Martin Cracauer Date: Sat, 27 Dec 2003 17:20:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/truss main.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 01:20:26 -0000 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