cvs commit: src/usr.bin/truss main.c

From: Martin Cracauer <cracauer_at_FreeBSD.org>
Date: Sat, 27 Dec 2003 17:20:03 -0800 (PST)
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
Received on Sat Dec 27 2003 - 17:20:26 UTC