Date: Thu, 26 May 2005 21:26:00 +0000 (UTC) From: Alfred Perlstein <alfred@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/truss extern.h main.c setup.c Message-ID: <200505262126.j4QLQ0wW019091@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505262126.j4QLQ0wW019091>
