LLVM/project b9d6efeclang-tools-extra/clang-tidy/fuchsia TemporaryObjectsCheck.cpp TemporaryObjectsCheck.h, clang-tools-extra/clang-tidy/utils CheckUtils.h

[clang-tidy] Emit warning when user is using deprecated `zircon` checks (#189522)

Add `utils::diagDeprecatedCheckAlias` so checks can detect whether they
are running under a deprecated name without enabling the new names.

This commit also comes with an example with `zircon` module. It is
deprecated in 22 release but we didn't provide a note for it before.
DeltaFile
+118-0clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
+26-0clang-tools-extra/clang-tidy/utils/CheckUtils.h
+18-0clang-tools-extra/test/clang-tidy/checkers/fuchsia/temporary-objects-deprecated-alias.cpp
+13-0clang-tools-extra/clang-tidy/fuchsia/TemporaryObjectsCheck.cpp
+1-3clang-tools-extra/clang-tidy/fuchsia/TemporaryObjectsCheck.h
+176-35 files

LLVM/project f34ea95clang/lib/Sema AnalysisBasedWarnings.cpp

remove dtors from cfg
DeltaFile
+0-2clang/lib/Sema/AnalysisBasedWarnings.cpp
+0-21 files

LLVM/project e4e3605clang/test/Sema warn-lifetime-safety-suggestions.cpp

more tests
DeltaFile
+51-32clang/test/Sema/warn-lifetime-safety-suggestions.cpp
+51-321 files

LLVM/project 501bc05clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/lib/Analysis/LifetimeSafety Checker.cpp

Refactor EscapingTarget
DeltaFile
+5-10clang/lib/Analysis/LifetimeSafety/Checker.cpp
+6-3clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+3-3clang/lib/Sema/SemaLifetimeSafety.h
+14-163 files

LLVM/project 52cdb95clang/lib/Analysis/LifetimeSafety Checker.cpp

doc update
DeltaFile
+2-1clang/lib/Analysis/LifetimeSafety/Checker.cpp
+2-11 files

LLVM/project 341f87fclang/lib/Analysis/LifetimeSafety Checker.cpp

refactor
DeltaFile
+5-5clang/lib/Analysis/LifetimeSafety/Checker.cpp
+5-51 files

LLVM/project 0509d11clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/lib/Analysis/LifetimeSafety Checker.cpp

Annotation inference on constructor
DeltaFile
+19-21clang/test/Sema/warn-lifetime-analysis-nocfg.cpp
+28-11clang/lib/Analysis/LifetimeSafety/Checker.cpp
+39-0clang/test/Sema/warn-lifetime-safety-suggestions.cpp
+12-6clang/lib/Sema/SemaLifetimeSafety.h
+6-6clang/test/Sema/warn-lifetime-safety.cpp
+5-4clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+109-481 files not shown
+113-487 files

FreeNAS/freenas 29cbd29src/middlewared/middlewared/plugins/directoryservices_ secrets.py, src/middlewared/middlewared/plugins/smb_ groupmap.py

NAS-140647 / 25.10.3 / Use domain sid from secrets.tdb for groupmap construction (by anodos325) (#18722)

This commit transitions from using runtime detection of domain SID via
winbindd requests to reading the stored domain SID from the secrets.tdb
file. During reboot and failover process there was a window in which an
unhealthy AD join could cause a failure to resolve the domain admins SID
and subsequently trigger it to be removed from the group_mapping.tdb.
This change robustizes the groupmap setup by not requiring a healthy AD
state.

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

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+63-0tests/directory_services/test_activedirectory_groupmap.py
+59-0src/middlewared/middlewared/pytest/unit/utils/test_sid.py
+35-0src/middlewared/middlewared/utils/sid.py
+5-11src/middlewared/middlewared/plugins/smb_/groupmap.py
+9-0src/middlewared/middlewared/plugins/directoryservices_/secrets.py
+171-115 files

FreeNAS/freenas 2b6bc53src/middlewared/middlewared/plugins/enclosure_ enclosure2.py

NAS-140634 / 25.10.3 / fix R50 drive identify light (by yocalebo) (#18729)

## Summary

On R50BM (and R50/R50B), the front 48 drive bays are split across two
SAS expanders. The middleware merges both into a single enclosure, but
`set_slot_status` used the top-level enclosure PCI path for all 48
slots. Slots 25-48 live on a different expander, so identifying any of
those slots lit up the wrong drive (slot N-24 on the first expander).

The fix uses the per-slot `original.enclosure_bsg` to resolve the
correct sysfs path for R50-series, matching the existing V-series
approach.

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

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+1-1src/middlewared/middlewared/plugins/enclosure_/enclosure2.py
+1-11 files

FreeNAS/freenas 0cb2268src/middlewared/middlewared/plugins/enclosure_ enclosure2.py

NAS-140634 / 26.0.0-BETA.2 / fix R50 drive identify light (by yocalebo) (#18730)

## Summary

On R50BM (and R50/R50B), the front 48 drive bays are split across two
SAS expanders. The middleware merges both into a single enclosure, but
`set_slot_status` used the top-level enclosure PCI path for all 48
slots. Slots 25-48 live on a different expander, so identifying any of
those slots lit up the wrong drive (slot N-24 on the first expander).

The fix uses the per-slot `original.enclosure_bsg` to resolve the
correct sysfs path for R50-series, matching the existing V-series
approach.

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

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+1-1src/middlewared/middlewared/plugins/enclosure_/enclosure2.py
+1-11 files

FreeBSD/src 26740e8sys/compat/linux linux_ioctl.c linux_ioctl.h, sys/dev/iicbus iic.c iic.h

compat/linux: Add Linux i2c-dev ioctl compatibility support

Implement Linux I2C ioctl translation in the Linux compatibility layer
and wire iicbus cdevs up for in-kernel rdwr handling.
Support common i2c-dev requests including SLAVE, FUNCS, and RDWR,
while rejecting unsupported 10-bit and SMBus operations.

Signed-off-by:  YAO, Xin <mr.yaoxin at outlook.com>
Reviewed by:    imp, adrian, pouria
Differential Revision: https://reviews.freebsd.org/D56251
DeltaFile
+115-0sys/compat/linux/linux_ioctl.c
+35-4sys/dev/iicbus/iic.c
+24-0sys/compat/linux/linux_ioctl.h
+8-0sys/dev/iicbus/iic.h
+182-44 files

FreeNAS/freenas a209d15src/middlewared/middlewared/plugins/enclosure_ enclosure2.py

NAS-140634 / 27.0.0-BETA.1 / fix R50 drive identify light (#18727)

## Summary

On R50BM (and R50/R50B), the front 48 drive bays are split across two
SAS expanders. The middleware merges both into a single enclosure, but
`set_slot_status` used the top-level enclosure PCI path for all 48
slots. Slots 25-48 live on a different expander, so identifying any of
those slots lit up the wrong drive (slot N-24 on the first expander).

The fix uses the per-slot `original.enclosure_bsg` to resolve the
correct sysfs path for R50-series, matching the existing V-series
approach.
DeltaFile
+1-1src/middlewared/middlewared/plugins/enclosure_/enclosure2.py
+1-11 files

LLVM/project e572b0cflang/test/Fir dispatch.f90, flang/test/Lower extrn_subp.f90 pointer-default-init.f90

[Flang] External subprograms should be allowed as proc_target in procedure pointers. (#183268)

Fixes https://github.com/llvm/llvm-project/issues/177505.

This patch updates an existing external procedure symbol with the
correct function signature and argument attributes, so it can be safely
used as a proc_target without signature conflicts.

---------

Co-authored-by: jeanPerier <jean.perier.polytechnique at gmail.com>
DeltaFile
+65-63flang/test/Lower/OpenACC/acc-declare.f90
+66-0flang/test/Lower/extrn_subp.f90
+20-19flang/test/Lower/pointer-default-init.f90
+10-12flang/test/Lower/c-interoperability.f90
+12-10flang/test/Fir/dispatch.f90
+9-11flang/test/Lower/CUDA/cuda-data-attribute.cuf
+182-11518 files not shown
+270-19524 files

FreeNAS/freenas 10f2cb8src/middlewared/middlewared/plugins/directoryservices_ secrets.py, src/middlewared/middlewared/plugins/smb_ groupmap.py

NAS-140647 / 25.10.3 / Use domain sid from secrets.tdb for groupmap construction (by anodos325) (#18722)

This commit transitions from using runtime detection of domain SID via
winbindd requests to reading the stored domain SID from the secrets.tdb
file. During reboot and failover process there was a window in which an
unhealthy AD join could cause a failure to resolve the domain admins SID
and subsequently trigger it to be removed from the group_mapping.tdb.
This change robustizes the groupmap setup by not requiring a healthy AD
state.

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

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+63-0tests/directory_services/test_activedirectory_groupmap.py
+59-0src/middlewared/middlewared/pytest/unit/utils/test_sid.py
+35-0src/middlewared/middlewared/utils/sid.py
+6-12src/middlewared/middlewared/plugins/smb_/groupmap.py
+9-0src/middlewared/middlewared/plugins/directoryservices_/secrets.py
+172-125 files

OpenBSD/src 5gBpr1oshare/man/man4/man4.riscv64 smte.4 Makefile

   smte(4)
VersionDeltaFile
1.1+76-0share/man/man4/man4.riscv64/smte.4
1.19+3-2share/man/man4/man4.riscv64/Makefile
+79-22 files

FreeBSD/ports b919fc7textproc/qrcodegen Makefile pkg-plist, textproc/qrcodegen/files qrcodegen.in

textproc/qrcodegen: unpin openjdk8

- add JAXB; was embedded in Java 8, removed from JDK9+.
- host the distfile locally, upstream is gone.

PR:     294340
Approved-by:    maintainer (Kevin Zheng)
DeltaFile
+12-4textproc/qrcodegen/Makefile
+6-4textproc/qrcodegen/files/qrcodegen.in
+4-0textproc/qrcodegen/pkg-plist
+3-1textproc/qrcodegen/distinfo
+25-94 files

FreeNAS/freenas b1d6d23src/middlewared/middlewared/plugins smb.py, src/middlewared/middlewared/plugins/smb_ util_smbconf.py util_param.py

Add samba parameter to prevent dataset traversal
DeltaFile
+33-2tests/unit/test_smb_service.py
+5-1src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+2-0src/middlewared/middlewared/plugins/smb.py
+1-0src/middlewared/middlewared/plugins/smb_/util_param.py
+41-34 files

LLVM/project f9c9f94llvm/lib/Target/AArch64 AArch64InstrInfo.cpp AArch64PrologueEpilogue.cpp, llvm/test/CodeGen/AArch64 sign-return-address-pauthlr-slh.ll

[AArch64] Mark X16 as clobbered in PAUTH_EPILOGUE for hint-based PAuthLR (#175991)

When users request branch protection with PAuthLR on targets that do not
support the PAuthLR instructions, the PAUTH_EPILOGUE falls back to using
hint-space instructions. This fallback sequence uses X16 as a temporary
register, but X16 was not listed in the clobber set.

Because Speculative Load Hardening uses X16, this omission made SLH
incompatible with this PAUTH_EPILOGUE path.

Mark X16 as clobbered so the compiler does not assume X16 is preserved
across the epilogue, restoring compatibility with Speculative Load
Hardening and avoiding incorrect register liveness assumptions. The
clobber is added in C++ rather than TableGen, as X16 is only clobbered
when PAuthLR is requested as a branch protection variation and should
not be treated as clobbered unconditionally.
DeltaFile
+103-0llvm/test/CodeGen/AArch64/sign-return-address-pauthlr-slh.ll
+12-3llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+2-5llvm/lib/Target/AArch64/AArch64PrologueEpilogue.cpp
+6-0llvm/lib/Target/AArch64/AArch64InstrInfo.h
+5-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+1-2llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
+129-106 files

FreeNAS/freenas cde4fcesrc/middlewared/middlewared/plugins/enclosure_ enclosure2.py

fix R50 drive identify light
DeltaFile
+1-1src/middlewared/middlewared/plugins/enclosure_/enclosure2.py
+1-11 files

LLVM/project e027a17llvm/test/CodeGen/SPIRV logical-struct-access.ll

[NFC][SPIR-V] Fix logical-struct-access.ll to pass spirv-val validation (#191792)

OpReturnValue with a pointer type is invalid in SPIR-V Logical
addressing model (Vulkan). The functions in the test return
OpAccessChain results, which are pointers

related to https://github.com/llvm/llvm-project/issues/190736
DeltaFile
+37-27llvm/test/CodeGen/SPIRV/logical-struct-access.ll
+37-271 files

LLVM/project e455e6clibc/fuzzing/string strnlen_s_differential_fuzz.cpp, libc/include string.yaml

[libc] Add Annex K strnlen_s function (#186112)

This patch adds the `strnlen_s` function from Annex K.

In order to reduce duplication between `strnlen` and `strnlen_s`, the
common logic has been extracted to a new internal function which both
now call.

In addition to the function definition, the patch adds a unit test and a
fuzzing test.
DeltaFile
+59-0libc/fuzzing/string/strnlen_s_differential_fuzz.cpp
+57-0libc/test/src/string/strnlen_s_test.cpp
+21-0libc/src/string/strnlen_s.cpp
+21-0libc/src/string/strnlen_s.h
+13-0libc/src/string/CMakeLists.txt
+10-0libc/include/string.yaml
+181-019 files not shown
+223-325 files

FreeBSD/ports 46ca512devel/py-python-semantic-release Makefile, misc/py-instructor Makefile

*/*: Chase update of textproc/py-rich to 15.0.0

No actual change to the package API -- the major version bump is
because of dropping support for python-3.8, which is academic for the
ports, where that version was dropped long ago.
DeltaFile
+1-1devel/py-python-semantic-release/Makefile
+1-1misc/py-instructor/Makefile
+1-1misc/py-shell-gpt/Makefile
+1-1www/py-httpx/Makefile
+4-44 files

FreeBSD/ports e94b826textproc/py-rich distinfo Makefile

textproc/py-rich: update to 15.0.0

Changes:        https://github.com/Textualize/rich/blob/v15.0.0/CHANGELOG.md
Reported by:    portscout, repology
DeltaFile
+3-3textproc/py-rich/distinfo
+1-1textproc/py-rich/Makefile
+4-42 files

LLVM/project dd0c5ebcompiler-rt/test/sanitizer_common lit.common.cfg.py, compiler-rt/test/sanitizer_common/TestCases hard_rss_limit_mb_test.cpp

[TySan][Sanitizer Common] Enable TySan testing in the sanitizer commo… (#191385)

…n test suite

Secondary pr to enable tests after
https://github.com/llvm/llvm-project/pull/183310 enables the features
DeltaFile
+2-2compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
+2-2compiler-rt/test/sanitizer_common/TestCases/hard_rss_limit_mb_test.cpp
+2-2compiler-rt/test/sanitizer_common/TestCases/Linux/allocator_returns_null_std.cpp
+3-0compiler-rt/test/sanitizer_common/lit.common.cfg.py
+3-0compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
+3-0compiler-rt/test/sanitizer_common/TestCases/Posix/mmap_write_exec.cpp
+15-632 files not shown
+51-3438 files

OpenBSD/src jXWz644sys/arch/riscv64/conf files.riscv64 RAMDISK, sys/arch/riscv64/dev if_smte.c

   Add smte(4), a driver for the ethernet interfaces of the SpacemiT K1 SoC.

   ok jsing@
VersionDeltaFile
1.1+1,235-0sys/arch/riscv64/dev/if_smte.c
1.38+6-1sys/arch/riscv64/conf/files.riscv64
1.56+2-1sys/arch/riscv64/conf/RAMDISK
1.64+2-1sys/arch/riscv64/conf/GENERIC
+1,245-34 files

OpenBSD/src r5FLSRLsys/arch/riscv64/dev smtclock.c

   Add clocks for pinctrl and ethernet.
VersionDeltaFile
1.4+16-1sys/arch/riscv64/dev/smtclock.c
+16-11 files

FreeNAS/freenas 144dc37src/middlewared/middlewared/plugins/disk_ format.py

NAS-140646 / 27.0.0-BETA.1 / Use `sgdisk_explicit_alignment` even for automatically-calculated data partition size (by themylogin) (#18726)

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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+12-11src/middlewared/middlewared/plugins/disk_/format.py
+12-111 files

FreeNAS/freenas 5ad5ec1src/middlewared/middlewared/plugins/disk_ format.py

NAS-140646 / 26.0.0-BETA.2 / Use `sgdisk_explicit_alignment` even for automatically-calculated data partition size (by themylogin) (#18725)

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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+12-11src/middlewared/middlewared/plugins/disk_/format.py
+12-111 files

FreeNAS/freenas 0128930src/middlewared/middlewared/plugins/disk_ format.py

NAS-140646 / 25.10.3 / Use `sgdisk_explicit_alignment` even for automatically-calculated data partition size (#18724)
DeltaFile
+12-11src/middlewared/middlewared/plugins/disk_/format.py
+12-111 files

HardenedBSD/ports 67d4b16biology/barrnap/files patch-test_test.sh, devel/android-tools/files patch-vendor_core_fastboot_usb_freebsd.cpp

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+1,345-29editors/vscode/distinfo
+669-12editors/vscode/Makefile.crates
+298-48editors/vscode/pkg-plist
+257-0devel/android-tools/files/patch-vendor_core_fastboot_usb_freebsd.cpp
+163-39misc/lean-ctx/distinfo
+113-0biology/barrnap/files/patch-test_test.sh
+2,845-12899 files not shown
+4,013-486105 files