FreeBSD/ports a6b92casysutils/go-ntfy distinfo Makefile

sysutils/go-ntfy: Update to 2.21.0

ChangeLogs:

- https://github.com/binwiederhier/ntfy/releases/tag/v2.20.1
- https://github.com/binwiederhier/ntfy/releases/tag/v2.21.0
DeltaFile
+7-7sysutils/go-ntfy/distinfo
+2-2sysutils/go-ntfy/Makefile
+9-92 files

LLVM/project b48f5afllvm/lib/DebugInfo/LogicalView/Readers LVDWARFReader.cpp LVCodeViewReader.cpp, llvm/unittests/DebugInfo/LogicalView DWARFReaderTest.cpp

Revert "Fix missed 'else'  in LVCodeViewReader and LVDWARFReader.cpp. " (#191109)

Reverts llvm/llvm-project#188578

It cause a test failure on multiple buildbots.
DeltaFile
+1-75llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
+5-3llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
+5-3llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewReader.cpp
+11-813 files

FreeBSD/ports 2092162audio/ft2-clone distinfo Makefile

audio/ft2-clone: Update to 2.14
DeltaFile
+3-3audio/ft2-clone/distinfo
+1-1audio/ft2-clone/Makefile
+4-42 files

LLVM/project 3cc34fbcompiler-rt/cmake/caches hexagon-linux-clangrt.cmake

[compiler-rt] Enable sanitizers, XRay, etc for hexagon (#190300)

Enable additional compiler-rt components in the hexagon-linux-clangrt
standalone cache file.

Also set CAN_TARGET_hexagon=1 to bypass the try_compile() probe that
fails during cross-compilation, and configure SANITIZER_CXX_ABI to use
the in-tree libc++ to avoid link failures.
DeltaFile
+12-7compiler-rt/cmake/caches/hexagon-linux-clangrt.cmake
+12-71 files

FreeBSD/ports f47fb0cnet/krakend-ce distinfo Makefile

net/krakend-ce: Update 2.13.3 => 2.13.4

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+5-5net/krakend-ce/distinfo
+1-1net/krakend-ce/Makefile
+6-62 files

LLVM/project 82aee4cllvm/lib/DebugInfo/LogicalView/Readers LVCodeViewReader.cpp LVDWARFReader.cpp, llvm/unittests/DebugInfo/LogicalView DWARFReaderTest.cpp

[llvm-debuginfo-analyzer] Fix missed 'else'  in LVCodeViewReader and LVDWARFReader.cpp.  (#188578)

Issues found PVS studio static analyzer. LVCodeViewReader.cpp. PR for #170117.

4. Potent UB: manipulation of invalid object.
The PVS-Studio warning: V519 The 'FeaturesValue' variable is assigned values twice successively.

Committed on behalf of @Seraphimt
DeltaFile
+75-1llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
+3-5llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewReader.cpp
+3-5llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
+81-113 files

FreeBSD/ports 3577d03security/vuxml/vuln 2026.xml

security/vuxml: document gitlab vulnerabilities
DeltaFile
+51-0security/vuxml/vuln/2026.xml
+51-01 files

FreeBSD/ports d4a4f6dfilesystems/ltfs distinfo Makefile

filesystems/ltfs: Update to 2.4.8.3
DeltaFile
+5-3filesystems/ltfs/distinfo
+4-3filesystems/ltfs/Makefile
+9-62 files

FreeBSD/ports f1a045edatabases/timescaledb distinfo pkg-plist

databases/timescaledb: Update to 2.26.2
DeltaFile
+3-3databases/timescaledb/distinfo
+3-0databases/timescaledb/pkg-plist
+1-1databases/timescaledb/Makefile
+7-43 files

LLVM/project b57e6fcllvm/lib/Target/AMDGPU SIMachineFunctionInfo.cpp

[NFC][AMDGPU] Fix a compiler warning caused by a small typo
DeltaFile
+2-2llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
+2-21 files

LLVM/project edff73ellvm/include/llvm/ABI FunctionInfo.h

[LLVMABI] Fix build for GCC < 8 (#190974)

`llvm::abi::ArgInfo::get*` functions return `llvm::abi::ArgInfo` by
value, so we need the type to be copyable. It is not though, because of
the non trivially copyable member `MaybeAlign` (`std::optional<Align>`)
in a union, which deletes the implicit copy/move constructors and
assignment operators.
For modern GCC versions and for clang this does not present as a problem
due to named return value optimization (NRVO). It is however not a bug
in old GCC versions, because NRVO is not guaranteed. Similary
`std::optional`
could be trivially copyable, but that is also not guaranteed by the
standard.

Instead of depending on these details of the C++ implementation, move
the `MaybeAlign` member out of the union, and make it a separate member
of `abi::ArgInfo`. We lose the expressiveness from the type system that
`IndirectAttrInfo` always has a defined alignment, but we can get that
back in practice by placing asserts in the code that uses it. Therefore

    [2 lines not shown]
DeltaFile
+14-7llvm/include/llvm/ABI/FunctionInfo.h
+14-71 files

FreeBSD/src 45079cdusr.sbin/bsdinstall/scripts mirrorselect

installer: Add download.freebsd.org to mirror list

download.freebsd.org is backed by project mirrors and a CDN, which
should benefit most users.

Sponsored by:   The FreeBSD Foundation
Reviewed by:    delphij (releng)
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54849
DeltaFile
+12-1usr.sbin/bsdinstall/scripts/mirrorselect
+12-11 files

LLVM/project 6d66e5eclang/test/Driver modules-driver-dep-graph.cpp

test: Prepend a cleanup triggered by #190062
DeltaFile
+1-0clang/test/Driver/modules-driver-dep-graph.cpp
+1-01 files

FreeBSD/ports 986e813sysutils/screen-devel distinfo

sysutils/screen-devel: Update distfile

When unpacking the tarballs there is no material difference between the
old and the new files. Additionally, there is no difference when
comparing the two tarballs after unzipping the .gz files. One must
conclude the files are compressed differently as the new .gz file is 4K
smaller then the previous file.

(cherry picked from commit 7fd033436f0ef341f70e8592fa741d5b92b27fd9)
DeltaFile
+3-3sysutils/screen-devel/distinfo
+3-31 files

FreeBSD/ports 396cd62x11/cde Makefile, x11/cde-devel Makefile

x11/cde*: Work around bus errors and looping CDE apps

-O2 optimization is too aggressive for CDE. Scaling it back to -O
eliminates bus errors on some systems and dtcalc looping with the
error, *** M .LE. T IN CALL TO MPCHK.

Reported by:    Jeremy Doolin <jrdoolin at pm.me>

(cherry picked from commit fa43a93555ef08544bc2139af3411e00797c70dd)
DeltaFile
+2-1x11/cde-devel/Makefile
+2-1x11/cde/Makefile
+4-22 files

LLVM/project 0302140llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp

Removed unnecessary counter, instead used the existing statistic.
DeltaFile
+2-7llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+2-71 files

FreeBSD/ports 7fd0334sysutils/screen-devel distinfo

sysutils/screen-devel: Update distfile

When unpacking the tarballs there is no material difference between the
old and the new files. Additionally, there is no difference when
comparing the two tarballs after unzipping the .gz files. One must
conclude the files are compressed differently as the new .gz file is 4K
smaller then the previous file.

MFH:    2026Q2
DeltaFile
+3-3sysutils/screen-devel/distinfo
+3-31 files

LLVM/project 3b9f791compiler-rt/lib/lsan lsan_common.cpp

[LSAN] Add extra suppressions on Apple Aarch64 (#117478)

- _fetchInitializingClassList for startup code in dyld.
- dyld4::RuntimeState::_instantiateTLVs for thread locals.

Fixes https://github.com/llvm/llvm-project/issues/115992, now it shows
the following instead (in a project using thread locals):
```
-----------------------------------------------------
Suppressions used:
  count      bytes template
      3        120 *_fetchInitializingClassList*
      1        104 *dyld4::RuntimeState::_instantiateTLVs*
-----------------------------------------------------
```
DeltaFile
+7-0compiler-rt/lib/lsan/lsan_common.cpp
+7-01 files

LLVM/project 42629d7llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 logical-op-with-not.ll atomicrmw-O0.ll

[AArch64][CodeGen] match (or x (not y)) to generate mov+orn (#190769)

Fixes: https://github.com/llvm/llvm-project/issues/100045

Adds AddedComplexity to increase the priority the pattern that matches
(or x (not y)) and generates a mov+orn instead of the original mvn+orr.

The number of instructions still stay the same but mov+orn can be
considered better than mvn+orr for two reasons:
1. Symmetry: For the same input with an 'and' instead of 'or', mov+bic
is generated.
2. Optimzation through register rename: If mov is immediate (for
example, 'mov x1, #0x4'), it can be retired early by the register
renamer and never issued for execution.
DeltaFile
+32-8llvm/test/CodeGen/AArch64/logical-op-with-not.ll
+12-12llvm/test/CodeGen/AArch64/atomicrmw-O0.ll
+4-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+2-2llvm/test/CodeGen/AArch64/arm64-atomic.ll
+50-224 files

LLVM/project dabd8cccompiler-rt/lib/sanitizer_common sanitizer_platform_limits_posix.cpp

[compiler-rt] fix __sanitizer::struct_sock_fprog_sz availability (#183411)

`struct sock_fprog` is not provided by glibc, but rather by the linux
headers (`#include <linux/filter.h`). It seems that glibc due to an
implementation detail internally includes `<linux/filter.h>` somewhere
other C libs (e.g. musl) do not, which previously caused build failures
and let to disabling `struct sock_fprog` on non-glibc Linux systems.

This adds the missing include and provides it again for all Linux
systems regardless of C lib.
DeltaFile
+2-1compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
+2-11 files

LLVM/project fc48faccompiler-rt/lib/sanitizer_common sanitizer_linux_libcdep.cpp

[TSan] Fix determining static TLS blocks (#183106)

Running gcc test c-c++-common/tsan/tls_race.c on s390 we get:

ThreadSanitizer: CHECK failed: tsan_platform_linux.cpp:618 "((thr_beg))
>= ((tls_addr))" (0x3ffaa35e140, 0x3ffaa35e250) (tid=2419930)
#0 __tsan::CheckUnwind() /devel/src/libsanitizer/tsan/tsan_rtl.cpp:696
(libtsan.so.2+0x91b57)
#1 __sanitizer::CheckFailed(char const*, int, char const*, unsigned long
long, unsigned long long)
/devel/src/libsanitizer/sanitizer_common/sanitizer_termination.cpp:86
(libtsan.so.2+0xd211b)
#2 __tsan::ImitateTlsWrite(__tsan::ThreadState*, unsigned long, unsigned
long) /devel/src/libsanitizer/tsan/tsan_platform_linux.cpp:618
(libtsan.so.2+0x8faa3)
#3 __tsan::ThreadStart(__tsan::ThreadState*, unsigned int, unsigned long
long, __sanitizer::ThreadType)
/devel/src/libsanitizer/tsan/tsan_rtl_thread.cpp:225
(libtsan.so.2+0xaadb5)

    [30 lines not shown]
DeltaFile
+2-2compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
+2-21 files

LLVM/project e65dd1fllvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV musttail.ll

[RISCV][NFC] Improve Musttail Comments/Tests (#191093)

In the Target code, this is mostly fixing typos or other comment issues.

In the musttail.ll test, this ensures the tests are more aligned with
their comments, and that the comments are accurate. I inserted some
inline asm clobbers so it's also easier to see what's going on.
DeltaFile
+61-37llvm/test/CodeGen/RISCV/musttail.ll
+4-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+65-392 files

LLVM/project d0a5449clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization SerializationFormat.h, clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat WPASuite.cpp

[clang][ssaf] Add `JSONFormat` support for `WPASuite` (#191082)

This patch adds `JSONFormat` serialization support for `WPASuite`.

- Adds `readWPASuite` / `writeWPASuite` to the `SerializationFormat`
abstract interface and implements them in `JSONFormat`.
- Introduces `AnalysisResultRegistryGenerator`, a per-format plugin
registry template in `SerializationFormat`, allowing analysis authors to
register (de)serializers for their `AnalysisResult` subtypes with a
single static declaration.
- Extends `PrivateFieldNames.def` with `WPASuite::Data` and
`WPASuite::IdTable`, and adds a `makeWPASuite()` factory to
`SerializationFormat`, so deserialization code can construct a
`WPASuite` incrementally through the same access-controlled pattern used
for all other SSAF data structures.
DeltaFile
+212-0clang/lib/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat/WPASuite.cpp
+197-0clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp
+160-0clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp
+136-0clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsPairsAnalysis.cpp
+134-0clang/include/clang/ScalableStaticAnalysisFramework/Core/Serialization/SerializationFormat.h
+132-0clang/test/Analysis/Scalable/ssaf-format/WPASuite/with-plugin.test
+971-041 files not shown
+1,683-447 files

LLVM/project 8ce74e7llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/ARM funnel-shift.ll

[TargetLowering] Add support for more constants to expandDIVREMByConstant. (#189286)

If we can find a chunk size k where 2^k mod divisor == -1, we can add
the even chunks and subtract the odd chunks. The resulting sum may be
negative, so we need to add 2^k + 1 (a multiple of divisor) for each odd
chunk to ensure the result is positive. We have enough extra bits
between the chunk size and HBitWidth to avoid overflow.

The idea here is similar to checking if a decimal number is divisible by
11. You can add the even digits and subtract the odd digits. If the
resulting sum is divisible by 11 the original number is divisible by 11.
DeltaFile
+191-186llvm/test/CodeGen/Mips/funnel-shift.ll
+130-178llvm/test/CodeGen/PowerPC/funnel-shift.ll
+156-116llvm/test/CodeGen/ARM/funnel-shift.ll
+64-37llvm/test/CodeGen/X86/funnel-shift.ll
+47-17llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+32-5llvm/test/CodeGen/X86/i128-udiv.ll
+620-5396 files

FreeBSD/src 84ce651sys/sys extattr.h

<sys/extattr.h>: use designated initializers for EXTATTR_NAMESPACE_NAMES

This is not a functional change, but it makes it more clear upon
inspection of the definition that the mapping property described is
preserved.  Maybe more importantly, if one ends up getting an index
wrong or punching a hole in the name array unexpectedly, then it'll
hopefully manifest more clearly as a (null) or nullptr deref rather than
potentially just emitting the wrong namespace name.

It's noted that this almost certainly invalidates its use in C++, but
there aren't really any known C++ consumers of it- let's just cross
that bridge if we get there.

Reviewed by:    kib, mckusick, rmacklem
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55323
DeltaFile
+3-3sys/sys/extattr.h
+3-31 files

FreeBSD/src 22fba3ausr.bin/find function.c find.1, usr.bin/find/tests find_test.sh

find: add -xattr and -xttrname

We use -xattr in our openrsync tests for convenience, and it seems like
a good addition to FreeBSD.  -xattr and -xattrname will both consult all
available namespaces by default, but -xattrname allows filtering by
namespace using a "user:" or "system:" prefix.

Inspired by:    https://github.com/apple-oss-distributions/shell_cmds
Reviewed by:    kib, rmacklem
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55286
DeltaFile
+94-0usr.bin/find/function.c
+80-0usr.bin/find/tests/find_test.sh
+21-2usr.bin/find/find.1
+2-0usr.bin/find/extern.h
+2-0usr.bin/find/option.c
+199-25 files

FreeBSD/src 9a8d333lib/libc/gen memfd_create.c, lib/libsys shm_open.2

libc: fix memfd_create's HUGETLB handling

The 'simplification' commit referenced below actually broke one aspect
of MFD_HUGETLB: the caller isn't supposed to be required to specify a
size.  MFD_HUGETLB by itself without a shift mask just requests a large
page, so we revert that part of memfd_create() back.

While we're here, fix up the related parts of the manpages a little bit,
since MFD_HUGETLB is actually supported.  The manpage claims that we
would return ENOSYS if forced mappings weren't supported, but this was
actually not true.  However, that seems like a very important
distinction to make between ENOSYS and EOPNOTSUPP, so fix the
implementation to match the docs.

Fixes:  8b8cf4ece660f ("memfd_create: simplify HUGETLB support [...]")
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D56114
DeltaFile
+45-0tests/sys/posixshm/posixshm.h
+13-25tests/sys/posixshm/posixshm_test.c
+35-0tests/sys/posixshm/memfd_test.c
+27-4lib/libsys/shm_open.2
+16-7lib/libc/gen/memfd_create.c
+136-365 files

FreeBSD/src 0c9cec8tests/sys/kqueue kqueue_fork.c

tests: kqueue: add a basic test for CPONFORK

Just copy over a timer and a write-filter, be sure that we can observe
both in the child.  Maybe the timer should check for a minimum time
passed, but I don't know that we'd be likely to get that wrong.

This also adds a negative test with a kqueue that is *not* set for
CPONFORK being added to the first one, made readable, and confirming
that we don't see a knote for it in the child.

Some other improvements to the test noted in the review are planned in
the short term, but they're not particularly worth blocking adding this
as a basic sanity check.

Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D56223
DeltaFile
+140-0tests/sys/kqueue/kqueue_fork.c
+140-01 files

FreeBSD/src c6dd40fsys/kern kern_event.c

kqueue: slightly clarify the flow in knlist_cleardel()

This is purely a cosmetic change to make it a little easier on the eyes,
rather than jumping back to the else branch up top.  Re-flow it to use
another loop on the outside and just inline the re-lock before we repeat
after awaking from fluxwait.

The !killkn path should maybe issue a wakeup if there's a thread in
KQ_SLEEP so that userland can observe the EOF, but this isn't a
practical problem today: pretty much every case of knlist_clear is tied
to a file descriptor and called in the close(2) path.  As a consequence,
potentially affected knotes are almost always destroyed before we even
get to knlist_clear().

Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D56226
DeltaFile
+29-21sys/kern/kern_event.c
+29-211 files

FreeBSD/src 0bf4d22sys/kern kern_event.c

kqueue: don't leak file refs on failure to knote_attach()

We'll subsequently just knote_free() since the knote is barely
constructed, but that bypasses any logic that might release references
on owned files/fops.  Defer clearing those until the knote actually owns
them and update the comment to draw the line more clearly.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D56318
DeltaFile
+10-6sys/kern/kern_event.c
+10-61 files