Illumos/gate e47ccb4usr/src/boot/common ls.c

17850 loader: ls should avoid adding double '/' at front of the path
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+141-131usr/src/boot/common/ls.c
+141-1311 files

LLVM/project a1993f2mlir/include/mlir/Bindings/Python IRCore.h

Narrow down crash on Windows CI
DeltaFile
+1-1mlir/include/mlir/Bindings/Python/IRCore.h
+1-11 files

LLVM/project f3d81d4llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp, llvm/lib/Target/RISCV/MCTargetDesc RISCVBaseInfo.h

[RISCV] Rename ConstraintMask->RVVConstraintMask. NFC (#178963)

This matches how we refer to it in tablegen.
DeltaFile
+6-6llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+1-1llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+7-72 files

FreeNAS/freenas 991c7aasrc/middlewared/debian control, src/middlewared/middlewared auth.py

Fix flake8 issues
DeltaFile
+0-2src/middlewared/middlewared/plugins/api_key.py
+1-1src/middlewared/middlewared/apps/file_app.py
+1-1src/middlewared/middlewared/utils/account/authenticator.py
+0-2src/middlewared/debian/control
+0-1src/middlewared/middlewared/auth.py
+2-75 files

FreeNAS/freenas 2ae8b0fsrc/middlewared/middlewared/plugins auth.py, src/middlewared/middlewared/utils/account authenticator.py utmp.py

Remove python-pam and plumb in pam_truenas

This commit removes the python-pam Python library dependency from
TrueNAS middleware and replaces it with truenas_pypam. The most
significant change is the migration of API key authentication from
simple PBKDF2 password hashing to SCRAM-SHA512 (Salted Challenge
Response Authentication Mechanism) as defined in RFC5802. SCRAM is an
authentication protocol that uses PBKDF2-HMAC-SHA512 for key
derivation. API keys are now stored with SCRAM-derived credentials
including salt, stored_key, server_key, and iteration count fields in
the database. A database migration automatically converts existing
PBKDF2-hashed API keys to SCRAM format transparently—existing API keys
will continue to work without requiring regeneration. The commit adds a
new SCRAM authentication mechanism for challenge-response authentication
with replay resistance and mutual validation capabilities, while
maintaining the existing API_KEY_PLAIN mechanism for simple
authentication.

The refactoring includes comprehensive changes to the authentication

    [10 lines not shown]
DeltaFile
+375-508src/middlewared/middlewared/utils/account/authenticator.py
+231-231tests/unit/test_utmp.py
+0-397src/middlewared/middlewared/utils/account/utmp.py
+0-358tests/unit/test_pam_tdb.py
+193-123src/middlewared/middlewared/plugins/auth.py
+47-115src/middlewared/middlewared/utils/account/faillock.py
+846-1,73235 files not shown
+1,534-2,18441 files

FreeNAS/freenas 9910436src/middlewared/middlewared/api/v26_04_0 smb.py, src/middlewared/middlewared/plugins smb.py

Fix typos
DeltaFile
+1-1src/middlewared/middlewared/utils/tdb.py
+1-1src/middlewared/middlewared/api/v26_04_0/smb.py
+1-1src/middlewared/middlewared/plugins/smb.py
+3-33 files

LLVM/project 485eb62llvm/lib/Transforms/IPO AttributorAttributes.cpp, llvm/test/Transforms/Attributor nofpclass.ll

Attributor: Use anchor scope for SimplifyQuery context (#178958)

This was asserting in computeKnownFPClass when a dominator tree
check happened across functions.

Fixes #178954
DeltaFile
+80-38llvm/test/Transforms/Attributor/nofpclass.ll
+1-1llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+81-392 files

FreeNAS/freenas 4bc909asrc/middlewared/middlewared/api/v26_04_0 smb.py, src/middlewared/middlewared/plugins smb.py

Fix read of unsupported SMB share ACL access mask

The SMB share ACL database technically supports more varieties of
share ACL settings than we explicitly expose (or Windows does
for that matter). This means there is a small chance that a user
could set an unsupported mask through shell commands. We have no
interest in increasing backend API complexity here and so we'll
present the special string "CUSTOM" to end-user and make them
fix it on share ACL update. Remaining share ACL infrastructure
does not rely on this special decoding / encoding.

While we're in here, delete some dead code and add a flush method
for tdb contents for cases where we insert something but not
under a transaction lock. I haven't seen issues in the past with
TDB writes, but since this is a security-sensitive area an extra
flush here isn't a bad idea.

This commit ensures the share ACL is always purged from server
when share is deleted (even if it doesn't exist in running

    [3 lines not shown]
DeltaFile
+34-0src/middlewared/middlewared/pytest/unit/utils/test_security_descriptor.py
+21-9src/middlewared/middlewared/plugins/smb.py
+22-1src/middlewared/middlewared/utils/security_descriptor.py
+3-6src/middlewared/middlewared/plugins/smb_/sharesec.py
+8-0src/middlewared/middlewared/utils/tdb.py
+4-2src/middlewared/middlewared/api/v26_04_0/smb.py
+92-186 files

FreeBSD/src 9df110btests/sys/netinet socket_afinet.c

tests/netinet: fix tests that depended on connect(in6addr_any)

Fixes:  627e126dbb07b167b028380ef61bb45f10493938
DeltaFile
+2-0tests/sys/netinet/socket_afinet.c
+2-01 files

LLVM/project d944d16clang/lib/Driver/ToolChains Darwin.cpp

[clang][Driver] Fix use after scope in darwin driver

`Version.getAsString()` returns an `std::string`, and thus the
`StringRef` points to an invalid location when pushed into the
Components vector. This just keeps the temporary alive for the
new string to be generated, to fix the ASAN failure after #176541
DeltaFile
+2-1clang/lib/Driver/ToolChains/Darwin.cpp
+2-11 files

FreeNAS/freenas 02b9147src/middlewared/middlewared/plugins/iscsi_ alua.py

When calling reset_active also call recreate_comms_peer

This will help avoid "ignore dlm msg because seq mismatch".
DeltaFile
+1-0src/middlewared/middlewared/plugins/iscsi_/alua.py
+1-01 files

FreeNAS/freenas 5e5c6d3src/middlewared/middlewared/utils security_descriptor.py

Fix typo
DeltaFile
+1-1src/middlewared/middlewared/utils/security_descriptor.py
+1-11 files

LLVM/project 7639d21llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 cls.ll

[AArch64] Convert CLS intrinsics to use ISD::CTLS (#178885)

This patch converts AArch64 CLS intrinsics (aarch64_neon_cls) to use the
generic ISD::CTLS node.

- aarch64_neon_cls: Lowered to ISD::CTLS, pattern-matched to CLS
instruction
- Set ISD::CTLS as Legal for NEON vector types (v8i8, v16i8, v4i16,
v8i16, v2i32, v4i32)

Also adds generic CTLS expansion support:
- ExpandIntRes_CTLS in LegalizeIntegerTypes for i64->i32 type expansion
- expandCTLS in TargetLowering for targets without native CLS
instruction

Part of: https://github.com/llvm/llvm-project/issues/174337
DeltaFile
+14-0llvm/test/CodeGen/AArch64/cls.ll
+9-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-1llvm/lib/Target/AArch64/AArch64InstrInfo.td
+24-13 files

NetBSD/pkgsrc-wip 49e000abun TODO

bun: Add reference to CVE-2026-24910
DeltaFile
+2-0bun/TODO
+2-01 files

NetBSD/pkgsrc-wip db4589apy-geopandas TODO

py-geopandas: Add reference to CVE-2025-69662
DeltaFile
+2-0py-geopandas/TODO
+2-01 files

FreeBSD/src 3ab15easbin/ping/tests Makefile

Ping: Make build reproducible

As recently fixed in sockstat (9934558460e4), having tests/Makefile
include files from the parent directory with SRCS= ../foo.c results
in a race condition as the parent build and the tests build try to
produce the same object file but contain different paths.

Use .PATH to tell make to find sockstat.c in the parent directory
but place the object file in the current object directory.

Reviewed by:    emaste, jrtc27, kevans
MFC after:      3 days
Sponsored by:   https://www.patreon.com/cperciva
Differential Revision:  https://reviews.freebsd.org/D53075

(cherry picked from commit 3c9a2f383fc25cdffa80c1348cb5388290e0f283)
DeltaFile
+2-1sbin/ping/tests/Makefile
+2-11 files

LLVM/project 09f9a28llvm/lib/Target/SystemZ SystemZInstrInfo.cpp SystemZScheduleZ14.td, llvm/test/CodeGen/SystemZ copy-physreg-vr16.ll

[SystemZ] Bugfix: Add VLR16 to SystemZInstrInfo::copyPhysReg(). (#178932)

Support COPYs involving higher FP16 regs (like F24H) with a new pseudo
instruction 'VLR16'.

This is needed with -O0/regalloc=fast, and probably in more cases as
well.

Fixes #178788.
DeltaFile
+35-0llvm/test/CodeGen/SystemZ/copy-physreg-vr16.ll
+2-0llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ14.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ15.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ16.td
+1-1llvm/lib/Target/SystemZ/SystemZScheduleZ17.td
+41-43 files not shown
+44-59 files

OpenBSD/ports TVyuBQ9x11/brewtarget distinfo Makefile, x11/brewtarget/patches patch-CMakeLists_txt

   Update to Brewtarget 5.0.2.
VersionDeltaFile
1.2+4-4x11/brewtarget/patches/patch-CMakeLists_txt
1.7+2-2x11/brewtarget/distinfo
1.8+1-1x11/brewtarget/Makefile
+7-73 files

LLVM/project 6ca8f79lldb/test/API/tools/lldb-dap/variables TestDAP_variables.py, lldb/tools/lldb-dap Variables.cpp JSONUtils.cpp

lldb-dap: Stop using replicated variable ids (#124232)

Closes #119784 

Probably closes #147105 as well, but I couldn't test due to #156473: 

This PR fixes two bugs:
1. It generates unique variable reference IDs per suspended debuggee
state.
2. It stores all created variables in a stopped state instead of
dropping variables in unselected scopes. So it can properly handle all
scope/variable requests

It does this by storing all variables in their respective scopes and
using that mapping in request handlers that relied on the old mapping.
It dynamically creates new variable/scope IDs instead of resetting IDs
whenever a new scope is created.

I also removed some unused code as well.

    [5 lines not shown]
DeltaFile
+116-16lldb/tools/lldb-dap/Variables.cpp
+0-85lldb/tools/lldb-dap/JSONUtils.cpp
+72-10lldb/tools/lldb-dap/Variables.h
+3-56lldb/tools/lldb-dap/Handler/ScopesRequestHandler.cpp
+46-9lldb/unittests/DAP/VariablesTest.cpp
+36-0lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
+273-1764 files not shown
+318-18910 files

FreeNAS/freenas 4e14cfesrc/middlewared/middlewared/api/v26_04_0 smb.py, src/middlewared/middlewared/plugins/smb_ sharesec.py

Fix read of unsupported SMB share ACL access mask

The SMB share ACL database technically supports more varieties of
share ACL settings than we explicitly expose (or Windows does
for that matter). This means there is a small chance that a user
could set an unsupported mask through shell commands. We have no
interest in increasing backend API complexity here and so we'll
present the special string "CUSTOM" to end-user and make them
fix it on share ACL update. Remaining share ACL infrastructure
does not rely on this special decoding / encoding.

While we're in here, delete some dead code and add a flush method
for tdb contents for cases where we insert something but not
under a transaction lock. I haven't seen issues in the past with
TDB writes, but since this is a security-sensitive area an extra
flush here isn't a bad idea.
DeltaFile
+22-1src/middlewared/middlewared/utils/security_descriptor.py
+3-6src/middlewared/middlewared/plugins/smb_/sharesec.py
+8-0src/middlewared/middlewared/utils/tdb.py
+3-1src/middlewared/middlewared/api/v26_04_0/smb.py
+36-84 files

LLVM/project 1ab74eellvm/lib/Transforms/IPO AttributorAttributes.cpp, llvm/test/Transforms/Attributor nofpclass.ll

Attributor: Use anchor scope for SimplifyQuery context

This was asserting in computeKnownFPClass when a dominator tree
check happened across functions.

Fixes #178954
DeltaFile
+80-38llvm/test/Transforms/Attributor/nofpclass.ll
+1-1llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+81-392 files

FreeBSD/src 56e1cbasys/netinet6 ip6_mroute.c

ip6_mroute: Remove unnecessary casts

No functional change intended.

MFC after:      1 week
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
DeltaFile
+3-4sys/netinet6/ip6_mroute.c
+3-41 files

LLVM/project a0b99e3llvm/test/Transforms/LoopVectorize/AArch64 partial-reduce-sub.ll partial-reduce-incomplete-chains.ll

[LV] Add additional partial reduction test coverage for #167851.

Add test cases for which earlier versions of
https://github.com/llvm/llvm-project/pull/167851 was not NFC.

Test chained_sext_adds is moved to a new file.
DeltaFile
+149-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-sub.ll
+0-113llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-incomplete-chains.ll
+79-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-with-invariant-stores.ll
+228-1133 files

FreeBSD/src 34c3e1dusr.bin/netstat mroute6.c mroute.c

netstat: Fix whitespace in libxo output for multicast routes

Also fix some bogus libxo format strings in mroute6.c, and close a
couple of lists instead of opening them twice.

Fixes:          ade9ccfe211a ("Convert netstat to use libxo.")
MFC after:      2 weeks
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
DeltaFile
+6-7usr.bin/netstat/mroute6.c
+5-6usr.bin/netstat/mroute.c
+11-132 files

FreeNAS/freenas fe88f5fsrc/middlewared/middlewared/api/v26_04_0 smb.py, src/middlewared/middlewared/utils security_descriptor.py

Fix read of unsupported SMB share ACL access mask

The SMB share ACL database technically supports more varieties of
share ACL settings than we explicitly expose (or Windows does
for that matter). This means there is a small chance that a user
could set an unsupported mask through shell commands. We have no
interest in increasing backend API complexity here and so we'll
present the special string "CUSTOM" to end-user and make them
fix it on share ACL update. Remaining share ACL infrastructure
does not rely on this special decoding / encoding.
DeltaFile
+22-1src/middlewared/middlewared/utils/security_descriptor.py
+3-1src/middlewared/middlewared/api/v26_04_0/smb.py
+25-22 files

NetBSD/pkgsrc-wip 5fffae9aarch64-none-elf-gcc Makefile, common-gnu-toolchain gcc.mk

Set MKPIE_SUPPORTED=no in gcc.mk.

It seems that MKPIE is a host problem for NetBSD rather than a target
problem so disable it universally.
DeltaFile
+0-3powerpc-none-elf-gcc/Makefile
+0-3mipsel-none-elf-gcc/Makefile
+0-2aarch64-none-elf-gcc/Makefile
+1-0common-gnu-toolchain/gcc.mk
+1-84 files

LLVM/project a73c315clang/test/CIR/CodeGen coro-task.cpp

[CIR][NFC] Add OGCG tests for coroutines (#178821)

This PR adds OGCG tests for `coro-task.cpp`. These tests are intended to
be used once the lowering is implemented, allowing us to compare the
generated output.
DeltaFile
+76-0clang/test/CIR/CodeGen/coro-task.cpp
+76-01 files

LLVM/project c7f53eellvm/lib/Transforms/IPO FunctionImport.cpp, llvm/test/ThinLTO/X86 local_name_conflict_var.ll

[ThinLTO] Stop attempting variable import once we see a non-variable (#178944)

This is a compile time improvement. Instead of looking through every
single copy of a value (of which there can be many for large targets
with linkonce_odr copies of the same values) for an importable variable,
stop immediately after we see a non-variable summary.

In most cases this is NFC because we expect all copies of a value to be
of the same type (e.g. all variables, or all functions). This only makes
a noticeable, slightly conservative, change in the case of same-named
local values in different modules compiled without distinguishing path.
The new test shows the effect of this (and is safe due to PR178761).

This makes a large reduction in thin link time for large targets that
have many copies of linkonce_odr vtables, all referencing functions.
DeltaFile
+12-2llvm/lib/Transforms/IPO/FunctionImport.cpp
+10-0llvm/test/ThinLTO/X86/local_name_conflict_var.ll
+22-22 files

LLVM/project c15853e.github/workflows docs.yml, clang/utils/analyzer entrypoint.py

[OpenMP] Remove LLVM_ENABLE_PROJECTS=openmp build mode (#176950)

Reapply #152189 and #174963 which were reverted because it broke
publish-sphinx-docs and publish-doxygen-docs.

The build mode has been deprecated in #136314 and was supposed to be
removed in the LLVM 21 release (#136314).

OpenMP currently supports 4 build modes:

 * `cmake <llvm-project>/llvm -DLLVM_ENABLE_PROJECTS=openmp`
 * `cmake <llvm-project>/llvm -DLLVM_ENABLE_RUNTIMES=openmp` (bootstrapping build)
 * `cmake <llvm-project>/openmp` (standalone build)
 * `cmake <llvm-project>/runtimes -DLLVM_ENABLE_RUNTIMES=openmp` (runtimes default/standalone build)

Each build mode increased the maintanance overhead since all build modes
must continue working and user confusion when there do not (see #151117,
#174126, #154117, ...). Let's finally remove it.
DeltaFile
+10-13llvm/CMakeLists.txt
+2-17flang/tools/f18/CMakeLists.txt
+0-7llvm/runtimes/CMakeLists.txt
+2-2.github/workflows/docs.yml
+2-2clang/utils/analyzer/entrypoint.py
+2-2flang-rt/README.md
+18-431 files not shown
+19-437 files

LLVM/project 95ac931llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp, llvm/test/CodeGen/WebAssembly funcref-call.ll

[WebAssembly] Prevent FastISel from trying to select funcref calls (#178742)

Before, Wasm FastISel treated all indirect calls the same, causing
miscompilations at O0 when trying to call a funcref (`call ptr
addrspace(20)`), as it would treat the funcref as a normal `ptr`

This adds a check so it falls back to ISelDAG when encountering calls
outside addrspace 0 (which covers direct calls and indirect calls
through normal function pointers).

Related: #140933
DeltaFile
+6-0llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+2-1llvm/test/CodeGen/WebAssembly/funcref-call.ll
+8-12 files