mwl: migrate to new net80211 encryption key API
Migrate to the new encryption key API rather than poking at the
key struct directly.
Notably this driver was very clear about its expectation the net80211
key layout w/ key, TX MIC and RX MIC matches the firmware layout
and just memcpy()'ed it. That has been refactored.
Differential Revision: https://reviews.freebsd.org/D54484
wpi: migrate to new net80211 encryption key API
Migrate to the new encryption key API rather than poking at the
key struct directly.
Differential Revision: https://reviews.freebsd.org/D54482
iwi: migrate to new net80211 encryption key API
Migrate to the new encryption key API rather than poking at the
key struct directly.
Differential Revision: https://reviews.freebsd.org/D54481
ipw: migrate to new net80211 encryption key API
Migrate to the new encryption key API rather than poking at the
key struct directly.
Differential Revision: https://reviews.freebsd.org/D54480
ath: migrate to new net80211 encryption key API
Migrate to the new encryption key API rather than poking at the
key struct directly.
Differential Revision: https://reviews.freebsd.org/D54479
Fix failing passdb tests
Due to changes related to stateful failover we changed the
default passdb path in samba. This commit updates the temporary
smb.conf we generate for testing to reflect this.
bsdinstall: fix EFI boot entry creation
update_uefi_bootentry assumes that the caller sets FREEBSD_BOOTNAME and
mntpt, which isn't the case anymore. The result is that there is no
"FreeBSD" boot entry created/updated after install. Most machines manage
to boot from the removable media path (if the loader is installed there
too), but some don't.
Take the loader's path as an argument and rename the variable used in
the ZFS mirror loop so mntpt can be reused below.
Also mark nentries as a local variable so it doesn't leak out of the
function.
PR: 293385
Fixes: 494de51bc0074472d1b01604f085daea0844f240
MFC after: 2 days
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D55469
[2 lines not shown]
nullfs: Fix handling of doomed vnodes in nullfs_unlink_lowervp()
nullfs_unlink_lowervp() is called with the lower vnode locked, so the
nullfs vnode is locked too. The following can occur:
1. the vunref() call decrements the usecount 2->1,
2. a different thread calls vrele() on the vnode, decrements the
usecount 0->1, then blocks on the vnode lock,
3. the first thread tests vp->v_usecount == 0 and observes that it is
true,
4. the first thread incorrectly unlocks the lower vnode.
Fix this by testing VN_IS_DOOMED directly. Since
nullfs_unlink_lowervp() holds the vnode lock, the value of the
VIRF_DOOMED flag is stable.
Thanks to leres@ for patiently helping to track this down.
PR: 288345
MFC after: 1 week
[5 lines not shown]
bulk fetching and -i: must disable pkgbase repo.
A pkgbase jail made by Poudriere will setup a repo named `pkgbase` which
must be disabled to ensure we use the branch passed in PACKAGE_FETCH_BRANCH.
Fixes #1312
(cherry picked from commit 422ff54ea9fcf7ce4feca216e93c8524026393ad)
[libc][math][c23] implement `asinpif` function (#181511)
Implementing `asinpi` for single-precision. it continues what is done in
#152690 that implemented `asinpif16` with header-only approach that is
followed since #147386
bulk fetching and -i: must disable pkgbase repo.
A pkgbase jail made by Poudriere will setup a repo named `pkgbase` which
must be disabled to ensure we use the branch passed in PACKAGE_FETCH_BRANCH.
Fixes #1312
nullfs: Fix handling of doomed vnodes in nullfs_unlink_lowervp()
nullfs_unlink_lowervp() is called with the lower vnode locked, so the
nullfs vnode is locked too. The following can occur:
1. the vunref() call decrements the usecount 2->1,
2. a different thread calls vrele() on the vnode, decrements the
usecount 0->1, then blocks on the vnode lock,
3. the first thread tests vp->v_usecount == 0 and observes that it is
true,
4. the first thread incorrectly unlocks the lower vnode.
Fix this by testing VN_IS_DOOMED directly. Since
nullfs_unlink_lowervp() holds the vnode lock, the value of the
VIRF_DOOMED flag is stable.
Thanks to leres@ for patiently helping to track this down.
PR: 288345
MFC after: 1 week
[4 lines not shown]
rge.4: correct media types in the manual page
Correct media types for 1000Mbit/s, 2500Mbit/s, 5000Mbit/s and 10Gbit/s.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D55496
[clang] Don't use `VarDecl` of local variables as `ManglingContextDecl` for lambdas (#179035)
Currently, in a C++20 modules context, a `VarDecl` of a local variable
can wrongly end up as a `ManglingContextDecl` for a lambda.
Fix this by removing `ContextKind::NonInlineInModulePurview` in
`Sema::getCurrentMangleNumberContext` and add
`IsExternallyVisibleInModulePurview` checks in the appropriate places:
- For externally visible functions defined in a module purview, add a
check to `isInInlineFunction`, renaming it to
`IsInFunctionThatRequiresMangling`
- For externally visible variables defined in a module purview, add a
new `ContextKind::ExternallyVisibleVariableInModulePurview` and an
appropriate check to the `VarDecl` case
Fixes #178893
---------
[2 lines not shown]
[MLIR][Python] Handle errors in dialect conversion properly (#183320)
Before this, MLIR error capture in `apply_partial_conversion` and
`apply_full_conversion` wasn’t handled, which meant any `emitError`
would crash the entire program. This PR adds the handling.
devel/sobjectizer: update the port to the latest version 5.8.5
- Replace hand-rolled `do-test' target with USES+=cmake:testing
- Do not build tests during the main build stage, this reduces
target count from 914 down to 55 and, in turn, the build time
which is significant for a C++ project
- Drop the static library, nothing in the ports tree uses it
PR: 293373
Submitted by: diizzy
abiword-plugins: update to 3.0.8
3.0.8 - 2026/02/17
- Fix memory leaks with a collab Telepathy error.
- Fix paste of images from Firefox.
- Fix memory leaks in styles dialog, Gtk text input.
- Fix use after free and memory leak with list numbering.
- Fix memory leak with text drag and drop.
- Fix memory leak in OpenXML importer/exporter.
- Remove babelfish and freetranslation plugins.
- Fix appstream for newer flathub requirements.
- Properly remember the recent files even if AbiWord crashes.
- wordperfect: Use the more recent version of libwpd libwpg and
libwps. This upgrade the dependencies:
- libwpd-0.10
- libwps-0.4
- libwpg-0.3
abiword: update to 3.0.8
3.0.8 - 2026/02/17
- Fix memory leaks with a collab Telepathy error.
- Fix paste of images from Firefox.
- Fix memory leaks in styles dialog, Gtk text input.
- Fix use after free and memory leak with list numbering.
- Fix memory leak with text drag and drop.
- Fix memory leak in OpenXML importer/exporter.
- Remove babelfish and freetranslation plugins.
- Fix appstream for newer flathub requirements.
- Properly remember the recent files even if AbiWord crashes.
- wordperfect: Use the more recent version of libwpd libwpg and
libwps. This upgrade the dependencies:
- libwpd-0.10
- libwps-0.4
- libwpg-0.3
bsdinstall: fix EFI boot entry creation
update_uefi_bootentry assumes that the caller sets FREEBSD_BOOTNAME and
mntpt, which isn't the case anymore. The result is that there is no
"FreeBSD" boot entry created/updated after install. Most machines manage
to boot from the removable media path (if the loader is installed there
too), but some don't.
Take the loader's path as an argument and rename the variable used in
the ZFS mirror loop so mntpt can be reused below.
Also mark nentries as a local variable so it doesn't leak out of the
function.
PR: 293385
Fixes: 494de51bc0074472d1b01604f085daea0844f240
MFC after: 2 days
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D55469
[2 lines not shown]