HardenedBSD/src e885165 — lib/libc/powerpc64/gen _setjmp_resolver.c _setjmp.S, sys/dev/iicbus/sensor tmp461.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+177-0tests/sys/kern/procdesc.c
+102-1lib/libc/powerpc64/gen/sigsetjmp.S
+87-4lib/libc/powerpc64/gen/setjmp.S
+87-2lib/libc/powerpc64/gen/_setjmp.S
+15-9sys/dev/iicbus/sensor/tmp461.c
+20-0lib/libc/powerpc64/gen/_setjmp_resolver.c
+488-167 files not shown
+559-3013 files

HardenedBSD/src 60e9474 — lib/libc/powerpc64/gen _setjmp_resolver.c _setjmp.S, sys/dev/iicbus/sensor tmp461.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+177-0tests/sys/kern/procdesc.c
+102-1lib/libc/powerpc64/gen/sigsetjmp.S
+87-4lib/libc/powerpc64/gen/setjmp.S
+87-2lib/libc/powerpc64/gen/_setjmp.S
+15-9sys/dev/iicbus/sensor/tmp461.c
+20-0lib/libc/powerpc64/gen/_setjmp_resolver.c
+488-167 files not shown
+559-3013 files

HardenedBSD/src 9407926 — sys/dev/ntsync ntsync.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+28-32sys/dev/ntsync/ntsync.c
+28-321 files

HardenedBSD/ports bdcacc8 — lang/dotnet8/files patch-src_runtime_src_libraries_Common_src_Interop_FreeBSD_Interop.Process.cs, textproc/ripgrep Makefile.crates distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+188-177www/element-web/pkg-plist
+91-91www/freenginx-acme/distinfo
+79-69textproc/ripgrep/distinfo
+43-43www/freenginx-acme/Makefile.crates
+74-0lang/dotnet8/files/patch-src_runtime_src_libraries_Common_src_Interop_FreeBSD_Interop.Process.cs
+38-33textproc/ripgrep/Makefile.crates
+513-41349 files not shown
+763-51355 files

LLVM/project ef9a25f — llvm/include/llvm/Analysis Loads.h, llvm/lib/Transforms/InstCombine InstCombineCompares.cpp

Fix redundant masking generation
DeltaFile
+26-0llvm/test/Transforms/InstCombine/load-cmp-verify-fixpoint.ll
+3-7llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+5-0llvm/include/llvm/Analysis/Loads.h
+34-73 files

LLVM/project 1e29ae7 — llvm/test/tools/llvm-profgen/X86 filter-build-id.test, llvm/test/tools/llvm-profgen/X86/Inputs buildid-mixed-frames.aggperfscript buildid-cs-noprobe.perfscript

Reland "[llvm-profgen] Support [buildid:]0xaddr format in perfscript input” (#190863) (#245800)
DeltaFile
+86-0llvm/test/tools/llvm-profgen/X86/filter-build-id.test
+59-13llvm/tools/llvm-profgen/PerfReader.cpp
+11-0llvm/test/tools/llvm-profgen/X86/Inputs/buildid-cs-noprobe.aggperfscript
+9-0llvm/test/tools/llvm-profgen/X86/Inputs/buildid-cs-noprobe.perfscript
+6-0llvm/test/tools/llvm-profgen/X86/Inputs/buildid-mixed-frames.aggperfscript
+171-135 files

LLVM/project 954eba5 — bolt/include/bolt/Core BinaryContext.h, bolt/lib/Core BinaryFunction.cpp BinaryContext.cpp

[BOLT] Drop jump tables of functions marked to trap on entry (#244897)
DeltaFile
+60-0bolt/test/X86/avx512-trap-jump-table.s
+8-0bolt/lib/Core/BinaryContext.cpp
+5-0bolt/lib/Core/BinaryFunction.cpp
+4-0bolt/include/bolt/Core/BinaryContext.h
+77-04 files

NetBSD/pkgsrc-wip 293ddbd — tectonic DESCR PLIST, tectonic/patches patch-Cargo.toml

tectonic: add new package
DeltaFile
+1,317-0tectonic/distinfo
+439-0tectonic/cargo-depends.mk
+34-0tectonic/Makefile
+15-0tectonic/patches/patch-Cargo.toml
+2-0tectonic/DESCR
+2-0tectonic/PLIST
+1,809-02 files not shown
+1,811-18 files

NetBSD/pkgsrc-wip 2cee21c — ffmpeg9-svtav1 Makefile.common PLIST, ffmpeg9-svtav1/files videoio.h

ffempeg9-svtav1: remove, ffmpeg9 has an option for that
DeltaFile
+0-3,419ffmpeg9-svtav1/files/videoio.h
+0-300ffmpeg9-svtav1/options.mk
+0-286ffmpeg9-svtav1/PLIST
+0-145ffmpeg9-svtav1/patches/patch-libavdevice_sunau__dec.c
+0-121ffmpeg9-svtav1/patches/patch-libavdevice_sunau__enc.c
+0-121ffmpeg9-svtav1/Makefile.common
+0-4,39219 files not shown
+0-5,00625 files

FreeNAS/freenas 2282e18 — src/middlewared/middlewared/plugins block_storage.py, src/middlewared/middlewared/pytest/unit/plugins test_block_storage_canonical_key.py

Ruff
DeltaFile
+43-0src/middlewared/middlewared/pytest/unit/plugins/test_block_storage_canonical_key.py
+26-9tests/api2/test_block_share_conflicts.py
+0-1src/middlewared/middlewared/plugins/block_storage.py
+69-103 files

FreeNAS/freenas 23c34de — src/middlewared/middlewared/common block_storage.py, src/middlewared/middlewared/plugins/vm vm_devices.py

Address review
DeltaFile
+6-2src/middlewared/middlewared/plugins/vm/vm_devices.py
+5-1tests/api2/test_block_share_conflicts.py
+1-1src/middlewared/middlewared/common/block_storage.py
+12-43 files

LLVM/project af4aef2 — clang/include/clang/Basic BuiltinsARM.td, clang/lib/CodeGen CGBuiltin.cpp

[clang][ARM] Add MSVC intrinsics for 32-bit Arm (#240573)

MSVC's ARM compiler expands these inline: _MulHigh, _MulUnsignedHigh,
the _Count* and _Copy* families, _InterlockedAdd and its variants,
_ReadStatusReg and __prefetch. clang had most of them only for AArch64,
so on 32-bit Arm they were undeclared or became calls to functions that
don't exist.

The ones AArch64 already has now go through EmitMSVCBuiltinExpr, so both
targets use the same code. This also stops AArch64 from evaluating the
first argument of _InterlockedAdd twice. intrin.h and intrin0.h declare them
once for both. _ReadStatusReg takes 0 (APSR) or 1 (SPSR), as with MSVC.

Assisted-by: Claude Opus 5.5 (Anthropic)
DeltaFile
+231-0clang/test/CodeGen/ms-intrinsics.c
+94-101clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+37-23clang/lib/Headers/intrin.h
+56-0clang/lib/CodeGen/CGBuiltin.cpp
+33-0clang/include/clang/Basic/BuiltinsARM.td
+26-0clang/test/CodeGen/arm-windows-intrin0.c
+477-1247 files not shown
+530-13313 files

LLVM/project b804209 — clang/test/Driver mingw.cpp, compiler-rt/cmake config-ix.cmake

[clang][mingw] Don't link to moldname (#219949)

libmoldname has been empty and deprecated for a long time.

See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127135
DeltaFile
+2-2libcxxabi/cmake/config-ix.cmake
+2-2libcxx/cmake/config-ix.cmake
+2-2compiler-rt/lib/builtins/CMakeLists.txt
+2-2compiler-rt/cmake/config-ix.cmake
+1-1compiler-rt/test/builtins/Unit/lit.cfg.py
+0-1clang/test/Driver/mingw.cpp
+9-101 files not shown
+9-117 files

OpenBSD/src uNJveNB — sys/arch/arm64/dev agintc.c

   Instead of failing hard when encountering ESPI interrupts simply
   ignore them for now until we have proper ESPI support.

   This fixes ACPI boot on Snapdragon X2 SoCs where the ACPI advertises
   ESPI interrupts for the SMMUv3. smmu(4) still works without those
   interrupts but won't receive fault or error events.

   Tested on a HP Elitebook X G2q

   ok phessler@ kettenis@
VersionDeltaFile
1.68+17-1sys/arch/arm64/dev/agintc.c
+17-11 files

LLVM/project 5141b48 — clang/lib/Basic/Targets Mips.h Mips.cpp, clang/lib/Driver/ToolChains Linux.cpp

[clang][Mips] Use the ISA features instead of CPU name checks (#245672)

getISARev(), processorSupportsGPR64(), the nan2008 and FP mode
defaults, the checks in validateTarget() and the sync compare and swap
macros all checked the CPU name. Set the ISA level and revision from
the target features in handleTargetFeatures and use those instead.

_MIPS_ARCH, _MIPS_ARCH_<CPU> and __OCTEON__ still use the CPU name,
since they name the CPU, as GCC does.

No functional change.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+35-55clang/lib/Basic/Targets/Mips.cpp
+14-13clang/lib/Basic/Targets/Mips.h
+1-1clang/lib/Driver/ToolChains/Linux.cpp
+50-693 files

LLVM/project e001dce — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

[CIR] Keep complex mul and div constrained in strict FP functions

In a strictfp function ClangIR emitted plain `fmul`, `fsub`, `fadd`,
`fdiv` and `fcmp` for complex multiplication and division, where
classic codegen emits constrained intrinsics. `cir.complex.fmul` and
`cir.complex.fdiv` had no `fenv` attribute, and LoweringPrepare
expanded them with a builder that has no floating-point state.

This gives both operations the optional `fenv` attribute and the fenv
traits of the scalar operations. CIRGen attaches the attribute, and
LoweringPrepare passes it to the scalar arithmetic, comparisons and
conversions of the expansion. The LLVM IR now has the constrained
intrinsics and metadata of classic codegen, with two differences:

- The range check of the improved division keeps its `oge` predicate,
  where classic codegen uses `ugt`. It becomes a quiet `cir.fcmp`,
  because a `cir.cmp ge` with `fenv` lowers to the signaling `fcmps`
  and would raise an invalid exception for a quiet NaN divisor.
- With the promoted range, the conversions to and from the wider type

    [5 lines not shown]
DeltaFile
+167-0clang/test/CIR/CodeGen/complex-strict-fp.cpp
+112-54clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+128-0clang/test/CIR/CodeGen/complex-mul-div-fenv-access.c
+94-0clang/test/CIR/Transforms/lowering-prepare-complex-fenv.cir
+27-0clang/test/CIR/Transforms/complex-mul-div-fenv-effects.cir
+16-3clang/include/clang/CIR/Dialect/IR/CIROps.td
+544-572 files not shown
+550-618 files

FreeNAS/freenas e659653 — src/middlewared/middlewared/etc_files/local/truenas-discovery/services.d TRUENAS_API.conf.py, src/middlewared/middlewared/plugins etc.py

NAS-145415 / 28.0.0-BETA.1 / Advertise the TrueNAS API over mDNS as _truenas-api._tcp (#20299)

Advertise the TrueNAS API over mDNS as `_truenas-api._tcp`, on the web
UI's HTTPS port, so that a client such as the TrueNAS Connect app can
find a TrueNAS whatever its host name. Today a TrueNAS advertises its UI
only as `_http._tcp`, named after its host name, and nothing in that
says TrueNAS: the app keeps services whose name starts with "truenas"
and misses a renamed system.

The TXT record holds what the NAS already answers before signing in,
with the `_PLAIN` suffixes trimmed off the authentication mechanisms,
and `txtvers` first (RFC 6763 §6.7). It is 73 bytes:

```
txtvers=1
api=min=v25.10.0,max=v28.0.0
mech=API_KEY,TOKEN,PASSWORD,SCRAM
```


    [15 lines not shown]
DeltaFile
+40-0src/middlewared/middlewared/etc_files/local/truenas-discovery/services.d/TRUENAS_API.conf.py
+20-3tests/api2/test_service_announcement.py
+8-0src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+3-0src/middlewared/middlewared/plugins/etc.py
+71-34 files

FreeNAS/freenas 4d899c6 — src/middlewared/middlewared/etc_files/local/truenas-discovery/services.d TRUENAS_API.conf.py, src/middlewared/middlewared/plugins etc.py

NAS-145415 / 28.0.0-BETA.1 / Advertise the TrueNAS API over mDNS as _truenas-api._tcp (#20299)

Advertise the TrueNAS API over mDNS as `_truenas-api._tcp`, on the web
UI's HTTPS port, so that a client such as the TrueNAS Connect app can
find a TrueNAS whatever its host name. Today a TrueNAS advertises its UI
only as `_http._tcp`, named after its host name, and nothing in that
says TrueNAS: the app keeps services whose name starts with "truenas"
and misses a renamed system.

The TXT record holds what the NAS already answers before signing in,
with the `_PLAIN` suffixes trimmed off the authentication mechanisms,
and `txtvers` first (RFC 6763 §6.7). It is 73 bytes:

```
txtvers=1
api=min=v25.10.0,max=v28.0.0
mech=API_KEY,TOKEN,PASSWORD,SCRAM
```


    [12 lines not shown]
DeltaFile
+40-0src/middlewared/middlewared/etc_files/local/truenas-discovery/services.d/TRUENAS_API.conf.py
+20-3tests/api2/test_service_announcement.py
+9-0src/middlewared/middlewared/plugins/service/services/pseudo/misc.py
+3-0src/middlewared/middlewared/plugins/etc.py
+72-34 files

LLVM/project c625bd2 — llvm/lib/Transforms/Vectorize VPlanUnroll.cpp, llvm/test/Transforms/LoopVectorize if-pred-non-void.ll

[VPlan] Create BuildVectors before converting replicate regions to lane 0. (#244181)

`dissolveReplicateRegion` queried `onlyFirstLaneUsed` after replacing
each predicated phi with a single-scalar phi. Users such as widened GEPs
treat a single-scalar operand as uniform, so they used lane 0's value
for all lanes.

Create the BuildVectors while the predicated phis still represent all
lanes.

The first commit pre-commits the test, showing the current miscompile.
DeltaFile
+98-0llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll
+19-18llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+117-182 files

OPNSense/ports 7e4604c — www/nginx-module-vts distinfo pkg-descr, www/nginx-module-vts/files pkg-message.in

www/nginx-module-vts: sync with upstream

Taken from: FreeBSD
DeltaFile
+63-0www/nginx-module-vts/Makefile
+14-0www/nginx-module-vts/files/pkg-message.in
+8-0www/nginx-module-vts/pkg-descr
+3-0www/nginx-module-vts/distinfo
+88-04 files

OpenBSD/src hgWriTY — usr.bin/tmux window-panes.c

   Hold a reference to the session across display-panes.
VersionDeltaFile
1.9+6-2usr.bin/tmux/window-panes.c
+6-21 files

OpenBSD/src PjAn3pO — sys/arch/arm64/dev smmuvar.h smmu_acpi.c

   Disable SMMUv2 on Snapdragon X2 machines for now as it seems to be broken.
   We can't reuse sc_is_qcom since that enables extra quirks we only need on
   previous Qualcomm SoCs.

   ok kettenis@ phessler@
VersionDeltaFile
1.16+5-2sys/arch/arm64/dev/smmu_acpi.c
1.12+2-1sys/arch/arm64/dev/smmuvar.h
+7-32 files

FreeBSD/ports dbcd309 — security/py-zkg distinfo Makefile, security/py-zkg/files patch-setup.py

security/py-zkg: Update 3.0.1 => 3.2.0

Changelog:
https://github.com/zeek/package-manager/blob/v3.2.0/CHANGES

Port Changes:
- Drop the py-configparser dependency: zkg imports the standard
  library configparser; devel/py-configparser only provides
  backports.configparser.
- Raise the GitPython and semantic_version minimums to what 3.2.0
  requires (3.1.43, 2.10.0); 3.2.0 requires Python 3.10.
- setup.py now installs the source tree's VERSION file as data_files
  into ${PREFIX}/output_dir/, where nothing reads it; patch that out.
- LICENSE is NCSA (COPYING is the University of Illinois/NCSA Open
  Source License), not BSD3CLAUSE.
- Switch to USE_PYTHON=pep517 (the package metadata becomes dist-info).
- Add 'make test' support.

PR:             300171
Approved by:    Shirkdog <mshirk at daemon-security.com> (maintainer)
DeltaFile
+20-7security/py-zkg/Makefile
+18-0security/py-zkg/files/patch-setup.py
+3-3security/py-zkg/distinfo
+41-103 files

HardenedBSD/ports dbcd309 — security/py-zkg distinfo Makefile, security/py-zkg/files patch-setup.py

security/py-zkg: Update 3.0.1 => 3.2.0

Changelog:
https://github.com/zeek/package-manager/blob/v3.2.0/CHANGES

Port Changes:
- Drop the py-configparser dependency: zkg imports the standard
  library configparser; devel/py-configparser only provides
  backports.configparser.
- Raise the GitPython and semantic_version minimums to what 3.2.0
  requires (3.1.43, 2.10.0); 3.2.0 requires Python 3.10.
- setup.py now installs the source tree's VERSION file as data_files
  into ${PREFIX}/output_dir/, where nothing reads it; patch that out.
- LICENSE is NCSA (COPYING is the University of Illinois/NCSA Open
  Source License), not BSD3CLAUSE.
- Switch to USE_PYTHON=pep517 (the package metadata becomes dist-info).
- Add 'make test' support.

PR:             300171
Approved by:    Shirkdog <mshirk at daemon-security.com> (maintainer)
DeltaFile
+20-7security/py-zkg/Makefile
+18-0security/py-zkg/files/patch-setup.py
+3-3security/py-zkg/distinfo
+41-103 files

OPNSense/tools fa4e43b — . README.md, build skim.sh

build/skim: add a raw mode
DeltaFile
+41-26build/skim.sh
+1-0README.md
+42-262 files

LLVM/project 695a506 — libcxx/test/std/ranges robust_against_poison_pills2.compile.pass.cpp

[libc++][test] More poison pill tests for ranges access (#244919)

This is missing test coverage discovered in
https://github.com/llvm/llvm-project/pull/209104#discussion_r4631738735

Basically, at the initial commit, the `end` poison pill was accidentally
removed and no test was failing.

We did have a negative test here

https://github.com/llvm/llvm-project/blob/901520fb5820180fe7a917c24f27740382550a7f/libcxx/test/std/ranges/robust_against_poison_pills.compile.pass.cpp#L96

Basically it tests that `std::ranges::end` is not invocable if range has
a non-adl `end` in the global namespace, to ensure that the ordinary
lookup did not happen.
However, the negative test did not fail without the poison pill `void
end() = delete;`, because, one of the constraint is
`sentinel_for<result, iterator_t<R>>`. Because `ranges::begin` is
properly implemented, and it did not search for non-adl begin in global

    [9 lines not shown]
DeltaFile
+32-0libcxx/test/std/ranges/robust_against_poison_pills2.compile.pass.cpp
+32-01 files

HardenedBSD/ports ffcdb9d — misc/py-litellm Makefile.crates distinfo, misc/py-litellm/files patch-pyproject.toml

misc/py-litellm: Update to 1.111.0

Changelog:
- https://github.com/BerriAI/litellm/releases/tag/v1.110.3
- https://github.com/BerriAI/litellm/releases/tag/v1.110.4
- https://github.com/BerriAI/litellm/releases/tag/v1.111.0

Reported by:    portscout
DeltaFile
+8-17misc/py-litellm/Makefile
+7-3misc/py-litellm/distinfo
+3-3misc/py-litellm/files/patch-pyproject.toml
+2-0misc/py-litellm/Makefile.crates
+20-234 files

FreeBSD/ports ffcdb9d — misc/py-litellm Makefile.crates distinfo, misc/py-litellm/files patch-pyproject.toml

misc/py-litellm: Update to 1.111.0

Changelog:
- https://github.com/BerriAI/litellm/releases/tag/v1.110.3
- https://github.com/BerriAI/litellm/releases/tag/v1.110.4
- https://github.com/BerriAI/litellm/releases/tag/v1.111.0

Reported by:    portscout
DeltaFile
+8-17misc/py-litellm/Makefile
+7-3misc/py-litellm/distinfo
+3-3misc/py-litellm/files/patch-pyproject.toml
+2-0misc/py-litellm/Makefile.crates
+20-234 files

LLVM/project 4184011 — llvm/include/llvm/CodeGen MIR2Vec.h, llvm/lib/CodeGen MIR2Vec.cpp

[MIR2Vec] Precompute the canonical opcode index (#245763)

Opcode lookups no longer run a regex and a linear search

`llc -print-mir2vec` on a large MIR file goes from 27s to 8.5s
DeltaFile
+20-13llvm/lib/CodeGen/MIR2Vec.cpp
+3-2llvm/include/llvm/CodeGen/MIR2Vec.h
+23-152 files

OpenBSD/src iUmTGwD — sys/arch/arm64/dev smmu_acpi.c

   Attach smmu(4) to SMMUv3 IORT nodes. SMMUv3 support is already
   implemented and works, this makes the code actually reachable in
   ACPI mode.

   tested by kettenis@ claudio@
   ok phessler@ kettenis@
VersionDeltaFile
1.15+2-2sys/arch/arm64/dev/smmu_acpi.c
+2-21 files