Skip to content

lsof-4.95.0-linux

Compare
Choose a tag to compare
@masatake masatake released this 27 Apr 22:55
· 448 commits to master since this release
67d8c82
	[n+obsd] fix syntax error
	Corrected end of comment.
	This change closes #138.
	@albert-github reported this issue in #138,
	and provided the fix in #140


	Don't ignore failures in test/Makefile
	Tobias Geerinckx-Rice <[email protected]> provides the fix.


	Update perl scripts for the past few decades of progress
	Generally, perl is available on base systems - people who are manually
	installing perl into /usr/local/bin are the exception rather than the
	rule. In addition, Perl 5 was release in 1994, so Perl 4 isn't relevant
	any more. We've also standardized on the .pl extension, rather than
	.perl5 or whatever.
	Provided by @dilinger (Andres Salomon) in #149.
	A commit in the pull request includes work of Nicholas Bamber.


	Drop LSOF_CCDATE across all dialects to ensure reproducible builds
	Simplify things for reproducible builds by just getting rid of
	the embedded date/time string. With LSOF_CCDATE gone, keeping
	SOURCE_DATE_EPOCH around doesn't make much sense, so drop that as
	well. Folks doing reproducible builds should still override the
	LSOF_HOST, LSOF_LOGNAME, LSOF_SYSINFO, and LSOF_USER variables (as
	they were previously doing before SOURCE_DATE_EPOCH).
	Provided by @dilinger (Andres Salomon) in #150.


	[FreeBSD] get the ISO9660 filesystem working again
	The ISO9660 filesystem broke starting with FreeBSD 7 due to the header
	location changing. Fix the header search path to get it to be detected
	again. Fix the header inclusion order. Also add the new way of finding
	dev_t on more recent FreeBSD versions.
	Provided by Damjan Jovanovic in #151.


	[FreeBSD] add support for msdosfs on FreeBSD
	Provided by Damjan Jovanovic in #151.


	Fix FD field description.
	In 811dc78 the output format was changed to not printf the `f`
	field by default, however the field description in `lsof_fields.h`,
	as seen in `-F?` output still included the `(always selected)` text.
	Provided by @algorythmic (Grisha Levit) in #158.


	Adjust alignment of buffer passed to stat().
	The original code passes char[] buffer to stat(). This can be cause
	a SIGBUS. #160 reported an actual crash on armv7a + glibc-2.33 platform.
	See also https://sourceware.org/bugzilla/show_bug.cgi?id=27993.
	Reported by @10ne1 in #160.


	Clean up source code and documentats.
	- remove trailing whitespace,
	- fix some issues in scripts found through shellcheck, and
	- fix spelling
	Provided by @a1346054 in #163.


	man page: fix hyphen issues
	Properly use '-' and '\-' in the man page, ensuring that users
	can cut & paste commandline options without issue. Original
	patch from Raoul Gunnar Borenius <[email protected]>, and
	submitted/expanded by @dilinger (Andres Salomon) in #168.


	[FreeBSD] update for FreeBSD 13 & 14, and various internal changes
	submitted by @DmitryAndric & @emaste.


	[FreeBSD] remove various old FreeBSD versions from support
	submitted by @emaste


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


	Fix broken LSOF_CFLAGS_OVERRIDE.
	Provided by Fabrice Fontaine in #172.


	[linux] Remove sysvlegacy function.
	Provided by Fabrice Fontaine in #195.


	[linux] use close_range instead of calling close repeatedly
	At the starting up, lsof closes its file descriptors greater
	than 2 by calling close(2) repeatedly. As reported in #186,
	it can take long time. Linux 5.9 introduced close_range(2).
	The new system call can close multiple file descriptors faster.
	@qianzhangyl reported the original issue (#186).


	Add -Q option for adjusting exit status when failed to find a
	search item (#129)
	In the original code, lsof returned 1 when it failed to find a
	search item. With the new option, lsof returns 0 in the case.


	Document -Q option in manpage/00QUICKSTART, and adjust -h
	output by @dilinger (Andres Salomon) in #129.


	Improve readability of complex adverbial clause by adding a
	comma.
	Provided by Danny Fowler in #156.