Opened 5 months ago

Closed 5 months ago

#18886 closed enhancement (fixed)

lsof-4.99.0

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version. Currency needs to be fixed also. Not sure if this is stable or development release.

[netbsd] Get device numer of tmpfs instead of reporting zero


	[openbsd] Rewrite OpenBSD support because OpenBSD disallows
	kernel memory access and lsof has to switch to user mode API.
	Currently, most features are working, but file path reporting
	and lock status are not working for lack of kernel support.
	As a consequence, OpenBSD dialect is separated in a new folder.


	[darwin] Remove /dev/kmem backend because it no longer exists on
	current macOS releases. Use libproc backend instead.

	
	[linux] Do not hard-code fd numbers in epoll test, fixing tests
	on Void Linux


	[freebsd] Use kf_file_nlink if provided by kernel instead of
	stat(). This commit requires kernel with
	https://reviews.freebsd.org/D38169. It brings back the ability
	to list deleted files via `lsof +L1`. Closes #264.


	[linux] Add --with-selinux configure option.


	[solaris] Re-introduce support for recent Solaris & OpenIndiana
	releases.


	[darwin] Display kern ctl info, learned from apple lsof version.

[aix] Fix compilation on AIX 7.2 and add autotools build system
	support for AIX.

	[aix] Suppress warnings properly on AIX version greater than
	5.0. Closes #187.
	
	Introduce alpha version of liblsof which allows users to use
	lsof functionality via C functions instead of spawning a
	subprocess and parsing the output. This version may contain BUGs
	and memory leaks, and the API may change before it stablizes.

[linux] Improve performance by using closefrom().

Change History (3)

comment:1 by Douglas R. Reno, 5 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 5 months ago

This appears to be a normal release. We've missed some other versions, here's the release notes:

4.96.0		September 16, 2022

		[linux] fix hash functions used for finding local tcp/udp IPCs
		There were typos in the code calculating hash values. The typos might
		break the flatness of hashtables where the endpoint information about
		locally used tcp/udp was stored. Theoretically, this fix may improve
		the performance of lsof with [+|-]E option.
		Inspired by the issue #206 reported by Tomasz Kłoczko (@kloczek).


		Show copyright notice in --version output.


		[linux] compile with -Wall option


		[linux] Avoid some easy collissions for udp/udp6 sockets when hashing
		
		
		[linux] Changing the number of ipcbuckets to 4096


		[darwin] fix build with -fno-common (Cfp redefinition)
		gcc-10 and llvm-11 changed the default from -fcommon to -fno-common:
		https://gcc.gnu.org/PR85678
		As a result build fails as:

			duplicate symbol '_Cfp' in: ddev.o dfile.o

		Cfp is already explicitly defined in dstore.c. The change turns
		header definition into declaration.
		Provided by Sergei Trofimovich (@trofi) in #221. The same fix is
		applied to libproc backend by Jiajie Chen (@jiegec) in #226.


		[linux] Make build reproducible by checking SOURCE_DATE_EPOCH
		and considering LSOF_{HOST,LOGNAME,SYSINFO,USER} as "none" when
		it is set.
		Provided by Danilo Spinella in #217


		[darwin] remove /usr/include prefix from include for Darwin 19+
		The /usr/include path is missing since macOS Catalina.
		Fixes issue #234.
		Provided by Jiajie Chen in #235


		[linux] obtain correct information of memory-mapped file.
		Provided by Teng Hu in #239


		[FreeBSD] configure: suggest variable to set if FreeBSD sys not 
        	found
        	Submitted by @emaste


		Updated 00FAQ with lookup to open files via mountpoint
		Provided by Jacob Chapman in #240


                [FreeBSD] modernize API usage and remove legacy FreeBSD releases
                Contributor DamjanJovanovic (#184) Ed Maste (#250, #251, #252),
                Warner Losh (#253)

4.96.1		September 16, 2022

                [FreeBSD] Unconditionally define HASKQUEUE (mjguzik) 

4.96.2		September 16, 2022

                [FreeBSD] fix FreeBSD < 14

4.96.3		September 16, 2022

                [FreeBSD] Fix kqueue compat for releases < 14

4.96.4		October 18, 2022

		[FreeBSD] sys/files.h no longer needs _KERNEL defined to 
                include it (bsdimp #256)


		docs: Describe fd number truncation in output (#261)

4.96.5		December 26, 2022

		[linux] Use correct scanf/printf format for uint64_t (#266)


		Avoid C89-only constructs in Configure (#265)


		[freebsd] add <sys/callout.h> for recent changes

4.97.0		January 17, 2023

		[decof/du/tru64] Remove support because the os is no longer
		updated for more than 10 years


		[openstep/nextstep] Remove support because the os is no longer
		updated for more than 20 years


		Add experimental build system based on Autotools (#270)


		Fixed LTsock testing on darwin (#272)


		Remove NEW and OLD folders (#6)


		Fix FreeBSD testcases (#271)


		Rewrite documentation and publish at https://lsof.readthedocs.io/

4.98.0		January 22, 2023

		Fix two potential null pointer access bug when gethostbyname2()
		returns an empty address list


		Add support for older automake versions (on e.g. CentOS 7)


		Migrate testing scripts and programs to autotools


		Extend CI to build on more Linux distros


		[linux] Fix handling of empty command name, closing #246.
		Add test from #246, where lsof returns stale command name when the
		command name is empty. If getting command name failed, return
		NULL instead of empty string


		Add --with/without-libtirpc option to autotools-based build
		system and automatically detect libtirpc by default


		Add -H switch to print human readable size, e.g. 123.4K (#260)


		[linux] Fix implicit declaration error when HASPTYEPT is undefined


		Add support for musl libc-based Linux distros


		Add --enable-security argument to configure to allow only the
		root user to list all open files


		Add --enable-no-sock-security argument to configure to allow
		anyone to list anyone else's socket files when combined with
		--enable-security


		[linux] Always enable 64 bit off_t in configure.ac


		[netbsd] Import patches from pkgsrc and port autotools-based build system to NetBSD


		[netbsd] Fix lock status reading

comment:3 by Douglas R. Reno, 5 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.