FreeNAS/freenas c3be3a5src/middlewared/middlewared/api/base model.py private.py, src/middlewared/middlewared/api/base/handler accept.py

NAS-142011 / 27.0.0-BETA.1 / `Private` API parameters (#19456)

API parameters annotated with `Private[...]` will be excluded from API
doc, and passing them via an API call will be an error.
DeltaFile
+233-0src/middlewared/middlewared/pytest/unit/api/base/test_private.py
+100-0src/middlewared/middlewared/api/base/private.py
+58-0tests/api2/test_replication.py
+32-3src/middlewared/middlewared/api/base/model.py
+20-5src/middlewared/middlewared/api/v26_0_0/replication.py
+17-4src/middlewared/middlewared/api/base/handler/accept.py
+460-1217 files not shown
+540-5423 files

FreeNAS/freenas 97c6b52src/middlewared/middlewared/api/v26_0_0 container.py, src/middlewared/middlewared/plugins/container container.py

NAS-142040 / 26.0.0-RC.1 / Add recursive option to container delete (by Qubad786) (#19470)

## Problem
A container whose dataset has dependents could not be deleted at all,
and the attempt was not free: the libvirt domain was torn down before
ZFS refused the destroy, killing a running container and discarding a
suspended one's state for a delete that was never going to succeed.

## Solution
Validate the dataset up front, before any libvirt state is touched, so a
delete that cannot succeed is refused cleanly and the container is left
exactly as it was. Adds a `recursive` delete option that destroys the
dataset together with its dependents for callers who do want it gone.
Both refusals are now validation errors naming the option that lifts
them, which means deleting a running container without `force` returns a
validation error where it previously returned a call error.

CI: http://jenkins.eng.ixsystems.net:8080/job/tests/job/api_tests/9941/


    [2 lines not shown]
DeltaFile
+75-7tests/api2/test_container.py
+53-19src/middlewared/middlewared/plugins/container/container.py
+10-0src/middlewared/middlewared/api/v26_0_0/container.py
+138-263 files

FreeBSD/src 4bd01d6include fts.h, lib/libc/gen Symbol.map fts.3

fts: refactor to use fd-relative operations internally

Replace all _open() calls with _openat() in __fts_open(), fts_read(),
and fts_children().  Replace statfs() with _fstatfs().

Add fts_dirfd to struct _ftsent, set to the file descriptor of the
parent directory. Callers can use openat(ent->fts_dirfd, ent->fts_name,
...) to access files safely without relying on fts_accpath, which
enables programs in capability mode to open the files described by
_ftsent.

This is a preparatory change for fts_openat() which will allow callers
to provide a pre-opened directory fd, enabling fts(3) traversal inside
Capsicum capability mode.

Mirror all fts_open() changes to fts_open_b().

As a result of expanding _ftsend, publish new ELF symbol versions for
fts_openat and related functions.

    [4 lines not shown]
DeltaFile
+1,355-0lib/libc/gen/fts-compat15.c
+97-0lib/libc/gen/fts-compat15.h
+38-11lib/libc/gen/fts.c
+9-9lib/libc/gen/Symbol.map
+17-1lib/libc/gen/fts.3
+2-0include/fts.h
+1,518-211 files not shown
+1,519-217 files

FreeBSD/ports 2b34d18emulators/fuse Makefile distinfo

emulators/fuse: update to 1.9.1

Reported by:    upstream, portscout
DeltaFile
+3-3emulators/fuse/distinfo
+2-2emulators/fuse/Makefile
+5-52 files

LLVM/project bda14efllvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fadd.ll

Rebase, address comment

Created using spr 1.3.7
DeltaFile
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,299-3,240llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,594-2,524llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+20,441-20,4142,585 files not shown
+185,200-132,5842,591 files

FreeNAS/freenas 81e1265src/middlewared/middlewared/plugins/smb_ sid.py, tests/unit test_smb_set_system_sid.py

NAS-142051 / 26.0.0-BETA.3 / Fix AttributeError in smb.set_system_sid from NAS-141946 backport (by anodos325) (#19474)

The backport of NAS-141946 (#19425) kept master's typed service accessor
(self.s.service) in smb_/sid.py, but the stable/26 ServiceContainer does
not register a `service` attribute. Every call that reached the winbindd
restart decision failed with "'ServiceContainer' object has no attribute
'service'", breaking all AD domain joins in directory services CI.

Convert both calls to the string API used elsewhere on stable/26 and
rewire the unit test mocks to match.

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

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+9-14tests/unit/test_smb_set_system_sid.py
+3-4src/middlewared/middlewared/plugins/smb_/sid.py
+12-182 files

LLVM/project d5a6124clang/lib/CIR/CodeGen CIRGenCleanup.cpp CIRGenExprCXX.cpp, clang/test/CIR/CodeGen new-null.cpp

[CIR] Fix cleanup of temporaries with null-checked new expr (#213376)

We had a problem where a new expression that required both a null check
of the allocated pointer and a cleanup of temporaries values created for
the initializer was causing us to generate an unterminated cleanup
scope. This was happening because we weren't pre-creating a cleanup
scope around the entire expression for the temporary and ended up
emitting it in an unexpected location.

This change adds a check for the null-checked new expression in
`ConditionalEvaluationFinder` and wraps the call to emit the initializer
with `ConditionEvalulation::begin/endEvaluation` calls.

Note that I have sunk the `begin/endEvaluation` into the `emitInit`
lambda so that it can surround just the `emitNewInitializer` call and
not the `enterNewDeleteCleanup` call, which creates a local cleanup
scope for the case where the allocation succeeded but the constructor
throws an exception. Classic codegen calls `begin/endEvaluation` at a
higher level and ends up using an active flag for the allocation delete

    [3 lines not shown]
DeltaFile
+263-0clang/test/CIR/CodeGen/new-null.cpp
+19-3clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
+13-5clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
+295-83 files

LLVM/project 2ca22b6llvm/lib/Target/SystemZ SystemZSelectionDAGInfo.cpp, llvm/test/CodeGen/SystemZ memmove-01.ll

[SystemZ] Fix crash in EmitTargetCodeForMemmove with i32 size operand (#213726)

SystemZISD::MEMMOVE requires an i64 length operand, but Size was passed
raw. A constant size literal can be represented as i32, causing a
SelectionDAG verifier crash observed when compiling SPEC CPU benchmarks
wrf, cam4 and fotonik3d with -march=z17 -O3.

Fix by zero-extending Size to i64 before building the node.

Co-authored-by: anoop.kumar6 at ibm.com <anoopk at b35lp63.lnxne.boe>
DeltaFile
+10-1llvm/test/CodeGen/SystemZ/memmove-01.ll
+4-2llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
+14-32 files

FreeNAS/freenas a24670fsrc/middlewared/middlewared/test/integration/assets crypto.py, tests/api2 test_certificate_choices.py test_certificate_update_delete.py

NAS-141976 / 27.0.0-BETA.1 / Certificate tests (#19410)
DeltaFile
+233-0tests/api2/test_certificate_create_types.py
+224-0tests/api2/test_certificate_expired_alert.py
+129-22src/middlewared/middlewared/test/integration/assets/crypto.py
+130-2tests/api2/test_certs.py
+96-1tests/api2/test_certificate_update_delete.py
+24-0tests/api2/test_certificate_choices.py
+836-251 files not shown
+837-257 files

LLVM/project f338032llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPCompatibilityAnalysis.cpp SLPCompatibilityAnalysis.h

[SLP]Support copyable fmuls in fmuladd, modeled as fmuladd(a, b, -0.0)

A copyable lane holding a single-use fmul a, b is modeled as
fmuladd(a, b, -0.0), which equals fmul a, b (the add of -0.0 is exact
and preserves signed zeros), so the multiply dies instead of being
computed and gathered. Applied only when every copyable lane is such
an fmul; multi-use fmuls and mixed copyables keep the
addend/multiplicand modeling. On a tie between fmuladd and fmul main
ops, fmuladd is preferred only when the fmuls are absorbed profitably:
single-use, operands not part of the list and vectorizable as
multiplicand operands.

Reviewers: bababuck, hiraditya, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/213369
DeltaFile
+47-54llvm/test/Transforms/SLPVectorizer/X86/fmuladd-copyable-fmul.ll
+64-9llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+19-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCompatibilityAnalysis.h
+13-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCompatibilityAnalysis.cpp
+143-634 files

FreeNAS/freenas 1ed39eesrc/middlewared/middlewared/api/base model.py private.py, src/middlewared/middlewared/api/v26_0_0 replication.py

NAS-142011 / 26.0.0-BETA.3 / `Private` API parameters (by themylogin) (#19463)

API parameters annotated with `Private[...]` will be excluded from API
doc, and passing them via an API call will be an error.

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

---------

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+225-0src/middlewared/middlewared/pytest/unit/api/base/test_private.py
+100-0src/middlewared/middlewared/api/base/private.py
+58-0tests/api2/test_replication.py
+20-6src/middlewared/middlewared/api/v26_0_0/replication.py
+20-1src/middlewared/middlewared/api/base/model.py
+18-0tests/api2/test_zfs_resource_snapshot_destroy.py
+441-714 files not shown
+494-4120 files

FreeNAS/freenas 32b878csrc/middlewared/middlewared/api/base model.py private.py, src/middlewared/middlewared/api/v26_0_0 replication.py

NAS-142011 / 26.0.0-RC.1 / `Private` API parameters (by themylogin) (#19464)

API parameters annotated with `Private[...]` will be excluded from API
doc, and passing them via an API call will be an error.

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

---------

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+225-0src/middlewared/middlewared/pytest/unit/api/base/test_private.py
+100-0src/middlewared/middlewared/api/base/private.py
+58-0tests/api2/test_replication.py
+20-6src/middlewared/middlewared/api/v26_0_0/replication.py
+20-1src/middlewared/middlewared/api/base/model.py
+18-0tests/api2/test_zfs_resource_snapshot_destroy.py
+441-715 files not shown
+496-4421 files

OPNSense/core 1cac21fsrc/opnsense/www/themes/opnsense-dark/assets/stylesheets main.scss, src/opnsense/www/themes/opnsense-dark/build/css main.css

ui: opnsense-dark theme - fix collapsed sidebar stray line and restore rail divider (#10560)

Closes: #8263
DeltaFile
+3-0src/opnsense/www/themes/opnsense-dark/build/css/main.css
+3-0src/opnsense/www/themes/opnsense-dark/assets/stylesheets/main.scss
+6-02 files

FreeBSD/doc fd3cf19shared contrib-committers.adoc contrib-develalumni.adoc

Move ashafer@ to the developer alumni.

With hat:       portmgr
DeltaFile
+0-1shared/contrib-committers.adoc
+1-0shared/contrib-develalumni.adoc
+1-12 files

LLVM/project 4296c14libcxx/docs/Status Cxx20Issues.csv

[libc++][docs] Mark LWG3116 as Complete (#209916)

We can mark this issue as completed because the fix for LWG 3116 is
already implemented in <scoped_allocator>, and no further tests are
needed.

Why no further tests are needed: The existing test suite in
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
already provides full coverage for the scenario explained in lwg3116.

This test suite instantiates nested scoped allocators (using A1 and A2)
and calls .construct(). Because std::allocator_traits cannot be
instantiated with a reference type (e.g., A1&), this test suite would
fail to compile if the reference-stripping fix were missing.

Closes #100244
DeltaFile
+1-1libcxx/docs/Status/Cxx20Issues.csv
+1-11 files

Illumos/gate cda5b9ausr/src/uts/common/sys vm_usage.h, usr/src/uts/common/syscall sysconfig.c rusagesys.c

18281 vm_getusage() should use uio_copyin() instead of faking ioctl mode flags
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+17-12usr/src/uts/common/vm/vm_usage.c
+3-1usr/src/uts/common/syscall/sysconfig.c
+3-1usr/src/uts/common/syscall/rusagesys.c
+3-1usr/src/uts/common/sys/vm_usage.h
+26-154 files

FreeNAS/freenas 226e7easrc/middlewared/middlewared/plugins/smb_ sid.py, tests/unit test_smb_set_system_sid.py

Fix AttributeError in smb.set_system_sid from NAS-141946 backport

The backport of NAS-141946 (#19425) kept master's typed service
accessor (self.s.service) in smb_/sid.py, but the stable/26
ServiceContainer does not register a `service` attribute. Every
call that reached the winbindd restart decision failed with
"'ServiceContainer' object has no attribute 'service'", breaking
all AD domain joins in directory services CI.

Convert both calls to the string API used elsewhere on stable/26
and rewire the unit test mocks to match.

(cherry picked from commit f8eef9e4caad1e8d26cae7c3174266873beb1b79)
DeltaFile
+9-14tests/unit/test_smb_set_system_sid.py
+3-4src/middlewared/middlewared/plugins/smb_/sid.py
+12-182 files

FreeNAS/freenas 79abd84src/middlewared/middlewared/plugins/smb_ sid.py, tests/unit test_smb_set_system_sid.py

NAS-142051 / 26.0.0-RC.1 / Fix AttributeError in smb.set_system_sid from NAS-141946 backport (#19473)

The backport of NAS-141946 (#19425) kept master's typed service accessor
(self.s.service) in smb_/sid.py, but the stable/26 ServiceContainer does
not register a `service` attribute. Every call that reached the winbindd
restart decision failed with "'ServiceContainer' object has no attribute
'service'", breaking all AD domain joins in directory services CI.

Convert both calls to the string API used elsewhere on stable/26 and
rewire the unit test mocks to match.
DeltaFile
+9-14tests/unit/test_smb_set_system_sid.py
+3-4src/middlewared/middlewared/plugins/smb_/sid.py
+12-182 files

Illumos/gate 09bb4cfusr/src/cmd/find find.c, usr/src/cmd/xargs xargs.c

18270 find and xargs could use posix_spawn()
Reviewed by: Andrew Stormont <andyjstormont at gmail.com>
Reviewed by: Jason King <jason.brian.king+illumos at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+55-153usr/src/cmd/find/find.c
+67-0usr/src/test/util-tests/tests/find/findtest.ksh
+36-19usr/src/cmd/xargs/xargs.c
+50-4usr/src/test/util-tests/tests/xargs/xargs_test.ksh
+208-1764 files

LLVM/project d2bfc1bclang-tools-extra/clang-tidy add_new_check.py, clang-tools-extra/clang-tidy/tool check_alphabetical_order.py check_alphabetical_order_test.py

[clang-tidy][docs] Generate static analyzer check docs as Markdown (#211449)

Tracking issue: #201242
See the [migration guide] for more information. 

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is a stacked PR based on #211448 , which will be a standalone
commit that
renames *.rst -> *.md before this PR lands for history preservation
purposes.

Unlike the other changes in this series, most of these changes are from
the generator script. Ignore all files under checks/ except `list.md`,
that is hand-modified. I confirmed that running the generator script
produces no changes.

Notably, the generator script *added new files*, since it seems there
are new checks since the script was run.
DeltaFile
+620-607clang-tools-extra/docs/clang-tidy/checks/list.md
+49-47clang-tools-extra/clang-tidy/add_new_check.py
+40-29clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
+29-33clang-tools-extra/clang-tidy/tool/check_alphabetical_order_test.py
+26-24clang-tools-extra/clang-tidy/tool/check_alphabetical_order.py
+7-16clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.md
+771-756119 files not shown
+1,683-1,262125 files

OpenBSD/ports D96g7KCnet/i2p Makefile distinfo, net/i2p/pkg PLIST

   Update to i2p 2.13.0.

   Diff from David Uhden Collado, thanks!
VersionDeltaFile
1.17+2-2net/i2p/distinfo
1.17+1-1net/i2p/pkg/PLIST
1.30+1-1net/i2p/Makefile
+4-43 files

FreeBSD/ports b2da5a7devel/serd Makefile distinfo

devel/serd: Update 0.32.8 => 0.32.10

While here, update maintainer address.

Changelog:
https://gitlab.com/drobilla/serd/-/releases/v0.32.10

PR:             297249
Reported by:    Goran Mekić <meka at sys.it.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3devel/serd/distinfo
+2-2devel/serd/Makefile
+5-52 files

FreeBSD/ports a2cdb8bwww/firefox Makefile distinfo

www/firefox: update to 153.0.3 (rc1)

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

(cherry picked from commit 7db661730798f1cab9b58e9b026e94bbb751705b)
DeltaFile
+3-3www/firefox/distinfo
+2-2www/firefox/Makefile
+5-52 files

FreeBSD/ports 7db6617www/firefox Makefile distinfo

www/firefox: update to 153.0.3 (rc1)

Release Notes (soon):
  https://www.firefox.com/en-US/firefox/153.0.3/releasenotes/
DeltaFile
+3-3www/firefox/distinfo
+2-3www/firefox/Makefile
+5-62 files

FreeBSD/ports 4139a57security/caldera Makefile

security/caldera: change RUN_DEP from net/haproxy24 to net/haproxy to unbreak index

- Checked code, it's referenced only by a config and will probably work
  with every version of haproxy
DeltaFile
+2-2security/caldera/Makefile
+2-21 files

FreeBSD/ports cf6e67edevel/py-libvirt Makefile distinfo

devel/py-libvirt: update to 12.6.0

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/py-libvirt/distinfo
+1-1devel/py-libvirt/Makefile
+4-42 files

FreeBSD/ports e2ff816devel/libvirt Makefile distinfo

devel/libvirt: update to 12.6.0

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/libvirt/distinfo
+2-2devel/libvirt/Makefile
+5-52 files

LLVM/project b1481b2clang-tools-extra/docs/clang-tidy/checks gen-static-analyzer-docs.py

fix darker formatting
DeltaFile
+3-9clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
+3-91 files

LLVM/project 1dceae3clang-tools-extra/clang-tidy add_new_check.py, clang-tools-extra/clang-tidy/tool check_alphabetical_order.py check_alphabetical_order_test.py

[clang-tidy][docs] Generate static analyzer check docs as Markdown

Tracking issue: #201242
See the [migration guide] for more information. 

[migration guide]: https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is a stacked PR based on #{{rename-pr}} , which will be a standalone commit that
renames *.rst -> *.md before this PR lands for history preservation purposes.

This was prepared with rst2myst plus LLM-assisted cleanup. I paged through all the generated HTML looking for migration artifacts, and all of the differences I could find appear to be formatting error corrections. Please spot check my work and approve if it looks good. You can use the HTML links below to confirm it renders properly.

-----

Before/after validation links:
| Source file | Before HTML | After HTML |
| --- | --- | --- |
| `clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/core.BitwiseShift.md` | [before](https://llvm.org/docs/clang-tidy/checks/clang-analyzer/core.BitwiseShift.html) | [after](https://llvmdocs.staging.reidkleckner.dev/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/core.BitwiseShift.html) |
| `clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/core.CallAndMessage.md` | [before](https://llvm.org/docs/clang-tidy/checks/clang-analyzer/core.CallAndMessage.html) | [after](https://llvmdocs.staging.reidkleckner.dev/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/core.CallAndMessage.html) |
| `clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/core.DivideZero.md` | [before](https://llvm.org/docs/clang-tidy/checks/clang-analyzer/core.DivideZero.html) | [after](https://llvmdocs.staging.reidkleckner.dev/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/core.DivideZero.html) |

    [95 lines not shown]
DeltaFile
+620-607clang-tools-extra/docs/clang-tidy/checks/list.md
+50-52clang-tools-extra/clang-tidy/add_new_check.py
+37-49clang-tools-extra/clang-tidy/tool/check_alphabetical_order_test.py
+38-22clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
+26-24clang-tools-extra/clang-tidy/tool/check_alphabetical_order.py
+7-16clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.md
+778-770119 files not shown
+1,690-1,276125 files

LLVM/project c8f47b5clang-tools-extra/clang-tidy add_new_check.py, clang-tools-extra/docs/clang-tidy/checks gen-static-analyzer-docs.py

Address review comments, use f-strings, add a comment
DeltaFile
+25-24clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
+1-0clang-tools-extra/clang-tidy/add_new_check.py
+26-242 files