LLVM/project 2ffa00f.github/workflows release-tasks.yml

workflows/release-tasks: Use app generated token for publishing lit releases (#195312)

We are trying to move a way from using secrets associated with the
llvmbot account, so this drops another one of its users.
DeltaFile
+12-1.github/workflows/release-tasks.yml
+12-11 files

LLVM/project 886ff18libc/src/sys/personality personality.h

[libc] Fix personality buildbot failures (#195364)

Remove the `#include <sys/personality.h>` from the implementation
header. On buildbots, the generated header does not exist at compile
time, so `-idirafter/usr/include` pulls in glibc's version instead.
Glibc's header uses `__BEGIN_DECLS` and `__THROW`, which are unavailable
in the freestanding build.

The include was unnecessary. The function signature only uses basic
types.

Fixes buildbot failures introduced by #195065:
- libc-aarch64-ubuntu-fullbuild-dbg
- libc-x86_64-debian-fullbuild-dbg-asan
- libc-x86_64-debian-fullbuild-dbg
- libc-x86_64-debian-gcc-fullbuild-dbg
DeltaFile
+0-1libc/src/sys/personality/personality.h
+0-11 files

LLVM/project 4c95776lldb/source/Expression DWARFExpression.cpp

[lldb] Thread DWARFExpression::Evaluate state through an EvalContext (NFCI) (#195220)

Collect the inputs, derived pointers, and mutable evaluation state of
DWARFExpression::Evaluate into a file-local EvalContext struct passed by
reference to the static helpers.

Two incidental fixes making this not-quite NFC:

1. Evaluate_DW_OP_deref_size renamed to Evaluate_DW_OP_deref and takes
the LocationAtom, so error messages name the actual opcode.
2. ResolveLoadAddress no longer crashes on null exe_ctx (uses
eval_ctx.target, which is null-safe).

I initially prototyped a visitor-like design, centered around a
DWARFEvaluator class with one method per opcode and shared state as
members. I discarded it because moving the simple operations out of the
switch hurt readability and increased mental overhead. Its only real
benefit were the cleaner signatures, which this patch achives by using
the new EvalContext.
DeltaFile
+231-217lldb/source/Expression/DWARFExpression.cpp
+231-2171 files

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

workflows/release-tasks: Use app generated token for creating the release (#195219)

We are trying to move a way from using secrets associated with the
llvmbot account, so this drops another one of its users.
DeltaFile
+12-1.github/workflows/release-tasks.yml
+12-11 files

FreeBSD/doc 293fc8awebsite/content/en/releases/15.0R/ec2-ami-ids latest.adoc

15.0: Update "latest" AMIs

We now have 15.0-RELEASE-p8 AMIs.

Approved by:    re (implicit)
Sponsored by:   Amazon
DeltaFile
+512-512website/content/en/releases/15.0R/ec2-ami-ids/latest.adoc
+512-5121 files

LLVM/project 26994c3llvm/test/CodeGen/AMDGPU select-cmp-shared-constant-int.ll

[NFC] Edit lit-test comment (#195361)

Fixes lit test comment from #195286
DeltaFile
+1-1llvm/test/CodeGen/AMDGPU/select-cmp-shared-constant-int.ll
+1-11 files

LLVM/project 491e8celldb/tools/debugserver/source RNBRemote.cpp

[lldb][debugserver] Don't duplicate loaded binaries in jStopInfo (#195343)

RNBRemote::GetJSONThreadsInfo() has a bool mode switch: Only
exception-related information information about threads which had an
exception, or full information about all threads. The exception-related
information is what ends up in the `jstopinfo` key in the stop packet,
asciihex encoded. The full information is what is sent for the
`jThreadsInfo` packet, with full information for all threads at a public
stop.

When I added the `added-binaries` and `detailed-binaries-info` keys to
the thread description, I incorrectly put this in the exception related
block of this method. Move that in to the "full information" section of
the method, so we don't duplicate the information that is included in
the stop packet, asciihex encoded at that.

rdar://176001611
DeltaFile
+19-19lldb/tools/debugserver/source/RNBRemote.cpp
+19-191 files

LLVM/project b87b094clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp

[NFC][HLSL] Remove dead branch for const return by value (#194983)

Remove unreachable addConst() on the by-value return path of
addHandleAccessFunction.
No caller passes IsConstReturn=true with IsRef=false. The existing AST
tests ( StructuredBuffers-AST.hlsl, ByteAddressBuffers-AST.hlsl,
TypedBuffers-AST.hlsl) already assert the by-value Load return type is
non-const, so behavior is verified unchanged.


Assisted by: Github Copilot
Fixes https://github.com/llvm/llvm-project/issues/194982
DeltaFile
+2-2clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+2-21 files

FreeBSD/src 0de6295sys/powerpc/powerpc busdma_bounce.c

powerpc: refactor dmamap setup; free dmamap in error paths

* refactor the dmamap allocation / setup path for future code changes
  to align with arm64 busdma code;
* free the dmamap allocation if the dma segment list can't be allocated;
* free the dmamap allocation during the busdma dmamem allocation path
  if the actual memory allocation itself fails.

Locally tested:

* POWER9 ppc64le native boot, Raptor Engineering Blackbird
* POWER8 ppc6le, IBM POWER S822LC

https://reviews.freebsd.org/D56244
DeltaFile
+38-10sys/powerpc/powerpc/busdma_bounce.c
+38-101 files

FreeBSD/src c7040d3sys/powerpc/powerpc busdma_bounce.c

powerpc: busdma declaration shuffling

Shuffle some of the declarations around to match other implementations.
Expected to be a no-op.

Differential Revision: https://reviews.freebsd.org/D56243
DeltaFile
+14-17sys/powerpc/powerpc/busdma_bounce.c
+14-171 files

FreeBSD/src 7c57d24sys/powerpc/powerpc busdma_bounce.c

powerpc: use local flags for bounce buffers instead of common flags

Migrate to using local flags for bounce buffers instead of the
common flag field.

Differential Revision: https://reviews.freebsd.org/D56208
DeltaFile
+19-15sys/powerpc/powerpc/busdma_bounce.c
+19-151 files

FreeBSD/src 00ec88dsys/powerpc/include bus_dma_impl.h, sys/powerpc/powerpc busdma_machdep.c busdma_bounce.c

powerpc: refactor common busdma tag setup

Refactor the common busdma tag setup code into busdma_machdep.c

Locally tested:

* qemu VM, pseries-9 / power9
* qemu VM, pseries-8 / power8

Differential Revision:  https://reviews.freebsd.org/D55340
DeltaFile
+62-3sys/powerpc/powerpc/busdma_machdep.c
+6-35sys/powerpc/powerpc/busdma_bounce.c
+6-0sys/powerpc/include/bus_dma_impl.h
+74-383 files

FreeBSD/src df3bd72sys/powerpc/include bus_dma_impl.h, sys/powerpc/powerpc busdma_machdep.c busdma_bounce.c

powerpc: add in some busdma domain setup

* Implement the basic tag domain set routine
* Set the domain to the parent domain if provided

This is just plumbing for eventual work to re-allocate things into
the currently configured domain.

Differential Revision:  https://reviews.freebsd.org/D55315
DeltaFile
+6-1sys/powerpc/powerpc/busdma_machdep.c
+5-0sys/powerpc/powerpc/busdma_bounce.c
+1-0sys/powerpc/include/bus_dma_impl.h
+12-13 files

FreeBSD/src 330e4f6sys/powerpc/powerpc busdma_machdep.c

powerpc: create a tag with the parents implementation if supplied

If a parent tag is supplied then use its implementation.

Differential Revision:  https://reviews.freebsd.org/D55314
DeltaFile
+13-4sys/powerpc/powerpc/busdma_machdep.c
+13-41 files

FreeBSD/src 3bcb7c2sys/conf files.powerpc, sys/powerpc/include bus_dma.h bus_dma_impl.h

powerpc: initial straight port of busdma_machdep.c -> busdma_bounce.c

This is a straight port of the code and doesn't yet handle
different implementations (which will be in a subsequent commit.)

Locally tested:

* G5 SMP (2x PPC970mp)
* power8 / power9 pseries QEMU VM
* power8 powernv

Differential Revision:  https://reviews.freebsd.org/D55313
DeltaFile
+787-0sys/powerpc/powerpc/busdma_bounce.c
+26-685sys/powerpc/powerpc/busdma_machdep.c
+143-2sys/powerpc/include/bus_dma.h
+82-0sys/powerpc/include/bus_dma_impl.h
+1-0sys/conf/files.powerpc
+0-1sys/powerpc/pseries/phyp_vscsi.c
+1,039-6886 files

FreeBSD/ports a1f2cc4net/libpfctl distinfo Makefile

net/libpfctl: add 15.1, remove 13.5

13.5 is end-of-life, remove it from this port.
Add 15.1, which is in the process of being released.

Deliberately do not bump PORTVERSION, because we don't change existing
libpfctl versions, we only add a new supported FreeBSD version.

PR:             294871
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+2-2net/libpfctl/distinfo
+1-1net/libpfctl/Makefile
+3-32 files

LLVM/project e29aa9elldb/examples/python formatter_bytecode.py

[lldb][bytecode] Add missing selectors to formatter_bytecode.Compiler (#195328)
DeltaFile
+6-0lldb/examples/python/formatter_bytecode.py
+6-01 files

LLVM/project 1879af1compiler-rt/test/cfi/icall bad-signature.c

Fix test's FileCheck match to allow a column number in message. (#195356)

In some cases, the cfi diagnostic is emitted with a column
number. Allow that in the test.
DeltaFile
+1-1compiler-rt/test/cfi/icall/bad-signature.c
+1-11 files

FreeNAS/freenas 9defba7src/middlewared/middlewared/test/integration/assets crypto.py, tests/api2 test_certificate_create_types.py test_certs.py

Make ruff happy
DeltaFile
+87-63tests/api2/test_certificate_create_types.py
+60-44src/middlewared/middlewared/test/integration/assets/crypto.py
+47-43tests/api2/test_certs.py
+39-17tests/api2/test_certificate_roles.py
+12-8tests/api2/test_certificate_update_delete.py
+8-8tests/api2/test_certificate_choices.py
+253-1836 files

FreeNAS/freenas d355b9atests/api2 test_certificate_create_types.py test_certs.py

Add more integration tests
DeltaFile
+125-0tests/api2/test_certificate_create_types.py
+14-57tests/api2/test_certs.py
+29-0tests/api2/test_certificate_update_delete.py
+29-0tests/api2/test_certificate_roles.py
+25-0tests/api2/test_certificate_choices.py
+222-575 files

FreeNAS/freenas c3f6364src/middlewared/middlewared/plugins/certificate create_handlers.py, src/middlewared/middlewared/test/integration/assets crypto.py

Fix some bugs
DeltaFile
+97-0src/middlewared/middlewared/test/integration/assets/crypto.py
+24-11src/middlewared/middlewared/plugins/certificate/create_handlers.py
+121-112 files

FreeNAS/freenas 4f76a69src/middlewared/middlewared/plugins rsync.py

NAS-140840 / 27.0.0-BETA.1 / Clear rsync one-shot alerts on task delete (by creatorcary) (#18882)

### Summary

`RsyncFailed` / `RsyncSuccess` are `OneShotAlertClass` alerts with
`deleted_automatically = False` (`alert/source/rsync.py:5,23`), keyed on
the task id. They are created from `RsyncTaskService.run()` and cleared
at the top of the next run, but `RsyncTaskService.do_delete()` was not
clearing them. Deleting a task therefore left an orphaned critical alert
in the panel that the UI could no longer associate with any task —
dismissing it appeared to "stick" but on reload it was still there, and
the rsync task section on Data Protection no longer had the row it
referred to.

### Consistency with other task plugins

Plugins that use `OneShotAlertClass` for task alerts already do this
cleanup in their `do_delete`. Rsync was the outlier:


    [19 lines not shown]
DeltaFile
+2-0src/middlewared/middlewared/plugins/rsync.py
+2-01 files

FreeNAS/freenas f74cb79src/middlewared/middlewared/plugins rsync.py

NAS-140840 / 26.0.0-RC.1 / Clear rsync one-shot alerts on task delete (#18880)

### Summary

`RsyncFailed` / `RsyncSuccess` are `OneShotAlertClass` alerts with
`deleted_automatically = False` (`alert/source/rsync.py:5,23`), keyed on
the task id. They are created from `RsyncTaskService.run()` and cleared
at the top of the next run, but `RsyncTaskService.do_delete()` was not
clearing them. Deleting a task therefore left an orphaned critical alert
in the panel that the UI could no longer associate with any task —
dismissing it appeared to "stick" but on reload it was still there, and
the rsync task section on Data Protection no longer had the row it
referred to.

### Consistency with other task plugins

Plugins that use `OneShotAlertClass` for task alerts already do this
cleanup in their `do_delete`. Rsync was the outlier:


    [15 lines not shown]
DeltaFile
+2-0src/middlewared/middlewared/plugins/rsync.py
+2-01 files

NetBSD/src cR1Ui0rsbin/fsck openspecial.c, sbin/newfs newfs.c

   PR/59957: Taylor R. Campbell: Centralize the disk open sequence from newfs
   and tunefs to a new function "openspecial" and use it to fix this PR, and
   the same issue with newfs_ext2fs.
VersionDeltaFile
1.1+85-0sbin/fsck/openspecial.c
1.59+5-32sbin/tunefs/tunefs.c
1.121+5-19sbin/newfs/newfs.c
1.46+7-9sbin/newfs_msdos/newfs_msdos.c
1.12+3-6sbin/newfs_ext2fs/newfs_ext2fs.c
1.15+5-2sbin/tunefs/Makefile
+110-684 files not shown
+119-7410 files

LLVM/project 2548c01llvm/test/tools/dsymutil embed-resource.test arch-option.test, llvm/test/tools/dsymutil/AArch64 allow-disallow.test

[dsymutil] Make --linker explicit in every test (#195293)

Pass `--linker classic` or `--linker parallel` on every `dsymutil`
invocation instead of relying on the implicit default. This preserves
the existing coverage in preparation for toggling the default in the
future.

Tests previously exercising only one linker now mirror the RUN block for
the other, sharing FileCheck prefixes. Not all tests are compatible, and
I've added a FIXME to make them easy to spot.
DeltaFile
+54-10llvm/test/tools/dsymutil/AArch64/allow-disallow.test
+39-8llvm/test/tools/dsymutil/embed-resource.test
+11-11llvm/test/tools/dsymutil/X86/verify.test
+12-6llvm/test/tools/dsymutil/X86/update.test
+9-9llvm/test/tools/dsymutil/arch-option.test
+12-6llvm/test/tools/dsymutil/X86/accelerator.test
+137-50102 files not shown
+350-203108 files

LLVM/project 4ff87c0clang/lib/Driver Driver.cpp

clang: Stop using replace_extension when there's no extension (#195335)

The offload case is building a fresh filepath and there's no file
extension to replace. Just directly append the file extension to avoid
clobbering part of the path name if the triple contains a period.

Avoids confusing test updates in future triple patch.
DeltaFile
+3-1clang/lib/Driver/Driver.cpp
+3-11 files

FreeBSD/src 459ac30sys/kern vfs_lookup.c

namei: Preserve ABI root for absolute symlinks before fallback

D40479 changed namei() so that an absolute symlink target
encountered during an ABI-root lookup restarts from the native root.
This helps the native fallback case, but it also makes successful
lookups inside an ABI root escape that root while following absolute
symlinks.

Only switch absolute symlink lookup to the native root after namei()
is already in the restarted/native fallback pass.
Do not mark the lookup as restarted merely because an absolute
symlink was encountered while still resolving inside the ABI root.

This preserves the intended native fallback behavior while keeping
absolute symlinks within a successfully resolved ABI-root path in
the ABI namespace.

Signed-off-by:  Ricardo Branco <rbranco at suse.de>
PR:             289739

    [3 lines not shown]
DeltaFile
+9-5sys/kern/vfs_lookup.c
+9-51 files

Linux/linux ef5f46bsecurity/selinux hooks.c, security/selinux/include objsec.h

Merge tag 'selinux-pr-20260501' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux

Pull selinux fixes from Paul Moore:

 - Ensure SELinux is always properly accessing its own sock LSM state

 - Only reserve an xattr slot for SELinux if it will be used

 - Fix a SELinux auditing regression in the directory avdcache

* tag 'selinux-pr-20260501' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
  selinux: fix avdcache auditing
  selinux: don't reserve xattr slot when we won't fill it
  selinux: use sk blob accessor in socket permission helpers
DeltaFile
+17-21security/selinux/hooks.c
+1-3security/selinux/include/objsec.h
+18-242 files

LLVM/project 35f9e49flang/lib/Lower/OpenMP OpenMP.cpp DataSharingProcessor.cpp, flang/test/Lower/OpenMP metadirective-loop.f90

[flang][OpenMP] Support loop-associated metadirective variants (part 3)

Enable metadirective lowering for loop-associated variants such as
`do`, `simd`, `parallel do`, and `do simd`.

When a metadirective resolves to a loop-associated directive, the
sibling DO evaluation is spliced into the metadirective's evaluation
list so existing loop lowering finds it. Loop IV data-sharing
attributes are marked at lowering time since semantic analysis cannot
know which variant will be selected. The DataSharingProcessor is also
extended to handle spliced evaluations.

This patch is part of the feature work for #188820 and stacked on top
of #194424.

Assisted with copilot and GPT-5.4
DeltaFile
+203-0flang/test/Lower/OpenMP/metadirective-loop.f90
+100-1flang/lib/Lower/OpenMP/OpenMP.cpp
+83-2flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+15-0flang/test/Lower/OpenMP/Todo/metadirective-target-loop.f90
+14-0flang/lib/Lower/OpenMP/Utils.cpp
+12-0flang/test/Lower/OpenMP/Todo/metadirective-no-loop.f90
+427-32 files not shown
+429-158 files

Linux/linux ee9dce4kernel fork.c

futex: Drop CLONE_THREAD requirement for private default hash alloc

Currently need_futex_hash_allocate_default() depends on strict pthread
semantics, abusing CLONE_THREAD.  This breaks the non-concurrency
assumptions when doing the mm->futex_ref pcpu allocations, leading to
bugs[0] when sharing the mm in other ways; ie:

    BUG: KASAN: slab-use-after-free in futex_hash_put

... where the +1 bias can end up on a percpu counter that mm->futex_ref
no longer points at.

Loosen the check to cover any CLONE_VM clone, except vfork().  Excluding
vfork keeps the existing paths untouched (no overhead), and we can't
race in the first place: either the parent is suspended and the child
runs alone, or mm->futex_ref is already allocated from an earlier
CLONE_VM.

Link: https://lore.kernel.org/all/CAL_bE8LsmCQ-FAtYDuwbJhOkt9p2wwYQwAbMh=PifC=VsiBM6A@mail.gmail.com/ [0]

    [4 lines not shown]
DeltaFile
+5-7kernel/fork.c
+5-71 files