HardenedBSD/src 1537babsys/compat/linuxkpi/common/src linux_80211.c linux_80211_macops.c, sys/contrib/dev/mediatek/mt76 usb.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+20-8sys/compat/linuxkpi/common/src/linux_80211.c
+13-5sys/modules/mt76/mt7921/Makefile
+13-0sys/contrib/dev/mediatek/mt76/usb.c
+9-3sys/modules/mt76/mt7925/Makefile
+8-2sys/compat/linuxkpi/common/src/linux_80211_macops.c
+9-0sys/modules/mt76/core/Makefile
+72-1815 files not shown
+115-3121 files

HardenedBSD/ports 6f2dfa6emulators/wine pkg-plist Makefile, emulators/wine/files patch-man patch-dlls_ntdll_unix_loader.c

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+115-5emulators/wine/pkg-plist
+0-94emulators/wine/files/patch-man
+8-18emulators/wine/Makefile
+14-5net/mosquitto/Makefile
+10-7emulators/wine/files/patch-dlls_ntdll_unix_loader.c
+7-7net-mgmt/check_mk_agent/distinfo
+154-13626 files not shown
+211-18932 files

FreeBSD/src 94be5dbsys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: catch possible NULL pointer deref with mt76

With mt76 we, for the first time, see that txstat->skb or
txstat->info may not be filled in linuxkpi_ieee80211_tx_status_ext().
Guard for these cases checking for skb and info to be not NULL and
assume a TX failure in case info is NULL.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+13-3sys/compat/linuxkpi/common/src/linux_80211.c
+13-31 files

HardenedBSD/src 94be5dbsys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: catch possible NULL pointer deref with mt76

With mt76 we, for the first time, see that txstat->skb or
txstat->info may not be filled in linuxkpi_ieee80211_tx_status_ext().
Guard for these cases checking for skb and info to be not NULL and
assume a TX failure in case info is NULL.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+13-3sys/compat/linuxkpi/common/src/linux_80211.c
+13-31 files

FreeBSD/src c529e1asys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: set extra tx info flag for EAPOL for mt76

mt76 requires IEEE80211_TX_CTL_USE_MINRATE to be set for EAPOL, so
add it.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+3-1sys/compat/linuxkpi/common/src/linux_80211.c
+3-11 files

FreeBSD/src 3afe9e1sys/contrib/dev/mediatek/mt76 eeprom.c

mt76: fix a check wrongly giving us random ether addresses all the time

Do not cover the is_valid_ether_addr() check under CONFIG_OF.
Unclear if this is an initial porting or a merging error before the
driver hit the FreeBSD src tree.
The end result was that we always got a random link-layer address,
while the individual drivers may have setup phy->macaddr and this
function would only overwride if given in device tree.
Only if both, driver and and the OF backup, fail then go and use
the random link-layer address.

While here adjust printing the random link-layer address using
a FreeBSD format specifier and not the unsupported Linux one.

Fixes:          6c92544d7c97
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+6-3sys/contrib/dev/mediatek/mt76/eeprom.c
+6-31 files

HardenedBSD/src c529e1asys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: set extra tx info flag for EAPOL for mt76

mt76 requires IEEE80211_TX_CTL_USE_MINRATE to be set for EAPOL, so
add it.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+3-1sys/compat/linuxkpi/common/src/linux_80211.c
+3-11 files

FreeBSD/src 7d60647sys/compat/linuxkpi/common/src linux_80211_macops.c linux_80211.c

LinuxKPI: 802.11: make sure we are scheduled before wake_tx_queue()

If we are not scheduled before calling wake_tx_queue() packets may
never go out, which at first will look like EAPOL fails (as
wpa_supplicant suggest possibly with a wrong key).  Using monitor
mode it will be clear what is going on.
Pass a flag down to wake_tx_queue() to call ieee80211_schedule_txq()
in case (*wake_tx_queue)() is supported or not, which solves the
problem for the lkpi_80211_txq_tx_one() which was failing.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+8-2sys/compat/linuxkpi/common/src/linux_80211_macops.c
+4-4sys/compat/linuxkpi/common/src/linux_80211.c
+3-2sys/compat/linuxkpi/common/src/linux_80211.h
+15-83 files

HardenedBSD/src 3afe9e1sys/contrib/dev/mediatek/mt76 eeprom.c

mt76: fix a check wrongly giving us random ether addresses all the time

Do not cover the is_valid_ether_addr() check under CONFIG_OF.
Unclear if this is an initial porting or a merging error before the
driver hit the FreeBSD src tree.
The end result was that we always got a random link-layer address,
while the individual drivers may have setup phy->macaddr and this
function would only overwride if given in device tree.
Only if both, driver and and the OF backup, fail then go and use
the random link-layer address.

While here adjust printing the random link-layer address using
a FreeBSD format specifier and not the unsupported Linux one.

Fixes:          6c92544d7c97
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+6-3sys/contrib/dev/mediatek/mt76/eeprom.c
+6-31 files

HardenedBSD/src 7d60647sys/compat/linuxkpi/common/src linux_80211_macops.c linux_80211.c

LinuxKPI: 802.11: make sure we are scheduled before wake_tx_queue()

If we are not scheduled before calling wake_tx_queue() packets may
never go out, which at first will look like EAPOL fails (as
wpa_supplicant suggest possibly with a wrong key).  Using monitor
mode it will be clear what is going on.
Pass a flag down to wake_tx_queue() to call ieee80211_schedule_txq()
in case (*wake_tx_queue)() is supported or not, which solves the
problem for the lkpi_80211_txq_tx_one() which was failing.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+8-2sys/compat/linuxkpi/common/src/linux_80211_macops.c
+4-4sys/compat/linuxkpi/common/src/linux_80211.c
+3-2sys/compat/linuxkpi/common/src/linux_80211.h
+15-83 files

FreeBSD/src 03f6b1fsys/modules/mt76 Makefile.inc, sys/modules/mt76/core Makefile

mt76: module Makefiles fix .PATH

The common Makefile.inc had the .PATH set for the common code.
That .PATH is only needed for the mt76_core module, which shares
code for all other drivers.  We leave the COMMONDIR variable defined
in Makefile.inc as we need it for CFLAGS+= -I for each driver but
migrate the .PATH to avoid drivers picking up the wrong files.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+0-2sys/modules/mt76/Makefile.inc
+2-0sys/modules/mt76/core/Makefile
+2-22 files

FreeBSD/src b129f79sys/contrib/dev/mediatek/mt76 usb.c, sys/contrib/dev/mediatek/mt76/mt7615 pci.c

mt76: sort out MODULE_DEPEND for PCI and USB

It is not enough to depend on mt76_core which then depends on linuxkpi
and linuxkpi_wlan.  Given each mt76 driver is its own module, each
also needs to depend on these linuxkpi modules.
In addition the core module usb part also has to depend on linuxkpi_usb.

This in addition to the previously sorted PCI drivers, allows (or will
allow) the individual chipsets (drivers) to load on systems with USB,
if compiled in, as well.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+7-0sys/contrib/dev/mediatek/mt76/mt7921/usb.c
+7-0sys/contrib/dev/mediatek/mt76/mt7925/usb.c
+3-0sys/contrib/dev/mediatek/mt76/usb.c
+1-1sys/contrib/dev/mediatek/mt76/mt7921/pci.c
+1-1sys/contrib/dev/mediatek/mt76/mt7615/pci.c
+1-1sys/contrib/dev/mediatek/mt76/mt7915/pci.c
+20-32 files not shown
+22-58 files

HardenedBSD/src bc820edsys/contrib/dev/mediatek/mt76/mt7925 regd.c

mt76: mt7925: add missing LINUXKPI_PARAM_PREFIX

There is a module_param_named() in the file so we need to set
LINUXKPI_PARAM_PREFIX to get it a uniq sysctl name.  mt7921
has the exact same option.  Without their individual prefixes
the names would clash on systems with both chipsets and not
work for both.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+4-0sys/contrib/dev/mediatek/mt76/mt7925/regd.c
+4-01 files

HardenedBSD/src b129f79sys/contrib/dev/mediatek/mt76 usb.c, sys/contrib/dev/mediatek/mt76/mt7615 pci.c

mt76: sort out MODULE_DEPEND for PCI and USB

It is not enough to depend on mt76_core which then depends on linuxkpi
and linuxkpi_wlan.  Given each mt76 driver is its own module, each
also needs to depend on these linuxkpi modules.
In addition the core module usb part also has to depend on linuxkpi_usb.

This in addition to the previously sorted PCI drivers, allows (or will
allow) the individual chipsets (drivers) to load on systems with USB,
if compiled in, as well.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+7-0sys/contrib/dev/mediatek/mt76/mt7921/usb.c
+7-0sys/contrib/dev/mediatek/mt76/mt7925/usb.c
+3-0sys/contrib/dev/mediatek/mt76/usb.c
+1-1sys/contrib/dev/mediatek/mt76/mt7615/pci.c
+1-1sys/contrib/dev/mediatek/mt76/mt7925/pci.c
+1-1sys/contrib/dev/mediatek/mt76/mt7996/pci.c
+20-32 files not shown
+22-58 files

HardenedBSD/src 03f6b1fsys/modules/mt76 Makefile.inc, sys/modules/mt76/core Makefile

mt76: module Makefiles fix .PATH

The common Makefile.inc had the .PATH set for the common code.
That .PATH is only needed for the mt76_core module, which shares
code for all other drivers.  We leave the COMMONDIR variable defined
in Makefile.inc as we need it for CFLAGS+= -I for each driver but
migrate the .PATH to avoid drivers picking up the wrong files.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+0-2sys/modules/mt76/Makefile.inc
+2-0sys/modules/mt76/core/Makefile
+2-22 files

FreeBSD/src bc820edsys/contrib/dev/mediatek/mt76/mt7925 regd.c

mt76: mt7925: add missing LINUXKPI_PARAM_PREFIX

There is a module_param_named() in the file so we need to set
LINUXKPI_PARAM_PREFIX to get it a uniq sysctl name.  mt7921
has the exact same option.  Without their individual prefixes
the names would clash on systems with both chipsets and not
work for both.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+4-0sys/contrib/dev/mediatek/mt76/mt7925/regd.c
+4-01 files

FreeBSD/src 642c838sys/contrib/dev/mediatek/mt76 usb.c mt792x_usb.c

mt76: make USB compile

This is the mt76-specific changes to make the USB driver targets for
7921 and 7925 compile.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+10-0sys/contrib/dev/mediatek/mt76/usb.c
+3-0sys/contrib/dev/mediatek/mt76/mt792x_usb.c
+13-02 files

HardenedBSD/src 642c838sys/contrib/dev/mediatek/mt76 usb.c mt792x_usb.c

mt76: make USB compile

This is the mt76-specific changes to make the USB driver targets for
7921 and 7925 compile.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+10-0sys/contrib/dev/mediatek/mt76/usb.c
+3-0sys/contrib/dev/mediatek/mt76/mt792x_usb.c
+13-02 files

FreeBSD/src 201fc8asys/modules/mt76 Makefile.inc, sys/modules/mt76/core Makefile

mt76: sort bus attachments in module Makefiles for pci and usb

With PCI enabled and USB still disabled add knobs to (i) enabled
them manually in the common Makefile.inc and (ii) add bus
attachment depend knobs where needed to enable them in individual
drivers.  For now the focus is in 7921 and 7925.

Sponsored by:   The FreeBSD Foundation
MFC atfer:      3 days
DeltaFile
+13-5sys/modules/mt76/mt7921/Makefile
+9-3sys/modules/mt76/mt7925/Makefile
+7-0sys/modules/mt76/core/Makefile
+6-0sys/modules/mt76/Makefile.inc
+35-84 files

HardenedBSD/src 201fc8asys/modules/mt76 Makefile.inc, sys/modules/mt76/core Makefile

mt76: sort bus attachments in module Makefiles for pci and usb

With PCI enabled and USB still disabled add knobs to (i) enabled
them manually in the common Makefile.inc and (ii) add bus
attachment depend knobs where needed to enable them in individual
drivers.  For now the focus is in 7921 and 7925.

Sponsored by:   The FreeBSD Foundation
MFC atfer:      3 days
DeltaFile
+13-5sys/modules/mt76/mt7921/Makefile
+9-3sys/modules/mt76/mt7925/Makefile
+7-0sys/modules/mt76/core/Makefile
+6-0sys/modules/mt76/Makefile.inc
+35-84 files

NetBSD/pkgsrc 677znwwdoc CHANGES-2026

   doc: Updated security/erlang-p1_acme to 1.0.30
VersionDeltaFile
1.942+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc IxcfrnAsecurity/erlang-p1_acme distinfo Makefile

   security/erlang-p1_acme: Update to 1.0.30

   # Version 1.0.30

   * Updating yconf to version 1.0.22.

   # Version 1.0.29

   * Updating yconf to version 95692795a8a8d950ba560e5b07e6b80660557259.

   # Version 1.0.28

   * Updating yconf to version 1.0.21.
   * Fix issues with OTP28

   # Version 1.0.27

   * Updating yconf to version 1.0.20.
   * Fix compilation with Erlang 28

    [4 lines not shown]
VersionDeltaFile
1.8+4-4security/erlang-p1_acme/distinfo
1.7+2-3security/erlang-p1_acme/Makefile
+6-72 files

NetBSD/pkgsrc ZvaJG9qdoc CHANGES-2026

   doc: Updated devel/erlang-mqtree to 1.0.19
VersionDeltaFile
1.941+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc TaOXNhHdevel/erlang-mqtree distinfo Makefile

   /devel/erlang-mqtree: Update to 1.0.19

   # Version 1.0.19

   * Updating p1_utils to version 1.0.28.
   * Update CI containers

   # Version 1.0.18

   * Updating p1_utils to version 1.0.27.
VersionDeltaFile
1.7+4-4devel/erlang-mqtree/distinfo
1.5+2-2devel/erlang-mqtree/Makefile
+6-62 files

NetBSD/pkgsrc av7JadGdoc CHANGES-2026

   doc: Updated security/erlang-jose to 1.11.12
VersionDeltaFile
1.940+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc RTWD77Qsecurity/erlang-jose distinfo PLIST, security/erlang-jose/patches patch-erlang.mk patch-test_jose__test.exs

   security/erlang-jose: Update to 1.11.12

   # Changelog

   ## 1.11.12 (2025-11-20)

   * Fixes
     * Properly handle `nil` from Elixir maps when encoding with the builtin `json` Erlang/OTP module; see [#184](https://github.com/potatosalad/erlang-jose/issues/184)
     * Drop required Elixir version back from 1.16 -> 1.13; see [#185](https://github.com/potatosalad/erlang-jose/issues/185)

   ## 1.11.11 (2025-11-17)

   * Fixes
     * EC key decode/encode issues in OTP 28; see [#180](https://github.com/potatosalad/erlang-jose/pull/180), [#181](https://github.com/potatosalad/erlang-jose/pull/181), [#182](https://github.com/potatosalad/erlang-jose/pull/182), [#179](https://github.com/potatosalad/erlang-jose/pull/179)
     * EdDSA key issues with OTP 27.1.3+; see [#177](https://github.com/potatosalad/erlang-jose/pull/177)
   * Notes
     * This will hopefully be one of the last 1.x releases, next release will be [2.x](https://github.com/potatosalad/erlang-jose/tree/2.x)
VersionDeltaFile
1.2+3-2,231security/erlang-jose/patches/patch-erlang.mk
1.9+5-9security/erlang-jose/distinfo
1.5+8-1security/erlang-jose/PLIST
1.6+4-2security/erlang-jose/Makefile
1.2+1-1security/erlang-jose/patches/patch-test_jose__test.exs
1.2+1-1security/erlang-jose/patches/patch-rebar.config
+22-2,2452 files not shown
+24-2,2478 files

HardenedBSD/ports 4a093acemulators/wine pkg-plist Makefile, emulators/wine/files patch-man patch-dlls_ntdll_unix_loader.c

emulators/wine: Update to Wine 11.0

Move from the Wine 10.0 release series to Wine 11.0 after another year
of upstream development with over 6300 individual changes and 600 fixes.

The new WoW64 architecture is complete (we don't leverage it yet, though).

Other changes include:

 - The OSMesa dependency is removed, and OpenGL bitmap rendering is
   implemented with the hardware accelerated OpenGL runtime.

 - Many more conversions between various pixel formats are supported
   in WindowsCodecs.

 - Exclusive fullscreen mode is supported, and D3D fullscreen mode is
   improved, especially improving older DDraw games.

 - Clipboard support and input methods are implemented in the Wayland

    [21 lines not shown]
DeltaFile
+115-5emulators/wine/pkg-plist
+0-94emulators/wine/files/patch-man
+8-18emulators/wine/Makefile
+10-7emulators/wine/files/patch-dlls_ntdll_unix_loader.c
+0-12emulators/wine/files/patch-configure
+3-3emulators/wine/distinfo
+136-1396 files

FreeBSD/ports 4a093acemulators/wine pkg-plist Makefile, emulators/wine/files patch-man patch-dlls_ntdll_unix_loader.c

emulators/wine: Update to Wine 11.0

Move from the Wine 10.0 release series to Wine 11.0 after another year
of upstream development with over 6300 individual changes and 600 fixes.

The new WoW64 architecture is complete (we don't leverage it yet, though).

Other changes include:

 - The OSMesa dependency is removed, and OpenGL bitmap rendering is
   implemented with the hardware accelerated OpenGL runtime.

 - Many more conversions between various pixel formats are supported
   in WindowsCodecs.

 - Exclusive fullscreen mode is supported, and D3D fullscreen mode is
   improved, especially improving older DDraw games.

 - Clipboard support and input methods are implemented in the Wayland

    [21 lines not shown]
DeltaFile
+115-5emulators/wine/pkg-plist
+0-94emulators/wine/files/patch-man
+8-18emulators/wine/Makefile
+10-7emulators/wine/files/patch-dlls_ntdll_unix_loader.c
+0-12emulators/wine/files/patch-configure
+3-3emulators/wine/distinfo
+136-1396 files

LLVM/project 38f0947utils/bazel/llvm-project-overlay/clang/unittests BUILD.bazel

buildifier

Created using spr 1.3.7
DeltaFile
+2-2utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
+2-21 files

NetBSD/pkgsrc FnF5u6Ndoc CHANGES-2026

   doc: Updated textproc/erlang-fast_yaml to 1.0.39
VersionDeltaFile
1.939+2-1doc/CHANGES-2026
+2-11 files