FreeNAS/freenas b32d4d4src/middlewared/middlewared/api/base/server/ws_handler rpc.py, src/middlewared/middlewared/apps websocket_app.py

Remove frame from JSON-RPC error tracebacks

The client-facing error trace included every stack frame's locals
(via get_frame_details, which reprs each local). This can result
in API calls echoing back parameters from the call to the same
API client in the error response. Generally, this information
is not consumed by the truenas API client, jobs framework, or
other internal call sites.
DeltaFile
+70-0src/middlewared/middlewared/pytest/unit/api/base/server/test_error_traceback_redaction.py
+1-17src/middlewared/middlewared/api/base/server/ws_handler/rpc.py
+1-12src/middlewared/middlewared/apps/websocket_app.py
+72-293 files

pkgng/pkgng 49ad8aalibpkg pkg_jobs.c

pkg_jobs: Fix UAF during additional SAT cycle
DeltaFile
+2-1libpkg/pkg_jobs.c
+2-11 files

LLVM/project 68e94c9clang/lib/StaticAnalyzer/Checkers LifetimeModeling.h LifetimeModeling.cpp, clang/test/Analysis dangling-ptr-deref.cpp

[analyzer] Improve dangling value tracking in DanglingPtrDeref (#211818)

Improve dangling value tracking in the `DanglingPtrDeref` checker by
adding `trackExpressionValue`. The report with this change now tracks
the dangling value and shows where the value originated from. Currently
the checker only points at the destruction and use sites which isn't
always useful for the user.
DeltaFile
+25-24clang/test/Analysis/dangling-ptr-deref.cpp
+13-15clang/lib/StaticAnalyzer/Checkers/DanglingPtrDeref.cpp
+8-0clang/lib/StaticAnalyzer/Checkers/LifetimeModeling.cpp
+4-0clang/lib/StaticAnalyzer/Checkers/LifetimeModeling.h
+50-394 files

LLVM/project 7336a38clang/lib/AST TypeLoc.cpp, clang/test/SemaCXX atomic-auto.cpp

[clang] Add missing VisitAtomicTypeLoc to TypeLoc.cpp GetContainedAutoTypeLocVisitor (#211752)

Adds the missing `VisitAtomicTypeLoc` method to TypeLoc.cpp `GetContainedAutoTypeLocVisitor`.

Fixes: https://github.com/llvm/llvm-project/issues/211556 ICE.

Assisted-by: Codex
DeltaFile
+7-0clang/test/SemaCXX/atomic-auto.cpp
+4-0clang/lib/AST/TypeLoc.cpp
+11-02 files

FreeNAS/freenas 2ce6f17src/middlewared/middlewared/pytest/unit/api/base/server test_error_traceback_redaction.py

Fix
DeltaFile
+2-1src/middlewared/middlewared/pytest/unit/api/base/server/test_error_traceback_redaction.py
+2-11 files

OpenZFS/src 67bb391tests/zfs-tests/tests/functional/rsend send_partial_dataset.ksh rsend_024_pos.ksh

ZTS: make file_check actually compare the resume test results

file_check guards every comparison with a check that the snapshot
directory exists on both sides, and the resume tests receive with -u,
so the receive side is never mounted and the .zfs snapshot paths never
exist.  The function has been quietly comparing nothing in
rsend_019-022, rsend_024, rsend_030 and send-c_resume, so the resume
test family verified that receives succeed but not that the received
data matches.

Mount both sides before diffing (some tests also unmount the send
side), still compare only the snapshots both sides carry since several
tests send just one of them, and fail loudly when nothing at all was
compared so the check cannot rot back into a no-op.  Two callers
needed their expectations fixed once the checks came alive: rsend_024
streams from the head rather than a snapshot, so it now diffs the
mounted heads directly, and the first file_check in
send_partial_dataset pointed at a partial dataset with no snapshots,
so it now compares against the dataset the stream came from.

    [7 lines not shown]
DeltaFile
+27-7tests/zfs-tests/tests/functional/rsend/rsend.kshlib
+6-1tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh
+3-1tests/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh
+36-93 files

NetBSD/pkgsrc-wip df9f4f1bgpipe distinfo go-modules.mk

bgpipe: Add bgpipe-0.22.0
DeltaFile
+224-0bgpipe/distinfo
+75-0bgpipe/go-modules.mk
+48-0bgpipe/COMMIT_MSG
+20-0bgpipe/Makefile
+19-0bgpipe/DESCR
+2-0bgpipe/PLIST
+388-01 files not shown
+389-07 files

OpenZFS/src 9078f6etests/zfs-tests/tests/functional/rsend send_large_microzap_transitive.ksh send_large_microzap_incremental.ksh

ZTS: save ZAP_MICRO_MAX_SIZE before the large microzap tests change it

send_large_microzap_incremental and send_large_microzap_transitive set
zap_micro_max_size to 1M and call restore_tunable in cleanup, but
restore_tunable is a silent no-op unless save_tunable stored the old
value first, which neither test ever did.  The tunable therefore stays
at 1M until the module is reloaded, and any later run of the rsend
group on the same module fails seven tests (rsend_019-022, rsend_024,
rsend_030 and send-c_resume): their setup creates directories large
enough to become large microzaps, and plain zfs send then refuses the
stream without -L.  CI never reruns a group on a loaded module, so
this only bites people iterating locally.

Tests: rsend group run twice back to back on one module load; before
the change the second run fails the seven tests above, after it both
runs pass.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: MorganaFuture <103630661+MorganaFuture at users.noreply.github.com>
Closes #18834
DeltaFile
+2-1tests/zfs-tests/tests/functional/rsend/send_large_microzap_transitive.ksh
+2-1tests/zfs-tests/tests/functional/rsend/send_large_microzap_incremental.ksh
+4-22 files

FreeBSD/src 09da089sys/kern syscalls.master, sys/sys mount.h

getfhat: Add missing 'const' to path argument

This matches the documented prototype and avoids spurious
-Wincompatible-pointer-types-discards-qualifiers warnings when passing
a constant pathname.

Sponsored by:   AFRL, DARPA
DeltaFile
+1-1sys/sys/mount.h
+1-1sys/kern/syscalls.master
+2-22 files

FreeBSD/src 9bf1bcflib/libsys _libsys.h, sys/compat/freebsd32 freebsd32_systrace_args.c

Regenerate after fixing getfhat(2) prototype
DeltaFile
+2-2lib/libsys/_libsys.h
+2-2sys/compat/freebsd32/freebsd32_systrace_args.c
+2-2sys/kern/systrace_args.c
+1-1sys/sys/sysproto.h
+7-74 files

FreeBSD/src c13a998usr.bin/kdump kdump.c

kdump: Treat a flags argument of 0 to shmat as valid

Sponsored by:   AFRL, DARPA
DeltaFile
+1-1usr.bin/kdump/kdump.c
+1-11 files

LLVM/project f918c28clang/lib/Sema SemaStmt.cpp, clang/test/SemaCXX cxx2c-expansion-stmts.cpp

[Clang] [Sema] Use getCurFunctionDecl() to get the current function (#211938)

In `BuildReturnStmt()`, use `getCurFunctionDecl()` to get the current
function rather than attempting to cast `CurContext` to a
`FunctionDecl`, which breaks inside an expansion statement because the
current `DeclContext` will be that of the expansion statement, not the
function. `getCurFunctionDecl()` knows how to handle this case and we
already call it earlier in that function, so just reuse the result of
that call.

Fixes #211917.

(cherry picked from commit a891a5c40c7d2ed62d97fc6563cf256e7bab3ffb)
DeltaFile
+17-0clang/test/SemaCXX/cxx2c-expansion-stmts.cpp
+3-4clang/lib/Sema/SemaStmt.cpp
+20-42 files

LLVM/project 6781c9cllvm/lib/IR Constants.cpp

[IR] Slightly optimize getElementAsInteger() (#211550)

This regressed with the introduction of the byte type, because
getElementPointer() calls getElementByteSize() calls
getPrimitiveSizeInBits(), but the switch used getScalarTypeInBits(),
which means we need to do two separate calls for the element size. Use
getElementByteSize() in both places so these can be CSEd.

(cherry picked from commit bb22aa8127450930eb27215eb9f2c70acdee69fc)
DeltaFile
+10-10llvm/lib/IR/Constants.cpp
+10-101 files

FreeBSD/ports d5f4650www/firefox distinfo Makefile

www/firefox: update to 153.0.1 (rc2)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/153.0.1/releasenotes/

(cherry picked from commit 7042c53fbf6c9e2395628fc6a03d98c5921cbc56)
DeltaFile
+3-3www/firefox/distinfo
+2-3www/firefox/Makefile
+5-62 files

LLVM/project a0177f7clang/lib/Analysis ThreadSafety.cpp, clang/test/Sema warn-thread-safety-analysis.c

Thread Safety Analysis: Don't warn at joins that re-branch on a try-lock result (#209796)

Previously, when the result of a try-lock call is branched on more than
once, the paths between the branches would disagree on whether the
capability is held while remaining consistent at each branch. The analysis
then gave a false positive warning at the intermediate join:

    mutex 'lock' is not held on every path through here

Create getTerminatorTrylockCall() helper from getEdgeLockset(); if the terminator
of a block branches on the result of a call to a try_acquire_capability-function
(perhaps negated or stored in a local variable), this helper returns that call and
its callee.

Use this new helper in getTerminatorTrylockCaps(), which will return the
capabilities acquired by a trylock; feed these capabilites to intersectAndWarn()
during a branch join, in order to avoid false positives.

Soundness is preserved because intersectAndWarn() still removes the

    [7 lines not shown]
DeltaFile
+102-31clang/lib/Analysis/ThreadSafety.cpp
+54-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+15-0clang/test/Sema/warn-thread-safety-analysis.c
+171-313 files

LLVM/project b229b35clang/lib/Analysis ThreadSafety.cpp, clang/test/SemaCXX warn-thread-safety-analysis.cpp

Thread Safety Analysis: Handle statement expressions in try-lock conditions (#209330)

Previously, statement expressions (`({ bool b = mu.TryLock(); b; })`)
used as try-lock conditions were not supported. Handle StmtExpr in
getTrylockCallExpr() by recursively analyzing the last statement of the
statement expression.
DeltaFile
+14-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+5-0clang/lib/Analysis/ThreadSafety.cpp
+19-02 files

LLVM/project 82db1fellvm/include/llvm/TargetParser CMakeLists.txt, llvm/lib/Target/AMDGPU AMDGPUTargetParser.td R600Processors.td

AMDGPU: Add -gen-amdgpu-target-def TableGen backend

Currently subtarget information is duplicated between a def file and
the backend. There are also increasingly unwieldy mapping tables
for subarches. Work towards unifying these, starting with r600. This
mirrors aarch64 and riscv's existing custom targetparser backends (i.e.,
the prompt was copy what riscv does).

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+135-0llvm/utils/TableGen/Basic/AMDGPUTargetDefEmitter.cpp
+24-21llvm/lib/Target/AMDGPU/R600Processors.td
+42-0llvm/test/TableGen/AMDGPUTargetDefErrors.td
+31-0llvm/lib/Target/AMDGPU/AMDGPUTargetParser.td
+4-4llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+3-0llvm/include/llvm/TargetParser/CMakeLists.txt
+239-252 files not shown
+242-258 files

LLVM/project c86b1c1llvm/docs ReleaseNotes.md

Add David's suggestion
DeltaFile
+1-1llvm/docs/ReleaseNotes.md
+1-11 files

LLVM/project 56a1c9dllvm/docs ReleaseNotes.md

Add release note for LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS
DeltaFile
+2-0llvm/docs/ReleaseNotes.md
+2-01 files

LLVM/project 0600aeallvm/lib/CodeGen/GlobalISel InlineAsmLowering.cpp, llvm/test/CodeGen/AArch64/GlobalISel irtranslator-inline-asm.ll

[AArch64][GlobalISel] Use integer types for inline assembly lowering (#212214)

If we need to generate a trunc then we can use an integer type for the
lowering.
DeltaFile
+14-14llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-inline-asm.ll
+3-5llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
+17-192 files

LLVM/project 852577bllvm/test/tools/llvm-objcopy/ELF cross-arch-headers.test, llvm/tools/llvm-objcopy ObjcopyOptions.cpp

[AMDGPU] Add AMDGPU support for llvm-objcopy
DeltaFile
+11-2llvm/test/tools/llvm-objcopy/ELF/cross-arch-headers.test
+2-0llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
+13-22 files

LLVM/project 8f02027llvm/lib/Transforms/Utils LoopUnroll.cpp, llvm/test/Transforms/LoopUnroll partial-unroll-reductions.ll

[LoopUnroll] Make the list of supported recurrence kinds inclusive. (#210957)

This excludes Sub, AddChainWithSubs, FSub and FAddChainWithSubs
recurrence kinds by making the list of supported types opt-in as opposed
to opt-out. This will hopefully mean that as more recurrence kinds are
added in the future, the list supported by the unrolling remains valid.

Fixes #201065

(cherry picked from commit cc1dd6bb25d00b3aa5420f43884bea3f4584cabf)
DeltaFile
+47-0llvm/test/Transforms/LoopUnroll/partial-unroll-reductions.ll
+11-4llvm/lib/Transforms/Utils/LoopUnroll.cpp
+58-42 files

FreeNAS/freenas af4ff38src/middlewared/middlewared/pytest/unit/api/base/server test_error_traceback_redaction.py

Fix
DeltaFile
+1-0src/middlewared/middlewared/pytest/unit/api/base/server/test_error_traceback_redaction.py
+1-01 files

LLVM/project b9a7aad.github/workflows release-tasks.yml

workflows/release-tasks: Fix permissions for release-documentation (#212310)
DeltaFile
+4-0.github/workflows/release-tasks.yml
+4-01 files

LLVM/project 02da012llvm/include/llvm/MC MCSubtargetInfo.h, llvm/lib/CodeGen TargetSubtargetInfo.cpp

TableGen: Use a compact table for CPU aliases (#211952)
DeltaFile
+94-45llvm/utils/TableGen/SubtargetEmitter.cpp
+29-6llvm/include/llvm/MC/MCSubtargetInfo.h
+19-11llvm/test/TableGen/ProcessorAlias.td
+21-9llvm/lib/MC/MCSubtargetInfo.cpp
+6-6llvm/lib/CodeGen/TargetSubtargetInfo.cpp
+3-3llvm/unittests/CodeGen/MFCommon.inc
+172-804 files not shown
+179-8610 files

NetBSD/src 7ndT16Rusr.sbin/npf/npfctl npf.conf.5

   Move routing on top of normalize in npf.conf man.

   also use right keyword: routing -> route
VersionDeltaFile
1.109+4-4usr.sbin/npf/npfctl/npf.conf.5
+4-41 files

LLVM/project 751eb22llvm/test/CodeGen/AArch64/GlobalISel ret-vec-promote.ll irtranslator-switch-bittest.ll, llvm/test/CodeGen/AMDGPU/GlobalISel irtranslator-function-args.ll irtranslator-call-return-values.ll

[AArch64][GlobalISel] Use integer type for truncating merged call args. (#212208)
DeltaFile
+16-16llvm/test/CodeGen/AArch64/GlobalISel/ret-vec-promote.ll
+14-14llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
+5-5llvm/test/CodeGen/AMDGPU/GlobalISel/store-weird-size.ll
+2-2llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-switch-bittest.ll
+2-2llvm/test/CodeGen/AArch64/GlobalISel/vec-param.ll
+45-451 files not shown
+46-467 files

FreeNAS/freenas 9324093src/middlewared/middlewared/pytest/unit/api/base/server test_error_traceback_redaction.py

Fix
DeltaFile
+2-4src/middlewared/middlewared/pytest/unit/api/base/server/test_error_traceback_redaction.py
+2-41 files

LLVM/project ad791f2compiler-rt/lib/scudo/standalone/tests combined_test.cpp

[scudo] Test to verify fork and allocate does not deadlock. (#211975)
DeltaFile
+79-0compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+79-01 files

FreeNAS/freenas d814350src/middlewared/middlewared job.py, src/middlewared/middlewared/utils asyncio_.py

Fix `JobProgressBuffer.set_progress` not being thread-safe
DeltaFile
+159-0tests/unit/test_job_progress_buffer.py
+29-0src/middlewared/middlewared/utils/asyncio_.py
+4-3src/middlewared/middlewared/job.py
+192-33 files