HardenedBSD/src aa20f56lib/msun/man fmax.3, release/packages generate-set-ucl.lua generate-ucl.lua

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+67-0sys/fs/nfs/nfsid.h
+0-23sys/fs/nfs/nfs.h
+8-5lib/msun/man/fmax.3
+1-1release/packages/generate-set-ucl.lua
+1-1release/packages/generate-ucl.lua
+2-0usr.bin/yes/tests/yes_test.sh
+79-304 files not shown
+82-3110 files

HardenedBSD/src f0f0293lib/msun/man fmax.3, release/packages generate-ucl.lua generate-set-ucl.lua

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+67-0sys/fs/nfs/nfsid.h
+0-23sys/fs/nfs/nfs.h
+8-5lib/msun/man/fmax.3
+1-1release/packages/generate-ucl.lua
+2-0usr.bin/yes/tests/yes_test.sh
+1-1release/packages/generate-set-ucl.lua
+79-304 files not shown
+82-3110 files

HardenedBSD/src 8f2646ausr.bin/diff pr.c diffreg.c, usr.bin/diff3 diff3.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+37-24usr.bin/diff/pr.c
+28-20usr.bin/diff3/diff3.c
+5-0usr.bin/diff/diffreg.c
+70-443 files

LLVM/project ef8b9a7llvm/lib/Transforms/InstCombine InstCombineShifts.cpp InstCombineCompares.cpp, llvm/test/Transforms/InstCombine icmp-shl-add-to-add.ll apint-shift.ll

Revert "[InstCombine] Fix #163110: Support peeling off matching shifts from i…"

This reverts commit 05ff170026eb9164f8157a655a041bbe622efd0a.
DeltaFile
+0-311llvm/test/Transforms/InstCombine/icmp-shl-add-to-add.ll
+41-111llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+0-28llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+0-14llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+3-3llvm/test/Transforms/InstCombine/apint-shift.ll
+1-1llvm/test/Transforms/InstCombine/icmp-select.ll
+45-4686 files

FreeBSD/ports 1b3375dtextproc Makefile, textproc/py-lingua-language-detector distinfo Makefile.crates

textproc/py-lingua-language-detector: New port: Accurate natural language detection library for long and short text
DeltaFile
+845-0textproc/py-lingua-language-detector/distinfo
+421-0textproc/py-lingua-language-detector/Makefile.crates
+29-0textproc/py-lingua-language-detector/Makefile
+12-0textproc/py-lingua-language-detector/pkg-descr
+1-0textproc/Makefile
+1,308-05 files

FreeBSD/ports 1da7f9beditors/libreoffice Makefile, editors/libreoffice/files patch-external_pdfium_Library__pdfium.mk

editors/libreoffice: Fixed the broken shared library libpdfiumlo.so by adding a patch

PR:             294276
Approved by:    portmgr@ (unbreak; bundled shared lib unbreak)
DeltaFile
+26-0editors/libreoffice/files/patch-external_pdfium_Library__pdfium.mk
+1-1editors/libreoffice/Makefile
+27-12 files

FreeBSD/ports f2bdb71science/py-tensorflow Makefile

science/py-tensorflow: Fix tests
DeltaFile
+5-2science/py-tensorflow/Makefile
+5-21 files

FreeBSD/ports 57c1235math/py-keras Makefile pkg-descr, math/py-keras/files test-simple-1.py patch-pyproject.toml

math/py-keras: update 3.12.0 → 3.14.0
DeltaFile
+40-0math/py-keras/files/test-simple-1.py
+13-8math/py-keras/Makefile
+7-2math/py-keras/pkg-descr
+3-3math/py-keras/distinfo
+1-1math/py-keras/files/patch-pyproject.toml
+64-145 files

FreeBSD/ports 13d7288graphics Makefile, graphics/py-pypdfium2 Makefile pkg-descr

graphics/py-pypdfium2: New port: Python bindings to the PDFium PDF rendering library
DeltaFile
+46-0graphics/py-pypdfium2/files/patch-setupsrc_base.py
+38-0graphics/py-pypdfium2/Makefile
+14-0graphics/py-pypdfium2/pkg-descr
+11-0graphics/py-pypdfium2/files/patch-pyproject.toml
+3-0graphics/py-pypdfium2/distinfo
+1-0graphics/Makefile
+113-06 files

FreeBSD/ports 5a151a3devel Makefile, devel/py-cached-path Makefile pkg-descr

devel/py-cached-path: New port: File utility for accessing local and remote files uniformly
DeltaFile
+31-0devel/py-cached-path/Makefile
+10-0devel/py-cached-path/pkg-descr
+3-0devel/py-cached-path/distinfo
+1-0devel/Makefile
+45-04 files

FreeNAS/freenas ec6af4bsrc/middlewared/middlewared/plugins snmp.py failover.py

Persist SNMP engine ID across upgrades and sync to HA peer

Create /data/subsystems/snmp/ for engine ID persistent storage per
TrueNAS state guidelines. Sync the file to the standby node so both HA
controllers use the same SNMPv3 engine ID.
DeltaFile
+5-0src/middlewared/middlewared/plugins/snmp.py
+1-0src/middlewared/middlewared/plugins/failover.py
+6-02 files

LLVM/project 12e957fllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.inverse.ballot.i64.ll llvm.amdgcn.inverse.ballot.i32.ll

[AMDGPU][GISel] RegBankLegalize rules for amdgcn_inverse_ballot (#190629)
DeltaFile
+12-7llvm/test/CodeGen/AMDGPU/llvm.amdgcn.inverse.ballot.i64.ll
+5-3llvm/test/CodeGen/AMDGPU/llvm.amdgcn.inverse.ballot.i32.ll
+4-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+21-103 files

LLVM/project 37801e9llvm/include/llvm/MCA Support.h, llvm/lib/MCA Support.cpp

[MCA] Enhance debug prints of processor resources (#190132)

Previously, `computeProcResourceMasks()` would print resource masks on
debug mode from multiple call sites, creating noise in the debug output.
This patch aims to fix this and also print more info about the
resources.

It splits to 2 types of debug prints for resources:

1. No simulation - mask only
2. Simulation - mask + other info

For 2, it shares printing on a single place in `ResourceManager`
constructor, that should cover all the other simulation cases
indirectly:

1. `llvm/lib/MCA/HardwareUnits/ResourceManager` - covered
2. `llvm/lib/MCA/InstrBuilder.c` - should be covered indirectly - only
used by `llvm-mca` before simulation that constructs a `ResourceManager`

    [23 lines not shown]
DeltaFile
+55-0llvm/test/tools/llvm-exegesis/analysis-processor-resource-masks-debug.test
+29-0llvm/test/tools/llvm-mca/processor-resource-masks-debug.s
+29-0llvm/test/tools/llvm-mca/processor-resources-debug.s
+12-9llvm/lib/MCA/Support.cpp
+18-0llvm/lib/MCA/HardwareUnits/ResourceManager.cpp
+5-0llvm/include/llvm/MCA/Support.h
+148-92 files not shown
+156-98 files

LLVM/project 72d4ce9llvm/include/llvm/Transforms/Utils Cloning.h, llvm/lib/Transforms/IPO Inliner.cpp

[Inliner] Put inline history into IR as !inline_history metadata (#190092)

So that it's preserved across all inline invocations rather than just
one inliner pass run.

This prevents cases where devirtualization in the simplification
pipeline uncovers inlining opportunities that should be discarded due to
inline history, but we dropped the inline history between inliner pass
runs, causing code size to blow up, sometimes exponentially.

For compile time reasons, we want to limit this to only call sites that
have the potential to inline through SCCs, potentially with the help of
devirtualization. This means that the callee is in a non-trivial
(Ref)SCC, or the call site was previously an indirect call, which can
potentially be devirtualized to call any function.

The CGSCCUpdater::InlinedInternalEdges logic still seems to be relevant
even with this change, as monster_scc.ll blows up if I remove that code.


    [3 lines not shown]
DeltaFile
+102-0llvm/test/Transforms/Inline/inline-history.ll
+57-28llvm/lib/Transforms/Utils/InlineFunction.cpp
+25-36llvm/lib/Transforms/IPO/Inliner.cpp
+55-0llvm/test/Verifier/inline-history-metadata.ll
+25-26llvm/lib/Transforms/Utils/CloneFunction.cpp
+19-17llvm/include/llvm/Transforms/Utils/Cloning.h
+283-10713 files not shown
+386-21319 files

NetBSD/pkgsrc ACf6mNTgraphics/simage Makefile

   simage: fix build on -current
VersionDeltaFile
1.39+3-1graphics/simage/Makefile
+3-11 files

HardenedBSD/src c5961b6usr.bin/yes/tests yes_test.sh

yes: fix argv test race between fork and exec

The argv test checks ps(1) output immediately after backgrounding yes(1), but
the forked child briefly shows the parent shell's argv before exec(2) replaces it.
This caused intermittent failures where ps(1) captured the atf shell wrapper
command line instead of "yes y".

Approved by:    des
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D56231
DeltaFile
+2-0usr.bin/yes/tests/yes_test.sh
+2-01 files

FreeBSD/src c5961b6usr.bin/yes/tests yes_test.sh

yes: fix argv test race between fork and exec

The argv test checks ps(1) output immediately after backgrounding yes(1), but
the forked child briefly shows the parent shell's argv before exec(2) replaces it.
This caused intermittent failures where ps(1) captured the atf shell wrapper
command line instead of "yes y".

Approved by:    des
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D56231
DeltaFile
+2-0usr.bin/yes/tests/yes_test.sh
+2-01 files

LLVM/project eb065bfllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel extractelement.ll regbankselect-extract-vector-elt.mir

AMDGPU/GlobalISel: RegBankLegalize rules for G_EXTRACT_VECTOR_ELT (#189144)
DeltaFile
+440-640llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
+396-336llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract-vector-elt.mir
+93-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+19-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+4-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
+2-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.h
+954-9776 files

FreeNAS/freenas d219d65src/middlewared/middlewared/api/base/validators options.py filters.py, src/middlewared/middlewared/plugins/datastore read.py

Replace pure-python filter_list

This commit replaces the pure-python implementation of filter_list
with the version provided by the truenas/truenas_pyos repo
(truenas_pyfilter). The overall new workflow for this is:

1. convert the filters / options to their respective objects from
   truenas_pyfilter (compile_filters, compile_options).

2. use the filters / options to either match (if there's single item)
   or tnfilter (if there is more than one).

Output is same so this is mostly a drop-in replacement; however,
in some places in our codebase we keep copies of pre-compiled filters
and options because they do not change. The filter_list util is now
replaced with what is largely a thin wrapper around the extension.

API validation also now wraps around validation provided by the
extension.
DeltaFile
+107-358src/middlewared/middlewared/utils/filter_list.py
+34-59src/middlewared/middlewared/plugins/pool_/dataset_query_utils.py
+13-61src/middlewared/middlewared/api/base/validators/options.py
+3-65src/middlewared/middlewared/api/base/validators/filters.py
+13-8src/middlewared/middlewared/plugins/datastore/read.py
+14-5src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+184-5563 files not shown
+209-5659 files

NetBSD/src tKnpq8Wusr.bin/make arch.c make.h

   make: clean up, mostly redundant parentheses
VersionDeltaFile
1.224+8-8usr.bin/make/arch.c
1.366+7-7usr.bin/make/make.h
1.187+7-7usr.bin/make/for.c
1.1180+6-7usr.bin/make/var.c
1.275+6-7usr.bin/make/make.c
1.379+5-7usr.bin/make/cond.c
+39-435 files not shown
+57-6411 files

FreeBSD/src 63d0e3erelease/packages generate-set-ucl.lua generate-ucl.lua

packages: Fix build with libucl 0.9.3

In libucl 0.9.3, macros and includes are disabled by default when
creating a new UCL parser.  This breaks the package build, which
relies on includes.  Fix this by explicitly passing zero flags
to ucl.parser().

MFC after:      3 days
Fixes:          abda442d92fd ("contrib/libucl:  Import libucl 0.9.3")
Reviewed by:    kevans, bapt
Reported by:    freebsd at walstatt-de.de
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56266
DeltaFile
+1-1release/packages/generate-set-ucl.lua
+1-1release/packages/generate-ucl.lua
+2-22 files

HardenedBSD/src 63d0e3erelease/packages generate-set-ucl.lua generate-ucl.lua

packages: Fix build with libucl 0.9.3

In libucl 0.9.3, macros and includes are disabled by default when
creating a new UCL parser.  This breaks the package build, which
relies on includes.  Fix this by explicitly passing zero flags
to ucl.parser().

MFC after:      3 days
Fixes:          abda442d92fd ("contrib/libucl:  Import libucl 0.9.3")
Reviewed by:    kevans, bapt
Reported by:    freebsd at walstatt-de.de
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56266
DeltaFile
+1-1release/packages/generate-set-ucl.lua
+1-1release/packages/generate-ucl.lua
+2-22 files

LLVM/project 0e8db6bclang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64/neon intrinsics.c

clang-format

Created using spr 1.3.7
DeltaFile
+4-3llvm/lib/CAS/MappedFileRegionArena.cpp
+2-2clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+2-1llvm/lib/CAS/OnDiskGraphDB.cpp
+2-1clang/test/CodeGen/AArch64/neon/intrinsics.c
+10-74 files

OPNSense/core 26b9169src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/forms general.xml, src/opnsense/mvc/app/models/OPNsense/Hostdiscovery Hostwatch.xml

Interfaces: Neighbors: Automatic Discovery - core part for configurable cleanups, closes https://github.com/opnsense/core/issues/9953
DeltaFile
+12-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/forms/general.xml
+6-0src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/Hostwatch.xml
+3-1src/opnsense/service/templates/OPNsense/Hostdiscovery/rc.conf.d
+21-13 files

LLVM/project 3d4e02cllvm/tools/llvm-cas-fuzzer cas-fuzzer.cpp DummyCASFuzzer.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+388-0llvm/tools/llvm-cas-fuzzer/cas-fuzzer.cpp
+14-0llvm/tools/llvm-cas-fuzzer/DummyCASFuzzer.cpp
+10-0llvm/tools/llvm-cas-fuzzer/CMakeLists.txt
+412-03 files

LLVM/project 83d1aeallvm/include/llvm/CAS MappedFileRegionArena.h, llvm/lib/CAS OnDiskTrieRawHashMap.cpp MappedFileRegionArena.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+49-2llvm/lib/CAS/OnDiskTrieRawHashMap.cpp
+22-9llvm/lib/CAS/MappedFileRegionArena.cpp
+22-1llvm/lib/CAS/OnDiskGraphDB.cpp
+6-1llvm/lib/CAS/DatabaseFile.cpp
+1-1llvm/include/llvm/CAS/MappedFileRegionArena.h
+100-145 files

LLVM/project 38c53b3clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64/neon intrinsics.c

[clang][cir][nfc] Fix comments, add missing EOF (#190623)
DeltaFile
+2-2clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+2-1clang/test/CodeGen/AArch64/neon/intrinsics.c
+4-32 files

OpenBSD/ports 6PR7quygeo/qgis/patches patch-src_core_CMakeLists_txt

   geo/qgis: add patch to build against print/pdf4qt instead of the bundled copy

   print/pdf4qt was already added to LIB_DEPENDS/WANTLIB, but that patch
   isnt upstreamed yet..
   should fix a build failure experienced by tb@ and ajacoutot@
VersionDeltaFile
1.28+27-14geo/qgis/patches/patch-src_core_CMakeLists_txt
+27-141 files

FreeBSD/src 7764e9clib/msun/man fmax.3

fmax.3: Add caveat for going beyond C std requirements

libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:             294214
Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230
DeltaFile
+8-5lib/msun/man/fmax.3
+8-51 files

HardenedBSD/src 7764e9clib/msun/man fmax.3

fmax.3: Add caveat for going beyond C std requirements

libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:             294214
Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230
DeltaFile
+8-5lib/msun/man/fmax.3
+8-51 files