FreeBSD/src 5f0ab9dsys/amd64/amd64 mp_machdep.c, sys/amd64/include smp.h

amd64: Make start_all_aps() static

It is not used elsewhere since the change [1].

[1] ac3ede5371af x86/xen: remove PVHv1 code

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55668
DeltaFile
+2-1sys/amd64/amd64/mp_machdep.c
+0-1sys/amd64/include/smp.h
+2-22 files

FreeBSD/doc 63dfaeadocumentation/content/en/books/handbook/jails _index.adoc

handbook/jails: fix link

link fixed according to address in Makefile

Approved by: doceng (implicit)
PR: 293682
DeltaFile
+1-1documentation/content/en/books/handbook/jails/_index.adoc
+1-11 files

FreeBSD/ports 122fc90www/wordpress Makefile, www/wordpress/files patch-6.9.1-to-6.9.4

www/wordpress: upgrade to 6.9.4 (security)

Upstream does not offer localized tarballs for 6.9.4, so download the
6.9.1 tarballs and apply files/patch-6.9.1-to-6.9.4 instead.

Security fixes in 6.9.2:
- Blind SSRF
- PoP-chain weakness in HTML API and Block Registry
- Regex DoS in Numeric Character References
- Stored XSS in Nav Menus
- AJAX query-attachments Authorization Bypass
- Stored XSS via data-wp-bind directive
- XSS allowing override of client-side templates in admin area
- PclZip Path Traversal
- Authorization Bypass on Notes feature
- XXE in external getID3 library

Bug fix in 6.9.3:
- Restore compatibility for themes using stringable objects with the

    [6 lines not shown]
DeltaFile
+373-0www/wordpress/files/patch-6.9.1-to-6.9.4
+5-4www/wordpress/Makefile
+378-42 files

LLVM/project 24be73bclang/test/CodeGen attr-target-clones-ppc.c

test all supported CPUs
DeltaFile
+13-2clang/test/CodeGen/attr-target-clones-ppc.c
+13-21 files

LLVM/project 2cfce29clang/test/Sema attr-target-clones-ppc.c

fix test
DeltaFile
+3-1clang/test/Sema/attr-target-clones-ppc.c
+3-11 files

LLVM/project 3b7e5b9clang/lib/Sema SemaPPC.cpp

create PPCTargetInfo::isTargetClonesSupportedCPU to filter out unsupported CPUs during Sema
DeltaFile
+6-3clang/lib/Sema/SemaPPC.cpp
+6-31 files

LLVM/project 5b1eed6clang/lib/CodeGen CGException.cpp, clang/test/CodeGen windows-seh-arg-capture-crash.cpp

[WinEH] Fix crash when aligning parameters larger than ABI (#180905)

Fix #180648 caused by an unhandled `Argument` for parameters exceeding
ABI size limits. This patch explicitly emits an `alloca` for the `Argument` in 
the entry block to ensure correct address resolution.
DeltaFile
+56-0clang/test/CodeGen/windows-seh-arg-capture-crash.cpp
+27-7clang/lib/CodeGen/CGException.cpp
+83-72 files

NetBSD/pkgsrc zGKj8Pgtextproc Makefile

   textproc/Makefile: sort entries
VersionDeltaFile
1.1582+2-2textproc/Makefile
+2-21 files

LLVM/project 0535075llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVInstrInfo.td

[RISCV] Use PatGprImm for riscv_psslai. NFC (#185996)

Relax PatGprImm to allow any SDPatternOperator insead of ImmLeaf.
DeltaFile
+2-4llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+1-1llvm/lib/Target/RISCV/RISCVInstrInfo.td
+3-52 files

FreeBSD/ports 92d6a09misc/crush distinfo Makefile

misc/crush: Update to 0.47.2

Changelog:
- https://github.com/charmbracelet/crush/releases/tag/v0.47.0
- https://github.com/charmbracelet/crush/releases/tag/v0.47.1
- https://github.com/charmbracelet/crush/releases/tag/v0.47.2

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-2misc/crush/Makefile
+6-72 files

LLVM/project 0e314eflldb/tools/lldb-fuzzer/lldb-commandinterpreter-fuzzer lldb-commandinterpreter-fuzzer.cpp, lldb/tools/lldb-fuzzer/lldb-target-fuzzer lldb-target-fuzzer.cpp

[LLDB] Ensure plugins are destroyed at end of fuzz tests (#186012)
DeltaFile
+22-0lldb/tools/lldb-fuzzer/utils/SBDebuggerContextManager.h
+5-5lldb/tools/lldb-fuzzer/lldb-commandinterpreter-fuzzer/lldb-commandinterpreter-fuzzer.cpp
+3-5lldb/tools/lldb-fuzzer/lldb-target-fuzzer/lldb-target-fuzzer.cpp
+30-103 files

LLVM/project 0e45e69clang/test/Layout ms-x86-bitfields-overflow.c

[Clang][layout] Update tests after #182792 (#186019)

\#182792 makes it so that these structs have an alignment of 1. This
needs to be fixed in a recently added test (landed after the most recent
premerge run of the test).

This test update is expected behavior.
DeltaFile
+2-2clang/test/Layout/ms-x86-bitfields-overflow.c
+2-21 files

FreeBSD/ports d99be71x11/waveterm distinfo Makefile.crates, x11/waveterm/files patch-swc_bindings_Cargo.lock patch-swc_Cargo.lock

x11/waveterm: Update to 0.14.1

Changelog: https://github.com/wavetermdev/waveterm/releases/tag/v0.14.1

Reported by:    GitHub (watch releases)
DeltaFile
+1,760-2,078x11/waveterm/files/packagejsons/package-lock.json
+1,487-1,281x11/waveterm/distinfo
+392-289x11/waveterm/Makefile.crates
+0-329x11/waveterm/files/patch-swc_bindings_Cargo.lock
+290-0x11/waveterm/files/patch-swc_Cargo.lock
+134-134x11/waveterm/files/packagejsons/tsunami/templates/package-lock.json
+4,063-4,1119 files not shown
+4,117-4,18415 files

LLVM/project 3ca069cllvm/include/llvm/CodeGen BasicTTIImpl.h, llvm/test/Analysis/CostModel/AArch64 fshl.ll fshr.ll

[CodeGen][TTI] Reduce funnel shift cost for constant shift amounts (#184942)

The Sub instruction cost and the shift-by-zero handling costs (ICmp +
Select) are only needed when the shift amount is non-constant. Move them
inside the `!OpInfoZ.isConstant()` guard to avoid overestimating cost
for constant shift amounts.

The overestimated scalar cost caused SLP vectorizer to incorrectly
prefer vectorizing funnel shifts with constant shift amounts, since SLP
compares vector cost against scalar cost and a falsely high scalar cost
makes vectorization appear more profitable than it actually is.

Fixes #181308.
DeltaFile
+405-440llvm/test/Analysis/CostModel/X86/fshl.ll
+405-440llvm/test/Analysis/CostModel/X86/fshr.ll
+95-0llvm/test/Transforms/SLPVectorizer/RISCV/funnel-shift-cost.ll
+16-15llvm/include/llvm/CodeGen/BasicTTIImpl.h
+15-15llvm/test/Analysis/CostModel/AArch64/fshl.ll
+15-15llvm/test/Analysis/CostModel/AArch64/fshr.ll
+951-9251 files not shown
+961-9357 files

LLVM/project 0b332dellvm/lib/Target/RISCV RISCVSchedAndes45.td, llvm/test/tools/llvm-mca/RISCV/Andes45 rvv-permutation.s rvv-fp.s

[RISCV] Update Andes45 vector permutation scheduling info (#185591)

This PR adds latency/throughput for all RVV permutation instructions to
the andes45 series scheduling model.

We use the default cycle for permutation instructions since we are
unable to model the Latency and ReleaseAtCycles accurately now.
DeltaFile
+343-343llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-permutation.s
+41-22llvm/lib/Target/RISCV/RISCVSchedAndes45.td
+30-30llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-fp.s
+414-3953 files

FreeNAS/freenas c3ab2afsrc/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/utils io.py

NAS-140151 / 26.0.0-BETA.2 / protect some more against symlink races (by anodos325) (#18444)

This commit adds a few more usages of RESOLVE_NO_SYMLINKS and fixes a
TOCTOU concern in attrs utils.

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

---------

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+80-0tests/unit/test_io.py
+35-7src/middlewared/middlewared/plugins/filesystem.py
+27-1src/middlewared/middlewared/utils/io.py
+6-6src/middlewared/middlewared/utils/filesystem/attrs.py
+7-2src/middlewared/middlewared/utils/filesystem/directory.py
+155-165 files

FreeNAS/freenas 758cc1bsrc/middlewared/middlewared/utils/filesystem directory.py

Address more review

(cherry picked from commit ea26bd10b2494e11e5f350d712bae9e91b28b0e8)
DeltaFile
+7-2src/middlewared/middlewared/utils/filesystem/directory.py
+7-21 files

FreeNAS/freenas c7d6f8dsrc/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/utils io.py

Address review

(cherry picked from commit 2a202dde8b0cd7c10cdb6c6df226af465f79be3c)
DeltaFile
+13-13src/middlewared/middlewared/utils/io.py
+10-0src/middlewared/middlewared/plugins/filesystem.py
+23-132 files

FreeNAS/freenas 1401a39src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/utils io.py

add safe_open

(cherry picked from commit 3163a4baa878ff0ca78492bc0fd6fe5f29cefdab)
DeltaFile
+27-1src/middlewared/middlewared/utils/io.py
+5-4src/middlewared/middlewared/plugins/filesystem.py
+32-52 files

FreeNAS/freenas 4a1690csrc/middlewared/middlewared/plugins filesystem.py

Address review

* Use CallError to explicitly state that symlinks aren't
  permitted in paths.

(cherry picked from commit 00371e5d9292f1c36d9479ee5f15107d56c45987)
DeltaFile
+16-2src/middlewared/middlewared/plugins/filesystem.py
+16-21 files

FreeNAS/freenas 7da52ccsrc/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/utils/filesystem attrs.py

protect some more against TOCTOU in fs plugins/utils

This commit adds a few more usages of RESOLVE_NO_SYMLINKS and
fixes a TOCTOU concern in attrs utils.

(cherry picked from commit d0730f443ff88d9f612fe692a1ce70036747ede7)
DeltaFile
+6-6src/middlewared/middlewared/utils/filesystem/attrs.py
+3-2src/middlewared/middlewared/plugins/filesystem.py
+9-82 files

FreeNAS/freenas 67a71d6tests/unit test_io.py

Add explicit safe_open tests

(cherry picked from commit 549a58eddcd7511f02ec01bcead23b5d6c0baa6f)
DeltaFile
+80-0tests/unit/test_io.py
+80-01 files

FreeNAS/freenas 09104c0src/middlewared/middlewared/plugins filesystem.py

Address more review

(cherry picked from commit 241d719f32e3909345dd26ceba1d30300a03cdcd)
DeltaFile
+2-0src/middlewared/middlewared/plugins/filesystem.py
+2-01 files

FreeNAS/freenas ca6f6d0src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/utils io.py

NAS-140151 / 27.0.0-BETA.1 / protect some more against symlink races (#18379)

This commit adds a few more usages of RESOLVE_NO_SYMLINKS and fixes a
TOCTOU concern in attrs utils.
DeltaFile
+80-0tests/unit/test_io.py
+35-7src/middlewared/middlewared/plugins/filesystem.py
+27-1src/middlewared/middlewared/utils/io.py
+6-6src/middlewared/middlewared/utils/filesystem/attrs.py
+7-2src/middlewared/middlewared/utils/filesystem/directory.py
+155-165 files

FreeBSD/src 2a3d650. Makefile.inc1

packages: Don't create empty packages

If a package plist only contains directories, but no files, do not
create the package.

This fixes an issue where setting "package=foo" in mtree causes the
"foo" package to always be created, even if nothing else installs in
that package, because the mtree entry is always added to the plist.

This most often happens:

* With architecture-specific directories, because mtree can't install
  a directory conditionally based on architecture, and

* With packages that are completely empty when a particular src.conf
  knob is disabled, because mtree will still create the directories.

Although it's theoretically possible that we might want to create a
package that only contains directories, there are no such packages

    [8 lines not shown]
DeltaFile
+18-11Makefile.inc1
+18-111 files

FreeBSD/src 1346ffb. Makefile.inc1

Makefile.inc1: Remove svn support

We don't need this, and we don't use this. It's left over from the svn
days. We stopped supporting svn as a project entirely when 12.x went
EOL. And VCS_REVSION isn't in any current ucl file or anywhere else in
the tree.

Sponsored by:           Netflix
Reviewed by     :       kevans, brd
Differential Revision:  https://reviews.freebsd.org/D52912

(cherry picked from commit 28b858f5059c8b25fa08be494699997000fce58c)

Makefile.inc1: Add back missing if

The .if defined(_MKSHOWCONFIG) covered an unusually large area, so it
should have not been removed in the last commit. I must have tested in
the wrong tree before pushing...


    [4 lines not shown]
DeltaFile
+1-22Makefile.inc1
+1-221 files

LLVM/project b72a812clang-tools-extra/clang-tidy/modernize UseTrailingReturnTypeCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Fix spurious errors from builtin macros in modernize-use-trailing-return-type (#184022)

## Summary

I hit the same issue as in #168360 when upgrading to LLVM 21 with
clang-tidy reporting cryptic:

`error: missing '(' after '__has_feature'`

Further investigation confirmed that the issue is localized to
`modernize-use-trailing-return-type` and only happens with C++20+ and llvm
21 system headers (where `__has_feature` started to be used by libc++).
Initial non-localized repro had this error firing 7k+ on LLVM 21, but
when I switched to HEAD the incidence dropped to just 5 'check()' calls
firing. The drop in incidence is likely to be related to 
https://github.com/llvm/llvm-project/pull/151035 as there are no other 
plausibly relevant changes.

However, as I was still hitting the issue with HEAD, this helped develop

    [20 lines not shown]
DeltaFile
+11-0clang-tools-extra/test/clang-tidy/checkers/modernize/use-trailing-return-type.cpp
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+1-3clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
+17-33 files

LLVM/project da3efc7clang/lib/AST RecordLayoutBuilder.cpp, clang/test/CodeGen ms_struct-packed.c ms_struct-bitfield.c

Fix packed being ignored on ms_struct bitfields (#182792)

For ms_struct structs on Itanium layout targets, the packed attribute is
ignored on bit-fields (2014 commit
76e1818a2b1248579557de2927c135c322577c82), mismatching the GCC behavior.
Remove the `!IsMsStruct` guard to fix it.
DeltaFile
+18-0clang/test/CodeGen/ms_struct-packed.c
+2-2clang/test/CodeGen/ms_struct-bitfield.c
+1-1clang/lib/AST/RecordLayoutBuilder.cpp
+21-33 files

FreeBSD/ports 41efe83comms/conserver-com Makefile distinfo, comms/conserver-com/files patch-conserver_readcfg.c

comms/conserver-com: update to 8.3.0

Changes: https://github.com/bstansell/conserver/releases/tag/v8.3.0

While here: add an option to enable IPv6 support (default: on).
DeltaFile
+0-14comms/conserver-com/files/patch-conserver_readcfg.c
+5-4comms/conserver-com/Makefile
+3-3comms/conserver-com/distinfo
+8-213 files

FreeNAS/freenas 104aecesrc/middlewared/middlewared/plugins cache.py, src/middlewared/middlewared/plugins/directoryservices_ connection.py

NAS-139425 / 26.0.0-BETA.2 / Add support for different cache types to cache plugin (by anodos325) (#18443)

This commit adds ability to specify that cache entries
should be clustered. As a side-effect of common library
for clustered and local caches, the normal cache will
also persist across middleware restarts.
    
In basic benchmarking there wasn't that much perf difference
between implementations and so this reduces overall complexity
    
CLUSTERED:
    * Persists across reboots
    * Persists across middleware restarts
    * Does not persist across upgrades
    
VOLATILE:
    * Persists across middleware restarts



    [4 lines not shown]
DeltaFile
+200-34src/middlewared/middlewared/plugins/cache.py
+126-0tests/unit/test_cache.py
+13-2src/middlewared/middlewared/utils/tdb.py
+2-2src/middlewared/middlewared/plugins/directoryservices_/connection.py
+341-384 files