FreeBSD/src 2f29d0fcontrib/netbsd-tests/usr.sbin/mtree t_mtree.sh

mtree: tests: Import NetBSD's mtree test suite

Manually import latest mtree test suite from NetBSD.

MFC after:      1 week
DeltaFile
+39-1contrib/netbsd-tests/usr.sbin/mtree/t_mtree.sh
+39-11 files

FreeBSD/src dab5dafcontrib/mtree compare.c spec.c

mtree: Fix typos

Manually apply a typo fix.  This change has already been submitted
upstream as bin/59824.

MFC after:      1 week
DeltaFile
+1-1contrib/mtree/compare.c
+1-1contrib/mtree/spec.c
+2-22 files

FreeBSD/src 49b6ddacontrib/mtree create.c mtree.8

Import latest mtree from NetBSD

Merge commit 'f600477feb4ae61a75f61949eb600caff4aeea8c'

MFC after:      1 week
Discussed with: brooks
DeltaFile
+60-84contrib/mtree/create.c
+108-31contrib/mtree/mtree.8
+36-8contrib/mtree/spec.c
+24-15contrib/mtree/compare.c
+10-10contrib/mtree/crc.c
+12-5contrib/mtree/verify.c
+250-1534 files not shown
+271-16710 files

FreeBSD/src f600477. create.c mtree.8

Vendor import of NetBSD's mtree at 2025-12-13
DeltaFile
+65-86create.c
+109-31mtree.8
+38-9spec.c
+24-15compare.c
+10-10crc.c
+14-5verify.c
+260-1565 files not shown
+291-17911 files

FreeBSD/src 9d99744usr.sbin/bhyvectl bhyvectl.c

bhyvectl: fix build without BHYVE_SNAPSHOT

Build fails without BHYVE_SNAPSHOT due to undeclared identifier
'checkpoint_file'. Wrap that with a proper #ifdef.

Reported by:    dhw
DeltaFile
+2-0usr.sbin/bhyvectl/bhyvectl.c
+2-01 files

FreeBSD/src 756712dsys/netgraph/bluetooth/include ng_hci.h

ng_hci(4): Fix a typo in a source code comment

- s/depricated/deprecated/

MFC after:      3 days
DeltaFile
+1-1sys/netgraph/bluetooth/include/ng_hci.h
+1-11 files

FreeBSD/src 1df4d82sys/net/altq altq.h

altq(4): Fix a typo in a source code comment

- s/backet/bucket/

MFC after:      3 days
DeltaFile
+1-1sys/net/altq/altq.h
+1-11 files

FreeBSD/src a3950d7sys/dev/oce oce_mbox.c

oce(4): Fix a typo in a device debug message

- s/depricated/deprecated/

MFC after:      3 days
DeltaFile
+1-1sys/dev/oce/oce_mbox.c
+1-11 files

FreeBSD/src 3b6f948sys/cam/mmc mmc_xpt.c

mmc(4): Fix a typo in a device debug message

- s/reseting/resetting/

MFC after:      5 days
DeltaFile
+1-1sys/cam/mmc/mmc_xpt.c
+1-11 files

FreeBSD/src bcc735csys/dev/mps mps.c

mps(4): Fix a typo in a device message

- s/reseting/resetting/

MFC after:      5 days
DeltaFile
+1-1sys/dev/mps/mps.c
+1-11 files

FreeBSD/src 148111dusr.sbin/bhyvectl bhyvectl.c

bhyvectl: improve options error handling

Currently, it is possible to execute bhyvectl(8) with mutually exclusive
options, such as "--destroy" and "--suspend", and it will print out
obscure errors, e.g.:

 bhyvectl --suspend=/var/run/vms/my_vm --destroy --vm my_vm
 connect() failed: Connection refused

Address that by failing early if mutually exclusive options were
specified.

Additionally, move the BHYVE_SNAPSHOT block before the errors are
printed, so its errors are also displayed.

Approved by:            markj
Sponsored by:           The FreeBSD Foundation
MFC after:              2 weeks
Differential Revision:  https://reviews.freebsd.org/D54092
DeltaFile
+15-6usr.sbin/bhyvectl/bhyvectl.c
+15-61 files

FreeBSD/src 611bbb1usr.sbin/bhyve bhyve.8 snapshot.c

bhyve: change suspend exit code

Currently, after suspending, bhyve(8) exits with 0. This code is
also used to indicate that a VM was rebooted. To differentiate
reboot and suspend, use the next available exit code, 5, for suspend.

Approved by:            markj
Sponsored by:           The FreeBSD Foundation
MFC after:              2 weeks
Differential Revision:  https://reviews.freebsd.org/D54087
DeltaFile
+3-1usr.sbin/bhyve/bhyve.8
+1-1usr.sbin/bhyve/snapshot.c
+4-22 files

FreeBSD/src 476a063share/colldef_unicode zh_CN.UTF-8.src ko_KR.UTF-8.src, share/ctypedef C.UTF-8.src

locale: make install Unicode 17.0.0/CLDR 48

Unicode 17.0 adds 4803 characters, for a total of 159,801 characters.
The new additions include 4 new scripts:

- Sidetic
- Tolong Siki
- Beria Erfe
- Tai Yo

https://www.unicode.org/versions/Unicode17.0.0/
(cherry picked from commit 2cfd9fe87b90eddb9d0b3df3459d923092c491fb)
DeltaFile
+42,569-43,804share/colldef_unicode/zh_CN.UTF-8.src
+20,031-20,027share/colldef_unicode/ko_KR.UTF-8.src
+8,521-8,521share/colldef_unicode/ja_JP.UTF-8.src
+9,988-0tools/tools/locale/etc/final-maps/map.UTF-8
+5,765-6share/ctypedef/C.UTF-8.src
+2,842-2,827share/colldef_unicode/hu_HU.UTF-8.src
+89,716-75,18545 files not shown
+152,537-137,46151 files

FreeBSD/src e148f05tools/tools/locale Makefile

locale: Update Unicode to CLDR 48

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53983

(cherry picked from commit d20da5c9736c3d93fc96e5e1c4dc40bed47bc419)
DeltaFile
+1-1tools/tools/locale/Makefile
+1-11 files

FreeBSD/src 6e2164btools/tools/locale Makefile

locale: Update to UCD 17.0.0

Starting with Unicode 17.0.0, the zipped versions of the data files are
only published in https://www.unicode.org/Public/<version>/ucd/

https://www.unicode.org/Public/zipped/ReadMe.txt

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53982

(cherry picked from commit 13ae4904ad7d4677a8d894c91362f2d2479965b6)
DeltaFile
+2-2tools/tools/locale/Makefile
+2-21 files

FreeBSD/src 438c324tools/tools/locale/tools finalize

locale: tools: Make finalize idempotent

The finalize script renames source files with 3 components in their name
into names with two components with an @modifier, in the process.

Running the script for a second time without cleaning will strip the
@modifier from the files, producing invalid Makefiles and unusable
locales.

Prevent this by adding a guard at the beginning of the script.

Also, use a sub-shell for directory changes to avoid working directory
issues.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53981

(cherry picked from commit 934364da7fc8cd3ba4d030d0478163b41dda1b37)
DeltaFile
+58-53tools/tools/locale/tools/finalize
+58-531 files

FreeBSD/src bd37a9bshare/colldef_unicode Makefile, share/monetdef_unicode Makefile

locale: make install

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53962

(cherry picked from commit 36cfa8093d25f8a5b598bd8ae74d7cbaafdc1879)
DeltaFile
+2-0share/colldef_unicode/Makefile
+1-0share/monetdef_unicode/Makefile
+1-0share/numericdef_unicode/Makefile
+1-0share/msgdef_unicode/Makefile
+5-04 files

FreeBSD/src e1ab892tools/tools/locale/tools cldr2def.pl

cldr2def.pl: Fix make install

Follow up on 86c71e97d19f ("pkgbase: locales: Also tag the files dir"),
and adapt cldr2def.pl script in order to fix make install.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53961

(cherry picked from commit 95f37aa3e51ce46821059b2c9dbb02fef5c4bec5)
DeltaFile
+2-0tools/tools/locale/tools/cldr2def.pl
+2-01 files

FreeBSD/src 5c8f96bshare/monetdef_unicode ar_AE.UTF-8.src ar_EG.UTF-8.src

locale: make posix

Run make posix to generate monetary definition files with the
international parameters missing from localeconv(3)'s lconv struct.

Manually convert the "frozen" non-unicode locales under share/monetdef.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53917

(cherry picked from commit 9df8243a2e0ab1ef027cbfbcb4105f5f0ce108e1)
DeltaFile
+18-0share/monetdef_unicode/ar_AE.UTF-8.src
+18-0share/monetdef_unicode/ar_EG.UTF-8.src
+18-0share/monetdef_unicode/ar_JO.UTF-8.src
+18-0share/monetdef_unicode/ar_MA.UTF-8.src
+18-0share/monetdef_unicode/ar_QA.UTF-8.src
+18-0share/monetdef_unicode/ar_SA.UTF-8.src
+108-0107 files not shown
+2,034-0113 files

FreeBSD/src ca92ab6tools/tools/locale/etc/final-maps widths.txt map.UTF-8

locale: make build to bump widths.txt

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53916

(cherry picked from commit 30aa5507f349f761770c5cf49989d6cf7eb3498d)
DeltaFile
+189-1tools/tools/locale/etc/final-maps/widths.txt
+1-1tools/tools/locale/etc/final-maps/map.UTF-8
+190-22 files

FreeBSD/src 3bf4c0dtools/tools/locale/tools cldr2def.pl

cldr2def.pl: Add international currency parameters

Add the missing international monetary parameters present in the lconv
struct.

See also https://unicode-org.atlassian.net/browse/CLDR-237.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53915

(cherry picked from commit faf33e05013fb3fc79cc035c1ff7b52f3fa1af1b)
DeltaFile
+27-15tools/tools/locale/tools/cldr2def.pl
+27-151 files

FreeBSD/src 6223511tools/tools/locale/tools cldr2def.pl

cldr2def.pl: Cleanup white space

No functional change intended.

Reviewed by:    bapt
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53914

(cherry picked from commit 09701dc19cf0d6f1a41abcae89c00122546498fb)
DeltaFile
+5-5tools/tools/locale/tools/cldr2def.pl
+5-51 files

FreeBSD/src f97082akrb5/lib/gssapi version.map

krb5: Add missing symbol

Submitted by:   lampa at fit.vutbr.cz
PR:             291565

(cherry picked from commit f825427c0ae975025e831542782d4078b063a82e)
DeltaFile
+1-0krb5/lib/gssapi/version.map
+1-01 files

FreeBSD/src c42bce2sys/net bpf.c bpfdesc.h

bpf: convert several boolean natured fields of bpf_d to flags

This shrinks the structure a bit.  Should be no functional change.

Differential Revision:  https://reviews.freebsd.org/D53870
DeltaFile
+35-34sys/net/bpf.c
+7-7sys/net/bpfdesc.h
+42-412 files

FreeBSD/src e1c985csys/dev/vt vt_core.c

vt: Allow VT_SETMODE with frsig=0

Linux does not check that any of the signals in vt_mode VT_SETMODE ioctl
(relsig, acqsig, frsig) are valid, but FreeBSD required that all three
are valid.  frsig is unusued in both Linux and FreeBSD, and software
typically leaves it unset.  To improve portability, allow frsig to be
set to zero.

PR:             289812
Reported by:    Dušan Gvozdenović
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52835

(cherry picked from commit 5198c32210039d8dc92554647384eee75688848c)
(cherry picked from commit 224d65015465d085f2e07edccef1f23a8c217b88)
DeltaFile
+3-3sys/dev/vt/vt_core.c
+3-31 files

FreeBSD/src a16fdef. RELNOTES

RELNOTES: Truncate for 16.0

Differential Revision:  https://reviews.freebsd.org/D54195
DeltaFile
+1-461RELNOTES
+1-4611 files

FreeBSD/src 929338dsys/netinet tcp_timewait.c

tpc: retire net.inet.tcp.nolocaltimewait

See c3fc0db3bc50df18a724e6e6b12ea4e060fd9255 for details.
DeltaFile
+0-42sys/netinet/tcp_timewait.c
+0-421 files

FreeBSD/src ef2d586etc/mtree BSD.include.dist

etc/mtree/BSD.include.dist: Remove libmilter-dev

When building with WITHOUT_SENDMAIL this result in a FreeBSD-libmilter-dev
package with only this directory and a dependacy on FreeBSD-libmilter which
doesn't exists.

Differential Revision:  https://reviews.freebsd.org/D54193
Fixes:          436618a427b4 ("etc/mtree: Add package tags for /usr/include")
Reviewed by:    ivy
Sponsored by:   Beckhoff Automation GMbH & Co. KG
DeltaFile
+1-1etc/mtree/BSD.include.dist
+1-11 files

FreeBSD/src c522532sys/dev/xilinx if_xae.c

xae(4): remove unused function.

Sponsored by: CHERI Research Centre
DeltaFile
+0-6sys/dev/xilinx/if_xae.c
+0-61 files

FreeBSD/src 3b8e13cshare/misc pci_vendors

pci_vendors: update to version 2025-12-12
DeltaFile
+1,079-233share/misc/pci_vendors
+1,079-2331 files