FreeBSD/src 58811b0usr.sbin/jail config.c

jail: open the fstab files with fopen("re")

This protects against accidentally leaking them past fork()+exec()
in future refactorings.

PR:             295052
Reviewed by:    kevans
DeltaFile
+1-1usr.sbin/jail/config.c
+1-11 files

FreeBSD/src 276d9b8usr.sbin/jail config.c

jail: avoid leaking jail config fds to exec.* hooks

The jail(8) command must not leave parsed configuration files open
since the file descriptors will be leaked to child processes
including the untrusted exec.start or exec.stop hooks.

While fopen() doesn't provide direct access to O_CLOEXEC, it does
provide access to FD_CLOEXEC via "e" in the mode string which
provides the desired defense in depth against leaking file descriptors
into exec.* hooks since those always execve() into a shell.

Jail configuration is potentially sensitive and some hooks execute from
within the jail context, leaving some opening for the jail to exfiltrate
information about the host environment.

(Commit message wordsmithed by kevans)

PR:             295052
Reviewed by:    kevans
MFC after:      3 days
DeltaFile
+4-1usr.sbin/jail/config.c
+4-11 files

FreeBSD/ports 17c2ef8mail/archiveopteryx Makefile distinfo, mail/archiveopteryx/files patch-core__md5.cpp patch-server_tlsthread.cpp

mail/archiveopteryx: Update to latest git

archiveopteryx has not received an official release in many years and
many fixes have been accumulating. I have traditionally published the
git version under the mail/archiveopteryhx-devel port, but many
improvements have happened that aox users should be getting by default.
I'm working with upstream to get a new release finally made.

While here, correct the LICENSE which is actually PostgreSQL, not MIT.
DeltaFile
+0-33mail/archiveopteryx/files/patch-core__md5.cpp
+17-15mail/archiveopteryx/Makefile
+0-11mail/archiveopteryx/files/patch-server_tlsthread.cpp
+0-11mail/archiveopteryx/files/patch-Jamrules
+0-11mail/archiveopteryx/files/patch-db__postgres.cpp
+3-2mail/archiveopteryx/distinfo
+20-831 files not shown
+21-847 files

FreeBSD/ports 992875email/archiveopteryx-devel Makefile pkg-plist, mail/archiveopteryx-devel/files archiveopteryx.in patch-Jamsettings

mail/archiveopteryx-devel: Retire this port

It is recommended to use mail/archiveopteryx instead.
DeltaFile
+0-68mail/archiveopteryx-devel/files/archiveopteryx.in
+0-66mail/archiveopteryx-devel/Makefile
+0-58mail/archiveopteryx-devel/files/patch-Jamsettings
+0-45mail/archiveopteryx-devel/files/patch-Jamfile
+0-25mail/archiveopteryx-devel/files/pkg-message.in
+0-24mail/archiveopteryx-devel/pkg-plist
+0-2867 files not shown
+1-32913 files

FreeBSD/src 3348fa7tests/sys/netinet6/frag6 frag6_19.sh

Revert "Skip sys.netinet6.frag6.frag6_19.frag6_19 in CI"

Per [siva@'s comment on the PR][1], this testcase now passes cleanly in CI.

PR:     274941
MFC after:      1 week

[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274941#c6

This reverts commit 86e87c3bd1b377242aafe7e2222ae17ca0be96d9.
DeltaFile
+0-3tests/sys/netinet6/frag6/frag6_19.sh
+0-31 files

FreeBSD/src efa8679sys/contrib/openzfs/config kernel-dentry-alias.m4, sys/contrib/openzfs/lib/libzfs libzfs_mnttab.c

zfs: merge openzfs/zfs at a12c6ed62

Notable upstream pull request merges:
 #18473 b8d959640 Fix rare cksum errors after rebuild
 #18477 e78a51dd6 Fix off-by-one in PREVIOUSLY_REDACTED handler that drops
                  last block
 #18482 d5099c330 Initialize vr_last_txg for rebuild
 #18483 872f01019 Zstd: rework ZSTD_isError symbol renaming
 #18489 366b1f9a3 Fix long POSIX_FADV_DONTNEED for single block files

Obtained from:  OpenZFS
OpenZFS commit: a12c6ed62fcd06093b95616515e4716b0b0bc038
DeltaFile
+118-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/redacted_max_blkid.ksh
+107-0sys/contrib/openzfs/tests/zfs-tests/cmd/libzfs_mnttab_cache_check.c
+45-25sys/contrib/openzfs/lib/libzfs/libzfs_mnttab.c
+32-0sys/contrib/openzfs/config/kernel-dentry-alias.m4
+26-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/libzfs/libzfs_mnttab_cache.ksh
+16-3sys/contrib/openzfs/module/os/linux/zfs/zfs_ctldir.c
+344-2841 files not shown
+522-10747 files

FreeBSD/src 18626fatests/sys/netinet6/frag6 frag6_07.sh

Unskip test sys.netinet6.frag6.frag6_07.frag6_07

This is now consistently passing with 100+ consecutive runs.

Signed-off-by: Siva Mahadevan <me at svmhdvn.name>
PR:             244170
MFC after:      3 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 681e9d3e391f30a512c523514f69a63c9782a901)
DeltaFile
+0-3tests/sys/netinet6/frag6/frag6_07.sh
+0-31 files

FreeBSD/src 1c4f255tests/sys/net if_lagg_test.sh

tests/if_lagg_test: unskip 'witness' testcase

This testcase passes consistently (in 100+ runs) now.

Signed-off-by:  Siva Mahadevan <me at svmhdvn.name>
PR:             244163, 251726
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 7a83fedc116d827cc9c6d8e049b785f1d7b68dcd)
DeltaFile
+0-3tests/sys/net/if_lagg_test.sh
+0-31 files

FreeBSD/ports 6e724a0graphics/mesa-devel distinfo Makefile, graphics/mesa-devel/files patch-libdrm-2.4.131

graphics/mesa-devel: update to 26.1.b.905

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/aac8787fdaf...0f75fa5bfd2
DeltaFile
+38-0graphics/mesa-devel/files/patch-libdrm-2.4.131
+3-3graphics/mesa-devel/distinfo
+2-2graphics/mesa-devel/Makefile
+43-53 files

FreeBSD/ports c0d64aeemulators/rpcs3 distinfo Makefile

emulators/rpcs3: update to 0.0.40.19334

Changes:        https://github.com/RPCS3/rpcs3/compare/e26c80c129...4f47fee360
DeltaFile
+3-3emulators/rpcs3/distinfo
+2-2emulators/rpcs3/Makefile
+5-52 files

FreeBSD/ports 5e02498graphics/mesa-devel distinfo Makefile

graphics/mesa-devel: update to 26.1.b.543

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/c5edb900465...aac8787fdaf
DeltaFile
+3-3graphics/mesa-devel/distinfo
+2-3graphics/mesa-devel/Makefile
+5-62 files

FreeBSD/ports 5c01f60cad/solvespace distinfo Makefile, cad/solvespace/files patch-src_CMakeLists.txt

cad/solvespace: Update to 3.2
DeltaFile
+0-17cad/solvespace/files/patch-src_CMakeLists.txt
+7-9cad/solvespace/distinfo
+2-6cad/solvespace/Makefile
+6-1cad/solvespace/pkg-plist
+15-334 files

FreeBSD/ports 65f72b6graphics/nvidia-drm-61-kmod/files patch-nvidia-drm-freebsd-lkpi.c-20250918-01 extra-patch-nvidia-drm-freebsd-lkpi.c-20250918-01, graphics/nvidia-drm-66-kmod/files patch-nvidia-drm-freebsd-lkpi.c-20250918-01 extra-patch-nvidia-drm-freebsd-lkpi.c-20250918-01

x11/nvidia-driver{-devel}, x11/nvidia-kmod{-devel}, x11/linux-nvidia-libs{-devel}, graphics/nvidia-drm*-kmod{-devel}, x11/nvidia-settings, x11/nvidia-xconfig: Update to 595.71.05

Update to latest Production Branch of drivers 595.71.05:
https://www.nvidia.com/en-us/drivers/details/267226/

Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/267223/

PR:             295058
Differential Revision:  https://reviews.freebsd.org/D56851
DeltaFile
+0-47graphics/nvidia-drm-latest-kmod/files/patch-nvidia-drm-freebsd-lkpi.c-20250918-01
+47-0graphics/nvidia-drm-latest-kmod/files/extra-patch-nvidia-drm-freebsd-lkpi.c-20250918-01
+0-47graphics/nvidia-drm-66-kmod/files/patch-nvidia-drm-freebsd-lkpi.c-20250918-01
+47-0graphics/nvidia-drm-66-kmod/files/extra-patch-nvidia-drm-freebsd-lkpi.c-20250918-01
+0-47graphics/nvidia-drm-61-kmod/files/patch-nvidia-drm-freebsd-lkpi.c-20250918-01
+47-0graphics/nvidia-drm-61-kmod/files/extra-patch-nvidia-drm-freebsd-lkpi.c-20250918-01
+141-14129 files not shown
+203-19935 files

FreeBSD/src c4af3f1share/man/man7 freebsd-base.7

freebsd-base.7: Document adding a local repo

MFC after:              1 day
Discussed with:         bcr, ivy, kevans, ngie
Differential Revision:  https://reviews.freebsd.org/D56608
DeltaFile
+22-1share/man/man7/freebsd-base.7
+22-11 files

FreeBSD/src 2a86992libexec/nuageinit/tests nuageinit.sh

nuageninit: modify the test to show the issue fixed inc316ec259011

Ensure the script used is invalid when parsed by libyaml which
highlight the issue revealed in PR295062

while at here validate the mode of the file is properly changed

PR:             295062
MFC After:      1 day
DeltaFile
+5-3libexec/nuageinit/tests/nuageinit.sh
+5-31 files

FreeBSD/doc 335d812website/data/en/press press.toml

press: Update Foundation blog posts for Jan-May 2026

Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-doc/pull/668
DeltaFile
+90-0website/data/en/press/press.toml
+90-01 files

FreeBSD/ports 76e2aabemulators/dosbox-staging Makefile

emulators/dosbox-staging: add mt32emu support

Add port option MT32EMU which provides Roland MT-32 emulation support by using
mt32emu from the Munt project. Enable this option by default.

PR:             284635
DeltaFile
+8-5emulators/dosbox-staging/Makefile
+8-51 files

FreeBSD/ports 24e43fcemulators/libmt32emu Makefile pkg-plist, emulators/libmt32emu/files patch-CMakeLists.txt patch-cmake_project__data.cmake

devel/libmt32emu: New port: Emulate Roland MT-32, CM-32L and LAPC-I synthesiser modules

mt32emu is part of the Munt project. It represents a C/C++ library named
libmt32emu which allows to emulate (approximately) the Roland MT-32, CM-32L and
LAPC-I synthesiser modules.

WWW: https://munt.sourceforge.net

PR:             284634
Co-authored-by: Max Brazhnikov <makc at FreeBSD.org>
DeltaFile
+45-0emulators/libmt32emu/Makefile
+29-0emulators/libmt32emu/pkg-plist
+11-0emulators/libmt32emu/files/patch-CMakeLists.txt
+9-0emulators/libmt32emu/files/patch-cmake_project__data.cmake
+3-0emulators/libmt32emu/pkg-descr
+3-0emulators/libmt32emu/distinfo
+100-01 files not shown
+101-07 files

FreeBSD/src 5df7daesys/kern subr_kobj.c

kobj: Use M_WAITOK in kobj_init

Blocking allocation is safe in all of the current callers of kobj_init
(most of them do a M_WAITOK malloc of the structure passed as the
first argument to kobj_init just before calling it).  kobj_init
doesn't return an error code but instead panics if the nested malloc
in kobj_class_compile1 fails, so using M_WAITOK here is more robust.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D56625
DeltaFile
+1-1sys/kern/subr_kobj.c
+1-11 files

FreeBSD/src 5a6e595sys/kern subr_kobj.c

kobj: Assert class passed to kobj_init_static is compiled

Inspired by discussion in
https://github.com/freebsd/freebsd-src/pull/2016

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D56624
DeltaFile
+2-0sys/kern/subr_kobj.c
+2-01 files

FreeBSD/src bf636acsys/dev/mlx5/mlx5_en mlx5_en_hw_tls_rx.c

mlx5en: destroy TIR before DEK during TLS RX teardown

Reorder the TLS RX teardown sequence so the TIR is destroyed before
the DEK.  DESTROY_TIR for a TLS-enabled TIR issues a TRA RX fence
that drains all in-flight packets from the crypto pipeline.  If the
DEK is destroyed first, packets still in flight hit a TPT encryption
error (vendor syndrome 0x55) because the key they reference is
already gone.

Reviewed by:    kib
Sponsored by:   Nvidia networking
MFC after:      1 week
DeltaFile
+11-4sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
+11-41 files

FreeBSD/src c316ec2libexec/nuageinit nuageinit

nuageinit: only parse user_data as yaml when necessary

This fixes a regression introduced in cae280931c9e which prevents
user_data as a shell script to be used

PR:             295062
Reported by:    Ross McKelvie <ross at exitzero.uk>
MFC After:      1 day
DeltaFile
+1-1libexec/nuageinit/nuageinit
+1-11 files

FreeBSD/src 84a9574share/man/man9 cdefs.9, sys/compat/linuxkpi/common/include/linux compiler_attributes.h

sys/cdefs.h: Introduce __maybe_unused attribute

The __maybe_unused attribute should be used for variables which may or
may not be used, such as when their only use is in an assertion. This
attribute is functionally identical to __unused, suppressing compiler
warnings for particular variable if it remains unused.

Reviewed by:    Minsoo Choo <minsoo at minsoo.io>, imp
Differential Revision:  https://reviews.freebsd.org/D56517
DeltaFile
+4-2share/man/man9/cdefs.9
+1-0sys/sys/cdefs.h
+0-1sys/compat/linuxkpi/common/include/linux/compiler_attributes.h
+5-33 files

FreeBSD/src 103f988usr.sbin/rtadvd config.c

rtadvd(8): Honor pltime/vltime in interface declarations

Currently rtadvd ignores interface pltime/vltime specifications
unless the (static) address range is also included in the config file.
This extends the validity of a pltime and/or vltime stanza in
the config file for an interface to delegated addresses from
an upstream provider.

Signed-off-by:  tickerguy <karl at denninger.net>
PR:             288426
Reviewed by:    pouria
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1863
DeltaFile
+20-2usr.sbin/rtadvd/config.c
+20-21 files

FreeBSD/doc 722f176website/content/en/releases/15.1R relnotes.adoc

15.1/relnotes: Include an ENA driver highlight

Sponsored by:   Amazon
DeltaFile
+1-0website/content/en/releases/15.1R/relnotes.adoc
+1-01 files

FreeBSD/doc 8c95180website/content/en/releases/15.1R relnotes.adoc

15.1/relnotes: Mention ENA/arm64 irq mapping fix

This is technically a general intrng bug fix, but I'm not aware of the
bug affecting anything other than ena(4) on arm64 so I'm listing this
under "Cloud Support".

Sponsored by:   Amazon
DeltaFile
+4-0website/content/en/releases/15.1R/relnotes.adoc
+4-01 files

FreeBSD/doc 05d4f53website/content/en/releases/15.1R relnotes.adoc

15.1/relnotes: Clarify Extended Destination ID

We don't merely recognize bits in CPUID; we make use of it to allow
FreeBSD to run on larger VMs, including EC2 r8i.96xlarge.

Sponsored by:   Amazon
DeltaFile
+2-1website/content/en/releases/15.1R/relnotes.adoc
+2-11 files

FreeBSD/src 76d756erelease Makefile.vm

Makefile.vm: Split error condition

Make it clear which of two possible cases applies.

Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D56837
DeltaFile
+4-3release/Makefile.vm
+4-31 files

FreeBSD/src bc9f667usr.sbin/bhyve pci_virtio_scsi.c

bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression

If anyone would build bhyve with -DNDEBUG, any code in the expression
in assert() won't be executed.  Instead put the return value in a
temporary variable to assert that it has the expected value.

Reviewed by: emaste, markj (earlier version)
Fixes: 2a514d377b37 ("bhyve/virtio-scsi: Preallocate all I/O requests")
Differential Revision: https://reviews.freebsd.org/D55803
DeltaFile
+4-2usr.sbin/bhyve/pci_virtio_scsi.c
+4-21 files

FreeBSD/ports 595cf85www/firefox distinfo Makefile

www/firefox: update to 150.0.2 (rc2)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/150.0.2/releasenotes/

(cherry picked from commit 5f469675f3391d02aae83741c79bee2952af2a21)
DeltaFile
+3-3www/firefox/distinfo
+2-1www/firefox/Makefile
+5-42 files