LLVM/project 926515d — lldb/source/Plugins/TypeSystem/Clike ByteSizedType.h, lldb/unittests/TypeSystem/Clike CMakeLists.txt ByteSizedTypeTest.cpp

[lldb][Clike] Add ByteSizedType (#243814)

ByteSizedType is a mixin that adds a byte size to a Type. Type itself
only declares GetByteSize (returning "unknown" by default) because many
types derive their size from another type (arrays, typedefs, ...) or
from the target (pointers) and therefore don't need to store one. Types
with a size of their own, such as builtins, records and enums, will mix
this in.

An unknown size is stored as a UINT64_MAX sentinel instead of using
std::optional, which would need extra space for its flag.

assisted-by: claude
DeltaFile
+47-0lldb/source/Plugins/TypeSystem/Clike/ByteSizedType.h
+21-0lldb/unittests/TypeSystem/Clike/ByteSizedTypeTest.cpp
+1-0lldb/unittests/TypeSystem/Clike/CMakeLists.txt
+69-03 files

LLVM/project 9865352 — lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCRuntimeV2.cpp

[lldb][Clike] Don't require TypeSystemClang for AppleObjCRuntimeV2 (#238961)

This makes this code compatible with TypeSystemClike. This is also code
that has no error handling aside from silently doing nothing, so I added
logging in case we fail to grab the TypeSystem.
DeltaFile
+25-14lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+25-141 files

LLVM/project ba88526 — lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCTrampolineHandler.cpp

[lldb][Clike] Don't use TypeSystemClang in AppleObjCTrampolineHandler (#238965)

This makes this code compatible with TypeSystemClike.
DeltaFile
+11-3lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
+11-31 files

LLVM/project 36eba56 — lldb/test/API/lang/cpp/builtin_types/float Makefile main.cpp

[lldb][test] Add a new test for float types (Reland) (#238992)

This is a new modern test for float types that replaces the test logic
from `API/types` test that is about to be deleted.

This is #208451 but updated to also handle PDB.

See also #208402

assisted-by: claude
DeltaFile
+46-0lldb/test/API/lang/cpp/builtin_types/float/TestFloatTypes.py
+19-0lldb/test/API/lang/cpp/builtin_types/float/main.cpp
+3-0lldb/test/API/lang/cpp/builtin_types/float/Makefile
+68-03 files

LLVM/project 6fe233d — lldb/source/Plugins/LanguageRuntime/CPlusPlus ItaniumABIRuntime.cpp

[lldb][Clike] Don't compare types using TSClang in ItaniumABIRuntime (#238958)

This won't work with TypeSystemClike. CompilerType has a generic API
that does the same without adding a dependency on TypeSystemClang.
DeltaFile
+1-1lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+1-11 files

OPNSense/core d9d71dd — src/opnsense/mvc/app/controllers/OPNsense/Kea/forms dialogSubnet4.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.php

Services: Kea DHCPv4: include the system domain into option data autocollect
DeltaFile
+3-8src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+2-1src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogSubnet4.xml
+5-92 files

FreeNAS/freenas f26dd01 — src/middlewared/middlewared/plugins filesystem.py, src/middlewared/middlewared/plugins/filesystem_ acl.py

NAS-145364 / 28.0.0-BETA.1 / middleware: strengthen path handling (#20280)

Paths that an unprivileged user may control are opened with safe_open,
safe_open_raw and safe_makedirs from truenas_os_pyutils, which refuse a
symlink anywhere in the path, and a FIFO, socket or device node before
opening it.

- rsync: create and chown ~/.ssh/known_hosts through symlink-refusing
fds; cap the known_hosts read at 4 MiB
- ssh-keyscan: pass "--" before the host
- user: read authorized_keys with safe_open, capped at 1 MiB; unlink it
through a symlink-free .ssh fd
- filesystem.mkdir: chmod, rmdir and listxattr through fds; compare .ssh
by component
- NFS: refuse export paths that exportfs would rewrite
- nvmet: a FILE namespace must be a symlink-free regular file in a data
pool
- SMB: path_suffix and dataset_naming_schema must stay beneath the share
- filesystem.set_zfs_attributes: callers without FULL_ADMIN are limited

    [28 lines not shown]
DeltaFile
+118-0tests/api2/test_path_safety.py
+55-33src/middlewared/middlewared/plugins/nvmet/namespace.py
+57-29src/middlewared/middlewared/plugins/filesystem.py
+42-25src/middlewared/middlewared/utils/libvirt/cdrom.py
+7-32src/middlewared/middlewared/plugins/filesystem_/acl.py
+14-21src/middlewared/middlewared/utils/filesystem/directory.py
+293-14018 files not shown
+509-18924 files

LLVM/project fa34deb — lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime GNUstepObjCRuntime.cpp

[lldb][Clike] Remove TypeSystemClang include from GNUstepObjCRuntime (#238968)
DeltaFile
+0-2lldb/source/Plugins/LanguageRuntime/ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp
+0-21 files

FreeNAS/freenas 04a0e06 — src/middlewared/middlewared/test/integration/assets ftp.py

NAS-145422 / 27.1.0 / Fix flaky FTP tests (by themylogin) (#20312)

Preserving configs from previous test runs made tests unstable as they
became dependent on unrelated and uncontrollable environment.

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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+10-4src/middlewared/middlewared/test/integration/assets/ftp.py
+10-41 files

FreeNAS/freenas c18dec7 — src/middlewared/middlewared/test/integration/assets ftp.py

NAS-145422 / 27.0.0 / Fix flaky FTP tests (by themylogin) (#20311)

Preserving configs from previous test runs made tests unstable as they
became dependent on unrelated and uncontrollable environment.

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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+10-4src/middlewared/middlewared/test/integration/assets/ftp.py
+10-41 files

FreeNAS/freenas cd36252 — src/middlewared/middlewared/plugins/datastore filter.py, src/middlewared/middlewared/pytest/unit/plugins test_datastore_json_valid.py

NAS-145423 / 27.1.0 / Fix queries like `["event_data.method", "in", ["network.configuration.update", "smb.update"]]` (by themylogin) (#20310)

It failed with TypeError: 'in <string>' requires string as left operand,
not NoneType at plugins/datastore/filter.py:13.

Not used by any of the current code, it was found by an agent
investigating an unrelated bug.

*Cause*: for JSON-path filters, filter.py turns a list or dict value
into one JSON string. That is right for `=`, as in
`["event_data.params", "=", [1]]`. But `in` and `nin` got the whole list
as one string, so `in_()` failed. This was added in f8bf3b9578. Before
that commit, in on a JSON path worked, so this is a regression.

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

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+13-5src/middlewared/middlewared/plugins/datastore/filter.py
+15-0src/middlewared/middlewared/pytest/unit/plugins/test_datastore_json_valid.py
+28-52 files

LLVM/project e6f9131 — llvm/lib/Analysis ConstantFolding.cpp, llvm/lib/Transforms/InstCombine InstructionCombining.cpp

[ConstantFolding] Add constant folding for strlen (#244183)

This patch adds constant folding of `strlen` on a string literal. These
are not uncommon, for example coming out of code like
```
std::string s = foo();
if (s == "bar") { ...
```
This patch (plus a follow-up one which exposes libfunc folding to inline
costs) helped resolve a 3% regression in a SPEC2026 benchmark coming out
of disable-pre-lto-vec changes.
DeltaFile
+46-0llvm/test/Transforms/InstSimplify/const-fold-strlen.ll
+17-0llvm/lib/Analysis/ConstantFolding.cpp
+6-4llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+1-1llvm/test/Transforms/PhaseOrdering/AArch64/constraint-elimination-placement.ll
+70-54 files

FreeNAS/freenas f4494f8 — tests/api2 test_audit_basic.py

Fix HA audit tests flakiness
DeltaFile
+8-1tests/api2/test_audit_basic.py
+8-11 files

FreeBSD/ports 9249e87 — graphics/linux-rl9-imageformats-libs Makefile distinfo

graphics/linux-rl9-imageformats-libs: upstream packages reroll, Rocky Linux 9.9 release
DeltaFile
+17-17graphics/linux-rl9-imageformats-libs/distinfo
+4-4graphics/linux-rl9-imageformats-libs/Makefile
+21-212 files

FreeBSD/ports 1b57110 — security/linux-rl9-nss Makefile distinfo

security/linux-rl9-nss: update to 3.124.0, Rocky Linux 9.9 release
DeltaFile
+27-27security/linux-rl9-nss/distinfo
+2-3security/linux-rl9-nss/Makefile
+29-302 files

FreeBSD/ports c0fbbfb — x11-toolkits/linux-rl9-pango Makefile distinfo

x11-toolkits/linux-rl9-pango: upstream packages reroll, Rocky Linux 9.9 release
DeltaFile
+9-9x11-toolkits/linux-rl9-pango/distinfo
+2-2x11-toolkits/linux-rl9-pango/Makefile
+11-112 files

FreeBSD/ports e739874 — security/linux-rl9-gnutls Makefile distinfo

security/linux-rl9-gnutls: upstream packages reroll, Rocky Linux 9.9 release
DeltaFile
+9-9security/linux-rl9-gnutls/distinfo
+2-2security/linux-rl9-gnutls/Makefile
+11-112 files

FreeBSD/ports 7b2028f — devel/linux-rl9-systemd-libs Makefile distinfo

devel/linux-rl9-systemd-libs: upstream packages reroll, Rocky Linux 9.9 release
DeltaFile
+9-9devel/linux-rl9-systemd-libs/distinfo
+2-2devel/linux-rl9-systemd-libs/Makefile
+11-112 files

NetBSD/pkgsrc-wip 0e976e8 — chromium Makefile distinfo

chromium: update to 158.0.8127.88
DeltaFile
+6-4chromium/COMMIT_MSG
+3-3chromium/distinfo
+1-1chromium/Makefile
+10-83 files

NetBSD/pkgsrc n2VsVGi — graphics/mesa distinfo, graphics/mesa/patches patch-src_egl_drivers_dri2_platform__drm.c

   mesa: carry over patch comment from MesaLib
VersionDeltaFile
1.2+8-1graphics/mesa/patches/patch-src_egl_drivers_dri2_platform__drm.c
1.2+2-2graphics/mesa/distinfo
+10-32 files

NetBSD/pkgsrc ZRAzfIN — graphics/mesa options.mk Makefile

   mesa: comment out some unused variables, fix some pkglint
VersionDeltaFile
1.2+12-12graphics/mesa/Makefile
1.2+2-2graphics/mesa/options.mk
+14-142 files

FreeBSD/src 655407e — sys/netipsec ipsec_output.c, tests/sys/netipsec/tunnel bundle.sh

netipsec: Apply the rest of a bundle when the PMTU check finds no SA

ipsec{4,6}_check_pmtu() looks up the SA of the last request of a policy to
learn the path MTU.  When that request is at level "use" and no SA is
found for it, the lookup returns EJUSTRETURN, and ipsec4_common_output1()
and ipsec6_common_output() took that to mean that the packet needs no
IPsec processing.  That holds for a policy with one request.  For a bundle
it also skipped the requests before the last one, for example the ESP
tunnel request of "esp/tunnel/A-B/require ah/transport//use", and the
packet was sent without their transforms.

The lookup finds no SA when none is installed, and also when the last
request is a transport request that follows a tunnel request, as in the
example.  The lookup fills in the empty addresses of a transport request
from the packet as it is before any transform, while the transform applies
the request after the tunnel request, to the outer header, and the SA is
installed for the addresses of the tunnel.  So the bundle above was sent
without its transforms even with an AH SA from A to B in place.


    [21 lines not shown]
DeltaFile
+44-5tests/sys/netipsec/tunnel/bundle.sh
+24-14sys/netipsec/ipsec_output.c
+68-192 files

LLVM/project a055e9c — llvm/utils/gn/secondary/llvm/include/llvm/TargetParser BUILD.gn, llvm/utils/gn/secondary/llvm/lib/TargetParser BUILD.gn

[gn] port ecac0ccc9ef8 (#246003)
DeltaFile
+8-0llvm/utils/gn/secondary/llvm/include/llvm/TargetParser/BUILD.gn
+1-0llvm/utils/gn/secondary/llvm/unittests/TargetParser/BUILD.gn
+1-0llvm/utils/gn/secondary/llvm/lib/TargetParser/BUILD.gn
+10-03 files

FreeBSD/doc 5c71b86 — website/content/en/cgi man.cgi

man.cgi: improve shortcut example
DeltaFile
+1-1website/content/en/cgi/man.cgi
+1-11 files

LLVM/project 3954214 — llvm/utils/gn/secondary/llvm/lib/Target/AArch64 BUILD.gn

[gn] port 25028243480e (#246002)
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/Target/AArch64/BUILD.gn
+1-01 files

LLVM/project a2c8783 — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp SelectionDAG.cpp, llvm/test/CodeGen/PowerPC nofpclass.ll fneg.ll

[PowerPC] fix `ppc_fp128` `FABS` miscompile (#209286)

fixes https://github.com/llvm/llvm-project/issues/209034

On little-endian powerpc the bit position of the sign bit is bit 63, not
bit 127. However, `APFloat` reports that the sign bit is the MSB. As I
understand it, it is actually right about that because in the `APFloat`
internal representation the sign bit is in fact in the MSB, but using
this information for runtime values is incorrect for LE.

All three fix locations are required to get the correct output for this
reproducer.

I'm assuming there are more ways that this can fail, so a more
structural solution would be neat. I don't know how to do that though,
so in the meantime we can accumulate test cases and plug the gaps.
DeltaFile
+101-0llvm/test/CodeGen/PowerPC/fp128-fabs.ll
+31-6llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+28-1llvm/test/CodeGen/PowerPC/copysignl.ll
+13-1llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+5-5llvm/test/CodeGen/PowerPC/fneg.ll
+4-2llvm/test/CodeGen/PowerPC/nofpclass.ll
+182-152 files not shown
+188-158 files

OpenBSD/src yyaB4QL — sys/uvm uvm_pager.c

   Fix swpgonly leak in uvm_swap_dropcluster()
   from renaud@; OK kettenis@

   Fix typo in my last commit
   from renaud@

   this is errata/8.0/024_swpgonly.patch.sig
VersionDeltaFile
1.99.2.1+2-2sys/uvm/uvm_pager.c
+2-21 files

LLVM/project afdd331 — libcxx/src CMakeLists.txt, libcxx/src/pstl statpart.cpp std_thread_sched.h

[libc++][pstl] Add a task scheduler based on std::thread (#237313)

This PR adds a simple task scheduler for PSTL.
With that, `std::execution::par` makes algorithms run in parallel on
non-Apple platforms (Apple platforms keep using `libdispatch`).

The implementation uses only the threading facilities provided by the
C++ Standard and contains no platform-specific code.
This code is intended to be a replaceable implementation detail of
libc++, which is not exported and can only be accessed via the
`std::__pstl::__statpart::__apply()` proxy.
The design prioritises correctness and simplicity over peak performance,
while still performing reasonably for typical usage (comparable to
`dispatch_apply_f()` from GCD).
DeltaFile
+317-0libcxx/src/pstl/std_thread_sched.h
+19-3libcxx/src/pstl/statpart.cpp
+1-0libcxx/src/CMakeLists.txt
+337-33 files

OpenBSD/src GdixcWF — sys/kern spec_vnops.c vfs_lockf.c

   sys: protect special device locks during vnode teardown

   Special device advisory locking can race with vnode teardown and access
   freed specinfo.

   OpenAI reported the problem and supplied an initial patch; that patch
   introduced a NULL dereference window by clearing v_specinfo while
   leaving the vnode typed VCHR or VBLK across a sleep; it also left
   teardown exposed to vnode recycling during the drain.

   In other words the initial patch addressed one race, introduced another,
   and left the vnode lifetime problem unfixed.

   Here the reworked approach with large colaboration with claudio@ with
   talks and inputs from deraadt@ and beck@.

   Resolve and detach specinfo under lockf_lock, interrupt all pending
   requests, and retain its storage until the drain completes. Keep VXLOCK
   and the temporary vnode reference through teardown; set VBAD before

    [5 lines not shown]
VersionDeltaFile
1.335.2.1+57-18sys/kern/vfs_subr.c
1.50.18.1+50-8sys/kern/vfs_lockf.c
1.114.8.1+4-3sys/kern/spec_vnops.c
+111-293 files

OpenBSD/src AdvXNlo — usr.sbin/dvmrpd report.c

   In recv_report first check that the report is sensible via check_report
   and then during parse copy only the bytes from the packet needed.
   The netmask is stored as 3 bytes with the high byte being 0xff by default.
   Also the netid depend on the size of the netmask and needs to be pulled
   out of the packet with care.
VersionDeltaFile
1.14+53-9usr.sbin/dvmrpd/report.c
+53-91 files