FreeBSD/src 9d59ca7sys/net iflib.c

iflib: Do not hold the ifnet lock across registration

iflib_device_register() acquired IFNET_WLOCK to preserve lock order
when ether_ifattach() was called with the context lock held.  The context
lock is now released around ether_ifattach(), making registration-wide
ifnet serialization unnecessary.

Keeping IFNET_WLOCK across driver attachment also allows synchronous
interface event handlers to recurse on it.  The rtnetlink interface-group
dump does so through if_foreach_group() while handling the interface
attachment event.

Remove the outer lock and the corresponding failure-path unlock and
relock transitions.  Continue to drop the context lock around
ether_ifattach() and taskqueue drains, and preserve context-lock coverage
for driver attach and detach.

Validated under WITNESS on 82576 and I226 controllers.  Multiple VF
attach and detach cycles, netmap control operations, and every iflib

    [12 lines not shown]
DeltaFile
+5-18sys/net/iflib.c
+5-181 files

FreeBSD/ports c6b9d68math/clasp Makefile distinfo

math/clasp: Update to 3.4.1

Approved by:    vsevolod (maintainer)
Pull Request:   https://github.com/freebsd/freebsd-ports/pull/599
DeltaFile
+5-5math/clasp/distinfo
+2-2math/clasp/Makefile
+7-72 files

FreeBSD/ports f0471d2security/arti Makefile Makefile.crates

security/arti: Update to 2.6.0
DeltaFile
+229-251security/arti/distinfo
+113-124security/arti/Makefile.crates
+2-2security/arti/Makefile
+344-3773 files

FreeBSD/src 87cfe4ausr.sbin/syslogd syslogd.c

syslogd: Pipes need the CAP_PDGETPID right as well

While here, use caph_rights_limit(), as syslogd already uses
caph_enter().

PR:             298104
Reported by:    mi
Fixes:          24816abb8740 ("syslogd: Limit rights on procdescs")
MFC after:      3 days
DeltaFile
+4-3usr.sbin/syslogd/syslogd.c
+4-31 files

FreeBSD/src 231dfc9usr.sbin/syslogd/tests syslogd_test.sh

syslogd/tests: Amend a test to catch leaked process descriptors

This serves to catch the regression fixed by commit
1a669b66ddb4 ("syslogd: reap pipe children on config reload").

MFC after:      1 week
DeltaFile
+7-0usr.sbin/syslogd/tests/syslogd_test.sh
+7-01 files

FreeBSD/ports 51babd9net/bsdrcmds distinfo Makefile, net/bsdrcmds/files/libblacklist-patches patch-rshd_Makefile patch-rlogind_Makefile

net/bsdrcmds: Use blocklist

Starting from FreeBSD version 1500000, prefer the new blocklist
nomenclature.

Once older versions are no longer supported, we should use blocklist
exclusively.

PR:             295081
DeltaFile
+112-0net/bsdrcmds/files/libblacklist-patches/patch-rshd_rshd.c
+64-0net/bsdrcmds/files/libblacklist-patches/patch-rlogind_rlogind.c
+22-9net/bsdrcmds/Makefile
+15-0net/bsdrcmds/files/libblacklist-patches/patch-rshd_Makefile
+15-0net/bsdrcmds/files/libblacklist-patches/patch-rlogind_Makefile
+5-3net/bsdrcmds/distinfo
+233-126 files

FreeBSD/ports d83d672security/nss Makefile, security/nss/files patch-coreconf_FreeBSD.mk

security/nss: fix on arm

PR:             298103
Submitted by:   dch@
Differential Revision:  https://reviews.freebsd.org/D59313

(cherry picked from commit fdbd7d5e2871a8dee897fb4c21d3d0bc0b32f6a9)
DeltaFile
+13-1security/nss/files/patch-coreconf_FreeBSD.mk
+1-0security/nss/Makefile
+14-12 files

FreeBSD/ports 26c0bfcnet/liferea pkg-plist Makefile, net/liferea/files patch-src_liferea__application.c patch-263663385df5a98301b053c6f0d1cc4b22e2f89e

net/liferea: update to 2.0.1

Release Notes:
  https://github.com/lwindolf/liferea/releases/tag/v2.0.1
DeltaFile
+11-9net/liferea/files/patch-meson.build
+0-18net/liferea/files/patch-263663385df5a98301b053c6f0d1cc4b22e2f89e
+0-12net/liferea/files/patch-src_liferea__application.c
+3-3net/liferea/distinfo
+2-2net/liferea/Makefile
+0-2net/liferea/pkg-plist
+16-466 files

FreeBSD/ports 74b734eaudio/pulseaudio Makefile, audio/pulseaudio/files patch-src_pulsecore_shm.c

audio/pulseaudio: Remove ancient and irrelevant patch
DeltaFile
+0-11audio/pulseaudio/files/patch-src_pulsecore_shm.c
+1-1audio/pulseaudio/Makefile
+1-122 files

FreeBSD/ports fdbd7d5security/nss Makefile, security/nss/files patch-coreconf_FreeBSD.mk

security/nss: fix on arm

PR:             298103
Submitted by:   dch@
Differential Revision:  https://reviews.freebsd.org/D59313
DeltaFile
+13-1security/nss/files/patch-coreconf_FreeBSD.mk
+1-0security/nss/Makefile
+14-12 files

FreeBSD/doc 719cfacwebsite/content/ru where.adoc

website/ru: Update where.adoc

Update to EN c0e54b357fef113761fee5ec3c309ccc194b6157
DeltaFile
+4-4website/content/ru/where.adoc
+4-41 files

FreeBSD/doc 0225bd1website/data/ru/press press.toml

website/ru: Update data/ru/press/press.toml

Update to EN 239cdf46076723fa017744078cbd941b04336e21
DeltaFile
+107-1website/data/ru/press/press.toml
+107-11 files

FreeBSD/ports 3dba3a5devel/py-lxml Makefile distinfo

devel/py-lxml: update to 6.1.3

Changelog: https://lxml.de/6.1/changes-6.1.3.html
(cherry picked from commit 57b882f92625e951355f2beee7ba6e75616b1bbd)
DeltaFile
+3-3devel/py-lxml/distinfo
+1-1devel/py-lxml/Makefile
+4-42 files

FreeBSD/ports 57b882fdevel/py-lxml Makefile distinfo

devel/py-lxml: update to 6.1.3

Changelog: https://lxml.de/6.1/changes-6.1.3.html
DeltaFile
+3-3devel/py-lxml/distinfo
+1-1devel/py-lxml/Makefile
+4-42 files

FreeBSD/src 60d7890cddl/usr.sbin/dtrace/tests dtrace.test.mk, cddl/usr.sbin/dtrace/tests/amd64/arrays Makefile

dtrace/tests: compile D sources at runtime on test target

Previously, we would precompile D test dependencies using the
host's dtrace, which unconditionally outputs ELF files in the
host's format. This breaks the cross-compile build with errors
like the following:

dtrace: failed to link script: incorrect ELF machine type for
object file: tst.usdt.pieo
--- usdt.o ---
*** Failed target: usdt.o

This patch moves compilation to runtime for all C-based testcases
that have a dependent D source file.

Reviewed by:    markj
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59030
DeltaFile
+23-1cddl/usr.sbin/dtrace/tests/tools/dtest.sh
+10-8cddl/usr.sbin/dtrace/tests/dtrace.test.mk
+3-1cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh
+3-1cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile
+3-1cddl/usr.sbin/dtrace/tests/common/aggs/Makefile
+3-1cddl/usr.sbin/dtrace/tests/amd64/arrays/Makefile
+45-1387 files not shown
+306-10093 files

FreeBSD/src 6e94e07sys/kern subr_devstat.c

devstat: Fix a kernel stack disclosure

The 16-byte "device_name" field was not zero-filled, so could contain
uninitialized stack data.  Zero the whole struct, as that's the
prevailing pattern for this kind of conversion code, and it's more
robust in the face of future revisions to struct devstat.

Reviewed by:    olce, kib
Reported by:    Reo Shiseki
Fixes:          a11d132f6c62 ("devstat: Provide 32-bit compatibility")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59309

(cherry picked from commit 7cb1a76f88158fb690418336b736e66c238cd4f7)
DeltaFile
+1-0sys/kern/subr_devstat.c
+1-01 files

FreeBSD/src a550e82share/man/man4 iflib.4, sys/net iflib.c

iflib: Require sustained demand for TX watchdog

The restored watchdog arms when the outstanding descriptor count
grows, but then continues counting based only on the queue remaining
frozen.  A single growth sample can therefore leave a quiet, nearly
empty queue armed until the watchdog resets the interface.  Lockless
sampling of the queue counters can also manufacture the initial growth
sample.

This matches watchdog reports from I354 queues with 979 or 980 of
1022 usable descriptors still available.  Neither queue was under
transmit backpressure when the reset flapped its link.

Keep the watchdog armed only while the outstanding count continues
to grow, the software ring is stalled, or the hardware ring is at
iflib's backpressure threshold.  The last condition preserves hang
detection with simple-TX, which bypasses the software ring.  A busy hang
still reaches the verdict while a frozen but quiet tail disarms.  Retain
the final driver completion peek so a missed completion interrupt

    [14 lines not shown]
DeltaFile
+34-26sys/net/iflib.c
+9-5share/man/man4/iflib.4
+43-312 files

FreeBSD/src e2cf718share/man/man7 ports.7

ports.7: Document test target

While here, document WITHOUT_DEBUG_PORTS.

Approved by: dch (mentor)
Approved by: kevans
Approved by: ziaee
Closes:      https://github.com/freebsd/freebsd-src/pull/2387
DeltaFile
+23-2share/man/man7/ports.7
+23-21 files

FreeBSD/ports bbd4bddmail/fetchmail Makefile distinfo

mail/fetchmail{,conf}: Update 6.6.6 => 6.6.7

Changelog:
https://gitlab.com/fetchmail/fetchmail/-/blob/6.6.7/NEWS#L113

PR:             298119
Reported by:    Corey Halpin <chalpin at cs.wisc.edu> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit b6a3a91f25d91a9789bfee57fd7595e483b863c2)
DeltaFile
+3-3mail/fetchmail/distinfo
+2-2mail/fetchmail/Makefile
+5-52 files

FreeBSD/ports b6a3a91mail/fetchmail Makefile distinfo

mail/fetchmail{,conf}: Update 6.6.6 => 6.6.7

Changelog:
https://gitlab.com/fetchmail/fetchmail/-/blob/6.6.7/NEWS#L113

PR:             298119
Reported by:    Corey Halpin <chalpin at cs.wisc.edu> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+3-3mail/fetchmail/distinfo
+2-2mail/fetchmail/Makefile
+5-52 files

FreeBSD/ports c7f2afcnet-im/matterircd Makefile distinfo

net-im/matterircd: Update 0.31.0 => 0.32.0

Changelog:
https://github.com/42wim/matterircd/releases/tag/v0.32.0

PR:             298118
Reported by:    Corey Halpin <chalpin at cs.wisc.edu> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit 0922ec476d7d0eece2699c584232c38eb6ac796f)
DeltaFile
+3-3net-im/matterircd/distinfo
+1-2net-im/matterircd/Makefile
+4-52 files

FreeBSD/ports 0922ec4net-im/matterircd Makefile distinfo

net-im/matterircd: Update 0.31.0 => 0.32.0

Changelog:
https://github.com/42wim/matterircd/releases/tag/v0.32.0

PR:             298118
Reported by:    Corey Halpin <chalpin at cs.wisc.edu> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+3-3net-im/matterircd/distinfo
+1-2net-im/matterircd/Makefile
+4-52 files

FreeBSD/ports 17bcf0e. UPDATING, mail/py-notmuch2 Makefile

mail/py-notmuch2: Fix value of PKGNAMESUFFIX

In commit db96db170fc4, the value of PKGNAMESUFFIX was accidentally
changed from 2 to 0.  Fix this by setting it back to the correct value,
2, which renames the package back to py*-notmuch2.

Bump PORTREVISION, so the renamed package is reinstalled with a
corrected plist.

PR:             298122
Reported by:    John Hein <jcfyecrayz at liamekaens.com>
Fixes:          db96db170fc4 (mail/notmuch*: Update to 0.34.2)
Sponsored by:   The FreeBSD Foundation
DeltaFile
+17-0UPDATING
+2-2mail/py-notmuch2/Makefile
+19-22 files

FreeBSD/src 7ca0c1erelease/tools vmimage.subr

vmimage.subr: Use makefs -N

By default, makefs uses the host environment's user and group databases
when creating filesystems.  This causes makefs to fail when trying to
create files owned by users or groups which don't exist in the host
environment, for example when creating a VM with packages pre-installed
which added their own users/groups.

Pass "-N ${DESTDIR}/etc" to makefs to point it at the user and group
databases from the image being created.

MFC after:      1 week
Sponsored by:   Amazon
DeltaFile
+1-1release/tools/vmimage.subr
+1-11 files

FreeBSD/ports f1094a8multimedia/lebiniou Makefile, multimedia/lebiniou/files patch-plugins_output_v4l2loopback_v4l2loopback.c patch-src_webcam.h

multimedia/lebiniou: fix on -CURRENT with video(4)

Fix build after D59203.

PR:             297454
Reported by:    pkg-fallout
DeltaFile
+11-4multimedia/lebiniou/Makefile
+12-0multimedia/lebiniou/files/patch-plugins_output_v4l2loopback_v4l2loopback.c
+12-0multimedia/lebiniou/files/patch-src_webcam.h
+35-43 files

FreeBSD/ports e1686f2devel/reposilite Makefile distinfo

devel/reposilite: Upgrade to 3.6.3

PR:             298117
Changelog:      https://github.com/dzikoysk/reposilite/releases/tag/3.6.3
DeltaFile
+3-3devel/reposilite/distinfo
+1-1devel/reposilite/Makefile
+4-42 files

FreeBSD/ports 3d6ea24devel Makefile

devel/Makefile: remove reference to moved port sfml

Fixes:          dbfa9f04377fb4df340c26648cc09c9a8c3b1273
Reported by:    "Edward Sanford Sutton, III" <mirror176 at hotmail.com>
DeltaFile
+0-1devel/Makefile
+0-11 files

FreeBSD/ports 441c25adevel/py-libvirt Makefile distinfo

devel/py-libvirt: update to 12.7.0

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/py-libvirt/distinfo
+1-1devel/py-libvirt/Makefile
+4-42 files

FreeBSD/ports 24cf8ccdevel/libvirt Makefile distinfo

devel/libvirt: update to 12.7.0

 - Update to 12.7.0
 - Drop patch merged upstream

Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-6devel/libvirt/Makefile
+3-5devel/libvirt/distinfo
+5-112 files

FreeBSD/src c85a253release/tools oci-image-runtime.conf

oci: Install FreeBSD-pam in the runtime image

In 16.0/15.1, the PAM modules were split from FreeBSD-runtime into a
new FreeBSD-pam package.  FreeBSD-runtime does not install FreeBSD-pam,
which means if a user starts from runtime, then installs sshd, sshd will
fail to authenticate users because of missing PAM modules.

Since FreeBSD-pam is relatively small (about 230kB on amd64), and is
already part of FreeBSD-set-minimal, add it to the runtime image as
well.  Users who absolutely don't want this can still build their
own images without it.

MFC after:      1 week
Reviewed by:    dfr
Reported by:    Michael Johnson <ahze at ahze.net>
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59194
DeltaFile
+1-0release/tools/oci-image-runtime.conf
+1-01 files