Illumos/gate ac2250cusr/src/lib/libc/port/threads spawn.c, usr/src/test/libc-tests/tests/posix_spawn posix_spawn_priv.c

17689 posix_spawn() could avoid copying data and stopping threads
18160 posix_spawnp() evaluates its default search path too late
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Dan Cross <cross at oxidecomputer.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+1,296-0usr/src/uts/common/os/spawn.c
+372-542usr/src/lib/libc/port/threads/spawn.c
+461-0usr/src/test/os-tests/tests/spawn/spawn-syscall.c
+324-78usr/src/test/libc-tests/tests/posix_spawn/posix_spawn_priv.c
+246-76usr/src/uts/common/os/fork.c
+292-0usr/src/test/os-tests/tests/xsave/spawn_fpu.c
+2,991-69674 files not shown
+5,027-94280 files

LLVM/project 1dd5ad4clang/lib/CodeGen CGClass.cpp CodeGenModule.cpp, clang/test/CodeGenCXX msvc-global-delete-scope-no-dtor.cpp msvc-global-delete-scalar-array-split.cpp

[clang][win] MSVC-compat: Use `__global_delete` wrapper in deleting destructors instead of directly referencing `::operator delete` (#188372)

When Clang emits scalar/vector deleting destructors for classes with a
class-level `operator delete`, it generates a conditional dispatch that
can call either the class-level or global `::operator delete`. The
global path directly referenced `::operator delete`, causing `LNK2001`
linker errors in environments where no global `::operator delete`
exists.

MSVC handles this by calling `__global_delete` (and
`__global_array_delete` for vector deletes) - this is a compiler
generated function that is ONLY defined if there is a direct call to
global `::operator delete` for type with non-trivial destructors.
Additionally, it always emits an empty `__empty_global_delete` and uses
`/ALTERNATIVENAME` linker arg to default `__global_delete` (and
`__global_array_delete`) to `__empty_global_delete` if there is NEVER an
delete operator call that would triffer the body to be emitted (thus the
empty function should never be called).


    [2 lines not shown]
DeltaFile
+132-4clang/lib/CodeGen/CGClass.cpp
+66-0clang/test/CodeGenCXX/msvc-global-delete-scope-no-dtor.cpp
+63-0clang/test/CodeGenCXX/msvc-global-delete-scalar-array-split.cpp
+54-2clang/test/CodeGenCXX/microsoft-vector-deleting-dtors.cpp
+52-0clang/lib/CodeGen/CodeGenModule.cpp
+48-0clang/test/CodeGenCXX/msvc-no-global-delete-forwarding.cpp
+415-612 files not shown
+500-3218 files

LLVM/project a9a709fclang/include/clang/Sema Scope.h, clang/lib/Parse ParseStmt.cpp

[Clang] [NFC] Use ScopeFlags for expansion statement scopes (#208849)

Previously, we were using a separate `bool` member in `Scope` for this
because we ran out of bits in `ScopeFlags`. #198436 recently freed up a
bit for this, so switch to using it instead.

Fixes #207774.
DeltaFile
+4-16clang/include/clang/Sema/Scope.h
+1-6clang/lib/Parse/ParseStmt.cpp
+1-2clang/lib/Sema/Scope.cpp
+6-243 files

LLVM/project f57ae82clang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.h, clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.cpp

[SSAF][PinnedPointers] Add pointer parameters of 'main' as pinned pointers

Similar to some pointer entities of operator new/delete overload
functions, pointer type parameters of the main function shall also
retain its type during clang-reforge transformation.

rdar://179151882
DeltaFile
+27-0clang/unittests/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointersExtractorTest.cpp
+11-0clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.cpp
+8-0clang/test/Analysis/Scalable/TypeConstrainedPointers/type-constrained-pointers.cpp
+3-0clang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.h
+49-04 files

LLVM/project 7e89dcfflang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/test/Integration/OpenMP map-types-and-sizes.f90

[Flang][OpenMP] Support mapping of zero-sized arrays (#208133)

Whilst there is no data in theory to map with a zero sized array, the
Fortran OpenMP specification considers the case of a zero sized array
being mapped to device as the data being present on device. This
includes both the data and the descriptor, and it should fundamentlaly
work as a zero-sized array would on device with the respective Fortran
functions for presence and size checking etc.

We can't actually map a nullptr to device and expect it to be present in
current OpenMP (for good reason), however, thankfully, a zero sized
array isn't actually a nullptr, it is a descriptor contianing an
allocated 1-byte of data. So, we can map this to device, alongside the
descriptor and then the zero sized array is correctlly on device for all
intents and purposes. This case is notably different from a
non-allocated or non-zero sized array so we can do this without shooting
ourselves in the foot.
DeltaFile
+66-23mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+16-14flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+24-0offload/test/offloading/fortran/map-zero-size-array.f90
+15-5flang/test/Integration/OpenMP/map-types-and-sizes.f90
+6-2mlir/test/Target/LLVMIR/omptarget-record-type-with-ptr-member-host.mlir
+1-1flang/test/Lower/OpenMP/defaultmap.f90
+128-456 files

LLVM/project 5a73020compiler-rt/test/sanitizer_common/TestCases/Linux dlopen_image_base.c

[compiler-rt] [sanitizer_common] Add a testcase reproducing SIGSEGV in ForEachMappedRegion (#208358)

Likely related to https://github.com/llvm/llvm-project/issues/84482 and
https://github.com/llvm/llvm-project/issues/21068

Assisted-by: Gemini
DeltaFile
+57-0compiler-rt/test/sanitizer_common/TestCases/Linux/dlopen_image_base.c
+57-01 files

LLVM/project a8ba0adllvm/lib/Target/NVPTX NVPTXISelLowering.cpp, llvm/test/CodeGen/NVPTX convert-fp-i128.ll

[NVPTX] Expand fp/int conversions involving integers wider than 64 bits (#201679)

NVPTX does not support direct PTX conversion instructions between
floating point types and integer types wider than 64 bits.

Previously, such conversions could reach instruction selection and fail
with an _unsupported library call operation_ error.
Reproducer on godbolt: https://godbolt.org/z/G6Yr9cE1d

This patch sets the maximum supported fp/int conversion width to 64 bits
so larger conversions are expanded before instruction selection.

It also adds a regression test for 128-bit integer/floating-point
conversions.

Related to #191013

Co-authored-by: Justin Fargnoli <jfargnoli at nvidia.com>
DeltaFile
+849-0llvm/test/CodeGen/NVPTX/convert-fp-i128.ll
+1-0llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+850-02 files

LLVM/project e54923bclang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.h, clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.cpp

remove irrelevant comments
DeltaFile
+0-3clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.cpp
+0-3clang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.h
+0-62 files

NetBSD/src q6EyxjEshare/man/man4 umcpmio.4

   umcpmio(4): s/recived/received.
VersionDeltaFile
1.11+2-2share/man/man4/umcpmio.4
+2-21 files

NetBSD/src SzJrIAolib/libcompat/4.3 rexec.c, sys/arch/i386/stand/mbr mbr.S

   fix various typos, mainly in comments.
VersionDeltaFile
1.46+3-3sys/dev/ic/dm9000.c
1.287+3-3sys/netinet6/nd6.c
1.2+3-3tests/net/if_pppoe/t_pppoe_ondemand.sh
1.17+3-3lib/libcompat/4.3/rexec.c
1.25+2-2sys/arch/i386/stand/mbr/mbr.S
1.21+2-2sys/dev/ic/summitreg.h
+16-166 files

OpenZFS/src 6ad9c3f.github/workflows/scripts qemu-6-tests.sh

CI: Fix race caused by shared ctr file updates

CTR is shared between the VMs and used as a global counter.  This 
uncoordinated shared access can result in a CI failure due to the
racing updates.  From the log:

`qemu-6-tests.sh: line 27: 1`
`6: syntax error in expression
(error token is "6")`

Resolve the issue by using separate ctr files by appending the ID.
The output now prints the total test cases count along with each VMs
individual count.

Reviewed-by: Tino Reichardt <milky-zfs at mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: tiehexue <tiehexue at hotmail.com>
Closes #18778
DeltaFile
+15-7.github/workflows/scripts/qemu-6-tests.sh
+15-71 files

LLVM/project 55dacffclang/include/clang/ScalableStaticAnalysis/Analyses/OperatorNewDelete OperatorNewDeletePointers.h, clang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.h

[SSAF][NFC] Rename operator new/delete pointers analysis to TypeConstrainedPointers

There will be more such pointer entities that must retain their type
during the clang-reforge transformation. Since they are extracted and
processed similarly, combining them into a single analysis simplifies
maintenance. Therefore, we are using TypeConstrainedPointers as the
umbrella name.
DeltaFile
+0-260clang/unittests/ScalableStaticAnalysis/Analyses/OperatorNewDelete/OperatorNewDeletePointersExtractorTest.cpp
+260-0clang/unittests/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointersExtractorTest.cpp
+259-0clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.cpp
+0-258clang/lib/ScalableStaticAnalysis/Analyses/OperatorNewDelete/OperatorNewDeletePointers.cpp
+0-79clang/include/clang/ScalableStaticAnalysis/Analyses/OperatorNewDelete/OperatorNewDeletePointers.h
+78-0clang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.h
+597-59721 files not shown
+891-89127 files

NetBSD/pkgsrc 5eNcBPPdoc CHANGES-2026

   doc: Updated geography/py-ubx2 to 1.3.5
VersionDeltaFile
1.4388+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc qAOeOqzgeography/py-ubx2 distinfo Makefile

   geography/py-ubx2: Update to 1.3.5

   Upstream NEWS, less minor improvements and bugfixes:

   ### RELEASE 1.3.5

   1. Update NAV-DAHEADING v2 message definition for production firmware HDG 2.00 Interface Specification.
VersionDeltaFile
1.8+4-4geography/py-ubx2/distinfo
1.11+2-2geography/py-ubx2/Makefile
+6-62 files

LLVM/project 3b36c2dllvm/test/Transforms/SLPVectorizer/AMDGPU add_sub_sat-inseltpoison.ll add_sub_sat.ll

AMDGPU: Migrate Analysis/Transforms tests to amdgpu subarch triple (4) (#208812)

Continue migrating command-line target spelling on RUN lines to the
folded amdgpu subarch triple form, covering the remaining Transforms tests in
this group.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+3-3llvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat-inseltpoison.ll
+3-3llvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat.ll
+3-3llvm/test/Transforms/SLPVectorizer/AMDGPU/bswap-inseltpoison.ll
+3-3llvm/test/Transforms/SLPVectorizer/AMDGPU/bswap.ll
+3-3llvm/test/Transforms/SLPVectorizer/AMDGPU/min_max.ll
+3-3llvm/test/Transforms/SLPVectorizer/AMDGPU/round-inseltpoison.ll
+18-1830 files not shown
+62-6836 files

LLVM/project ed1e356clang/lib/Driver/ToolChains AMDGPU.cpp, clang/test/Driver amdgpu-openmp-gpu-max-threads-per-block.c

clang/AMDGPU: Remove driver restriction on --gpu-max-threads-per-block (#204864)
DeltaFile
+14-0clang/test/Frontend/openmp-warn-gpu-max-threads-per-block.c
+2-8clang/lib/Driver/ToolChains/AMDGPU.cpp
+6-0clang/test/Driver/amdgpu-openmp-gpu-max-threads-per-block.c
+22-83 files

LLVM/project 4df4330lldb/test/API/functionalities/gdb_remote_client TestXMLRegisterFlags.py TestAArch64XMLRegistersSVEOnly.py, lldb/test/API/linux/aarch64/permission_overlay TestAArch64LinuxPOE.py

[lldb][test] Update whitespace of `register read` in some tests (#208838)

#188049 changed the formatting of `register read` output. A few tests
are failing now due to small space changes.
DeltaFile
+18-18lldb/test/API/linux/aarch64/permission_overlay/TestAArch64LinuxPOE.py
+15-15lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
+5-5lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegistersSVEOnly.py
+38-383 files

LLVM/project d09048aclang/include/clang/AST StmtCXX.h, clang/lib/Sema SemaExpand.cpp SemaStmt.cpp

[Clang] [C++26] Expansion Statements (P1306R5) (#169680)

This implements C++26's expansion statements, i.e.
[P1306R5](https://wg21.link/P1306R5).

An expansion statement is implemented using a number of new AST
nodes. Since an expansion statement is a template, we need it to be
a dependent DeclContext, but only nodes that inherit from Decl can
be DeclContexts, for which reason this introduces a CXXExpansionStmtDecl.
This holds a synthesised constant template parameter used as the
expansion index as well as a 'CXXExpansionStmtPattern' and a
'CXXExpansionStmtInstantiation.

These two AST nodes are similar to the semantic vs syntactic form
of an InitListExpr: the 'Pattern' represents an unexpanded expansion
statement, and the resulting AST after expansion is stored in an
'Instantiation'.

Since expansion statements require us to perform template instantiation

    [9 lines not shown]
DeltaFile
+1,591-0clang/test/SemaCXX/cxx2c-expansion-stmts.cpp
+1,518-0clang/test/CodeGenCXX/cxx2c-enumerating-expansion-statements.cpp
+643-0clang/lib/Sema/SemaExpand.cpp
+579-0clang/include/clang/AST/StmtCXX.h
+551-0clang/test/CodeGenCXX/cxx2c-iterating-expansion-stmt.cpp
+308-226clang/lib/Sema/SemaStmt.cpp
+5,190-22675 files not shown
+8,569-34981 files

LLVM/project cf51c12clang-tools-extra/clang-doc/support File.h Utils.h

[clang-doc] Update include guards in header files (#208840)

These do not follow the style guide, and Utils.h has the wrong macro
definition.
DeltaFile
+3-3clang-tools-extra/clang-doc/support/File.h
+3-3clang-tools-extra/clang-doc/support/Utils.h
+6-62 files

LLVM/project 8a4a2aellvm/docs GettingStarted.md

[GettingStarted] Clarify Python requirement. (#208790)

We don't support building LLVM without python in any configuration;
clarify that it's a hard requirement.
DeltaFile
+4-7llvm/docs/GettingStarted.md
+4-71 files

OpenZFS/src 63385edconfig kernel-idmap_mnt_api.m4 kernel.m4, module/os/linux/zfs zpl_super.c

config: remove HAVE_IDMAP_MNT_API check

The check itself is not needed, since we only use it to decide whether
or not to use a define, we can just test the define anyway.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+0-25config/kernel-idmap_mnt_api.m4
+0-2config/kernel.m4
+1-1module/os/linux/zfs/zpl_super.c
+1-283 files

OpenZFS/src d09f952config kernel-acl.m4, module/os/linux/zfs zpl_inode.c

config/acl: narrow checks to userns inode->dentry change

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+9-25config/kernel-acl.m4
+1-1module/os/linux/zfs/zpl_inode.c
+10-262 files

OpenZFS/src 889966cconfig kernel-mkdir.m4, module/os/linux/zfs zpl_ctldir.c zpl_inode.c

config/mkdir: narrow checks to dentry return

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+3-3config/kernel-mkdir.m4
+2-2module/os/linux/zfs/zpl_ctldir.c
+2-2module/os/linux/zfs/zpl_inode.c
+7-73 files

OpenZFS/src 98addf6config kernel-tmpfile.m4, module/os/linux/zfs zpl_inode.c

config/tmpfile: narrow checks to userns dentry->file change

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+18-50config/kernel-tmpfile.m4
+6-6module/os/linux/zfs/zpl_inode.c
+24-562 files

OpenZFS/src 61cb6c7config kernel-xattr-handler.m4 kernel-mkdir.m4

config: remove obsolete idmap/userns checks

Everything has been converted to the new helpers built on the "global"
idmap/userns checks, so we can get rid of all the individual function
checks.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+0-91config/kernel-xattr-handler.m4
+0-84config/kernel-mkdir.m4
+0-81config/kernel-inode-create.m4
+0-68config/kernel-inode-getattr.m4
+0-66config/kernel-inode-setattr.m4
+0-64config/kernel-is_owner_or_cap.m4
+0-4547 files not shown
+4-79913 files

OpenZFS/src 5c99c3ainclude/os/linux/kernel/linux xattr_compat.h

xattr: use generic checks for ZPL_XATTR_SET_WRAPPER selection

We can't (yet) replace these wrappers but we can use the generic checks
as selector, obsoleting more configure checks.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+3-22include/os/linux/kernel/linux/xattr_compat.h
+3-221 files

OpenZFS/src 1f9f7f6include/os/linux/kernel/linux vfs_compat.h, module/os/linux/zfs zfs_acl.c

zpl_generic_permission: generic over idmap style

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+13-0include/os/linux/kernel/linux/vfs_compat.h
+1-6module/os/linux/zfs/zfs_acl.c
+14-62 files

OpenZFS/src c13174ainclude/os/linux/kernel/linux vfs_compat.h, include/os/linux/zfs/sys zpl.h

zpl_inode_owner_or_capable: generic over idmap style

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+13-0include/os/linux/kernel/linux/vfs_compat.h
+0-12module/os/linux/zfs/zpl_xattr.c
+0-10include/os/linux/zfs/sys/zpl.h
+13-223 files

OpenZFS/src 9b89e2finclude/os/linux/kernel/linux vfs_compat.h, include/os/linux/zfs/sys zpl.h

zpl_setattr_prepare: generic over idmap style

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+13-0include/os/linux/kernel/linux/vfs_compat.h
+0-10include/os/linux/zfs/sys/zpl.h
+0-6module/os/linux/zfs/zpl_inode.c
+13-163 files

OpenZFS/src 5d83dfainclude/os/linux/kernel/linux vfs_compat.h, module/os/linux/zfs zpl_ctldir.c zfs_vnops_os.c

zpl_generic_fillattr: generic over idmap style

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes #18769
DeltaFile
+3-40module/os/linux/zfs/zpl_ctldir.c
+17-22include/os/linux/kernel/linux/vfs_compat.h
+1-4module/os/linux/zfs/zfs_vnops_os.c
+21-663 files