
	    Notes for the distribution of lsof version 4

********************************************************************
| The latest release of lsof is always available via anonymous ftp |
| from vic.cc.purdue.edu.  Look in pub/tools/unix/lsof.            |
********************************************************************

		Contents

	    Dialects Supported
	    How Lsof Works
	    Lsof Output
	    Getting Started Quickly
	    Limiting, Filtering, and Selecting Lsof Output
	    Parsing Lsof Output with Another Program
	    Repeat Mode
	    Distribution Restrictions
	    Cautions
	    Distribution Contents
	    Warranty
	    Bug Reports
	    The lsof-l Mailing List
	    Version 3 Release Notes
		3.0,  May 24, 1994
		...
		3.88, February 17, 1997
	    What's New in Version 4
	    Version 4 Release Notes
		4.0, February 24, 1997
		4.01, March 3, 1997
		4.02, March 21, 1997
		4.03, April 7, 1997
		4.04, April 17, 1997
		4.04 supplement, April 18, 1997
		4.05, April 24, 1997
		4.06, April 30, 1997
		4.07, May 12, 1997
		4.08, May 23, 1997
		4.09, June 1, 1997
		4.10, June 8, 1997
		4.11, June 12, 1997
		4.12, June 24, 1997
		4.13, July 9, 1997
		4.14, July 22, 1997
		4.15, August 15, 1997
		4.16, September 25, 1997
		4.17, October 14, 1997
		4.18, October 25, 1997
		4.19, October 30, 1997
		4.20, November 11, 1997
		4.21, December 1, 1997
		4.22, December 15, 1997
		4.23, January 16, 1998
		4.24, January 28, 1998
		4.25, February 7, 1998
		4.26, February 17, 1998
		4.27, March 6, 1998
		4.28, March 10, 1998
		4.29, March 26, 1998
		4.30, April 9, 1998
		4.31, April 21, 1998
		4.32, May 13, 1998
		4.33, May 22, 1998
		4.34, June 26, 1998
		4.35, July 17, 1998
		4.36, August 4, 1998
		4.37, September 15, 1998
		4.38, November 25, 1998
		4.39, December 29, 1998
		4.40, January 25, 1999
		4.41, February 27, 1999
		4.42, March 30, 1999
		4.43, May 11, 1999
		4.44, June 24, 1999
		4.45, July 30, 1999
		4.46, October 23, 1999
		4.47, November 29, 1999


Dialects Supported
==================

Lsof (for LiSt Open Files) lists files opened by processes on
selected Unix systems.  Version 4 is a source reorganization of
version 3, itself a major revision of version 2.  Version 4 has
been tested on:

	AIX 4.1.[45], 4.2[.1], and 4.3.[123]
	BSDI BSD/OS 2.1, 3.[01], and 4.[01] for Intel-based systems
	DC/OSx 1.1 for Pyramid systems
	DEC OSF/1, Digital UNIX, Tru64 UNIX 2.0, 3.2, 4.0, and 5.0
	FreeBSD 2.1.[67], 2.2[.x], 3.[012], and 4.0 for Intel-based
	    systems
	HP-UX 9.01, 10.20, and 11.00
	Linux 2.0.3[2346], 2.1.x, and 2.2.x for Intel-based systems
	NetBSD 1.[234] for Intel and SPARC-based systems
	NEXTSTEP 3.[13]
	OpenBSD 2.[0123456] for Intel-based systems
	OpenStep 4.x
	Reliant UNIX 5.4[34] for Pyramid systems
	SCO OpenServer Release 3.0 and 5.0.x for Intel-based systems
	SCO UnixWare 2.1.[123] and 7[[.0].1] for Intel-based systems
	Sequent PTX 2.1.9, 4.2.[13], 4.[34], and 4.4.[124]
	Solaris 2.5.1, 2.6, 7, 8 BETA, and 8 BETA-Refresh
	SunOS 4.1.x
	Ultrix 4.2

(The pub/tools/unix/lsof/contrib directory on vic.cc.purdue.edu
contains information on other ports.)

If your favorite Unix dialect is not in the list, or if your version
of it is more recent than the ones listed, please contact me at
<abe@purdue.edu>.

Version 3 of lsof was tested on:

	AIX 3.2.5, 4.1[.[1234]], and 4.2
	BSDI BSD/OS 2.0, 2.0.1, and 2.1 for Intel-based systems
	DC/OSx 1.1 for Pyramid systems
	Digital UNIX (DEC OSF/1) 2.0, 3.0, 3.2, and 4.0
	EP/IX 2.1.1 for the CDC 4680
	FreeBSD 1.1.5.1, 2.0, 2.0.5, 2.1, 2.1.5 for Intel-based
		systems
	HP-UX 8.x, 9.x, 10.01, 10.10, and 10.20
	IRIX 5.2, 5.3, 6.0, 6.0.1, and 6.[124]
	Linux through 2.0.27 for Intel-based systems
	NetBSD 1.0, 1.1, and 1.2 for Intel and SPARC-based
		systems
	NEXTSTEP 2.1 and 3.[0123]
	OpenBSD 1.2 and 2.0 for Intel-based systems
	Reliant UNIX 5.43 for Pyramid systems
	RISC/os 4.52 for MIPS R2000-based systems
	SCO OpenServer Release 1.1, 3.0, and 5.0.x for Intel-based 
		systems
	SCO UnixWare 2.1 and 2.1.1 for Intel-based systems
	Sequent PTX 2.1.[1569], 4.0.[23], 4.1.[024], 4.2[.1],
		and 4.3
	Solaris 2.[12345], 2.5.1, and 2.6-Beta
	SunOS 4.1.x
	Ultrix 4.2, 4.3, 4.4, and 4.5

Version 3 and its predecessor, version 2, may be found at:

	ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/OLD


How Lsof Works
==============

Using available kernel data access methods -- getproc(), getuser(),
kvm_*(), nlist(), pstat(), read(), readx(), /proc -- lsof reads
process table entries, task table entries, user areas and file
pointers to reach the underlying structures that describe files
opened by processes.

Lsof interprets most file node structures -- advfsnodes, autonodes,
cnodes, cdrnodes, devnodes, fifonodes, gnodes, hsnodes, inodes,
mfsnodes, pcnodes, procnodes, rnodes, snodes, specnodes, s5inodes,
tmpnodes.  It understands NFS connections.  It recognizes FIFOs,
multiplexed files, Unix and Internet sockets.  It knows about
streams.  It understands /proc file systems for some dialects.  On
many dialects it recognizes execution text and library references.
It knows about AFS on some Unix dialects.


Lsof Output
===========

The lsof output describes:

    * the identification number of the process (PID) that has opened
      the file;

    * the process group identification number (PGRP) of the process
      (optional);

    * the process identification number of the parent process (PPID)
      (optional);

    * the command the process is executing;

    * the owner of the process;

    * for all files in use by the process, including the executing
      text file and the shared libraries it is using:

      * the file descriptor number of the file, if applicable;

      * the file's access mode;

      * the file's lock status;

      * the file's device numbers;

      * the file's inode number;

      * the file's size or offset;

      * the name of the file system containing the file;

      * any available components of the file's path name;

      * the names of the file's stream components;

      * the file's local and remote network addresses;

      * the TLI network (typically UDP) state of the file;

      * the TCP state, read queue length, and write queue length
	of the file;

      * the file's TCP window read and write lengths (Solaris
	only);

      * other file or dialect-specific values.


Getting Started Quickly
=======================

If you want to get started using lsof quickly, or see some examples
of how lsof can be used, consult the 00QUICKSTART file of the lsof
distribution.

The 00QUICKSTART file won't help you build or install lsof, but it
will cut through the density of the lsof man page, giving you more
readily an idea of what you can do with lsof.

For information on building and installing lsof, consult the 00README
file of the lsof distribution.


Limiting, Filtering, and Selecting Lsof Output
==============================================

Lsof accepts options to limit, filter, and select its output.
These are the possible criteria:

    * Process ID (PID) number -- to list the open files for a given
      process;

    * Process Group ID (PGRP) -- to list the open files for all
      the processes of a given process group;

    * User ID number or login name -- to list the open files for
      all the processes of a given user;

    * Internet address -- to list the open files using a given
      Internet address (host name), protocol, or port (number or
      name); or to list all open Internet files;

    * command name;

    * file descriptor name or number;

    * list all open NFS files;

    * list all open Unix domain socket files;

    * list all uses of a specific file;

    * list all open files on a file system.

Selection options are normally ORed -- i.e., an open file meeting
any of the criteria is listed.  The selection options may be ANDed
so that an open file will be listed only if it meets all the
criteria.

In the absence of any selection criteria, lsof lists files open to
all processes.


Parsing Lsof Output with Another Program
========================================

The lsof -F option directs it to produce "field" output that can
easily be parsed by another program.  The lsof distribution contains
sample awk, perl 4, and perl 5 scripts in its scripts subdirectory
that show how to post-process field output.


Repeat Mode
===========

Lsof can be directed to produce output, delay for a specified time,
then repeat the output, cycling until stopped by an interrupt or
quit signal.  This mode is useful for monitoring the status of some
file operation -- e.g., an ftp transfer or a tape backup operation.

Repeat mode is more efficient when combined with lsof's selection
options, since they limit lsof overhead.

It's possible to use lsof's field output options to supply repeat
mode output to another process for its manipulation.  The scripts
subdirectory of the lsof distribution has sample Perl scripts
showing how to consume lsof repeat mode output from a pipe.


Distribution Restrictions
=========================

Lsof may be used and distributed freely, subject to these limitations:

1. Neither the author nor Purdue University is responsible for
   any consequences of the use of this software.

2. The origin of this software must not be misrepresented, either
   by explicit claim or by omission.  Credit to the author and
   Purdue University must appear in documentation and sources.

3. Altered versions must be plainly marked as such, and must not
   be misrepresented as being the original software.

4. This notice may not be removed from or altered in the lsof source
   files.


Cautions
========

Lsof is a tool that is closely tied to the Unix operating system
version.  It uses header files that describe kernel structures and
reads kernel structures that typically change from OS version to
OS version.

DON'T TRY TO USE AN LSOF BINARY, COMPILED FOR ONE UNIX OS VERSION,
ON ANOTHER.

On some Unix dialects, notably SunOS and Solaris, lsof versions
may be even more restricted by architecture type.  An lsof binary,
compiled for SunOS 4.1.3 on a sun4c machine, for example, won't
work on a sun4m machine.

AN LSOF BINARY, COMPILED FOR ONE SOLARIS 1.X ARCHITECTURE, ISN'T
GUARANTEED TO WORK ON A DIFFERENT SOLARIS 1.X ARCHITECTURE.


Distribution Contents
=====================

The lsof distribution is checked for completeness when it is
constructed and by the Inventory script when you run the Configure
script.  (See The Inventory Script section of the 00README file of
this distribution.)

Lsof is organized in these parts:

    *  The main lsof directory, containing common sources,
       configuration and setup scripts and three subdirectories:
       dialects/, lib/, and scripts/.

       Lsof is compiled in the main lsof directory after configuration.
       The selected dialect sources are copied or linked from the
       specified subdirectory.  (Symbolic linking is the standard
       method.)

       Common lsof definitions may be found in lsof.h; common
       function prototypes, proto.h; and common storage, store.c.

    *  The dialects/ subdirectory contains subdirectories with
       sources specific to UNIX dialect implementations -- e.g.,
       the dialects/sun/ subdirectory contains sources for the
       SunOS (Solaris 1.x) and Solaris (2.x) implementations of
       lsof.  The dialects subdirectories also contain Makefiles
       and scripts for assisting dialect source configuration.

       Dialect configuration definitions may be found in dlsof.h;
       other dialect definitions, dlsof.h; dialect prototypes,
       dproto.h; and dialect storage, dstore.c.

    *  The lib/ subdirectory contains sources for common lsof
       functions.  Not all dialects use the functions -- some have
       their own versions of them.  The lib/ functions are enabled
       and customized with #define's in the dialect machine.h header
       files.

    *  The scripts/ subdirectory contains sample scripts for
       processing lsof field (-F) output.  The scripts are written
       in AWK, Perl 4, and Perl 5.

The 00PORTING file of the lsof distribution has more information
on lsof components, configuration, and construction.


Warranty
========

Lsof is provided as-is without any warranty of any kind, either
expressed or implied, including, but not limited to, the implied
warranties of merchantability and fitness for a particular purpose.
The entire risk as to the quality and performance of lsof is with
you.  Should lsof prove defective, you assume the cost of all
necessary servicing, repair, or correction.


Bug Reports
===========

Now that the obligatory disclaimer is out of the way, let me hasten
to add that I accept lsof bug reports and try hard to respond to
them.  I will also consider and discuss requests for new features,
ports to new dialects, or ports to new OS versions.

PLEASE DON'T SEND A BUG REPORT ABOUT LSOF TO THE UNIX DIALECT
VENDOR.

At worst such a bug report will confuse the vendor; at best, the
vendor will forward the bug report to me.

Please send all bug reports, requests, etc. to me via email at
<abe@purdue.edu>.


The lsof-l Mailing List
=======================

Information about lsof, including notices about the availability
of new revisions, may be found in mailings of the lsof-l listserv.
For more information about it, including instructions on how to
subscribe, read the 00LSOF-L file of the lsof distribution.


Version 3 Release Notes
=======================

See 00DIST in the last lsof 3 revision 3.88, for its complete
set of release notes.  Lsof revision 3.88 may be found at:

	ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/OLD

3.0		May 24, 1994
		This is the first official release of lsof 3.

...

3.88		February 17, 1997

		+======================================+
		| This is the last version 3 revision. |
		+======================================+

		Added documentation files -- 00.README.FIRST[_<version>]
		and 00RELEASE.SUMMARY_<version> -- to the distribution.


What's new in Version 4
=======================

The main goal of version 4 was to eliminate the confusing common/
fragment source file technique.  Changing the version number also
provided an opportunity to restart the numbering, which at 3.88
had risen to a large value.

The sources that appeared in the dialects/common subdirectory of
version 3 in fragment files have been incorporated into the version
4 liblsof.a library as *.c files.  This results in significant
changes to many source files, scripts, and Makefiles of all dialect
versions.  It allows elimination of some source files -- ddev.c,
dfile.c, dmnt.c -- for dialects now obtaining functions from
liblsof.a that formerly came from making dialect source files by
combining fragment files.

The version 4 liblsof.a sources are stored in the lib/ subdirectory
of the main lsof directory.  The liblsof.a functions are activated
and conditioned in their source files by values #define'd in the
dialect dlsof.h and machine.h header files.

Dialects that provide a private version of a library function refrain
from #define'ing the symbol that would activate the library function
code.


Version 4 Release Notes
=======================

4.0		February 24, 1997

		+====================================+
		| This is the first lsof 4 revision. |
		+====================================+

		Reorganized sources: eliminated code fragment files
		and created a library in their place.  Modified or
		deleted many dialect source and header files.
		Changed documentation accordingly.

		Added a warning to sgi/Makefile and 00FAQ that advises
		against using the IRIX C compiler -n32 option when
		compiling lsof.  Thanks go to Peter Ilieve
		<peter@memex.co.uk> for bringing this to my attention.

		Dropped IRIX 5.2 in mid-stream, because my 5.2 test
		system was upgraded to 5.3.

4.01		March 3, 1997
		Added TFS support for Pyramid dialects.

		Added test to Configure and to the IRIX dnode.c
		for the different cnode struct that appears in
		<cachefs/cachefs_fs.h> on the 6.2 IMPACT distribution.
		Heddy Boubaker <boubaker@amfou.cenatls.cena.dgac.fr>
		alerted me to the cnode change and helped test this
		lsof adjustment.

		Shut down the lsof child process before doing a -r
		sleep().  A comment from Dan Mercer <dam@mmm.com>
		prompted this.

4.02		March 21, 1997

		Based on a report from Pasi Kaara <Pasi.Kaara@atk.tpo.fi>,
		disabled HP-UX CCIT support in lsof for HP-UX
		versions 10 and above.  Pasi's report also led to
		changes in the HP-UX machine.h to support use of
		gcc to compile lsof for HP-UX 10.20 and warnings
		against using `cc -Aa` or `gcc -ansi` to compile
		lsof under HP-UX 10.x.

		With help from Richard Allen <ra@hp.is> taught
		HP-UX 10.x lsof to name file systems better by
		using the virtual file system device number.  Elias
		Halldor Agustsson <elias@rhi.hi.is> provided a test
		system.

		Changed NEXTSTEP and UNIXWARE Makefiles to use
		safer quoting when generating version.h.  The change
		was suggested by Bob Farmer <ucs_brf@unx1.shsu.edu>.

		Added SHELL=/bin/sh string to all Makefiles.

		Added support for Linux 2.1.28 on a test system,
		kindly provided by Jonathan Sergent <sergent@purdue.edu>.
		Configure tests the Linux 2.1.x's C library lseek()
		function for proper handling of kernel offsets.
		If lseek() appears suspect, Configure activates
		the use of a private lseek() function.  Changed
		the private nlist() function to nlist_private()
		and taught it to use the query_module() syscall in
		place of the deprecated get_kernel_syms() one.
		Added rudimentary AX.25 support for Pierfrancesco
		Caci <ik5pvx@infogroup.it> who helped test it.
		Updated the old get_kernel_syms() code to recognize
		and skip module name entries.

		Prompted by Marty Leisner <leisner@sdsp.mc.xerox.com>,
		eased the requirement that service name lookup for
		the -i option be accompanied by a protocol name.  The
		name is not needed if both TCP and UDP names yield the
		same port number.

		Added xusers.awk script from Dan Mercer <damercer@mmm.com>
		to the distribution scripts/ subdirectory.

		Changed Configure script to use LSOF_VERS for all
		UNIX dialect version numbers and to pass LSOF_VERS
		to the dialect Mksrc functions.  Also added the
		ability for a dialect stanza to declare a different
		dialect Makefile source.  Modified dialect Mksrc
		files -- e.g., linux and sun -- accordingly.

		Added support for BSD/OS 3.0 with help from Jim
		Reid <jim@mpn.cp.philips.com>.  Terry Kennedy
		<TERRY@spcvxa.spc.edu> kindly provided a test
		system.  During the port corrected a bug that
		prevented proper handling of revoked files.

4.03		April 7, 1997
		At the suggestion of Dan Mercer <damercer@mmm.com>,
		made HP-UX building of lsof aware of differences
		between the HP-UX bundled and unbundled C compilers.

		Added the ability for the lsof builder to define the
		default warning message issuance state.  By default the
		issuance of warning messages is disabled; defining
		WARNINGSTATE in machine.h disables it.  The Customize
		script was updated to handle WARNINGSTATE.  Dan Mercer
		suggested this.

		Eliminated compiler complaint about improperly cast
		get_Nl_value() argument in ncache_load() in lib/rnch.c.

		Corrected zeromem() argument error in SCO dproc.c.
		Sped up parent directory cache lookup slightly.

		Updated for PTX 4.4, including additional VxFS (EFS)
		file system support.

4.04		April 17, 1997
		At the suggestion of Bela Lubkin <belal@sco.COM>
		changed device cache handling to be more tolerant
		of a device cache file whose [cm]times are older
		than the ones on /dev or /devices.  The change
		required adding information to Solaris device cache
		file clone lines, so the first time lsof 4.04 is
		run under Solaris it will complain about a bad
		cached clone device in a previous device cache
		file, then regenerate it.

		Added boot file path detection for SCO OSR 5 and
		above, based on information supplied by Bela.

		Fixed two bugs in DEC OSF/1 lsof -- an error in
		reporting locks and a missing continue statement
		in readdev() after a failure to open a directory.
		Jan Ole Suhr <josuhr@informatik.tu-clausthal.de>
		reported the second bug and supplied a fix.

		Fixed XFS problems with IRIX 6.2 by abandoning the
		idea that SGI will distribute XFS header files and
		defining an lsof-private xfs_inode structure.  John
		Paul Morrison <John.Paul.Morrison@MultiActive.com>
		helped develop and test the 5.3 definition.  John
		R. Vanderpool <fish@daacdev1.gsfc.nasa.gov> helped
		develop and test the 6.2 definition.

		Remove obsolete comments about common/*.frag files.

		Updated Linux lsof for Linux version 2.1.35.

4.04		April 18, 1997
Supplement	Regenerated the 4.04 distribution to correct a non-
		device-cache #define misplacement in the Solaris and
		SunOS dlsof.h.  Alexandre Oliva <oliva@dcc.unicamp.br>
		reported the problem.

4.05		April 24, 1997
		Corrected an error in 00DCACHE.

		Made sure SCO /etc/ps/booted.systems is closed.

		Based on an observation by Bela Lubkin <belal@sco.COM>
		that the lsof child had needless file descriptors
		open, closed all but the open pipes between the
		lsof parent and child.

		Decommissioned CDC EP/IX support; I no longer have a
		test system.

		Based on a suggestion from Patrick Connor
		<connor@phreak.csd.sgi.com>, added -xansi to CFLAGS
		for IRIX 5.3 and 6.[234].

		Also at Patrick's suggestion changed Configure to
		propagate exact SunOS 4.1.x version to the main
		and library Makefiles.  This allowed the sunos413
		and sunos413cc Configure abbreviations to be
		shortened to sunos and sunoscc.

		Updated obsolete argument uses (-H changed to -n)
		in count_pf.perl* and watch_a_file.perl scripts.

		Adjusted Solaris 2.6 lsof for Beta_Update with tips
		from Casper Dik <casper@holland.Sun.COM>.

		Fixed a Solaris 2.4 TCP address reporting bug.

4.06		April 30, 1997
		Added a step to the Makefile clean rules that does
		a make clean in the lib subdirectory; suggested by
		Casper Dik <casper@holland.Sun.COM>.  (Configure's
		-clean argument already did this.)

		Fixed an incorrect awk argument in the sunos*)
		Configure stanza, reported by Alexandre Oliva
		<oliva@dcc.unicamp.br>.

		Added CD9660 (aka ISO) file system support to
		FreeBSD, NetBSD, and OpenBSD with mods and help
		from Kenneth Stailey <kstailey@disclosure.com>.
		(BSDI already had CD9660 support.)  While at it,
		added file descriptor system support to BSDI and
		FreeBSD.

		Added /kern file system support to OpenBSD.  The
		support wasn't extended to BSDI, FreeBSD, or NetBSD,
		because it requires Kenneth Stailey's changes to
		/sys/miscfs/kernfs/kernfs.h.

		Updated IRIX 6.3 support after getting access to
		a test system, provided by John Paul Morrison
		<John.Paul.Morrison@MultiActive.com>.  Improved
		the handling of IRIX 5.1 and greater FIFOs.

4.07		May 12, 1997
		Based on AIX problem reports from David Capshaw
		<David.Capshaw@SEMATECH.Org>, changed the aix*
		Configure script stanza to avoid -bnolibpath for
		gcc (which the GNU loader doesn't grok) and AIX
		below 4.1.4 (where -bnolibpath hasn't been tested
		or is known to be unimplemented), and to refuse to
		use gcc for compiling lsof in AIX versions below
		4.1 (because of possible structure alignment
		problems).  Updated 00FAQ appropriately.

		Added OpenBSD support for EXT2FS.  This support
		has yet to be tested.
		
		Tested lsof under OpenBSD 2.1.

		Activated /kern file system support for NetBSD when
		Configure senses that /sys/miscfs/kernfs/kernfs.h
		defines the kern_target structure.  This support
		has not been tested under NetBSD, although it has
		been tested under OpenBSD.

		Made some simple changes to the BSDI machine.h,
		suggested by Jeffrey C. Honig <jch@bsdi.com>.

		Improved handling of alternate dialect Configure
		abbreviations -- aix and aixgcc, hpux and hpuxgcc,
		solaris and solariscc, and sunos and sunoscc.

4.08		May 23, 1997
		Cleaned up dialect Makefile's, staring with a suggestion
		from Christopher Schanzle <chris@cam.nist.gov>.

		Improved Configure's -clean processing.

		Corrected bugs in Solaris lock reporting.

		Changed NetBSD Configure stanza to put -I/usr/include
		before -I/sys.

4.09		June 1, 1997
		Adjusted for latest FreeBSD 3.0 release.  This
		required adding a new kernel name cache module for
		reading BSD-form hashed kernel name cache entries,
		rnmh.c, to the lsof library, and adding a #define
		to each machine.h to select it.

		Activated rnmh.c for BSDI 2.1, BSDI 3.0, NetBSD
		1.2, and OpenBSD 2.1.

4.10		June 8, 1997
		Adjusted for Linux 2.1.x (x > 35) kernels with
		hashed task structure pointers.  Marty Leisner
		<leisner@sdsp.mc.xerox.com> and Jonathan Sergent
		<sergent@io.com> tested the adjustment.

		Replaced readdev() stat() calls with lstat() to
		reduce device table and cache entries with the same
		device number and inode values.  Added code to
		remove all remaining duplicates.  This fixes a
		Linux problem reported by Jonathan Sergent and
		makes device node name output predictable.

		Corrected a bug in UnixWare stream file handling
		that prevented searching for the stream file by
		its associated character device name.

		Added Pyramid code to determine Reliant UNIX clone
		major device number differently from that of DC/OSx.

4.11		June 12, 1997
		Changed Configure to sense that the PTX inp_[fl]addr
		members of the inpcb structure of <netinet/in_pcb.h>
		have a struct type and set HASINADDRSTR for use in
		PTX dnode.c and dsock.c tests.

		Changed PTX version 4.1.4 tests to use 4.1.3 instead.
		Carson Wilson <carson@mcs.com> reported the need
		to do this and tested the change.

		Fixed a block device table indexing bug in lib/rdev.c,
		reported by Carson Wilson.  The same bug was squashed
		in pyramid/ddev.c.

		Added code to the Pyramid Reliant UNIX kread()
		function to compensate for an address boundary
		error in the kernel's /dev/kmem driver.

		Verified that lsof compiles and works under AIX
		4.2.1.  Added an AIX test for the presence of NFS
		header files, defined HAS_NFS and adjusted AIX
		dialect sources accordingly.

		Based on a suggestion from Gaylord Holder
		<holder@phy.ucsf.EDU>, added DEC OSF/1 code to
		auto-detect the booted file, whence kernel symbol
		addresses are obtained.

4.12		June 24, 1997
		Corrected a device number sign extension problem
		in the reading and writing of device cache file.
		The problem was reported by Bela Lubkin <belal@sco.com>
		and he suggested a fix.

		Fixed an SCO stream device lookup problem.  The
		report and solution came from Bela Lubkin

		Enhanced the Configure script to enable cross-
		configuration of lsof, based on suggestions from
		Marty Leisner <leisner@sdsp.mc.xerox.com>.  A new
		documentation file, 00XCONFIG, describes the process.

		Made Pyramid OBJFS support conditional on the
		presence of supporting header files.  Corrected
		the Pyramid MkKernOpts script so it generates the
		necessary -D's for the Nile/Jolt architecture.
		Richard Coley <rcoley@pyra.co.uk> helped.

		Added another IRIX xfs_inode variant for 6.2, 32
		bits, no XFS rollup patch.

		Tested under UnixWare 2.1.2.

4.13		July 9, 1997
		Taught Pyramid lsof to grok ttyfs vnodes with help
		from Richard Coley <rcoley@pyra.co.uk>.  Fixed some
		minor bugs in Pyramid FIFO reporting.  Eliminated
		use of the Pyramid UCB compatibility library at
		Richard's suggestion.

		Eliminated reporting of "strange" inode numbers
		for SCO OSR 3.2v5.0.x HPPS files with help from
		Bela Lubkin <belal@sco.com>

		Modified port to service name lookup to use a small
		number of getservbyport() calls before reading the
		entire map with getservent().  Changed port reporting
		to represent a zero as `*' to be consistent with
		other prt number reporting tools like netstat.
		Casper Dik <casper@holland.Sun.COM> suggested these
		changes -- the getserv*() one to improve performance
		for large NIS service name maps.

		Changed all readdev() functions to make the absence
		of block devices a warning instead of a fatal error
		after Brian Redman <ber@ms.com> reported his IRIX
		6.4 system had no block devices.  (It really did
		have block devices, but readdev()'s lstat() use
		caused it to miss them in a directory symbolically
		linked from /dev/dsk->/hw/disk.)  Fixed Brian's
		real problem by changing the IRIX readdev() to use
		stat() on /dev nodes if a Configure test shows /hw
		is readable.  Extended the potential to do the same
		to all readdev() functions.

		For consistency and convenience changed some
		Configure abbreviations and dialect subdirectory
		names:  "decosf" abbreviation and "osf" dialect
		subdirectory name to "du"; "netbsd" dialect
		subdirectory name to "n+obsd"; "next3" abbreviation
		and "next" dialect subdirectory name to "ns"; "sco"
		abbreviation and dialect subdirectory name to "osr";
		"sgi" dialect subdirectory name to "irix"; and
		"unixware" abbreviation and dialect subdirectory
		name to "uw".

		Added #if/#endif clauses to the AIX rmdupdev()
		function to avoid clone processing for AIX versions
		less than 4.1.4.  The problem was reported by Toralf
		Foerster <toralf.foerster@io-warnemuende.de>, who
		supplied corrective code.

		Added support for new style NetBSD inode with i_ffs
		and i_e2fs union members.

		Improved Configure and 00FAQ information on Digital
		UNIX configuration subdirectory with suggestions
		from Brad Krebs <brad@EECS.Berkeley.EDU>.

4.14		July 22, 1997
		Reorganized the Solaris handling of the inode
		structure header file, ufs_inode.h, to eliminate
		VxFS structure definition conflicts for Solaris
		2.4, based on information from Greg Earle
		<earle@netbsd4me.jpl.nasa.gov>.

		Cleaned up some typos and confusion in Configure's
		help output, based on comments from Bela Lubkin
		<belal@sco.com>

		Added a 00DIALECTS file, containing UNIX dialect
		version numbers, that can be used by Configure and
		the man page.

4.15		August 15, 1997
		Aligned `Configure -help` output better.  Removed
		Configure's 2.6 Beta test adjustments.

		Added improved Solaris VxFS configuration and
		handling, based on information from Greg Earle
		<earle@netbsd4me.jpl.nasa.gov>.

		Added socket state -- TCO or TPI -- for socket
		files at the suggestion of Ian Fitchet
		<I.D.Fitchet@ftel.co.uk>.

4.16		September 25, 1997
		Added reporting of TCP/TPI queue lengths and window
		sizes ala netstat to NAME column.  Added -T option
		to select or deselect TCP/TPI info reporting.
		(Window sizes are only reported for Solaris.)
		Fixed anomalies along the way in SIZE/OFF processing
		for some dialects.

		Fixed service name argument processor to allow
		minus signs as part of the name.  Consequently this
		disallows names with embedded minus signs from
		being specified as the start of a range.

		Added 00FAQ entries explaining why lsof won't find
		a file being edited with vi, why window sizes aren't
		reported for all dialects, and what the "no more
		information" message means.

		Forced Pyramid CC to be /usr/ccs/bin/cc to avoid
		accidental use of the BSD variant in /usr/ucb/cc.

		Added support for Linux glibc2, including a Configure
		test; cross-Configure support (00XCONFIG); and much
		unfortunate and risky sleight-of-hand in lsof Linux
		dialect header and source files, forced upon lsof
		by incompatibilities between Linux kernel and glibc2
		header files.

		Included in scripts/identd.perl5 a Perl 5 implementation
		of an identd server, using lsof, provided by Kapil
		Chowksey <kchowksey@hss.hns.com>.

		Updated IRIX 6.4 xfs_inode guess.

4.17		October 14, 1997
		Added -V option for verbose search result reporting.
		Verbose reports are prepared for failure to locate
		file names, command names, Internet addresses or
		files, login names, NFS files, PIDs, PGRPs, and UIDs.

		Augmented Linux NFS file test to cope with kernels
		whose NFS code is in a loadable module.  Need for
		the test was pointed out by Jonathan Sergent
		<sergent@csociety.ecn.purdue.edu>.  The change
		required that Linux have private dmnt.c source,

		Completed a Linux 2.1.57 port on a system provided
		by Jonathan Sergent.

4.18		October 25, 1997
		Eliminated memory leaks in alloc_lfile(), lkup_port(),
		and NeXTSTEP's process_text() function.

		Added recognition of OpenBSD 2.2 in Configure,
		supplied by Kenneth Stailey <kstailey@disclosure.com>.

		Consolidated print_file() functions to use the one
		in lib/prtf.c.  Made it configurable and changed
		it to size print columns dynamically.

		!!! WARNING !!!

		WITH DYNAMICALLY SIZED PRINT COLUMNS LSOF 4.18
		PRODUCES OUTPUT SIGNIFICANTLY DIFFERENT FROM THAT
		OF PREVIOUS REVISIONS.  LINES ARE GENERALLY SHORTER
		AND THERE IS GENERALLY LESS BLANK SPACE BETWEEN
		COLUMNS AND THE ITEMS IN THEM.  THERE ARE NO LONGER
		ANY SPACES BETWEEN DEVICE NUMBER ELEMENTS, ONLY
		COMMAS.

		!!! WARNING !!!

		Added special types and print specification modifiers
		for file size and offset to handle UNIX dialects
		with 64 bit sizes and offsets.  Paul Eggert
		<eggert@twinsun.com> reported the need for this
		addition.

		With Paul Eggert's help picked lint from the lsof
		library, the main level lsof sources, and the Sun
		dialect sources.

		Added documentation, including the file 00LSOF-L,
		about the lsof-l LISTSERV.

		Added support for Reliant UNIX on the RM600.  Bob
		Passarella <rmpassar@pyramid.com> supplied the
		changes.  Kevin Smith <kevin@pyramid.com> helped
		arrange test systems.  While incorporating Bob's
		changes, modified lib/rnch.c to handle kernel ncache
		structs whose name is accessed via a char *, rather
		than in a char array.

		Changed #include order of <sys/socketvar.h> for
		Solaris 2.x.  W. Richard Stevens <rstevens@kohala.com>
		pointed out the need to do this.

4.19		October 30, 1997
		Changed Pyramid Reliant RM600 proc scan to skip
		SSYS (p_flag) processes, since they don't seem to
		have a readable u_cdir vnode.

		Enabled Pyramid Reliant UNIX kread() work-around
		for DC/OSx, too, since its read(/dev/kmem) kernel
		driver seems to share the page boundary bug this
		work-around circumvents.

		Changed SzOffFtm_d and SzOffFtm_dv (new formats at
		4.18 to print size and offset) from signed to
		unsigned.  Setting them signed at 4.18 was an
		oversight.

		Plugged a memory leak that caused the loss of 130
		bytes per repeat-mode pass.  Fixed it with a simple
		work-around in main().  Lionel Cons <Lionel.Cons@cern.ch>
		reported the leak.

4.20		November 11, 1997
		Tested under BSDI 3.1.

		Added support for Reliant UNIX Mesh IPC files with
		help from Billy Ho <bho@pyramid.com>.

		Added support to Digital UNIX lsof that uses the
		libmsfs tag_to_path() function (when it exists) to
		look up AdvFS path names.  The idea and sample code
		came from Dean Brock <brock@cs.unca.edu>.  Converted
		Dean's code into more general purpose support for
		private name cache lookups via the HASPRIVNMCACHE
		#define in the dialect machine.h file and code
		conditional on it in the printname() function.

		Taught Digital UNIX lsof to recognize NFS3 file
		systems.  Corrected Digital UNIX lsof DEVICE column
		alignment.

4.21		December 1, 1997
		Squashed bug, introduced at revision 4.18, that
		resulted in double reporting of each selected PID
		when terse mode (-t) was specified.

		Corrected minor bug, also introduced at 4.18, that
		might cause an extra print_proc() pass when one
		PID has been specified.

		Added -R to lsof options in scripts/idrlogin.perl*.
		The option should have been there -- it was supposed
		to be mandatory for PGRP reporting -- but a bug,
		corrected in revision 4.18, previously made -R
		unnecessary.

		Enabled configuring for BSDI 4.0 per a suggestion
		from Jeff Honig <jch@bsdi.com>.

		Enabled replacement of scoff_t with off64_t (scoff_t
		is used to type r_size and r_localsize in the rnode
		struct) for IRIX 5.3 systems that have the NFS
		kernel rollup patch (1477).  This compensates for
		SGI's failure to distribute an updated <sys/fs/rnode.h>
		with their patch.

		Validated under Linux 2.0.3[12], Linux 2.1.64, and
		NetBSD 1.3.

		Added FreeBSD root directory reporting, courtesy
		of Dan Nelson <dnelson@emsphone.com>.

4.22		December 15, 1997
		Made adjustments for Linux 2.1.7[02].

		Improved NAME information for Linux UNIX domain
		sockets.

		Added option +|-M to control the reporting of
		portmapper registration information in square
		brackets after the TCP or UDP port or service name.
		Kenneth Stailey <kstailey@disclosure.com> suggested
		the feature and provided sample code from OpenBSD.
		Reporting is disabled by default in the distribution
		and may be enabled with +M; if lsof is compiled
		with HASPMAPENABLED (e.g., from machine.h), reporting
		will be enabled by default and can be disabled with
		-M.

		Changed the -w option to +|-w to match the syntax
		of the +|-M option and to eliminate any options
		that flip meaning when a symbol is defined at
		compile time.  For both +|-M and +|-w, specifying
		`-' when the default state is disabled or specifying
		`+' when the default state is enabled causes no
		problems.

	!!!WARNING  The -w option has changed in lsof 4.22.  WARNING!!!

		Made the +|- prefix legal for most options, but
		didn't document it in the man page or help panel.
		Most options that disable something -- e.g., -b,
		-C, -n, -P -- now disable when the prefix is `-'
		and enable when it is `+'.  Since the states these
		options disable are enabled by default, I chose to
		avoid documentation complexity and confusion by
		not mentioning that they can be used with the `+'
		prefix.

		Condensed the help panel.

		Made sure Digital UNIX Configure stanza puts normal
		include path (e.g., /usr/include) before system
		include paths.

		Added IPX socket information reporting to Linux
		with help from Jonathan Sergent <sergent@purdue.edu>.

4.23		January 16, 1998
		Fixed conflict arising from the quondam replacement
		of the Sun Solaris <netdb.h> with a BIND/BSD version.

		With help from Jonathan Sergent <sergent@purdue.edu>
		developed a /proc file system based Linux lsof.
		It needs some Linux 2.1.x release to work -- I'm
		not sure which, but I tested under 2.1.72, 2.1.76,
		and 2.1.79.  The Configure script selects special
		sources for this lsof, so the full lsof distribution
		now contains both /dev/kmem and /proc based sources
		for Linux lsof.  An optional kernel mod, written
		by Jonathan, enhances the /proc-based lsof ability
		to recognize IPX socket files.  Reorganized and
		augmented the Linux sections in 00FAQ to explain
		the two types of Linux lsof.

		Defined DOSTAT_FUNCTION for dostat() in misc.c to
		select the function, stat() or lstat(), it will use.
		DOSTAT_FUNCTION is normally undefined, defaults to
		lstat(), and is only defined for the /proc-based
		Linux lsof in its dlsof.h.

		Made conditional on the presence of IRIX 6.4 XFS
		rollup patch #6 an XFS node change introduced in
		revision 4.16.   Identified the patch with help
		from John R. Vanderpool <fish@daacdev1.gsfc.nasa.gov>.

		Added NFS node compensation for NetBSD 1.3.  The
		code and suggestion for it was supplied by Jean-Luc
		Richier <richier@imag.fr>.

		Added diagnostic messages to the /dev/kmem-based
		Linux Mksrc script to report errors during the
		construction of the kernel name cache header file,
		kncache.h.  Added 00FAQ information on kncache.h.

		Added a new Linux test host, running 2.0.33 and
		GlibC, provided by Steve Logue <stevel@mail.cdsnet.net>.

		Ported to PTX 4.1.3 and 4.4.2.  Adjusted lib/rnch.c
		for 4.4.2 to allow customization f additional ncache
		struct element names.

4.24		January 28, 1998
		Changed /proc-based Linux lsof offset test to use "/"
		instead of "/etc/passwd".

		To assist Jim Mintha <jim@geog.ubc.ca> with the
		packaging of lsof for Debian Linux, added a
		DEBIAN_LINUX_LSOF #define to trigger the activation
		of special system map file location code in the
		/dev/kmem-based dproc.c.

		Applied modification to dialects/bsdi/dlsof.h from
		Ingimar Robertson <iar@skyrr.is>, enabling lsof to
		compile for BSDI BSD/OS 2.0.

		Corrected a documentation error in 00DCACHE, pointed
		out by Thomas Anders <anders@hmi.de>.  The error was
		created when the -V option was added at lsof 4.17.

		Made IRIX 5.3 through 6.3 lsof aware of IRIX SCSI
		tape devices (e.g., /dev/tape).  Dave Olson of SGI
		and Randolph J. Herber of FNAL provided valuable
		advice, and Igor Schein <ischein@air-boston.com>
		helped test.

		Added a machine.h symbol (NEVER_HASDCACHE) that
		prevents Customize from offering to change HASDCACHE.
		The symbol may appear anywhere in machine.h --
		e.g., in a comment.  Included the symbol in a
		comment of the HASDCACHE section of the /proc-based
		Linux lsof machine.h, and accompanied it with
		warnings against #define'ing HASDCACHE.  Did the
		same thing for WARNDEVACCESS (NEVER_WARNDEVACCESS
		is the suppressant.)

4.25		February 7, 1998
		Corrected an IRIX mis-cast of file offset (position).
		Igor Schein <ischein@air-boston.com> reported the
		problem.  This was offered as a patch to 4.24.
		Picked some lint Igor pointed out.

		At Igor's suggestion added an optional decimal
		digit size argument to the -o option.  This argument
		specifies how many file offset decimal digits can
		follow "0t" before lsof switches to a "0x..." form.
		The argument size specification doesn't count the
		two characters of the "0t".  A size of 0 means
		unlimited.  The default is OFFDECDIG (8), preserving
		compatibility with existing lsof output; it can be
		changed by the lsof builder.  When size is specified
		with -o it does not force offset display; -o without
		a size still must be used to do that.

		Added an IRIX 6.2, 32 bit system, XFS node patch,
		courtesy of Ulrich Bernhard <rzubu@rzu.unizh.ch>.

		For my own convenience enabled Configure to use
		/usr/local/bin/gcc for NeXTSTEP.  This allows
		circumvention of a gcc 2.8.0 ranlib problem on
		my test 3.1 `040 cube.

		Added flags recommended by the RISC/os and Ultrix
		compilers for the updated (and longer) main.c.

		Updated FreeBSD cd9660_node.h Configure test.

4.26		February 17, 1998
		Added shared process group processing for IRIX 5.3,
		and IRIX 6.1 and above, based on investigation of
		a bug report from Igor Schein <ischein@air-boston.com>.
		Igor helped test this addition.

		Improved handling of file system name arguments.
		It's now done in a manner similar to fuser.  The
		-f argument forces path names to be considered as
		simple files, rather than as file system names.
		The +f flag forces them to be considered as file
		system names.  Normally path arguments are considered
		file system names when they match a mounted-on
		directory in the system's mount table, or when they
		match a mounted file system's block device.  Igor
		Schein helped test this change.

		Igor also suggests that the proper compilation of
		the IRIX 6.4 proc structure after patch 2536 has
		been installed may need -DPIOMEMOPS.  So lsof's
		MkKernOpts script was updated to propagate that
		option from CCOPTS in /var/sysgen/system/irix.sm,
		even though patch 2536 doesn't add -DPIOMEMOPS to
		it.  Added a 00FAQ item on this patch.

		Added a fatal warning message about names forced
		to be file system names (with +f) that have no
		match in the mount table.

		Improved the -V message for files and file systems
		for which no open files were found.  Added reporting
		of /proc file and file system search failures.

		Did some code reorganization to combine the multiple
		ck_file_arg() functions into one.  Moved the new
		function from the library to the top level and put
		it in arg.c; moved the usage function from arg.c
		to a new top-level source file, usage.c, to balance
		top-level source file size.  The new usage.c depends
		on version.h; arg.c no longer does.

		Added flag recommended by the DU compiler for the
		updated (and longer) main.c.

4.27		March 6, 1998
		At the request of Igor Schein <ischein@air-boston.com>
		added a conditional repeat mode option, using the
		`+' prefix to the `r' option.  +r operates as does
		-r with the exception that it exits the first time
		no open files have been listed during a cycle.
		The exit code will be zero when any open files have
		been listed; one, if none were ever listed.

		Ported lsof to HP-UX 11.0 with the help of Richard
		Allen.  This port hasn't been tested on a 64 bit
		kernel; I'm sure it won't work there without more
		mods.  It may not work on PA 2 architectures; I've
		only tested it under PA 1 and a separate, busy
		tester reported PA 2 problems that I've been unable
		to investigate.

		In anticipation of getting access to a 64 bit HP-UX
		kernel and the pending start of the Solaris 2.7
		Beta test (It will have 64 bit kernel addressing.),
		started adding support for 64 bit kernel pointers.
		This includes: ubiquitous use of the KA_T cast
		for kernel pointers; a format to print them,
		KA_T_FMT_X; a function to print them, print_kptr();
		and modifications to most kernel-related functions
		-- e.g., process_file(), process_node(),
		process_socket(), readvfs() -- to process kernel
		addresses as KA_T types.

		Fixed minor bug in handling path name arguments
		that end with a `/'.

		Removed support for RISC/os; its test system is no
		longer available.

		Made modifications to insure that lsof output
		doesn't contain non-printable characters.  All such
		characters are now printed in the printf form
		"\x%02x".  Several new common functions were
		installed in misc.c to support "safe" printing.
		This second major modification in 4.27 to common
		and dialect code could have introduced bugs not
		yet detected.

4.28		March 10, 1998
		Refined unprintable format to use \b, \f, \r, \n,
		\t, and ^* (for CTRL) forms.  Corrected omission
		of safestrprt() use for field output command name.
		These changes were offered as patches to 4.27.

		Made space an unprintable character (\x20) in the
		COMMAND column; printable elsewhere, including the
		NAME column, field output, and error messages.

		Made sure FD column is parsable as a single entity
		-- i.e., has no embedded space.  Thus, if the access
		mode is unknown but there is a known lock mode, (a
		very rare case) the access mode will be printed as
		`-'.

		Picked lint with gcc 2.8.0 under Solaris 2.6.

		With the help of Dave Olson of SGI identified a
		proc struct element that should have been added to
		<sys/proc.h> by IRIX 6.4 patch 2536.  Added a
		work-around for it to the lsof Configure script.
		Igor Schein <ischein@air-boston.com> identified
		that the patch caused a proc structure length
		complaint from lsof.  Removed an obsolete 00FAQ
		item on the patch, installed at lsof 4.26, explaining
		that no solution was yet available.

		Added a 00FAQ item on how BIND installs its own
		header files, including <netdb.h>, which may cause
		the rpcent struct definition to vanish.  Solaris
		has an automatic lsof work-around, but that hasn't
		been (and probably can't be) propagated to all
		dialects supported by lsof.  The 00FAQ item recommends
		re-installation of the vendor header files that
		BIND has replaced.  (Others include <rpcent.h>,
		<sys/bitypes.h>, and <sys/ctypes.h>.)

		Made AIX AFS fixes.

4.29		March 26, 1998
		Corrected bug in Internet address matching.  The
		matching formerly stopped if the foreign address
		matched, thus failing to check the local address
		for a match.  That led to a possible false "Internet
		address not located" warning (i.e., in response to
		-V) about the local address, when both foreign and
		local addresses were specified with -i.  This
		correction was offered as a patch to 4.28.

		Changed readmnt() usage in an attempt to defer
		mount readlink() and stat() delays until they are
		necessary.

		Corrected two bugs in the Digital UNIX readdev()
		function.  Made the correction available as a patch
		to 4.28 and regenerated the 4.28 DU binaries.

		Added a missing argument to a print-kptr() call in
		the HP-UX dsock.c.  The missing argument causes a
		fatal gcc error.  The problem was reported by Eyal
		Shaynis <eyal.shaynis@telrad.co.il>.  The fix was
		offered as a 4.28 patch.

		Adjusted for Digital UNIX 4.0D; the spec_node
		structure is now defined in <sys/specdev.h>.  Kris
		Chandrasekhar <Kris.Chandrasekhar@digital.com>
		identified the need for the adjustment.

		Incorporated a bug fix from Brian McAllister
		<mcallister@mit.edu> to the DU readmnt() function.
		This fix was offered as a patch to 4.28.

		Added "safe" printing to a SunOS clone device error
		message.

		Corrected bug in tabling of Linux /proc-based lock
		info.

		Corrected bug in handling of SunOS TLI streams.
		Dan Farmer <zen@trouble.org> reported the problem.

		Added a Solaris 2.6 work-around to keep the BIND
		<sys/bitypes.h> from colliding with the Solaris
		<sys/int_types.h>.

		Strengthened the Configure test for /proc-based
		Linux lsof, based on a report from Marty Leisner
		<leisner@sdsp.mc.xerox.com>.

		Tested on OpenBSD 2.3.

		Made AIX changes that allow use with 3.2.5.  The
		changes were suggested and tested by Brett Hogden
		<hogden@rge.com>.

		Added Solaris 2.6 AFS support.  Disabled reporting
		of some node numbers for Solaris 2.5 and above open
		AFS files.  The node number computation algorithms
		used for SunOS 4.1.x and Solaris less than 2.5 no
		longer always work under Solaris 2.5 and above.

4.30		April 9, 1998
		Corrected a pid structure member naming error for
		UnixWare < 2.1.2.  The problem was reported by
		Richard van Meurs <vanmeurs.anva@atriserv.nl>.  He
		supplied the correction.  This was offered as a
		patch to 4.29.

		Had a report from Igor Schein <ischein@air-boston.com>
		that IRIX 6.4 patch 2839 is another SGI kernel
		patch, along with 2536, that changes the size of
		the proc structure in the kernel without changing
		the proc structure in <sys/proc.h>.  Upon further
		investigation found that the effect of these patches
		on the proc structure is not consistent.  Therefore,
		dropped the Configure patch test for IRIX 6.4 and
		made the code in irix/dproc.c slightly more tolerant
		of proc structure size differences for IRIX 6.4.
		Igor help test the change.

		Corrected Solaris >= 2.5 AFS inode number generation.
		Craig Everhart <Craig_Everhart@transarc.com> helped
		find the cause of the problem.  This was offered as
		a patch to 4.29.

		Refined the Linux /dev/kmem-based glibc evasion
		for the timeval structure to make it work with
		glibc version 2.0.7.  This required defining a new
		global symbol, TIMEVAL_LSOF, default timeval, that
		the /dev/kmem-based Linux lsof can set to its
		private glibc timeval name, distinct from the kernel
		timeval name.

		Added support for Alpha to the /dev/kmem-based
		Linux lsof.  Alexandre Oliva <oliva@dcc.unicamp.br>
		provided a test system.  Added an item to 00FAQ
		about lsof, the Alpha processor, and Linux.

		Added a 00FAQ item about lsof year 2000 compliance.
		Basically it says lsof is probably compliant,
		because its only date or time computations are done
		with time_t values, but I haven't done any specific
		Y2K validation.  I don't have plans to do any.

		Added support for UnixWare 7.  Chris Daniels
		<chrisd@dlpco.com> provided a test system and Don
		Draper <dond@sco.COM> provided technical information.
		Added BFS and SFS file system support to lsof for
		UW 2.1.[12] and 7.

		Updated Solaris VxFS support for VxFS 3.2.1.  Greg
		Earle <earle@netbsd4me.jpl.nasa.gov> reported the
		need for the update.  Greg and Roger Klorese
		<rogerk@veritas.com> provided technical information.
		Scott McClung <mcclung@primenet.com> tested.

		Changed IRIX XFS patch detection in anticipation of
		learning there are multiple XFS patches for IRIX 6.4
		that require different versions of the lsof-invented
		xfs_inode structure.

4.31		April 21, 1998
		Added a VxFS #if/#endif wrap to a section of the
		HP-UX dnode.c that wasn't properly protected.  The
		problem was reported by  Peter Klosky <PKlosky@bdm.com>.
		This was offered as a patch to 4.30.

		Added support for Solaris 2.7 (first Beta release).
		Mike Sullivan <Mike.Sullivan@Eng.Sun.COM> provided
		technical advice and helped test.  Charles Stephens
		<cfs@jurassic.eng.Sun.COM> also helped test.

		Fixed bug in /proc-based Linux that caused it to
		access /proc/mounts excessively.  Marty Leisner
		<leisner@sdsp.mc.xerox.com> provided a syscall
		trace that identified the bug.  The fix was offered
		as a patch to 4.30.

		Adjusted the IRIX 6.4 private structure definition
		for the XFS node to accommodate patch 2970.  Igor
		Schein <ischein@air-boston.com> identified the
		patch and the required adjustment.
	
4.32		May 11, 1998
		Corrected Solaris 2.7 code for reporting PCFS
		(floppy disk) node numbers.  Casper Dik
		<casper@holland.sun.com> supplied the fix.  The
		fix was offered as a patch to 4.31.

		Corrected a bug in conditional repeat mode handling
		pointed out by Igor Schein <ischein@air-boston.com>.
		This was offered as a patch to 4.31.

		Improved reporting of AIX open(/dev/memory device)
		errors.

		Corrected a Solaris < 2.5 KA_T declaration error,
		pointed out by Robert Kiessling <robert@easynet.de>.
		Changed KA_T from a #define to a typedef for all
		dialects to prevent future problems of this kind.

		Changed the sample Perl 5 script big_brother.perl5
		to report a four digit year from localtime().

		Added support for AIX 4.3[.1].  Bill Pemberton
		<wfp5p@tigger.itc.virginia.edu> provided a test
		system.  Andrew Kephart <akephart@austin.ibm.com>
		and Tom Weaver <tvweaver@austin.ibm.com> provided
		technical assistance.  Niklas Edmundsson
		<nikke@ing.umu.se> did 4.3.1 testing.

		Added -qmaxmem option to CFLAGs for an AIX compilation
		with an xlc version 4.x compiler.

		Adjusted Linux socket handling for changes in the
		AX25 members of the sock struct.   Richard Green
		<rtg@tir.com> pointed out the problem.  Tested
		/dev/kmem-based lsof under Linux 2.0.34.

4.33		May 22, 1998
		Added generic IPv6 support to common lsof sources
		and specific IPv6 support to AIX sources.  Andrew
		Kephart <akephart@austin.ibm.com> supplied the
		additions and helped with testing.  Bill Pemberton
		<wfp5p@tigger.itc.virginia.edu> provided a test
		system.  The modification affected sources for
		every dialect, whether it supports IPv6 or not, by
		changing the interfaces to the common Internet
		address function ent_inaddr().

		Added support for the NetBSD UVM virtual memory
		system.  Paul Kranenburg <pk@cs.few.eur.nl> supplied
		technical details.

		Bracketed HP-UX 11 use of <sys/spinlock.h> with
		#if/#endif _KERNEL.

		Corrected printing of PCB address in DEVICE column
		for IRIX.

4.34		June 26, 1998
		Updated 00FAQ to discuss TCP and UDP ports private
		to the AIX kernel and 00README to describe how ACLs
		can be used to give lsof permission to read the
		kernel memory devices.  Add information to 00FAQ
		and 00README about other OpenBSD architectures
		where lsof is reported to compile and run.  Added
		section to 00FAQ discussing how an incorrect loader
		path environment variable value can prevent lsof
		from loading correctly.

		Improved Solaris namefs and doorfs support so that
		it is now possible to search for an open VDOOR file
		by the path name of its fattached file system
		object.  Igor Schein <igor@txc.com> requested the
		ability to do such a search.  Even with the change,
		lsof can't always identify path names for open
		VDOOR files.

		Also at Igor's request, improved reporting of
		information on open Solaris VCHR files that share
		a common vnode, and Solaris UNIX domain socket
		files.

		Corrected print_kptr() argument error in PTX dnode.c,
		reported by Mark Price <mprice@sequent.com>.
		Compensated for ncache element naming differences,
		introduced at PTX 4.4.2; Kurtis D. Rader
		<krader@sequent.com> reported the problem.

		Changed output column title from INODE to NODE to
		better reflect the column's contents of node IDs
		for more than just inodes.

		Improved Configuration and processing for Solaris
		AFS.  Corrected AIX AFS 3.4 afs_rwlock_t simulation.

		Corrected a cast problem with two AIX knlist()
		calls, thus quieting an AIX 4.2.1 compiler argument
		type warning.  Jon Champlin <champlin@us.ibm.com>
		reported the problem.

		Added support to most dialect versions (exception:
		/proc-based Linux) to warn when the identity of
		the kernel where lsof was compiled doesn't match
		the running identity.  The warning can be suppressed
		with -w.  Note: determining AIX state requires
		calling oslevel, a potentially slow operation.
		Jon Champlin <champlin@us.ibm.com> suggested this
		addition.

	!!!! WARNING !!!!    !!!! WARNING !!!!    !!!! WARNING !!!!

		Those using the lsof cross-configuration capability
		(see 00XCONFIG), should be aware that the kernel
		identity test feature introduces two new basic
		cross configuration environment variables, LSOF_ARCH
		and LSOF_VSTR.

	!!!! WARNING !!!!    !!!! WARNING !!!!    !!!! WARNING !!!!

		Identified a situation where a Solaris UNIX domain
		socket name is known and can be searched for by
		name; added the necessary code.

4.35		July 17, 1998
		Made the kernel identity check an option with the
		HASKERNIDCK #define in machine.h.  Enabled altering
		of HASKERNIDCK with the Customize script.  Added
		a clause to the helop output that indicates the
		build-time HASKERNIDCK status.

		Added more information to the NAME column for
		Solaris UNIX domain sockets.  Made them searchable
		by their clone device path name.  Igor Schein
		<igor@txc.com> requested this.

		Completed the HP-UX 11 port with support for its
		optional 64 bit kernel.  Rich Rauenzahn
		<rrauenza@cup.hp.com> provided a test system.
		Corrected errors with HP-UX 11 lock reporting and
		private kernel structure and type definitions.
		Added support for HP-UX NFS3 files.

		Limited mount table warnings -- e.g., when -b is
		used -- to one set per mount point.

		Fixed some mount table sacnning and usage bugs,
		including one in Solaris, reported by Kjetil Torgrim
		Homme <kjetilho@ifi.uio.no>.

4.36		August 4, 1998
		Made corrections and additions to IPv6 support and
		to AF_ROUTE socket handling, supplied by Jean-Luc
		Richier <Jean-Luc.Richier@imag.fr>.  Jean-Luc's
		additions provide IPv6 support for the Inria IPv6
		implementations on FreeBSD and NetBSD.

		Fixed two Solaris 2.5, 2.5.1, 2.6 and 2.7 TCP and
		UDP host name or IP address reporting bugs, reported
		by James Mathiesen <James-Mathiesen@deshaw.com>.
		This fix was offered as a patch to 4.35.

		Updated the Customize script to cause ENTER to use
		all defaults.  Amir J. Katz <amir@ndsoft.com>
		suggested this and helped test the changes.

		Updated Solaris ICMP and IP stream handling, based
		on a report from Igor Schein <igor@txc.com>.

		Fixed a bug in the Digital UNIX mount table handling,
		reported by Bob Ward <bward@thehartford.com>.
		While working on the bug, found and updated some
		obsolete AdvFS code.  This fix was offered as a
		patch to 4.35.

4.37		September 15, 1998
		Deactivated SGI IRIX support and archived revision
		4.36 sources and binaries in pub/tools/unix/lsof/OLD.

		Improved performance of FD searching.  This was
		offered as a patch to 4.36.

		Amir J. Katz <amir@ndsoft.com> pointed out that
		ranlib isn't needed for AIX or Solaris.  Made
		appropriate Configure script changes.

		Fixed a file offset reporting bug for HP-UX VCHR
		and VBLK device nodes located on a VxFS root.  Doug
		Siebert <douglas-siebert@iowa.edu> reported the
		bug.  The fix was offered as a patch to 4.36.

		Resolved an HP-UX root device name reporting bug,
		partly caused by an out-dated local copy of the
		<sys/mount.h> mount structure, by generating a
		local header file with the structure that can be
		compiled without needing _KERNEL defined.  Doug
		Siebert also reported this bug.

		Changed some dialect source code -- Digital UNIX,
		Solaris, SunOS, and UnixWare -- to make more
		consistent with ps the user ID lsof reports in the
		USER column.  Added a 00FAQ entry about it.  Igor
		Schein <igor@txc.com> reported the Solaris and
		SunOS lsof inconsistencies with what ps(1) reports.

		Ported lsof to Pyramid ReliantUNIX 5.44.

		Added brackets as comments to case, do, done, else,
		endif, esac, if, and while statements in Configure
		to assist in navigating its clauses.

		Added more Linux 2.0.x glibc work-arounds.

		Added support for UnixWare 7.0.1.

		Ralph Forsythe <ralph@contact-paging.com> provided
		a new FreeBSD test system.

4.38		November 25, 1998
		Added support for recent FreeBSD 3.0 distributions.
		A 3.0 test system was provided by David O'Brien
		<obrien@NUXI.com>.  This was offered as a patch
		to 4.37.

		Updated the scripts/idrlogin.perl* files to look
		for sshd processes in addition to rlogind and
		telnetd ones.

		Added support for DU 5.0 Beta.  Berkley Shands
		<berkley@cs.wustl.edu> provided a test system.

		Added support for OpenBSD 2.4 with changes supplied
		by Kenneth Stailey <kstailey@disclosure.com>.

		Changed the Solaris 2.7 tests and documentation to
		Solaris 7.

		Made some changes to the header files for NeXTSTEP
		3.3 and added support for OpenStep 4.x with help
		from Michael A. Hovan III <mhovan@BLaCKSMITH.com>
		and Carl Lindberg <Carl_Lindberg@BLaCKSMITH.com>.
		The combined dialect subdirectory is named n+os.
		One of Carl's changes propagates RC_CFLAGS to the
		library Makefile.  Timothy J. Luoma <luomat@peak.org>
		helped test under NEXTSTEP 3.3 and OpenStep 4.2.

		Made UW 7.x version sensitive to the presence of
		ptf7038.  Added peer PCB address to Unix domain
		socket Name column, even when a path name has been
		located.  Information for these changes was supplied
		by Francis Le Bourse <flebourse@intelcom.fr>.  Lee
		Penn <lee@dlpco.com> provided a test system.

		Tested lsof under OSR 5.0.5 on a test system also
		provided by Lee Penn.

		Made path name argument processing more tolerant
		of errors per a suggestion from Julian Gordon
		<julian@cadence.com>.

		Acquired a new UnixWare 2.x test system, generously
		provided by Computer Classroom, Inc. -- Matthew
		Thurmaier <matt@compclass.com>, Ken Laing
		<ken@compclass.com>, and Andrew Merril
		<andrew@compclass.com>. Updated Configure to accept
		a UnixWare version of 2.1.3.

		Updated kmem-based lsof for Linux 2.0.36.

		Updated NetBSD sources for a change in a UVM virtual
		mapping header file.

		Corrected a cache allocation bug in Sun format
		kernel name cache handling.  The bug only shows up
		when the kernel name cache is inaccessible.

4.39		December 29, 1998
		Corrected problems with large device number handling
		for 64 bit Solaris 7.  The problems were reported
		by Steve Bellenot <bellenot@math.fsu.edu>.  Steve
		helped test the fixes.  The fixes were offered as
		two patches to lsof 4.38.

		Improved FreeBSD Configure operations for header
		files that must be obtained from the kernel source
		tree, based on a suggestion from David O'Brien
		<obrien@NUXI.com>.

		For Bela Lubkin <filbo@deepthought.armory.com> made
		optional with +f[cfn] the display of file structure
		address, shared use count, and node structure
		address.  /proc-based Linux doesn't implement this
		feature, because it doesn't read kernel structures
		from kernel memory.  Modified the PTX -X option to
		take advantage of the new file structure display
		option.  Added shared.perl5 to the scripts/
		subdirectory to provide an example of how +f[fn]
		might be used to track shared file descriptors and
		files.

		Added more /dev/kmem-based Linux glibc evasions,
		provided by Jeff Johnson <jbj@redhat.com> and Maciej
		Lesniewski <nimir@kis.p.lodz.pl>.  Jeff helped test
		them on various Linux architectures.

		Tested on AIX 4.3.2; no changes were required.
		Doug Crabill <dgc@purdue.edu> provided a test
		system.

		Fixed -c option to detect missing command name when
		following option begins with `+'.

4.40		January 25, 1999
		Added support for using the CDS compiler for Reliant
		Unix 5.44 and above.  Made Reliant Unix MIPC support
		optional, dependent on the presence of <sys/mipc.h>.

		Based on a report from Michael Schmitz <MSchmitz@lbl.gov>
		that /dev/kmem-based lsof misbehaves on a Linux
		2.0.x m68k kernel without module support, made the
		absence of query_module() or get_kernel_syms()
		Linux kernel support a fatal error.  Updated relevant
		sections of 00FAQ to reflect the change.

		Added the ability to force the Linux Configure
		stanza to use the /proc or /dev/kmem source base
		via a LINUX_BASE environment variable specification.
		This is a cross-configuration assist.

		Added "+D <dir>" and "+d <dir>" options for directory
		searching.  +D searches the entire tree, starting
		at <dir>, including <dir>, its contents, and its
		subdirectory branches; +d searches only <dir> and
		its contents, but not its subdirectory branches.
		Improved lsof's searching of the specified name
		list to compensate for acticipated long lists from
		+d and +D.

		Made an egrep in the Solaris Configure stanza usable
		by the standard and XPG4 egrep's.  Kenneth Stailey
		<kstailey@disclosure.com> pointed out the improvement.

		Fixed bugs in /dev/kmem-based Linux and UnixWare
		Unix domain socket name searching.

		Changed a Linux Alpha #include to be conditional
		on the presence of its named header file, so that
		lsof will compile on Red Hat 5.1 and 5.2 (Linux
		kernel 2.0.35) where the header file is absent.
		The problem was reported by Alexandre Oliva
		<oliva@dcc.unicamp.br>.

		Fixed an AIX 4.3+ bug in procinfo struct space
		allocation, reported by Jeff Stewart <jws@purdue.edu>.
		This was offered as a patch to 4.39.

		Added an lstatsafely() function to offer the same
		isolation for lstat() calls that statsafely() offers
		for stat() calls.  This made DOSTAT_FUNCTION no
		longer necessary, so deleted it.

		With help from Laurent P. Montaron <lpm@sequent.com>
		ported lsof to PTX 4.4.4.  Laurent did a monumental
		job of identifying TCP/IP changes by their TCP
		version, rather than by their PTX (With mix 'n
		match PTX and TCP/IP versions, the PTX version
		often has no bearing on the TCP/IP version.), and
		changed the Configure script and pre-processor
		#if/#else/#endif blocks to match.  He also updated
		Unix domain socket handling for PTX TCP/IP versions
		4.5 and above.

		Updated CLIENT handle acquisition of fill_portmap()
		in print.c to use the more modern RPC function
		clnt_create() in place of clnttcp_create() where
		possible.  PTX 4.4.4 requires clnt_create().

4.41		February 27, 1999
		Added FreeBSD 3.1 and and 4.0 support with help
		from Sheldon Hearn <axl@iafrica.com>, David O'Brien
		<obrien@NUXI.com>, and John Polstra <jdp@polstra.com>.

		Corrected bungled AIX 4.3+ patch that went into
		lsof 4.40.

		Reorganized the Configure script to improve Makefile
		construction.  A specific impetus for this was to
		allow FreeBSD system-wide make flags to be propagated
		to the lsof Makefiles, but other goals were to make
		sure that the DEBUG= make entry can over-ride
		standard CFLAGS values, and to better manage the
		identification of compilers and their versions.
		Two compiler-related values may now be supplied in
		environment variables: 1) the compiler path in
		LSOF_CC; and 2) the compiler version in LSOF_CCV.
		00XCONFIG documents them.

		Added support for Pyramid Reliant Unix bsdsfs,
		msockfs, and socfs file systems.

		Added an optional LSOF_CINFO string to Configure,
		producing a CINFO string in selected Makefiles,
		producing a #define LSOF_CINFO in selected version.h
		header files.  The purpose of this is to allow
		Configure the option to propagate information to
		the lsof -v output.  It is now used for Linux to
		identify the code base, and for HP-UX 10.30 and
		11.0 and Solaris 7 to identify the kernel bit size.

		Added system information to NeXTSTEP and OpenStep
		-v output, from the second line of hostinfo's
		output.

		Fixed a login name buffer overflow problem in the
		processing of -u option values.  This was offered
		as a patch to 4.40.  !!!THIS IS A SERIOUS STACK
		OVERFLOW BUG; A LINUX EXPLOIT EXISTS FOR IT THAT
		OPENS A BASH SHELL WITH LSOF'S AUTHORITY -- E.G,
		SETGID(KMEM) POWER!!!

		Improved the Solaris mount table filter so the
		volume manager's fake mount point, "/vol", is
		ignored and doesn't supplant "/" in NAME column
		path assemblies.  Igor Schein <igor@txc.com> reported
		this bug and provided important help in finding
		it.  This was offered as a patch to 4.40.

		Changed the Linux /dev/kmem-based lock ownership
		test to answer a poblem reported by Tom Christiansen
		<tchrist@jhereg.perl.com>.  This was offered as a
		patch to 4.40.

		Installed an HP-UX 11 patch, suggested by Kevin
		Vajk <kvajk@cup.hp.com>, that adjusts a private
		lsof kernel header file, derived via Q4, to correspond
		to an HP-UX patch bundle.

		Made NetBSD 1.3I sockproto structure adjustment.

4.42		March 30, 1999
		Fixed a typo in the HP-UX dfile.c that caused +fF
		and +fN output controls to swap effect.

		Enabled for OpenBSD 2.5 per notice from Kenneth
		Stailey <kstailey@kstailey.tzo.com>

		Made more VM accommodations for FreeBSD 4.0.

		Improved file system search reporting to include
		path name components when they're available, instead
		of mindlessly reporting the file system name in
		the NAME column.  Guy Dallaire <gdallair@geocities.com>
		brought the need for this change to my attention.

		Updated Solaris 2.6 VxFS for Veritas Oracle Database
		Edition 2.0, VxFS version 3.3, and VxVm version
		2.5.4, based on a report from Chris Kordish
		<chris.kordish@East.Sun.COM>.  Chris kindly provided
		a test system.

		Improved HP-UX ipc_s patch detection in Configure,
		response in .../dialects/hpux/hpux11/ipc_s.h, and
		documentation in 00FAQ, Kevin Vajk <kvajk@cup.hp.com>
		helped test.

		Added to Customize the option to suppress HASKERNIDCK
		selection for specified dialects.  Suppressed it
		for /proc-based Linux lsof, and removed its test
		and code from there.  Tin Le <tin@netimages.com>
		alerted me to the need for this update.

		Ported to official Digital UNIX 5.0 release.

		Changed DU lsof to use the knlist(3) function when
		no kernel file has been specified with -k.  This
		change was suggested by Erich Wimmer
		<Erich.Wimmer@digital.com>.

		Updated Configure for latest NetBSD (1.3I?) with
		UVM support the default.

4.43		May 11, 1999
		Corrected a typo in the Solaris gcc discussion in
		00FAQ.  Made changes to the Solaris 2.5[.1] private
		tcp_s structure.  Both changes were done in response
		to reports from Igor Schein <igor@txc.com>, who
		tested the Solaris 2.5 change.

		Made more IPv6 adjustments to lsof for Tru64 UNIX
		(Digital UNIX) 5.0, based on information obtained
		from Compaq by Berkley Shands <berkley@cs.wustl.edu>.

		Corrected HP-UX error message about HP-UX 11 q4 usage.
		Amir Katz <amir@ndsoft.com> reported the correction.

		Fixed a GlibC 2.1 conflict in /proc-based Linux lsof.

		Fixed a man page typo reported by Vlad Harchev
		<hvv@hippo.ru>.

		Changed some Solaris 2.7 references to Solaris 7
		in Configure and 00XPORTING.

		Added a Solaris example to the echo statements that
		are the install rule in the SunOS/Solaris Makefile.

		Added a field to the file structure output --
		FILE-FLAG (file structure open flags, f_flag[s],
		and process file flags, typically u_pofile)) --
		enabled with +f[gG].  Its field output character
		is 'G'.

		Figured out another piece of the HP-UX 11 patched
		ipc_s structure puzzle with the help of Keith Kalet
		<KEITH_KALET@HP-USA-om41.om.hp.com>.

		Fixed a PTX real vnode to real inode interpretation
		bug.

		Added link count to lsof output.  Eric Dumazet
		<dumazet@risgw.ris.fr> requested and helped test
		it.  The new +L option enables and filters it.
		Its field output character is `k'.

		Updated Configure script to recognize NetBSD 1.4.

		Updated AFSConfig to handle default answers to
		questions.

		Incorporated patch from Jonathan Sergent <sergent@io.com>
		that enables /proc-based Linux lsof to run on both
		32 and 64 bit kernels.

		Updated Configure script with a patch from David
		O'Brien <obrien@NUXI.com> that recognizes FreeBSD 3.2.

4.44		June 24, 1999
		Corrected use of nlink member of hsnode for SunOS
		4.1.x High Sierra File System files.  John Dzubera
		<zube@tlaloc.stat.colostate.edu> reported the
		problem and helped test the fix.  Also fixed a
		SunOS segmentation fault bug.  These fixes were
		offered as a patch to 4.43.

		Improved handling of /proc-based Linux UNIX PCB
		address.

		Fixed a NeXTSTEP and OpenSTEP bug that made repeat
		option (-r) processing malfunction.  This fix was
		offered as a patch to 4.43.

		Fixed Configure so it doesn't use -O in the Cflags
		for the bundled HP-UX C compiler.  Jim Ankenbrandt
		<jankenbrandt@penton.com> reported the problem.

		Corrected output ordering of parent PID and process
		group ID when both -R and -g are specified.

		Enhanced the pdev.c and pdvn.c library modules for
		wider use.  These dialect versions use the new
		library modules: DEC OSF/1, Digital UNIX, and Tru64
		UNIX; Pyramid DC/OSx and Reliant UNIX; SCO OSR and
		UnixWare; and Sequent PTX.

		Added basic clone device support to /dev/kmem-based
		HP-UX lsof for HP-UX 10.30 and higher.

		Added raw socket support to /proc-based Linux lsof.

		Changed NODE-ADDR column title to NODE-ID in
		anticipation of using more general identification
		information in the column.

		Ported to UnixWare 7.1, using a test system kindly
		provided by Matt Thurmaier <matt@compclass.com>
		and Don Draper <dond@sco.com>.

		Updated for NetBSD 1.4C VM changes, and a new
		current and root working directory structure.

		Made minor adjustment for latest Tru64 UNIX 5.0
		Beta release.

4.45		July 30, 1999
		Fixed quoting problem in DEC OSF/1, Digital Unix,
		and Tru64 UNIX Makefile's install rule.  The problem
		was reported by Berkley Shands <berkley@cs.wustl.edu>.
		Fixed bug in Tru64 UNIX 4 lsof that caused FDs to
		be skipped.  These fixes were offered in a patch
		to 4.44.

		Fixed a repeat-mode /proc-based Linux lsof bug,
		reported by Sami Farin <sfarin@ratol.fi>.  This
		was offered as a patch to 4.44.

		Picked lint, some reported by Sami Farin.

		Corrected a 00DCACHE documentation error in a sample
		shell script.  The problem was reported by Chad R.
		Larson <chad@larsons.org>.  Changed commented-out
		entries in machine.h files so they require more
		thought and work when the comments are removed,
		based on a remark by Chad.

		Compensated for the practice of Solaris 7 and above
		to record the dev= value in /etc/mnttab in 32 bit
		mode, even on 64 bit systems.  This was offered as
		a patch to 4.44.

		Added a C library test for /proc-based Linux lsof,
		so that the #include files can be adjusted for a
		non-GlibC environment.  The need for this was
		reported by Andrew Hill <andrewh@tirin.openworld.co.uk>.
		This was offered as a patch to 4.44.

		Added support for Auspex LFS 1.8.1 and 1.9.2 to
		SunOS 4.1.4 lsof.  The support was requested by
		Quentin Fennessy <quentin@dvorak.amd.com>, who
		provided information and did testing.

		Enabled IPv6 support code for NetBSD and OpenBSD,
		conditional on Configure script tests.  Wolfgang
		Rupprecht <wolfgang@wsrcc.com> supplied the NetBSD
		code and tested it.  The OpenBSD code I constructed
		has been compiled but not tested.

		Updated the identd Perl 5 script, based on a report
		from Wendy Lin <af5@taiyang.cc.purdue.edu> that
		the space in its response line in front of the user
		name violates RFC 1413.

		Added IPv6 support to /proc-based Linux lsof.
		Jonathan Sergent <sergent@ETLA.NET> and Andrew
		Thomas Sydelko <sydelko@ecn.purdue.edu> kindly
		provided a test system.

		Updated man page description of AIX multiplexed
		files to indicate that they might be /dev/ptc or
		/dev/pts, depending on the AIX version.  The
		correction was suggested by Onno van der Linden
		<onno@simplex.nl>.

		Sylvain Robitaille <syl@alcor.concordia.ca> reports
		lsof passes his Y2K tests.

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.

4.47		November 29, 1999
		Based on a query from Jean-Pierre Radley <jpr@jpr.com>,
		changed the lsof top-level Makefile to propagate
		CFGF to the library Makefile.  (DEBUG was already
		being propagated.)  Added osrgcc and scogcc Configure
		abbreviations (to use gcc) for Jean-Pierre.

		In response to a query from Igor Schein <igor@txc.com>,
		improved the Configure script test for Solaris 7
		and 8 that decides if the compiler can produce 64
		bit executables.

		Made an ugly hack, based on making a private rnode
		structure definition from q4 output, to compensate
		for HP-UX 10.20 and lower recent NFS3 patches.  HP
		didn't supply an updated <nfs/rnode.h> with the
		patches.  The problem was reported by Will Partain
		<partain@mekb2.sps.mot.com>.  Elias Halldor Agustsson
		<elias@hi.is> helped identify the patches as
		PHNE_18173, PHNE_19426, PHNE_19937, and PHNE_20091,
		and provided a test system.

		Switch BSDI test system from 2.1 and 3.1 to 4.0.1,
		courtesy of Terry Kennedy <terry@tmk.com>.

		Added some more dev_t hacks for Alpha FreeBSD 4.0.

		Added support for IPv6 on BSD 4.x.  The support hasn't
		yet been tested, just compiled.

		Added support for the mnt file system (mntfs or
		/etc/mnttab) on Solaris 8.  Tested on Solaris 8
		BETA-Refresh.

		Made selection of optional fields (e.g., PPID with
		-FR) in a field output specification select the
		optional field, too, so that the option selector
		for the field (e.g., -R) isn't also required.  This
		change was made in response to an inquiry from John
		DuBois <spcecdt@armory.com>.  This may require some
		revision to scripts that parse all field output;
		two scripts in the lsof distribution's scripts/
		subdirectory had to be updated.

		Corrected handling of Linux IPv4 addresses mapped
		in IPv6 addresses.

		Tested under OpenBSD 2.6.

Vic Abell <abe@purdue.edu>
Purdue University Computing Center
November 29, 1999
