HardenedBSD/src 756e85bsys/cam/scsi scsi_all.c, sys/dev/nvd nvd.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+251-1sys/cam/scsi/scsi_all.c
+24-192sys/dev/nvme/nvme.c
+138-71sys/dev/nvd/nvd.c
+134-72sys/dev/nvme/nvme_sim.c
+43-25sys/dev/nvme/nvme_ctrlr.c
+55-0sys/dev/nvme/nvme_if.m
+645-36113 files not shown
+742-41319 files

HardenedBSD/src baa4df9libexec/rc/rc.d ipfilter ippool

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+4-7libexec/rc/rc.d/ipfilter
+1-1libexec/rc/rc.d/ippool
+5-82 files

HardenedBSD/src 26a8cb4libexec/rc/rc.d ipfilter ippool

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+4-7libexec/rc/rc.d/ipfilter
+1-1libexec/rc/rc.d/ippool
+5-82 files

HardenedBSD/ports 8c87264databases/couchdb3 pkg-plist, net/samba422 Makefile pkg-plist.ad_dc

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+619-585databases/couchdb3/pkg-plist
+307-398net/samba422/Makefile
+161-145x11-wm/niri/distinfo
+79-71x11-wm/niri/Makefile.crates
+59-61security/kanidm/distinfo
+49-44net/samba422/pkg-plist.ad_dc
+1,274-1,30427 files not shown
+1,436-1,50633 files

HardenedBSD/src 567a097sys/compat/linuxkpi/common/src linux_80211.c linux_80211.h

LinuxKPI: 802.11: lock down the "txq_scheduled" tailq

For consistency rename the "scheduled_txqs" tailq to
"txq_scheduled" and add a lock per txq ("txq_scheduled_lock[]").
We use the "_bh" locking as this called from the device driver.

This fixes panics due to concurrent access to the tailq, especially
in between "first" and "remove" on the out-direction and between
"insert" and "elem_init" on the in-direction.

This was easily reproducible just running iperf3 at basic rates for
a few seconds to minutes with multiple chipsets, not only rtw89.

Sponsored by:   The FreeBSD Foundation
PR:             290636
Reported by:    arved, and others before
MFC after:      3 days
DeltaFile
+40-11sys/compat/linuxkpi/common/src/linux_80211.c
+2-1sys/compat/linuxkpi/common/src/linux_80211.h
+42-122 files

HardenedBSD/ports 9749e40net-mgmt/xymon-client Makefile, net-mgmt/xymon-client/files patch-Makefile patch-client_Makefile

net-mgmt/xymon-client: port updates

- Add pkg data to clientlog similar to Debian
- Fix patch file name
DeltaFile
+0-22net-mgmt/xymon-client/files/patch-Makefile
+22-0net-mgmt/xymon-client/files/patch-client_Makefile
+11-0net-mgmt/xymon-client/files/patch-client_xymonclient-freebsd.sh
+1-1net-mgmt/xymon-client/Makefile
+34-234 files

HardenedBSD/ports 4b9b767graphics/mesa-devel distinfo Makefile

graphics/mesa-devel: update to 25.3.b.2226

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/b75cd07265b...8ba197c9ef6
DeltaFile
+3-3graphics/mesa-devel/distinfo
+2-2graphics/mesa-devel/Makefile
+5-52 files

HardenedBSD/ports e5cf974games/veloren-weekly distinfo Makefile

games/veloren-weekly: update to s20251205

Changes:        https://gitlab.com/veloren/veloren/-/compare/99d7d92d08...7e8cec0d08
DeltaFile
+3-3games/veloren-weekly/distinfo
+1-1games/veloren-weekly/Makefile
+4-42 files

HardenedBSD/ports cadf678x11-wm/niri distinfo Makefile.crates, x11-wm/niri/files patch-libdisplay-info-0.3 patch-udev

x11-wm/niri: update to 25.11

Changes:        https://github.com/YaLTeR/niri/releases/tag/v25.11
Reported by:    GitHub (watch releases)
DeltaFile
+161-145x11-wm/niri/distinfo
+79-71x11-wm/niri/Makefile.crates
+0-62x11-wm/niri/files/patch-libdisplay-info-0.3
+28-0x11-wm/niri/files/patch-udev
+9-9x11-wm/niri/files/patch-pipewire_init
+1-2x11-wm/niri/Makefile
+278-2896 files

HardenedBSD/ports d349b15net/waypipe distinfo Makefile.crates

net/waypipe: update to 0.10.6

Changes:        https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases/v0.10.6
Reported by:    GitLab (notify releases)
DeltaFile
+7-7net/waypipe/distinfo
+2-2net/waypipe/Makefile.crates
+1-2net/waypipe/Makefile
+10-113 files

HardenedBSD/src 0a19464sys/cam cam_ccb.h, sys/dev/nvme nvme_sim.c

nvme: Only attach to storage NVMe devices

Only attach CAM to the nvme storage devices.

Sponsored by:           Netflix
DeltaFile
+8-1sys/dev/nvme/nvme_sim.c
+1-1sys/cam/cam_ccb.h
+9-22 files

HardenedBSD/src 8486028sys/dev/nvd nvd.c, sys/dev/nvme nvme.c nvme.h

nvme: remove now-redundant consumer interface

Now that we've moved to newbus methods, we can delete this...

Sponsored by:           Netflix
Reviewed by:            dab
Differential Revision:  https://reviews.freebsd.org/D54095
DeltaFile
+0-133sys/dev/nvme/nvme.c
+0-14sys/dev/nvme/nvme.h
+0-5sys/dev/nvme/nvme_private.h
+0-2sys/dev/nvd/nvd.c
+0-1sys/dev/nvme/nvme_ctrlr.c
+0-1555 files

HardenedBSD/src b6b52a9sys/dev/nvme nvme.c nvme_ctrlr.c

nvme: Notify failure with newbus call

Sponsored by:           Netflix
Reviewed by:            dab
Differential Revision:  https://reviews.freebsd.org/D51391
DeltaFile
+10-13sys/dev/nvme/nvme.c
+2-2sys/dev/nvme/nvme_ctrlr.c
+1-1sys/dev/nvme/nvme_private.h
+13-163 files

HardenedBSD/src 9b170dcsys/dev/nvme nvme.c nvme_ctrlr.c

nvme: Use new method to do async notifications

Nothing uses these at the moment, but it would be useful to use in the
future so convert this functionality to an newbus function dispatch.

Sponsored by:           Netflix
Reviewed by:            dab
Differential Revision:  https://reviews.freebsd.org/D51390
DeltaFile
+14-15sys/dev/nvme/nvme.c
+5-6sys/dev/nvme/nvme_ctrlr.c
+4-4sys/dev/nvme/nvme_private.h
+23-253 files

HardenedBSD/src aed4471sys/dev/nvd nvd.c, sys/dev/nvme nvme_ctrlr.c nvme.c

nvd: Connect nvme_if methods

Conenct methods to manage namespaces explicitly to replace the old
consumer interface.

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D51388
DeltaFile
+135-102sys/dev/nvd/nvd.c
+31-16sys/dev/nvme/nvme_ctrlr.c
+0-36sys/dev/nvme/nvme.c
+0-2sys/dev/nvme/nvme_private.h
+1-1sys/dev/nvme/nvme_if.m
+1-1sys/modules/nvd/Makefile
+168-1586 files

HardenedBSD/src a21f128sys/dev/nvme nvme_sim.c, sys/modules/nvme Makefile

nvme_sim: Connect to events broadcast with nvme_if

Connect up the nvme_ns_* events. Copy code from old ways, as needed, and
refactor a little.

Sponsored by:           Netflix
Reviewed by:            dab
Differential Revision:  https://reviews.freebsd.org/D51387
DeltaFile
+93-70sys/dev/nvme/nvme_sim.c
+1-0sys/modules/nvme/Makefile
+94-702 files

HardenedBSD/src b32470bsys/dev/nvd nvd.c

nvd: Attach as a child of nvme

Rather than registering as a consumer of the nvme controller, hook into
the child device and use that.

This is a small regression at the moment: we don't fail the device when
that happens at runtime.

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D51385
DeltaFile
+73-37sys/dev/nvd/nvd.c
+73-371 files

HardenedBSD/src 1e39b5dsys/dev/nvme nvme_sim.c

nvme_sim: Attach as a child of nvme

Rather than registering as a consumer of the nvme controller, hook into
the child device and use that.

This is a small regression at the moment: we don't fail the device when
that happens at runtime, and we don't handle new namespaces when they
arrive (though that feature is currently fragile).

Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D51384
DeltaFile
+86-54sys/dev/nvme/nvme_sim.c
+86-541 files

HardenedBSD/src 743fbb5sys/dev/nvme nvme.c nvme_ctrlr.c

nvme: Add child device for each controller

Step 1 in the move from registering consumers for NVMe drives to newbus
nvme drives:

Add a child device and attach them for each controller that we
initialize. Detach them when we detach the main device.

Sponsored by:           Netflix
Reviewed by:            dab
Differential Revision:  https://reviews.freebsd.org/D51383
DeltaFile
+5-0sys/dev/nvme/nvme.c
+5-0sys/dev/nvme/nvme_ctrlr.c
+10-02 files

HardenedBSD/src e5c770dsys/conf files, sys/dev/nvme nvme_if.m

nvme: Nvme controller generated events

Interface for the nvme driver notifying its children of different
events: async notifications, namespace events and device failure. These
aren't yet connected.

Sponsored by:           Netflix
Reviewed by:    dab
Differential Revision:  https://reviews.freebsd.org/D51386
DeltaFile
+55-0sys/dev/nvme/nvme_if.m
+1-0sys/conf/files
+56-02 files

HardenedBSD/ports cdc0ec4net/samba422 Makefile

net/samba422: Use SAMBA4_SUB for bundled dependencies as well
DeltaFile
+24-33net/samba422/Makefile
+24-331 files

HardenedBSD/ports 6ce9abbnet/samba422 Makefile

net/samba422: Add a missing dependency: ncurses

This should address the following errors:

    Error: /usr/local/bin/samba-regedit is linked to /usr/local/lib/libform.so.6 from devel/ncurses but it is not declared as a dependency
    Warning: you need USES+=ncurses
    Error: /usr/local/bin/samba-regedit is linked to /usr/local/lib/libncurses.so.6 from devel/ncurses but it is not declared as a dependency
    Warning: you need USES+=ncurses
    Error: /usr/local/bin/samba-regedit is linked to /usr/local/lib/libtinfo.so.6 from devel/ncurses but it is not declared as a dependency
    Warning: you need USES+=ncurses
    Error: /usr/local/bin/samba-regedit is linked to /usr/local/lib/libpanel.so.6 from devel/ncurses but it is not declared as a dependency
    Warning: you need USES+=ncurses
DeltaFile
+4-4net/samba422/Makefile
+4-41 files

HardenedBSD/ports b700f9anet/samba422 Makefile

net/samba422: Sort and clean up targets
DeltaFile
+54-61net/samba422/Makefile
+54-611 files

HardenedBSD/ports a9fe626net/samba422 Makefile

net/samba422: Address the last portclippy warning
DeltaFile
+2-2net/samba422/Makefile
+2-21 files

HardenedBSD/ports afd3fe0net/samba422 Makefile

net/samba422: Introduce a TEST option

This way we can handle test-specific build and run dependencies.
DeltaFile
+14-16net/samba422/Makefile
+14-161 files

HardenedBSD/ports db5744anet/samba422 Makefile

net/samba422: Introduce option DEVELOPMENT

DEVELOPMENT is a group option for all the testing, debugging, and
development options offered by Samba.

While here, sort related variables.
DeltaFile
+27-27net/samba422/Makefile
+27-271 files

HardenedBSD/ports 1ed69b1net/samba422 Makefile

net/samba422: Move most *_DEPENDS where they belong

No functional changes intended.
DeltaFile
+35-37net/samba422/Makefile
+35-371 files

HardenedBSD/ports 02ad15enet/samba422 Makefile

net/samba422: Refactor handling of FRUIT and GLUSTERFS manuals
DeltaFile
+2-10net/samba422/Makefile
+2-101 files

HardenedBSD/ports 58a89f8net/samba422 Makefile

net/samba422: Sort some more variables

No functional changes intended.
DeltaFile
+96-106net/samba422/Makefile
+96-1061 files

HardenedBSD/ports 5c84f1fnet/samba422 Makefile

net/samba422: Clean up handling of Python bindings

No functional changes intended.
DeltaFile
+14-31net/samba422/Makefile
+14-311 files