HardenedBSD/src 04c8a5dsys/vm vm_mmap.c

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+9-22sys/vm/vm_mmap.c
+9-221 files

HardenedBSD/src 5b42ccelib/librpcsec_gss svc_rpcsec_gss.c, sbin/route route_netlink.c

Merge remote-tracking branch 'origin/freebsd/15-stable/main' into hardened/15-stable/main

Conflicts:
        sys/vm/vm_mmap.c (unresolved)
DeltaFile
+31-12sys/vm/vm_mmap.c
+11-1sys/netlink/route/rt.c
+9-1sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
+4-6sbin/route/route_netlink.c
+8-1lib/librpcsec_gss/svc_rpcsec_gss.c
+3-2usr.bin/netstat/route_netlink.c
+66-232 files not shown
+70-238 files

FreeBSD/ports b292055deskutils/xdg-terminal-exec distinfo Makefile

deskutils/xdg-terminal-exec: Update to 0.14.2

Reported by:    portscout!
DeltaFile
+3-3deskutils/xdg-terminal-exec/distinfo
+1-2deskutils/xdg-terminal-exec/Makefile
+4-52 files

FreeNAS/freenas e004037src/middlewared/middlewared/plugins/cloud_backup init.py, tests/cloud test_cloud_backup_storj.py

NAS-140405 / 26.0.0-BETA.2 / Create S3 buckets before performing any restic operations (by themylogin) (#18574)

Restic retries errors for non-existing buckets. It retries them 10 times
with exponential backoff, so an operation on a non-existing bucket can
take several minutes to fail. There is no way to disable this.

Bucket existence checking and creation code was executed after running
`restic unlock`, resulting in very long operations, perceived as hangs.

Original PR: https://github.com/truenas/middleware/pull/18567

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+70-0tests/cloud/test_cloud_backup_storj.py
+8-7src/middlewared/middlewared/plugins/cloud_backup/init.py
+78-72 files

FreeNAS/freenas 7ae8b30src/middlewared/middlewared/plugins/cloud_backup init.py, tests/cloud test_cloud_backup_storj.py

NAS-140405 / 26.0.0-BETA.1 / Create S3 buckets before performing any restic operations (by themylogin) (#18573)

Restic retries errors for non-existing buckets. It retries them 10 times
with exponential backoff, so an operation on a non-existing bucket can
take several minutes to fail. There is no way to disable this.

Bucket existence checking and creation code was executed after running
`restic unlock`, resulting in very long operations, perceived as hangs.

Original PR: https://github.com/truenas/middleware/pull/18567

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+70-0tests/cloud/test_cloud_backup_storj.py
+8-7src/middlewared/middlewared/plugins/cloud_backup/init.py
+78-72 files

NetBSD/pkgsrc-wip e156bb7rust194 distinfo Makefile

rust194: updated to 1.94.1
DeltaFile
+3-3rust194/distinfo
+1-1rust194/Makefile
+4-42 files

LLVM/project 4140ea1llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.permlane16.var.ll

[AMDGPU][GlobalISel] Add RegBankLegalize rules for permlane16_var/permlanex16_var (#187806)

Add register bank legalize rules for the amdgcn_permlane16_var and
amdgcn_permlanex16_var intrinsics. All register operands (result, old,
src0, src1) map to VGPR since these are VALU lane permutation
operations.

Enable -new-reg-bank-select in the permlane16.var test.
DeltaFile
+3-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane16.var.ll
+4-12 files

LLVM/project 1c48e72llvm/include/llvm/Target/GlobalISel Combine.td, llvm/test/CodeGen/AArch64 neon-bitwise-instructions.ll

[GlobalISel] Add integer combines from SelectionDAG (#181126)

This PR adds the patterns` // fold (A - (0 - B)) to (A + B)` and `//
fold A - (A - B) -> B` from SelectionDAG:
https://github.com/llvm/llvm-project/blob/838be78e44cd1f70006eb508bfc925e3e56aac03/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp#L4312

These rewrites should not need HasOneUse checks, since even with
multiple uses, they cannot increase the instruction count.
DeltaFile
+89-0llvm/test/CodeGen/AArch64/GlobalISel/combine-integer.mir
+50-0llvm/test/CodeGen/AArch64/GlobalISel/combine-integer-ll.ll
+16-0llvm/include/llvm/Target/GlobalISel/Combine.td
+4-7llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
+159-74 files

NetBSD/pkgsrc OupmQbvdoc CHANGES-2026

   doc: Updated lang/ruby33 to 3.3.11
VersionDeltaFile
1.1883+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc y9mGOkglang/ruby rubyversion.mk, lang/ruby33 Makefile PLIST

   lang/ruby33: update to 3.3.11

   Ruby 3.3.11 (2026-03-26)

   From release announce:

   This release includes an update to the zlib gem addressing CVE-2026-27820,
   along with some bug fixes.

   This is the last release of normal maintenance for the Ruby 3.3 series.
   After this release, Ruby 3.3 enters a security maintenance phase.  During
   this phase, we will only backport security fixes and fixes for critical
   build issues, without any regular bug fixes.

   The security maintenance phase is scheduled to last for one year, until the
   end of March 2027.  At that point, official support for Ruby 3.3 will end.
   We recommend that you begin planning your migration to Ruby 3.4 or 4.0.

   Changes

    [42 lines not shown]
VersionDeltaFile
1.315+6-6lang/ruby/rubyversion.mk
1.10+1-2lang/ruby33/Makefile
1.10+2-1lang/ruby33/PLIST
+9-93 files

LLVM/project 08a4085llvm/lib/CodeGen/AsmPrinter CodeViewDebug.cpp CodeViewDebug.h, llvm/lib/IR DebugInfoMetadata.cpp

[CodeView] Generate `S_DEFRANGE_REGISTER_REL_INDIR` (#187709)

In CodeView we had the limitation that we couldn't express locations
like `DW_OP_deref, DW_OP_plus_uconst 8` (i.e. indirect loads with an
offset). `S_DEFRANGE_REGISTER_REL_INDIR` allows us to represent this.
It's essentially `S_DEFRANGE_REGISTER_REL` (`Register + Offset`) with an
additional load afterward (`*(Register + Offset) + OffsetInUdt`).

These indirect locations are used in C++ 17 structured bindings and the
compiler generated C++ 20 coroutine stubs.

Before, locations that would only do a dereference without an added
offset afterward were represented by
`S_DEFRANGE_(REGISTER|FRAMEPOINTER)_REL` where the local had a reference
type:

```cpp
struct Foo {
  int a;

    [32 lines not shown]
DeltaFile
+212-0llvm/test/DebugInfo/COFF/indirect-local.ll
+56-66llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+28-39llvm/test/DebugInfo/COFF/types-array-advanced.ll
+38-19llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+34-1llvm/lib/MC/MCParser/AsmParser.cpp
+16-7llvm/lib/IR/DebugInfoMetadata.cpp
+384-1327 files not shown
+440-14613 files

FreeNAS/freenas f2ae7adsrc/middlewared/middlewared/plugins/cloud_backup init.py, tests/cloud test_cloud_backup_storj.py

Create S3 buckets before performing any restic operations

(cherry picked from commit c3073fdd8ffdcd1d13f3b91bc6bbf1d8de96f6e1)
DeltaFile
+70-0tests/cloud/test_cloud_backup_storj.py
+8-7src/middlewared/middlewared/plugins/cloud_backup/init.py
+78-72 files

FreeNAS/freenas f7cebe2src/middlewared/middlewared/plugins/cloud_backup init.py, tests/cloud test_cloud_backup_storj.py

Create S3 buckets before performing any restic operations

(cherry picked from commit c3073fdd8ffdcd1d13f3b91bc6bbf1d8de96f6e1)
DeltaFile
+70-0tests/cloud/test_cloud_backup_storj.py
+8-7src/middlewared/middlewared/plugins/cloud_backup/init.py
+78-72 files

FreeNAS/freenas adee32fsrc/middlewared/middlewared/plugins/cloud_backup init.py, tests/cloud test_cloud_backup_storj.py

NAS-140405 / 27.0.0-BETA.1 / Create S3 buckets before performing any restic operations (#18567)

Restic retries errors for non-existing buckets. It retries them 10 times
with exponential backoff, so an operation on a non-existing bucket can
take several minutes to fail. There is no way to disable this.

Bucket existence checking and creation code was executed after running
`restic unlock`, resulting in very long operations, perceived as hangs.
DeltaFile
+70-0tests/cloud/test_cloud_backup_storj.py
+8-7src/middlewared/middlewared/plugins/cloud_backup/init.py
+78-72 files

NetBSD/pkgsrc 0q3Eixedevel/mercurial Makefile

   mercurial: reset MAINTAINER
VersionDeltaFile
1.111+2-2devel/mercurial/Makefile
+2-21 files

NetBSD/pkgsrc wPR1imOdoc CHANGES-2026 TODO

   doc: Updated textproc/libfyaml to 0.9.6
VersionDeltaFile
1.1882+2-1doc/CHANGES-2026
1.26979+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc MRRawpZtextproc/libfyaml PLIST distinfo, textproc/libfyaml/patches patch-src_lib_fy-walk.c

   libfyaml: update to 0.9.6.

   ## [0.9.6] - 2026-03-15

   ### Major: Public Header Split

   The monolithic `libfyaml.h` has been split into focused sub-headers under `include/libfyaml/`. The main header still exists and includes everything, so **existing code requires no changes**. Projects can now include only the sub-headers they need for faster compilation:

   - `libfyaml/libfyaml-core.h` — parser, emitter, document, node, path
   - `libfyaml/libfyaml-composer.h` — composer interface
   - `libfyaml/libfyaml-docbuild.h` — document builder
   - `libfyaml/libfyaml-allocator.h` — allocator API
   - `libfyaml/libfyaml-atomics.h`, `libfyaml-thread.h`, `libfyaml-util.h`, and more

   All gaps in the API documentation have been filled as part of this work.

   ### Added

   - `fy_node_sequence_sort()`: Sort a single sequence node's items using a custom comparator (mirrors `fy_node_mapping_sort()`)

    [44 lines not shown]
VersionDeltaFile
1.3+26-0textproc/libfyaml/PLIST
1.1+16-0textproc/libfyaml/patches/patch-src_lib_fy-walk.c
1.7+5-4textproc/libfyaml/distinfo
1.11+2-2textproc/libfyaml/Makefile
+49-64 files

LLVM/project 030b520llvm/test/CodeGen/X86 known-pow2.ll

[X86] known-pow2.ll - add baseline pow2 trunc tests for #184365 (#188723)
DeltaFile
+78-0llvm/test/CodeGen/X86/known-pow2.ll
+78-01 files

LLVM/project 82d0173clang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGenHIP amdgcnspirv-visibility.cpp

[HIP][CUDA] Apply protected visibility to kernels and globals (#187784)

Add the visibility override in setGlobalVisibility(), following the
existing OpenMP precedent. Unlike the AMDGPU post-hoc override, this
check respects explicit [[gnu::visibility("hidden")]] attributes
via isVisibilityExplicit().
DeltaFile
+50-0clang/test/CodeGenHIP/amdgcnspirv-visibility.cpp
+21-0clang/lib/CodeGen/CodeGenModule.cpp
+71-02 files

NetBSD/pkgsrc sT39xi9doc TODO CHANGES-2026

   doc: Updated multimedia/libde265 to 1.0.18
VersionDeltaFile
1.26978+1-2doc/TODO
1.1881+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc BYRul11multimedia/libde265 PLIST Makefile, multimedia/libde265/patches patch-configure.ac

   libde265: update to 1.0.18.

   1.0.18

   libde265ConfigVersion.cmake renamed to libde265-config-version.cmake
   fix pkg-config when installing to absolute paths
   fix compilation with MSVC in Debug mode
   removed the (defunct) encoder code and the internal development tools from the tarball

   1.0.17

   This release removes the autotools build scripts. Please migrate to cmake if you have not done that yet.
   Furthermore, many input validations have been added and security relevant issues have been fixed.

   CVE-2026-33165
   CVE-2026-33164
VersionDeltaFile
1.4+7-9multimedia/libde265/PLIST
1.15+3-10multimedia/libde265/Makefile
1.14+4-5multimedia/libde265/distinfo
1.7+1-1multimedia/libde265/patches/patch-configure.ac
+15-254 files

LLVM/project cc4727aflang-rt README.md CMakeLists.txt, flang-rt/cmake/modules AddFlangRT.cmake

[LLVM] Replace use of LLVM_RUNTIMES_TARGET with LLVM_DEFAULT_TARGET_TRIPLE (#188303)

Summary:
This PR primarily changes using `LLVM_RUNTIMES_TARGET` to
`LLVM_DEFAULT_TARGET_TRIPLE`. The reason is that the default target
triple is the true cross-compiling architecture we are using, while the
runtimes_target can contain multilib strings like `+debug` or similar.

Additionally add the proper path handling to the OpenMP / Offload
libraries.
DeltaFile
+6-5libc/cmake/modules/LLVMLibCArchitectures.cmake
+4-5flang-rt/README.md
+2-3flang-rt/CMakeLists.txt
+2-2flang-rt/cmake/modules/AddFlangRT.cmake
+1-1flang-rt/lib/runtime/CMakeLists.txt
+1-1llvm/cmake/modules/HandleLLVMOptions.cmake
+16-171 files not shown
+17-187 files

OPNSense/core f5c3fb7src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml KeaDhcpv6.xml

kea: small xml style update in model
DeltaFile
+1-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+1-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+2-42 files

LLVM/project e5cbd91libclc/opencl/lib/generic/atomic atomic_fetch_add.cl atomic_fetch_sub.cl

Fix formatting
DeltaFile
+9-9libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+9-9libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+18-182 files

LLVM/project 8a7a7a5libclc/opencl/lib/generic/atomic atomic_fetch_add.cl atomic_fetch_sub.cl

Macro fixes
DeltaFile
+31-16libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+31-16libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+62-322 files

LLVM/project 85fe32blibclc/opencl/lib/generic/atomic atomic_fetch_add.cl atomic_fetch_sub.cl

Address comments
DeltaFile
+40-17libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+40-17libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+80-342 files

LLVM/project 073ed40libclc/opencl/lib/generic/atomic atomic_fetch_add.cl atomic_fetch_sub.cl

libclc: Fix missing overloads for atomic_fetch_add/sub

Follow up to #185263, which missed the overloads which take a memory
order.
DeltaFile
+19-0libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+19-0libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+38-02 files

LLVM/project e41e7b9flang-rt/cmake/modules AddFlangRT.cmake, flang-rt/lib/runtime stl-overrides.h stl-overrides.cpp

[flang-rt] Avoid duplicate definition of `std::__libcpp_verbose_abort` (#175551)

If a project depends on the Flang runtime and on libc++, linking fails
because `std::__libcpp_verbose_abort` is defined in both libraries.

Avoid that duplicate definition by defining `_LIBCPP_VERBOSE_ABORT`
before including any C++ headers and by renaming that symbol in the
Flang runtime to `flang_rt_verbose_abort`.

The function that is modified was originally introduced in D158957 to
solve an undefined symbol error when linking pure-Fortran projects with
the Flang runtime.
Providing a definition for that symbol in the Flang runtime might work
correctly for ELF or Mach-O if that symbol has weak linkage in libc++.
But at least for COFF, this now causes multiple-definition errors for
projects that are linking to the Flang runtime and to libc++.

The linker errors before this change for Windows/MinGW using
Clang+Flang+lld look like this:

    [4 lines not shown]
DeltaFile
+38-0flang-rt/lib/runtime/stl-overrides.h
+17-20flang-rt/cmake/modules/AddFlangRT.cmake
+22-0flang-rt/lib/runtime/stl-overrides.cpp
+0-15flang-rt/lib/runtime/io-api-minimal.cpp
+1-0flang-rt/lib/runtime/CMakeLists.txt
+78-355 files

LLVM/project 9e6bd12libc/docs/dev implementing_a_function.rst

[libc][doc] Remove ToC incompatible with Furo (#188720)

Thanks to @Sukumarsawant for spotting this!
DeltaFile
+0-4libc/docs/dev/implementing_a_function.rst
+0-41 files

NetBSD/pkgsrc FZ9rGkudoc TODO CHANGES-2026

   doc: Updated graphics/libavif to 1.4.1
VersionDeltaFile
1.26977+1-2doc/TODO
1.1880+2-1doc/CHANGES-2026
+3-32 files