cvs commit: src/usr.bin/truss extern.h main.c setup.c

Alfred Perlstein alfred at FreeBSD.org
Thu May 26 14:26:01 PDT 2005


alfred      2005-05-26 21:26:00 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    usr.bin/truss        extern.h main.c setup.c 
  Log:
  MFC:
  When doing the initial open of the proc via procfs, complain if we are
  unable to open the /proc/pid/mem file.  Otherwise doing a truss on
  a nonexistant pid makes us return success even though no such process
  exists.
  
  I've been working on this somewhat so I'm moving the
  parts I'm touching to be as style(9) compliant as I can.
  
  Revision  Changes    Path
  1.9.2.1   +1 -1      src/usr.bin/truss/extern.h
  1.38.2.1  +235 -216  src/usr.bin/truss/main.c
  1.19.2.1  +96 -93    src/usr.bin/truss/setup.c


More information about the cvs-src mailing list