4.64 June 26, 2002
...
Updated lsof's main() function to: 1) close all
open file descriptors above 2 before starting; and
2) to set a non-interfering umask. Moved GET_MAX_FD
test from misc.c to proto.h, so that main() could
use it. Added multiple-include protection to
proto.h.
...
At the suggestion of Manuel Bouyer <bouyer@antioche.eu.org>
switched NetBSD and OpenBSD lsof from using nlist()
to using kvm_nlist(). Made the same change for
BSDI, Darwin, and FreeBSD.
...
Added nullfs support for FreeBSD, NetBSD, and OpenBSD
at the request of Andrew Brown <atatat@atatdot.net>.
...
Modified all readmnt() functions to ignore mounted-on
directory names that don't begin with '/'.
...
Tested on NetBSD 1.6A and OpenBSD 3.1.
Also...make myself the maintainer since I keep updating this pkg (hi wiz).
release notes:
4.63 April 23, 2002
...
Corrected bugs in device number, file size, file
offset, and raw device number field output generation.
...
Built an automated test suite. (See 00TEST and
the tests/ sub-directory of the lsof main directory).
Bela Lubkin requested it. Dale Talcott, John
Hughes, and Larry Rosenman helped me validate it
on their systems.
During the development of the test suite I discovered
the following lsof bugs or missing features, and
corrected or supplied them.
...
* Corrected the reporting of UNIX domain socket
names for Apple Darwin, FreeBSD 4.5 and above,
NetBSD 1.4.1 and above, and for OpenBSD 3.0 and
above.
...
Updated the NetBSD and OpenBSD sources so NetBSD
can process DTYPE_PIPE files, as OpenBSD was already
able to do.
...
Added defense against the standard I/O descriptor
attack.
Note that the test suite is not enabled for this pkg because it
requires root privileges in order to operate.
release notes are:
4.61 January 22, 2002
Updated field output example Perl scripts in the
scripts/ subdirectory to discover the lsof path,
starting at .. and proceding through the PATH
environment variable's directories.
...
In response to a report from Joshua Wright
<Joshua.Wright@jwu.edu> modified NetBSD and OpenBSD
Configure stanzas and sources so that lsof can be
built when there is no system source tree (e.g.,
/usr/src/sys).
...
Corrected a bug in the matching of IPv4 addresses,
mapped in IPv6 addresses, to an IPv4 paramter to
an -i option.
release notes are:
4.60 November 9, 2001
Added special handling to and corrected bugs in
the matching of IPv4 in IPv6 addresses to -i6:<...>
selectors.
...
Made lsof's method of killing its child process
more robust, based on a suggestion from Bela Lubkin
<belal@caldera.com>.
...
Modified all dialect Makefile segments to accept
select -v #define's from the environment -- a
builder's comment, host, logname, system information
and user name. This was done for Bela Lubkin, so
he can "tune" the -v output when he packages lsof
in the upcoming Caldera OSR 5.0.7 release.
The relevant #define from the last note is LSOF_BLDCMT which is
currently assigned the value "NetBSD pkgsrc rocks!" :)
releated changes from the release notes for 4.59 include:
4.59 October 20, 2001
...
Added an additional UVM test to the NetBSD Configure
stanza. Andrew Brown <atatat@atatdot.net> supplied
the test; it recognizes NetBSD 1.5Y UVM changes to
the vnode structure recently committed by Chuck
Silvers.
...
Added an IP version selector to the -i option
parameters.
o Added locale support to lsof's isprint() test,
based on a suggestion from Dan Mercer <damercer@mmm.com>.
Lsof will use setlocale(), when that function and
its supporting <locale.h> header file are available.
New version's existence brought to my attention by Lloyd Parkes.
Changes scripts/ to make Perl 5 the standard; corrects a bug in the
reporting of a PTX fattach()'d target address; encourages NetBSD and
OpenBSD lsof to use /usr/include/uvm when it's available; adds
snprintf() support, including a private version for dialects without
one; fixes a BSDI, DEC/OSF1, Digital UNIX, FreeBSD, NetBSD, OpenBSD,
and Tru64 UNIX repeat-mode memory leak.
BSD-relevant changes:
o Updated FreeBSD, NetBSD, NeXTSTEP, OpenBSD, and OpenStep support to
report "no PCB" and the values of the SO_CANTSENDMORE and
SO_CANTRCVMORE state flags when a socket structure has no inpcb
pointer.
o Upgraded support for FreeBSD 5.0-CURRENT. Ben Smithurst
<ben@scientia.demon.co.uk> supplied patches and did testing. David
O'Brien <obrien@NUXI.com> supplied a test system. The update included
dropping the Fctty part of file descriptor file system support,
conditional on a Configure script test. I propagated those changes to
BSDI, NetBSD, and OpenBSD in anticipation of their having the
modification in the future.
o Added support for 64 bit file sizes and offsets on BSDI, FreeBSD,
NetBSD, and OpenBSD, based on a report from Dan Nelson
<dnelson@emsphone.com>. Dan supplied a patch and did FreeBSD testing.
o Added Configure script recognition of NetBSD 1.5, based on a report
from Andrew Brown <atatat@atatdot.net>.
4.46 October 23, 1999
Corrected /proc-based Linux lsof to detect that an
IPv6 address is a mapped IPv4 address. The problem
was reported and analyzed by Arkadiusz Miskiewicz
<misiek@misiek.eu.org>, who also tested the fix.
Added a libc5 library /dev/kmem-based Linux lsof
circumvention, supplied by Jason Lingohr
<lingman@lucid.net.au>.
Corrected a bug in -t (terse) AIX output, reported
by Wendy Lin <af5@taiyang.cc.purdue.edu>. I
introduced the bug at revision 4.43 when adding
FILE_FLAG reporting. This was offered as a patch
to 4.45.
Added a work-around for a problem in the OpenBSD
2.3 <sys/pipe.h> header file. Volker Borchert
<bt@teknon.de> provided and tested it.
Improved description of cross-building lsof for a
64 bit Solaris 7 system on a 32 bit system with
suggestions from Phillip Edwards
<Philip.Edwards@sn.wpafb.af.mil>.
Fixed a gawk POSIX-mode pattern error in the Linux
/dev/kmem-based Mksrc script, based on a tip from
Ambrose C. Li <acli@mingpaoxpress.com>.
Fixed a bug in the Tru64 UNIX IPv6 handling, courtesy
of a report from Casper Dik <casper@holland.sun.com>.
Enabled support for OpenBSD 2.6.
Enabled support for BSDI 4.1, based on a report from
Jeffrey C Honig <jch@bsdi.com> that only a Configure
script change is necessary.
Enabled Configure script to use gcc for building
lsof for a 64 bit Solaris 7 and 8 kernels, if the
gcc version is 2.95 or above.
Improved -i option handling for systems with IPv6
support so that it will search for a host name in
both IPv4 and IPv6 families, when that is possible.
As a companion modification, changed -V processing
to report a single error when a multiple host name
match is requested. Casper Dik <casper@holland.Sun.COM>
helped test.
Fixed a DEC OSF/1, Digital UNIX, Tru64 UNIX repeat
mode bug, reported by Mayer Ilovitz <mayer@cooper.edu>.
Mayer helped test the fix. The fix was offered as a
patch to 4.45.
Changed Solaris socket file recognition scheme, so it
is (nearly) the same through Solaris 8, where the
previous clone device scheme no longer works.
With significant assistance from Casper Dik, added
support for Solaris 8 Beta and Beta refresh. The
IPv6 support in Solaris 8 is still in some flux,
so there are temporary compensations for the
differences between Beta IPv6 support and Beta
refresh IPv6 support. Casper and I hope those
differences disappear by FCS.
Improved the delivery of information on Solaris
2.5.1, 2.6, 7, and 8 door files.
Fixed a repeat mode bug that surfaces when /etc/passwd
changes between cycles. The bug report and diagnostic
help were supplied by Igor Schein <igor@txc.com>.
The fix was offered as a patch to 4.45.
Added support for INRIA IPv6 to NetBSD. Jean-Luc
Richier <Jean-Luc.Richier@imag.fr> provided patches
and a test system on which to verify them.
Added support for AIX 4.3.3. Jeff W. Stewart
<jws@anaconda.cc.purdue.edu> provided a test system.
Made adjustments for FreeBSD 4.0-current.
Improved reporting of information for AIX sockets that
lack protocol control blocks.