Created attachment 148342 [details] Upgrade patch Lsof revision 4.88 has been released at: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof The release notes are appended. Vic Abell, lsof author ___________________ lsof 4.88 release notes _______________________ 4.88 October 13, 2014 Reduced to 50 the number of open file descriptors lsof attempts to close while trying to protect itself from a file descriptor exec() attack. This limits the overhead lsof incurs on systems that have large file descriptor limits, yet provides sufficient open descriptors for the library functions lsof calls. Updated for changes in FreeBSD 10 with advice from Eygene Ryabinkin <rea@freebsd.org>. Taught Configure to recognize FreeBSD 8.4. Herein am noting that lsof for Solaris 10 or 11 is no longer supported. I no longer have test systems. Some support is Herein am noting that lsof for Solaris 10 or 11 is no longer supported. I no longer have test systems. Some support is still available from Casper Dik <Casper.Dik@oracle.com> and a Solaris 11 patch he provided is included in this revision. Initialized local variables in the Linux process_id() function. Jia He <jiakernel@gmail.com> reported the problem. Added support for FreeBSD 11. Updated FreeBSD ZFS Configure stanza to supply a dummy opt_kdtrace.h when needed. Added tmpfs file system support for FreeBSD. Since a test system is no longer available, dropped the claim of FreeBSD 4.9 support. Added the +|-E options for Linux. -E displays endpoint info; +E displays endpoint info and endpopint files. Masatake YAMATO <yamato@redhat.com> requested this support and suggested code to implement it. Fixed a Linux bug handling processes whose command includes a non-printing character, particularly a NEWLINE character, and clarified printing of single '\\' characters in command and file names. Stephane Chazelas <stephane.chazelas@gmail.com> reported the problem. Added support for Linux RDMA and CRYPTO protocal names and UNIX socket type with code from Masatake YAMATO <yamato@redhat.com>. Fixed field output to insure that the field descriptor field is always selected, since it identifies the file set. The bug was reported by Gary Plewa <gary.m.plewa-1@lowes.com>.
Committed, thanks!
A commit references this bug: Author: bdrewery Date: Thu Oct 16 19:48:46 UTC 2014 New revision: 371020 URL: https://svnweb.freebsd.org/changeset/ports/371020 Log: - Update to 4.88 Release notes: ___________________ lsof 4.88 release notes _______________________ 4.88 October 13, 2014 Reduced to 50 the number of open file descriptors lsof attempts to close while trying to protect itself from a file descriptor exec() attack. This limits the overhead lsof incurs on systems that have large file descriptor limits, yet provides sufficient open descriptors for the library functions lsof calls. Updated for changes in FreeBSD 10 with advice from Eygene Ryabinkin <rea@freebsd.org>. Taught Configure to recognize FreeBSD 8.4. Herein am noting that lsof for Solaris 10 or 11 is no longer supported. I no longer have test systems. Some support is Herein am noting that lsof for Solaris 10 or 11 is no longer supported. I no longer have test systems. Some support is still available from Casper Dik <Casper.Dik@oracle.com> and a Solaris 11 patch he provided is included in this revision. Initialized local variables in the Linux process_id() function. Jia He <jiakernel@gmail.com> reported the problem. Added support for FreeBSD 11. Updated FreeBSD ZFS Configure stanza to supply a dummy opt_kdtrace.h when needed. Added tmpfs file system support for FreeBSD. Since a test system is no longer available, dropped the claim of FreeBSD 4.9 support. Added the +|-E options for Linux. -E displays endpoint info; +E displays endpoint info and endpopint files. Masatake YAMATO <yamato@redhat.com> requested this support and suggested code to implement it. Fixed a Linux bug handling processes whose command includes a non-printing character, particularly a NEWLINE character, and clarified printing of single '\\' characters in command and file names. Stephane Chazelas <stephane.chazelas@gmail.com> reported the problem. Added support for Linux RDMA and CRYPTO protocal names and UNIX socket type with code from Masatake YAMATO <yamato@redhat.com>. Fixed field output to insure that the field descriptor field is always selected, since it identifies the file set. The bug was reported by Gary Plewa <gary.m.plewa-1@lowes.com>. PR: 194383 Submitted by: Larry Rosenman <ler@lerctr.org> (maintainer) Changes: head/sysutils/lsof/Makefile head/sysutils/lsof/distinfo head/sysutils/lsof/pkg-plist