LLVM/project 745b86bclang/lib/AST/ByteCode Interp.cpp, clang/test/AST/ByteCode dynamic-cast.cpp

[clang][bytecode] Fix crash when dynamic_cast'ing a root pointer (#217540)

We can't call getBase(), so move the isRoot() check before.
DeltaFile
+15-0clang/test/AST/ByteCode/dynamic-cast.cpp
+4-3clang/lib/AST/ByteCode/Interp.cpp
+19-32 files

pkgng/pkgng 2710b4a. configure.def

configure: drop redundant ATF defines and fix typo

- remove redundant PKG_ATF_C_* defines (pkg_config atf-c sets them)
- fix ATF_C_LDLAGS typo in notice
DeltaFile
+1-5configure.def
+1-51 files

pkgng/pkgng 41ca9aclibpkg libpkg.ver pkg_config.c, tests Makefile.in

Export pkg_repo_meta_extra and add unit test

- export symbol in libpkg.ver
- cast ucl_object_emit return
- add pkg_repo_meta unit test
DeltaFile
+70-0tests/lib/pkg_repo_meta.c
+3-0tests/Makefile.in
+1-1libpkg/pkg_config.c
+1-0libpkg/libpkg.ver
+75-14 files

pkgng/pkgng 8eb5b57. configure.def, .github/workflows build.yaml

build: clean up dev build logic

- Add messaging after options like UBSAN, etc, to make it clear that
  options are enabled.
- Use `pkg-config` to determine where ATF is instead of just assuming
  that the first path is the desired path.
- Use --coverage instead of the longhand form for some -fprofile*
  options.
- Add `--with-tests` to explicitly enable building tests, as opposed to
  just assuming that because ATF/kyua is present on the system, the
  end-user *also* wants to build the tests.

Signed-off-by: Enji Cooper <ngie at FreeBSD.org>
DeltaFile
+30-6configure.def
+1-1.github/workflows/build.yaml
+31-72 files

pkgng/pkgng 01f2c7f. configure.def

Fix running configure from within git worktrees

`.git` in git worktree roots is a text file that points to another
location, not a directory.

Signed-off-by: Enji Cooper <ngie at FreeBSD.org>
DeltaFile
+1-1configure.def
+1-11 files

pkgng/pkgng 7a9169escripts install_deps.sh

Remove ancient ATF build script

This is no longer relevant (it points to a defunct ATF fork).

Signed-off-by: Enji Cooper <ngie at FreeBSD.org>
DeltaFile
+0-71scripts/install_deps.sh
+0-711 files

FreeBSD/ports 917697btextproc/R-cran-writexl Makefile distinfo

textproc/R-cran-writexl: Update to 2.0.0
DeltaFile
+3-3textproc/R-cran-writexl/distinfo
+1-1textproc/R-cran-writexl/Makefile
+4-42 files

FreeBSD/ports 422414etextproc/py-elementpath Makefile distinfo

textproc/py-elementpath: Update to 5.1.4
DeltaFile
+3-3textproc/py-elementpath/distinfo
+1-1textproc/py-elementpath/Makefile
+4-42 files

FreeBSD/ports 89ad7b1www/ilias Makefile distinfo

www/ilias: Update to 11.3
DeltaFile
+3-3www/ilias/distinfo
+1-1www/ilias/Makefile
+4-42 files

LLVM/project 394de25llvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp

AArch64: Use m_GPtrAdd in selectAddrModeRegisterOffset (#217446)

Replace the getVRegDef + G_PTR_ADD opcode check and operand 
accesses with an m_GPtrAdd matcher.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+5-9llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+5-91 files

pkgng/pkgng 72e4bc1libpkg pkg.h.in pkg_config.c

Add the pkg_repo_meta_extra() API
DeltaFile
+6-0libpkg/pkg_config.c
+2-0libpkg/pkg.h.in
+8-02 files

LLVM/project 1b3f575clang/test/AST/ByteCode dynamic-cast.cpp

[clang][bytecode][NFC] Add another dynamic_cast test (#217541)

Where the private base is somewhere in the path, but not the target.
DeltaFile
+14-0clang/test/AST/ByteCode/dynamic-cast.cpp
+14-01 files

FreeNAS/freenas 3c0aa0csrc/middlewared/middlewared/plugins/container migrate.py, src/middlewared/middlewared/plugins/vm lifecycle.py

Resolve migrated USB devices by their vendor and product ids

## Problem
A USB passthrough device is named after the port it is plugged into, which is what 25.10 stored. The 26.0 pre-releases built the same shape of name out of the bus and device number instead — an enumeration counter the kernel reissues on every replug — so those stored values name a port nobody chose.

The incus migration has the same preference the same way round: it resolves a device by the bus and device number the manifest carries and only falls back to the vendor and product ids when those are missing. It picks the counter that gets reused over the identity that survives a replug, and because it runs exactly once per machine and is never run again, a wrong row it writes stays wrong. There is no second run, no manifest retained afterwards, and no repair path.

This matters for a population that has not been hit yet: `maybe_migrate_legacy` first shipped in 26.0.0-BETA.1 and does not exist in 25.10, so every 25.10 system with incus containers still has `virt_global.pool` set and spends its single migration on its first boot of a 26.0 build.

## Solution
- **Only the vendor and product ids identify a device.** The bus and device number takes no part in resolution. A manifest device that does not carry both ids is dropped rather than guessed at, and the reason is logged.
- **Ids that no connected device carries are still stored as ids.** The device is merely unplugged; the row stays visible and editable rather than disappearing.
- **One device per row.** Rows written for a container claim what they point at, so two manifest devices can no longer land on one port or one pair of ids — which used to leave a container that could neither start nor be edited back. Where several identical devices are connected, each row takes the first one still free.
- **Devices pylibvirt cannot read are not candidates.** Entries marked unavailable are left out of the index, so a manifest no longer resolves onto one and then fails at start claiming the port is empty.
- **A device that cannot be resolved at start reads as an error, not a traceback.** pylibvirt's exception type is caught at both start call sites and reported as a `CallError`, which is what 25.10 did.
- **Every resolution is logged, not only the failures.** Nothing on the row records which identity it came from and the job log does not survive a restart, so this is the only thing that makes a wrong outcome reconstructable later.
- Also included: MAC normalization for NIC rows the incus migration writes (these go straight to the datastore, so `MACAddress` never sees them and the alembic pass has already run by then), and removal of `middlewared/utils/usb.py`, which had no callers and was a second implementation of the old naming scheme.

This is the same fix already on the release line, retyped against `ServiceContext`: master's `migrate.py` has no `ContainerService`, `migrate_devices` takes a `ContainerEntry` rather than a dict, and the udev scan is threaded down through `to_thread`/`run_coroutine` instead of `middleware.call`.
DeltaFile
+417-0src/middlewared/middlewared/pytest/unit/plugins/container/test_migrate_usb.py
+157-20src/middlewared/middlewared/plugins/container/migrate.py
+57-0src/middlewared/middlewared/pytest/unit/plugins/container/test_migrate_nic_mac.py
+0-40src/middlewared/middlewared/utils/usb.py
+28-4src/middlewared/middlewared/utils/libvirt/nic.py
+7-3src/middlewared/middlewared/plugins/vm/lifecycle.py
+666-671 files not shown
+671-687 files

pkgng/pkgng a3749bbexternal/fetch common.c

Limit HTTP response line length

Reject status, header, proxy, and chunk-size lines larger than 64 KiB.

A network peer could previously grow the line buffer without bound.
This happens before package validation, letting an HTTP mirror or active
network attacker exhaust memory in the privileged pkg process.
DeltaFile
+5-0external/fetch/common.c
+5-01 files

LLVM/project 5b8ff13llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmax.ll buffer-fat-pointer-atomicrmw-fadd.ll

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,252-3,311llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,533-2,603llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
+20,441-20,4682,301 files not shown
+123,699-98,8712,307 files

LLVM/project 51844c6llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fadd.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,252-3,311llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,533-2,603llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+20,441-20,4682,301 files not shown
+123,699-98,8712,307 files

LLVM/project 5d97ecellvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 reduction-vals-used-as-load-indices.ll

Revert "[SLP]Extend GEP pointer-chain cost to casts and non-root external uses" (#217546)

Reverts llvm/llvm-project#216520 as it is causing regressing in one of
the SPEC'26 benchmark.
DeltaFile
+30-27llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+19-36llvm/test/Transforms/SLPVectorizer/X86/reduction-vals-used-as-load-indices.ll
+49-632 files

pkgng/pkgng 1a4dac8libpkg pkg_jobs.c, src add.c

Create URL package downloads exclusively

Direct URL installs used predictable paths in TMPDIR without exclusive
creation. A local user could pre-create a symlink to an attacker-controlled
package, which a privileged pkg invocation could then install.

Create the download file with mkstemp in both direct URL paths. This gives
the invoking user an exclusive, non-symlink pathname before pkg_fetch_file
opens it.
DeltaFile
+14-2src/add.c
+12-1libpkg/pkg_jobs.c
+26-32 files

pkgng/pkgng 0886228libpkg dns_utils.c

Harden DNS SRV response handling

Validate DNS question and record boundaries before consuming fields.
Malformed SRV replies can otherwise read past the fixed response buffer.

Also replace the priority-group weighting loop with bounded weighted
selection. The prior subrange allocation was indexed from zero and
allowed a DNS reply with multiple priority groups to overwrite heap
memory in the privileged pkg process.
DeltaFile
+118-83libpkg/dns_utils.c
+118-831 files

FreeBSD/ports 9f1a686www/pomerium Makefile distinfo, www/pomerium/files modules.txt

www/pomerium: update to 0.33.1
DeltaFile
+45-41www/pomerium/files/modules.txt
+41-39www/pomerium/distinfo
+25-22www/pomerium/Makefile
+111-1023 files

FreeBSD/ports 6990c2bwww/pomerium-envoy-custom/files patch-bazel_foreign__cc_luajit.bzl

www/pomerium-envoy-custom: Attempt to fix LuaJIT build on aarch64

On FreeBSD aarch64, Bazel resolves the CPU constraint to its canonical
name @platforms//cpu:aarch64 rather than the @platforms//cpu:arm64
alias.  Add aarch64 to the HOST_CONSTRAINTS check in luajit.bzl so
the platform is correctly detected on arm64 FreeBSD.
DeltaFile
+9-1www/pomerium-envoy-custom/files/patch-bazel_foreign__cc_luajit.bzl
+9-11 files

LLVM/project 8ee17c2clang/include/clang/AST PropertiesBase.td TypeBase.h

[Clang][NFC] DeducedTemplateSpecializationType can't actually be null. (#217462)

There are two issues here
- DeducedTemplateSpecializationType's template name is never actualy
null so trying to handling a null case is unecessary.

- The serialization of a null template name would not actually work as
getKind() expect a non-null storage.

We could arguably specialize DataStreamBasicWriter::writeOptional for
TemplateName however no one would use that code, so it still would leave
us with some dead code.
DeltaFile
+3-4clang/include/clang/AST/TypeProperties.td
+3-0clang/include/clang/AST/TypeBase.h
+1-1clang/include/clang/AST/PropertiesBase.td
+7-53 files

OpenBSD/ports 69rQIxQwww/librewolf Makefile, www/librewolf/patches patch-xpcom_ds_nsAtom_h

   librewolf: apply libcxx22 patch from www/mozilla-firefox, from yaydn
VersionDeltaFile
1.1+29-0www/librewolf/patches/patch-xpcom_ds_nsAtom_h
1.12+1-0www/librewolf/Makefile
+30-02 files

NetBSD/pkgsrc-wip b5408e5emacs-git PLIST

emacs-git: add new files to PLIST
DeltaFile
+2-0emacs-git/PLIST
+2-01 files

OpenBSD/ports inCVWs5www/yt-dlp Makefile distinfo, www/yt-dlp/patches patch-pyproject_toml

   Update to yt-dlp 2026.08.19, from Mikolaj Kucharski
VersionDeltaFile
1.72+2-2www/yt-dlp/distinfo
1.9+1-1www/yt-dlp/patches/patch-pyproject_toml
1.80+1-1www/yt-dlp/Makefile
+4-43 files

FreeBSD/ports 22458ccmath/R-cran-zoo Makefile distinfo

math/R-cran-zoo: Update to 1.9.0
DeltaFile
+3-3math/R-cran-zoo/distinfo
+1-1math/R-cran-zoo/Makefile
+4-42 files

FreeBSD/ports 58dda71math/R-cran-mvtnorm Makefile distinfo

math/R-cran-mvtnorm: Update to 1.4.2

Add LICENSE
DeltaFile
+3-3math/R-cran-mvtnorm/distinfo
+3-1math/R-cran-mvtnorm/Makefile
+6-42 files

FreeBSD/ports f9a36cfmath/R-cran-sf Makefile distinfo

math/R-cran-sf: Update to 1.1.2
DeltaFile
+3-3math/R-cran-sf/distinfo
+1-1math/R-cran-sf/Makefile
+4-42 files

FreeBSD/ports 4afe12dmath/R-cran-sp Makefile distinfo

math/R-cran-sp: Update to 2.2.3
DeltaFile
+3-3math/R-cran-sp/distinfo
+1-1math/R-cran-sp/Makefile
+4-42 files

FreeBSD/ports 13be00afinance/R-cran-AER Makefile distinfo

finance/R-cran-AER: Update to 1.2.17
DeltaFile
+3-3finance/R-cran-AER/distinfo
+1-1finance/R-cran-AER/Makefile
+4-42 files