HardenedBSD/src ddaa875usr.bin/login motd.template

Merge remote-tracking branch 'rad/patches/465c44b6b392ef58cdce8f22af67b155750267c0' into hardened/current/master
DeltaFile
+2-2usr.bin/login/motd.template
+2-21 files

HardenedBSD/ports 9b34923archivers/unrar Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-5archivers/unrar/Makefile
+0-51 files

HardenedBSD/ports bd91bb9databases/datafusion-cli Makefile.crates distinfo, net-im/deltachat-desktop/files/packagejsons pnpm-lock.yaml

Merge remote-tracking branch 'rad/freebsd/main' into hardenedbsd/main

Conflicts:
        archivers/unrar/Makefile (unresolved)
DeltaFile
+439-427net-im/deltachat-desktop/files/packagejsons/pnpm-lock.yaml
+349-341databases/datafusion-cli/distinfo
+237-231security/voa/distinfo
+202-202net/keycloak/pkg-plist
+174-170databases/datafusion-cli/Makefile.crates
+117-114security/voa/Makefile.crates
+1,518-1,4851,500 files not shown
+5,996-4,7361,506 files

FreeBSD/ports 4a25d73sysutils/rshim-user-space distinfo pkg-plist, sysutils/rshim-user-space/files patch-configure.ac patch-src_rshim__pcie.c

sysutils/rshim-user-space: Update 2.0.9 => 2.8.5

Changelogs (~100 new versions):
https://github.com/Mellanox/rshim-user-space/releases/tag/rshim-2.8.5

Commit log:
https://github.com/Mellanox/rshim-user-space/compare/rshim-2.0.9...rshim-2.8.5

- Switch to prepared by upstream tarball.
- Fix warnings from portclippy.
- Remove unnecessary GNU_CONFIGURE_MANPREFIX - it have deafult value.
- Refresh patch.

PR:             297658
Sponsored by:   UNIS Labs
Co-authored-by: rottlog <rottlogg at proton.me>
DeltaFile
+15-12sysutils/rshim-user-space/Makefile
+15-0sysutils/rshim-user-space/files/patch-src_rshim__pcie.c
+10-1sysutils/rshim-user-space/pkg-plist
+3-3sysutils/rshim-user-space/distinfo
+2-2sysutils/rshim-user-space/files/patch-configure.ac
+45-185 files

LLVM/project 4b88cd2llvm/lib/Target/AMDGPU SIFoldOperands.cpp, llvm/test/CodeGen/AMDGPU packed-u64.ll fold-imm-pk64.mir

[AMDGPU] Optimize SGPR splat reg sequences for packed 64-bit instructions (#217182)

This work optimizes SGPR register sequences for packed 64-bit instructions by eliminating
redundant register copies when a scalar value is splatted across multiple lanes.

The optimization is implemented in SIFoldOperands::tryFoldSGPRSplatRegSequence, which:
1. Detects SGPR register sequences where all elements are identical
2. Verifies all uses are packed 64-bit instructions supporting single
SGPR read
3. Replaces redundant elements with undef to allow copy elimination

This reduces SGPR register pressure and eliminates unnecessary copies in
kernels using packed operations with splat scalars.
DeltaFile
+94-0llvm/test/CodeGen/AMDGPU/fold-sgpr-splat-pk64.mir
+82-0llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+8-14llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+2-5llvm/test/CodeGen/AMDGPU/pk-lshl-add-u64.ll
+1-1llvm/test/CodeGen/AMDGPU/fold-imm-pk64.mir
+0-1llvm/test/CodeGen/AMDGPU/packed-u64.ll
+187-216 files

FreeNAS/freenas 8073896

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

LLVM/project f5e4be4llvm/include/llvm/CodeGen Passes.h, llvm/lib/CodeGen CFIInstrInserter.cpp

Add Legacy suffix go pass creation function.
DeltaFile
+1-1llvm/lib/Target/X86/X86TargetMachine.cpp
+1-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-1llvm/lib/CodeGen/CFIInstrInserter.cpp
+1-1llvm/include/llvm/CodeGen/Passes.h
+4-44 files

FreeNAS/freenas 7c371b7src/middlewared/middlewared/plugins/container migrate.py, src/middlewared/middlewared/plugins/vm vm_lifecycle.py

NAS-142151 / 26.0.0-RC.1 / Resolve migrated USB devices by their vendor and product ids (#19494)

## Problem

A USB passthrough device is named after the port it is plugged into,
which is what 25.10 stored. The 26.0 pre-releases built the same shape
of name out of the bus and device number instead — an enumeration
counter the kernel reissues on every replug — so those stored values
name a port nobody chose.

The incus migration has the same preference the same way round: it
resolves a device by the bus and device number the manifest carries and
only falls back to the vendor and product ids when those are missing. It
picks the counter that gets reused over the identity that survives a
replug, and because it runs exactly once per machine and is never run
again, a wrong row it writes stays wrong. There is no second run, no
manifest retained afterwards, and no repair path.

This matters for a population that has not been hit yet:

    [33 lines not shown]
DeltaFile
+401-0src/middlewared/middlewared/pytest/unit/plugins/container/test_migrate_usb.py
+151-20src/middlewared/middlewared/plugins/container/migrate.py
+57-0src/middlewared/middlewared/pytest/unit/plugins/container/test_migrate_nic_mac.py
+0-40src/middlewared/middlewared/utils/usb.py
+28-4src/middlewared/middlewared/utils/libvirt/nic.py
+5-3src/middlewared/middlewared/plugins/vm/vm_lifecycle.py
+642-671 files not shown
+647-697 files

OpenZFS/src a5d6788cmd/zdb zdb.c, module/zfs spa.c

Allow pool import with corrupted spare/l2arc configs

That information should not be critical for read-only imports, and
imports with zfs_recover.  Let the import proceed by just dropping
those devices and trying to recover it with small space leak.

While there, allow zdb to report errors when dumping those objects.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18937
DeltaFile
+36-16module/zfs/spa.c
+13-2cmd/zdb/zdb.c
+49-182 files

OpenZFS/src ec779f3cmd ztest.c

ztest: remove ztest_mmp_enable_disable()

If the ztest child process is killed while ztest_mmp_enable_disable()
has multihost temporarily enabled, the last-synced uberblock is left
with a nonzero ub_mmp_delay.  Reopening the pool on the next pass
then triggers the MMP activity check, and on a system with no hostid
set spa_open() returns EREMOTEIO instead of the expected ENOENT,
tripping the VERIFY3S() in ztest_run().

Remove the function.  It provides no real additional test coverage:
the mmp thread start and stop paths are already exercised by every
pool import and export, and multihost protection and property
handling are covered by the ZTS mmp test group.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Michael Heller <michael.heller at gmail.com>
Issue #18918
Closes #18935
DeltaFile
+0-52cmd/ztest.c
+0-521 files

OpenZFS/src b6716aacontrib/debian clean rules.in

debian: make native-deb rebuilds idempotent

`override_dh_auto_configure` creates five init symlinks in `debian/`
with plain `ln -s`. On a rebuild those symlinks already exist from the
previous build, so `ln` fails with "ln: Already exists" and the whole
`dpkg-buildpackage` run aborts.

Use `ln -sf` so the symlinks are recreated idempotently, and list them
in `debian/clean` so a clean removes them. This lets `make native-deb`
be re-run without first cleaning the tree.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Axel Gembe <axel at gembe.net>
Closes #18929
DeltaFile
+5-5contrib/debian/rules.in
+5-0contrib/debian/clean
+10-52 files

FreeBSD/ports 9c1d627benchmarks/clpeak Makefile distinfo

benchmarks/clpeak: update to 2.0.19

Changes:        https://github.com/krrishnarraj/clpeak/releases/tag/2.0.19
Reported by:    GitHub (watch releases)

(cherry picked from commit 70b892e4ed2d2c7bb8e6799bbabe6aee7e5c913e)
DeltaFile
+3-3benchmarks/clpeak/distinfo
+1-1benchmarks/clpeak/Makefile
+4-42 files

FreeBSD/ports 761fbe0net/waypipe Makefile distinfo

net/waypipe: update to 0.11.1

Changes:        https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases/v0.11.1
Reported by:    GitLab (notify releases)

(cherry picked from commit c501985d1fc75e294c193175658dbbdfe118e14c)
DeltaFile
+3-3net/waypipe/distinfo
+1-2net/waypipe/Makefile
+4-52 files

FreeBSD/ports 85a2dffmultimedia/ab-av1 Makefile Makefile.crates

multimedia/ab-av1: update to 0.11.6

Changes:        https://github.com/alexheretic/ab-av1/releases/tag/v0.11.6
Reported by:    GitHub (watch releases)

(cherry picked from commit 4273ca81b1865a58c272f3315482b1ff2c35135c)
DeltaFile
+55-55multimedia/ab-av1/distinfo
+26-26multimedia/ab-av1/Makefile.crates
+1-1multimedia/ab-av1/Makefile
+82-823 files

FreeBSD/ports db7eec5graphics/mesa-devel Makefile distinfo

graphics/mesa-devel: update to 26.2.b.1936

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/1f562a1ff4c...c2070149bc9
DeltaFile
+3-3graphics/mesa-devel/distinfo
+2-2graphics/mesa-devel/Makefile
+5-52 files

FreeBSD/ports 70b892ebenchmarks/clpeak Makefile distinfo

benchmarks/clpeak: update to 2.0.19

Changes:        https://github.com/krrishnarraj/clpeak/releases/tag/2.0.19
Reported by:    GitHub (watch releases)
DeltaFile
+3-3benchmarks/clpeak/distinfo
+1-1benchmarks/clpeak/Makefile
+4-42 files

FreeBSD/ports 9897604benchmarks/clpeak Makefile distinfo

benchmarks/clpeak: update to 2.1.1

Changes:        https://github.com/krrishnarraj/clpeak/releases/tag/2.1.0
Changes:        https://github.com/krrishnarraj/clpeak/releases/tag/2.1.1
Reported by:    GitHub (watch releases)
DeltaFile
+3-3benchmarks/clpeak/distinfo
+1-1benchmarks/clpeak/Makefile
+4-42 files

FreeBSD/ports 531ded6x11/way-displays distinfo Makefile, x11/way-displays/files patch-src_yaml_unmarshal.c

x11/way-displays: update to 2.0.0

Changes:        https://github.com/alex-courtis/way-displays/releases/tag/2.0.0
Reported by:    GitHub (watch releases)
DeltaFile
+17-0x11/way-displays/files/patch-src_yaml_unmarshal.c
+4-3x11/way-displays/Makefile
+3-3x11/way-displays/distinfo
+24-63 files

FreeBSD/ports c501985net/waypipe Makefile distinfo

net/waypipe: update to 0.11.1

Changes:        https://gitlab.freedesktop.org/mstoeckl/waypipe/-/releases/v0.11.1
Reported by:    GitLab (notify releases)
DeltaFile
+3-3net/waypipe/distinfo
+1-2net/waypipe/Makefile
+4-52 files

FreeBSD/ports 4273ca8multimedia/ab-av1 Makefile Makefile.crates

multimedia/ab-av1: update to 0.11.6

Changes:        https://github.com/alexheretic/ab-av1/releases/tag/v0.11.6
Reported by:    GitHub (watch releases)
DeltaFile
+55-55multimedia/ab-av1/distinfo
+26-26multimedia/ab-av1/Makefile.crates
+1-1multimedia/ab-av1/Makefile
+82-823 files

LLVM/project bc78463offload/languages/kernel CMakeLists.txt, offload/languages/kernel/include Stream.h LanguageUtils.h

add event cleanup
DeltaFile
+85-0offload/languages/kernel/src/Stream.cpp
+39-21offload/languages/kernel/include/LanguageUtils.h
+14-12offload/languages/kernel/src/LanguageRuntime.cpp
+19-0offload/languages/kernel/include/Stream.h
+6-2offload/languages/kernel/src/State.cpp
+1-0offload/languages/kernel/CMakeLists.txt
+164-356 files

LLVM/project 658978allvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 cmp-with-same-operands.ll

[SLP]Fix unscheduled-deps assertion for cmp with identical operands

Same-operands cmps (icmp sge %x, %x) took the reordered dependency
counting path, which undercounts the second use while scheduling
releases one dep per operand column. Treat them as non-commutative so
each use is checked against its own edge.

Fixes #217408

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/217495
DeltaFile
+20-0llvm/test/Transforms/SLPVectorizer/X86/cmp-with-same-operands.ll
+4-2llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+24-22 files

LLVM/project 7ef5ee3flang-rt/lib/runtime assign.cpp, flang-rt/unittests/Runtime Assign.cpp

Reject CHARACTER types in AssignSimple and add death tests

AssignSimple is only intended for trivial intrinsic types (integer, real,
complex, logical). Add a guard that crashes on CHARACTER type input,
matching the existing derived-type guard.

Add death tests covering all five crash paths in AssignSimple: rank
mismatch, element-bytes mismatch, derived type, character type, and
non-allocatable element count mismatch.

Co-Authored-By: Claude Opus 4 (1M context) <noreply at anthropic.com>
DeltaFile
+72-0flang-rt/unittests/Runtime/Assign.cpp
+3-0flang-rt/lib/runtime/assign.cpp
+75-02 files

NetBSD/src 7W73Pqisys/dev/pci pcidevs.h pcidevs_data.h

   pcidevs: Regen
VersionDeltaFile
1.1523+14,894-14,884sys/dev/pci/pcidevs_data.h
1.1524+9-1sys/dev/pci/pcidevs.h
+14,903-14,8852 files

NetBSD/src SibhqT8sys/dev/pci pcidevs

   pcidevs: Add two devices

    - Fujitsu Technology Solutions: iRMC M5
    - Genesys Logic: GL9755
VersionDeltaFile
1.1545+9-1sys/dev/pci/pcidevs
+9-11 files

Linux/linux a4ff2bedrivers/char/hw_random qcom-rng.c, drivers/crypto qcom-rng.c

Merge tag 'v7.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto update from Herbert Xu:
 "API:
   - Add af_alg_restrict sysctl and white list
   - Fix potential suspend/resume races in hwrng

  Algorithms:
   - Optimize vli additive operations using compiler builtins in ecc

  Drivers:
   - Remove unsafe/deprecated algorithms from qce
   - Mark qce as BROKEN
   - Add runtime PM and interconnect bandwidth scaling support to qce
   - Remove crypto_rng from qcom, sun8i and caam
   - Fix SG list issues in iaa
   - Fix SEV init path bugs in ccp"

* tag 'v7.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (122 commits)

    [21 lines not shown]
DeltaFile
+0-276drivers/crypto/qcom-rng.c
+184-88drivers/crypto/intel/iaa/iaa_crypto_main.c
+0-241drivers/crypto/caam/caamprng.c
+192-4drivers/crypto/ccp/sev-dev.c
+0-177drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c
+170-0drivers/char/hw_random/qcom-rng.c
+546-786130 files not shown
+1,550-2,164136 files

LLVM/project 754283fllvm/include/llvm/CodeGen CFIInstrInserter.h, llvm/lib/CodeGen CFIInstrInserter.cpp

[NewPM] Port CFIInstrInserter to the new pass manager

Adds a newPM pass for CFIInstrInserter (cfi-instr-inserter).

- Extracts the pass's working state (MBBVector, CSRLocMap) and logic
  into a CFIInstrInserterImpl class with a run method, called by both
  the legacy pass and the new pass manager pass.
- Renames the old pass with the "Legacy" suffix.
- Adds the new pass manager pass CFIInstrInserterPass, using
  RequiredPassInfoMixin: the legacy pass's runOnMachineFunction never
  calls skipFunction, so it always runs unconditionally and should not
  be skippable in the new PM either. run() unconditionally returns
  PreservedAnalyses::all(), matching the legacy pass's own
  AU.setPreservesAll() declaration -- the same shape CFIFixupPass (an
  already-ported sibling CFI pass) already uses.
- Updates MachinePassRegistry.def, PassBuilder, and CodeGenPassBuilder.
- Wires the pass into X86's and RISC-V's newPM pipelines, matching
  their existing legacy-PM gating conditions:
  - X86 replaces an existing TODO inside an already-correct

    [13 lines not shown]
DeltaFile
+48-30llvm/lib/CodeGen/CFIInstrInserter.cpp
+25-0llvm/include/llvm/CodeGen/CFIInstrInserter.h
+7-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+2-4llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+4-0llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
+2-0llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+88-3513 files not shown
+108-3819 files

LLVM/project 9afd75fllvm/include/llvm/CodeGen FuncletLayout.h, llvm/lib/CodeGen FuncletLayout.cpp

[NewPM] Port FuncletLayout to the new pass manager (#217490)

Adds a newPM pass for FuncletLayout (funclet-layout).

- Extracts the pass's logic (which has no per-instance state) into a
shared runFuncletLayout free function, called by both the legacy pass
and the new pass manager pass.
- Renames the old pass with the "Legacy" suffix.
- Adds the new pass manager pass FuncletLayoutPass, using
RequiredPassInfoMixin: the legacy pass's runOnMachineFunction never
calls skipFunction, so it always runs unconditionally and should not be
skippable in the new PM either.
- Updates MachinePassRegistry.def, PassBuilder, and CodeGenPassBuilder
-- FuncletLayoutPass was already unconditionally invoked from
CodeGenPassBuilder.h via a DUMMY_MACHINE_FUNCTION_PASS stub, so no
separate enablement change was needed.
- Fixes four pipeline-dump tests (X86, RISC-V x2, Lanai) whose CHECK
lines expected the stub's class-name fallback ("FuncletLayoutPass")
rather than the real pass's registered pipeline name ("funclet-layout").

    [4 lines not shown]
DeltaFile
+31-19llvm/lib/CodeGen/FuncletLayout.cpp
+28-0llvm/include/llvm/CodeGen/FuncletLayout.h
+4-4llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+1-1llvm/test/CodeGen/RISCV/O3-newpm-pipeline.ll
+1-1llvm/test/CodeGen/RISCV/O1-newpm-pipeline.ll
+1-1llvm/test/CodeGen/Lanai/llc-pipeline-npm.ll
+66-266 files not shown
+72-2912 files

Linux/linux a51ec5esecurity lsm_init.c, security/integrity/ima ima_fs.c Kconfig

Merge tag 'integrity-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity

Pull integrity updates from Mimi Zohar:

 - TPM initialization is sometimes delayed until deferred_probe_initcall

   Since ordering is not guaranteed within the same initcall level, IMA
   may initialize before the TPM and fall back to TPM-bypass mode. A new
   config option, CONFIG_IMA_INIT_LATE_SYNC, allows those building the
   kernel to defer IMA initialization to late_initcall_sync, accepting
   the integrity risk of missing early measurements in exchange for
   avoiding TPM-bypass mode.

 - The raw policy rules are now measured, as well as the complete
   policy, closing a gap in integrity measurement coverage

* tag 'integrity-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
  ima: measure userspace policy writes before parsing
  ima: add critical data measurement for loaded policy

    [3 lines not shown]
DeltaFile
+93-2security/integrity/ima/ima_policy.c
+26-0security/integrity/ima/ima_main.c
+11-4security/integrity/ima/ima_init.c
+11-2security/lsm_init.c
+10-0security/integrity/ima/Kconfig
+8-1security/integrity/ima/ima_fs.c
+159-94 files not shown
+170-1010 files

OpenBSD/src CmKGuugsys/dev/pci/drm/amd/amdgpu amdgpu_device.c amdgpu_ttm.c

   Revert "drm/amdgpu: fix aperture mapping leak"

   From Asad Kamal
   a2e326c52c4bcecc033cd3ca2733fdbe30fbf55d in linux-6.18.y/6.18.45
   b96c529cd2551b78316a4afa3237b2ed96ba03c8 in mainline linux
VersionDeltaFile
1.36+25-20sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1.104+2-0sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
+27-202 files