sys/_lock.h is no longer implicitly included in such a way that the #ifdef
_KERNEL #error in lockmgr.h is bypassed after r347984. Fix lsof to explicitly
include _lock.h with _KERNEL defined on 13.
Submitted by: cem
Reported by: pkg-fallout
Differential Revision: https://reviews.freebsd.org/D20341
Changes since 4.92:
4.93.0 May 7, 2019
[freebsd] Made FreeBSD 13 adjustment.
[darwin] Fix a typo causing a build error.
Fix a potential memory leak.
[linux] use tirpc for rpc if libc doesn't provide rpc.h.
Fix a typo in man page.
[linux] fix memory leaks detected by valgrind about unix
endpoint information.
Update the description about -fg and -fG options on linux.
4.93.1 May 7, 2019
Fix a broken symbolic link.
The new features developed at lsof-org/lsof-linux repository is not
merged yet.
This fixes the case where ARM_NARCH and ARM_NMMUS are 0, since the lsof(1) sources get hacky
access to kernel structures.
PR: 216065
Submitted by: samm os2 kiev ua
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D9176
- head changed the system to require an opt_random.h header for
some of the _KERNEL compiled headers that sysutils/lsof uses.
- 4.90A fixes this, it also picks up the changes from the 4.89 FULL
RELEASE
PR: 202421
Submitted by: Larry Rosenman <ler@lerctr.org> (maintainer)
- Updated for latest version of FreeBSD 11.0-CURRENT.
- Compensated for a missing FreeBSD 10.0 typedef of bool on the
i386 architecture. Allen Hewes provided a test system.
Andrey Chernov provided useful advice.
- Improved tests/Add2TestDB script with a patch from Peter Schiffer.
Added patches from Peter to eliminate Linux gcc warnings.
Updated Lsof.8 with improvements supplied by Bjarni Ingi Gislason.
- Changed FreeBSD global CFLAGS extraction per Terry Kennedy
Also made sure -DNEEDS_BOOL_TYPEDEF is #define'd when the resulting
CFLAGS doesn't contain it. Terry reported that need.
PR: 197388
Submitted by: Larry Rosenman <ler@lerctr.org> (maintainer)
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)