FreeBSD/src 4f20decusr.bin/tail forward.c

MFC: tail: Do not trust st_size if it equals zero.

PR:             bin/276107

(cherry picked from commit 1fb3caee72241b9b4dacbfb0109c972a86d4401f)
DeltaFile
+3-3usr.bin/tail/forward.c
+3-31 files

FreeBSD/src ff99541usr.bin/hexdump display.c

MFC: hexdump: Do not trust st_size if it equals zero.

PR:             bin/276106

(cherry picked from commit e23954bd42fe4331b67ba8f6446bcccf751096f1)
DeltaFile
+3-2usr.bin/hexdump/display.c
+3-21 files

FreeBSD/src 1c6b4a0usr.bin/tail forward.c

MFC: tail: Do not trust st_size if it equals zero.

PR:             bin/276107

(cherry picked from commit 1fb3caee72241b9b4dacbfb0109c972a86d4401f)
DeltaFile
+3-3usr.bin/tail/forward.c
+3-31 files

FreeBSD/src 538bf98usr.bin/hexdump display.c

MFC: hexdump: Do not trust st_size if it equals zero.

PR:             bin/276106

(cherry picked from commit e23954bd42fe4331b67ba8f6446bcccf751096f1)
DeltaFile
+3-2usr.bin/hexdump/display.c
+3-21 files

FreeBSD/src eed6d08contrib/less search.c screen.c

MFC: MFV: less v668.

(cherry picked from commit c77c488926555ca344ae3a417544cf7a720e1de1)
DeltaFile
+672-108contrib/less/search.c
+487-291contrib/less/screen.c
+333-200contrib/less/optfunc.c
+283-218contrib/less/output.c
+307-139contrib/less/line.c
+228-208contrib/less/filename.c
+2,310-1,16459 files not shown
+5,749-2,93565 files

FreeBSD/src 0bb4c18contrib/less search.c screen.c

MFC: MFV: less v668.

(cherry picked from commit c77c488926555ca344ae3a417544cf7a720e1de1)
DeltaFile
+672-108contrib/less/search.c
+487-291contrib/less/screen.c
+333-200contrib/less/optfunc.c
+283-218contrib/less/output.c
+307-139contrib/less/line.c
+228-208contrib/less/filename.c
+2,310-1,16459 files not shown
+5,749-2,93565 files

FreeBSD/src 3d46113contrib/expat README.md Changes, contrib/expat/lib xmlparse.c

MFC: MFV: expat 2.6.4.

(cherry picked from commit 908f215e80fa482aa953c39afa6bb516f561fc00)
DeltaFile
+43-4contrib/expat/README.md
+33-9contrib/expat/tests/handlers.c
+32-7contrib/expat/tests/misc_tests.c
+2-31contrib/expat/tests/common.c
+31-0contrib/expat/Changes
+14-4contrib/expat/lib/xmlparse.c
+155-5513 files not shown
+206-9419 files

FreeBSD/src eab7ed2lib/libexpat libbsdxml.3

MFC: Update the expat version referenced in libbsdxml.3

This change updates the version of expat referenced from 2.6.0 to 2.6.3,
correcting documentation post-ffd294a1f4c23863c3e515d16dce31d5509bcb01.

Bump .Dd for the change.

MFC with:       ffd294a1f4c23863c3e515d16dce31d5509bcb01
Differential Revision:  https://reviews.freebsd.org/D46865

(cherry picked from commit ba23ab2168ffabc2c5e647a1a37ab9a8fb482bb8)
DeltaFile
+2-2lib/libexpat/libbsdxml.3
+2-21 files

FreeBSD/src bab2790contrib/expat Changes, contrib/expat/doc Makefile.in

MFC: MFV: expat 2.6.3

The 2.6.1 - 2.6.3 releases address several security issues with the
library.

The release notes for the 2.6.1-2.6.3 releases can be found at
https://github.com/libexpat/libexpat/blob/R_2_6_3/expat/Changes .

Differential Revision:  https://reviews.freebsd.org/D46829

Merge commit '8e1eae2319cd3a651941c88b46d95e8ee8507c6c'

(cherry picked from commit ffd294a1f4c23863c3e515d16dce31d5509bcb01)
DeltaFile
+141-67contrib/expat/tests/basic_tests.c
+133-3contrib/expat/Changes
+56-23contrib/expat/lib/Makefile.in
+53-20contrib/expat/lib/xmlparse.c
+59-0contrib/expat/tests/acc_tests.c
+26-30contrib/expat/doc/Makefile.in
+468-14324 files not shown
+604-26430 files

FreeBSD/src 78ab4c1contrib/expat README.md Changes, contrib/expat/lib xmlparse.c

MFC: MFV: expat 2.6.4.

(cherry picked from commit 908f215e80fa482aa953c39afa6bb516f561fc00)
DeltaFile
+43-4contrib/expat/README.md
+33-9contrib/expat/tests/handlers.c
+32-7contrib/expat/tests/misc_tests.c
+2-31contrib/expat/tests/common.c
+31-0contrib/expat/Changes
+14-4contrib/expat/lib/xmlparse.c
+155-5513 files not shown
+206-9419 files

FreeBSD/src 8c7e4d1lib/libexpat libbsdxml.3

MFC: Update the expat version referenced in libbsdxml.3

This change updates the version of expat referenced from 2.6.0 to 2.6.3,
correcting documentation post-ffd294a1f4c23863c3e515d16dce31d5509bcb01.

Bump .Dd for the change.

MFC with:       ffd294a1f4c23863c3e515d16dce31d5509bcb01
Differential Revision:  https://reviews.freebsd.org/D46865

(cherry picked from commit ba23ab2168ffabc2c5e647a1a37ab9a8fb482bb8)
DeltaFile
+2-2lib/libexpat/libbsdxml.3
+2-21 files

FreeBSD/src 7fcc9d6contrib/expat Changes, contrib/expat/doc Makefile.in

MFC: MFV: expat 2.6.3

The 2.6.1 - 2.6.3 releases address several security issues with the
library.

The release notes for the 2.6.1-2.6.3 releases can be found at
https://github.com/libexpat/libexpat/blob/R_2_6_3/expat/Changes .

Differential Revision:  https://reviews.freebsd.org/D46829

Merge commit '8e1eae2319cd3a651941c88b46d95e8ee8507c6c'

(cherry picked from commit ffd294a1f4c23863c3e515d16dce31d5509bcb01)
DeltaFile
+141-67contrib/expat/tests/basic_tests.c
+133-3contrib/expat/Changes
+56-23contrib/expat/lib/Makefile.in
+53-20contrib/expat/lib/xmlparse.c
+59-0contrib/expat/tests/acc_tests.c
+26-30contrib/expat/doc/Makefile.in
+468-14324 files not shown
+604-26430 files

FreeBSD/src dcb4ac9contrib/file configure ltmain.sh, contrib/file/magic/Magdir msdos images

MFC: MFV: file 5.46.

(cherry picked from commit ae316d1d1cffd71ab7751f94e10118777a88e027)
DeltaFile
+1,844-1,249contrib/file/configure
+1,042-273contrib/file/magic/Magdir/msdos
+574-293contrib/file/ltmain.sh
+497-132contrib/file/magic/Magdir/images
+287-135contrib/file/magic/Magdir/console
+379-36contrib/file/magic/Magdir/linux
+4,623-2,118158 files not shown
+9,000-3,942164 files

FreeBSD/src 0826d4bcontrib/file/tests bcachefs2.result

(upstream) PR/386: Add newlines for consitency 2

Obtained from:  https://github.com/file/file/pull/134/

(cherry picked from commit 3347078000c078f2e67214ef1ba2e0bffe1aea4f)
DeltaFile
+1-1contrib/file/tests/bcachefs2.result
+1-11 files

FreeBSD/src 90222d7contrib/file/magic/Magdir archive windows, contrib/file/src compress.c

MFC: MFV: file 5.45.

(cherry picked from commit 898496ee09ed2b7d25f6807edc4515628196ec0a)

Disable byteswap.h for now.

(cherry picked from commit 90474518912f5e5f49bc5325b7f88e94eba64d6a)
DeltaFile
+521-26contrib/file/magic/Magdir/archive
+491-41contrib/file/magic/Magdir/windows
+406-54contrib/file/magic/Magdir/msdos
+286-109contrib/file/src/compress.c
+353-4contrib/file/magic/Magdir/c64
+311-31contrib/file/magic/Magdir/images
+2,368-265229 files not shown
+6,494-1,569235 files

FreeBSD/src 2d54b1fcontrib/file/tests gpkg-1-zst.result, usr.bin/file/tests file_test.sh

file_test: Fix file test

Trimming of the line feed is no longer necessary after
https://github.com/file/file/commit/d993c6b0db20711b2c4cb9d2bee8c7f2e59b0a43

Currently the tests:

  - bcachefs2
  - gpkg-1-zst
  - multiple

are failing, but a fix will be committed upstream.

This also reverts c5e957ad4 "file: fix test case for gpkg by removing the extra \n."

MFC after:      3 days

(cherry picked from commit 0d3a87569f14b0e48826bbaab5e05f35669bcebf)
DeltaFile
+1-2usr.bin/file/tests/file_test.sh
+1-1contrib/file/tests/gpkg-1-zst.result
+2-32 files

FreeBSD/src 71c92e6contrib/file configure ltmain.sh, contrib/file/magic/Magdir msdos images

MFC: MFV: file 5.46.

(cherry picked from commit ae316d1d1cffd71ab7751f94e10118777a88e027)
DeltaFile
+1,844-1,249contrib/file/configure
+1,042-273contrib/file/magic/Magdir/msdos
+574-293contrib/file/ltmain.sh
+497-132contrib/file/magic/Magdir/images
+287-135contrib/file/magic/Magdir/console
+379-36contrib/file/magic/Magdir/linux
+4,623-2,118158 files not shown
+9,000-3,942164 files

FreeBSD/src aa2f56acontrib/xz ChangeLog THANKS, contrib/xz/src/common tuklib_integer.h

MFC: MFV: xz 5.6.3

(cherry picked from commit 26743408e9ff53ac0e041407c359ed3c17c15596)
DeltaFile
+1,246-0contrib/xz/ChangeLog
+12-12contrib/xz/src/liblzma/rangecoder/range_decoder.h
+19-0contrib/xz/THANKS
+10-4contrib/xz/src/common/tuklib_integer.h
+8-4contrib/xz/src/liblzma/check/crc_x86_clmul.h
+5-5contrib/xz/src/liblzma/check/crc32_table.c
+1,300-2510 files not shown
+1,321-4416 files

FreeBSD/src 45230e7contrib/xz ChangeLog, contrib/xz/doxygen Doxyfile

MFC: MFV: xz 5.6.2.

(cherry picked from commit 3b35e7ee8de9b0260149a2b77e87a2b9c7a36244)
DeltaFile
+9,508-8,602contrib/xz/ChangeLog
+12-2,660contrib/xz/doxygen/Doxyfile
+811-30contrib/xz/src/liblzma/rangecoder/range_decoder.h
+445-315contrib/xz/src/liblzma/lzma/lzma_decoder.c
+755-0contrib/xz/src/liblzma/simple/riscv.c
+490-125contrib/xz/src/xz/coder.c
+12,021-11,732211 files not shown
+15,535-13,585217 files

FreeBSD/src edf0691contrib/xz ChangeLog THANKS, contrib/xz/src/common tuklib_integer.h

MFC: MFV: xz 5.6.3

(cherry picked from commit 26743408e9ff53ac0e041407c359ed3c17c15596)
DeltaFile
+1,246-0contrib/xz/ChangeLog
+12-12contrib/xz/src/liblzma/rangecoder/range_decoder.h
+19-0contrib/xz/THANKS
+10-4contrib/xz/src/common/tuklib_integer.h
+8-4contrib/xz/src/liblzma/check/crc_x86_clmul.h
+5-5contrib/xz/src/liblzma/check/crc32_table.c
+1,300-2510 files not shown
+1,321-4416 files

FreeBSD/src 679e924contrib/xz ChangeLog, contrib/xz/doxygen Doxyfile

MFC: MFV: xz 5.6.2.

(cherry picked from commit 3b35e7ee8de9b0260149a2b77e87a2b9c7a36244)
DeltaFile
+9,508-8,602contrib/xz/ChangeLog
+12-2,660contrib/xz/doxygen/Doxyfile
+811-30contrib/xz/src/liblzma/rangecoder/range_decoder.h
+445-315contrib/xz/src/liblzma/lzma/lzma_decoder.c
+755-0contrib/xz/src/liblzma/simple/riscv.c
+490-125contrib/xz/src/xz/coder.c
+12,021-11,732211 files not shown
+15,535-13,585217 files

FreeBSD/src 97cf82elib/libc/stdlib qsort.3

Revise qsort(3) reflect POSIX.1-2024 update.

Reviewed by:    emaste, trasz
Differential Revision: https://reviews.freebsd.org/D47262

(cherry picked from commit 3df1abdfd9c309efbdc7884d6b6f6fe25efcb397)
DeltaFile
+24-25lib/libc/stdlib/qsort.3
+24-251 files

FreeBSD/src ca6cd0esys/dev/hid hidraw.c

hidraw(4): update hgd_actlen in HIDRAW_GET_REPORT ioctl

HIDRAW_GET_REPORT ioctl is documented to update hgd_actlen on return
with the number of bytes copied.  It does not do this.

Reviewed by:    wulf
PR:             282790
MFC after:      1 week

(cherry picked from commit f4f46a2eef3be6d19c65a4ca4ee70f365dd5be4f)
DeltaFile
+7-6sys/dev/hid/hidraw.c
+7-61 files

FreeBSD/src 05abe2csys/dev/usb/input uhid.c

uhid(4): update ugd_actlen in USB_GET_REPORT ioctl

USB_GET_REPORT ioctl is documented to update ugd_actlen on return with
the number of bytes copied.  It does not do this.

Reviewed by:    wulf
PR:             282790
MFC after:      1 week

(cherry picked from commit 0b5d86b38ae9aec92ef96b9227a404a2df3c9234)
DeltaFile
+3-1sys/dev/usb/input/uhid.c
+3-11 files

FreeBSD/src e908df9sys/netgraph/bluetooth/drivers/ubt ng_ubt.c ng_ubt_intel.c

ng_ubt_intel: Ignore unexpected HCI events

If Intel firmware is already in operational mode at boot that takes
place at warm boot, BT adaptor can generate extra HCI events which
interferes with firmware mode detection logic. Ignore them.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Reviewed by:    bz
Differential Revision:  https://reviews.freebsd.org/D46736

(cherry picked from commit 0b23c50ae834d11842810304e4ddad2754298ada)
DeltaFile
+27-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
+3-2sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c
+30-22 files

FreeBSD/src ccfbbe2usr.sbin/bluetooth/rtlbtfw main.c rtlbt_fw.c

rtlbtfw: Firmware loader for Realtek 87XX/88XX bluetooth USB adaptors

Firmware files are available in the comms/rtlbt-firmware port.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D46739

(cherry picked from commit 5036d9652a5701d00e9e40ea942c278e9f77d33d)
DeltaFile
+525-0usr.sbin/bluetooth/rtlbtfw/main.c
+385-0usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
+373-0usr.sbin/bluetooth/rtlbtfw/rtlbtfw.conf
+236-0usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.c
+104-0usr.sbin/bluetooth/rtlbtfw/rtlbt_hw.h
+100-0usr.sbin/bluetooth/rtlbtfw/rtlbtfw.8
+1,723-06 files not shown
+1,875-012 files

FreeBSD/src 5ce844dsys/netgraph/bluetooth/drivers/ubt ng_ubt_intel.c

ng_ubt_intel: Allow to attach to 9260 bluetooth adaptors

with operational mode firmware.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Reviewed by:    bz
Differential Revision:  https://reviews.freebsd.org/D46734

(cherry picked from commit 19a577ea5cae1238065106de9080cb6f3e66034d)
DeltaFile
+68-1sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c
+68-11 files

FreeBSD/src f5b685asys/conf files, sys/modules/netgraph/bluetooth/ubt Makefile

ng_ubt(4): do not attach Realtek 87XX/88XX adaptors in bootloader mode.

Attempt to initialize FreeBSD bluetooth stack while such a device is in
bootloader mode locks the adapter hardly so it requires power on/off
cycle to restore.

This change blocks ng_ubt attachment unless operational firmware is
loaded thus preventing the lock up.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D46738

(cherry picked from commit 24ae172a50352ad4fd22989477f29ecca5aed6e3)
DeltaFile
+265-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c
+2-2sys/modules/netgraph/bluetooth/ubt/Makefile
+3-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
+3-0sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
+1-0sys/conf/files
+274-25 files

FreeBSD/src 624635eusr.sbin/bluetooth/iwmbtfw iwmbt_hw.c iwmbt_hw.h

iwmbtfw(8): Ignore unexpected HCI events

If Intel firmware is already in operational mode at boot that takes
place at warm boot, BT adaptor can generate extra HCI events which
interferes with firmware mode detection logic. Ignore them.

Sponsored by:   Future Crew LLC
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D46737

(cherry picked from commit aa0b938434a8af8eebf8f2634914f2d9fe8a5dc4)
DeltaFile
+46-12usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
+6-0usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
+52-122 files

FreeBSD/src 8e62ae9usr.sbin/bluetooth/iwmbtfw main.c iwmbt_hw.c

iwmbtfw(4): Add support for 9260/9560 bluetooth adaptors

Required firmware files are already included in to comms/iwmbt-firmware port

Sponsored by:   Future Crew LLC
MFC after:      1 month
Reviewed by:    bz
Differential Revision:  https://reviews.freebsd.org/D46735

(cherry picked from commit c1643cedbf243424370162febf6d9180bdd1df58)
DeltaFile
+257-72usr.sbin/bluetooth/iwmbtfw/main.c
+167-16usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
+71-0usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.h
+21-0usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
+11-1usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h
+3-2usr.sbin/bluetooth/iwmbtfw/iwmbtfw.conf
+530-912 files not shown
+534-938 files