OPNSense/core e5a9444src/opnsense/mvc/app/controllers/OPNsense/Dnsmasq/Api LeasesController.php

Services: Dnsmasq DNS & DHCP: include expire and lease type in leases search fields (#10824)
DeltaFile
+1-1src/opnsense/mvc/app/controllers/OPNsense/Dnsmasq/Api/LeasesController.php
+1-11 files

OPNSense/core c245176src/opnsense/mvc/app/controllers/OPNsense/Kea/Api LeasesController.php, src/opnsense/mvc/app/views/OPNsense/Kea leases6.volt leases4.volt

Services: Kea DHCPv4/6: fix leases sorting (#10823)
DeltaFile
+22-3src/opnsense/mvc/app/controllers/OPNsense/Kea/Api/LeasesController.php
+10-4src/opnsense/mvc/app/views/OPNsense/Kea/leases6.volt
+10-4src/opnsense/mvc/app/views/OPNsense/Kea/leases4.volt
+42-113 files

DragonFlyBSD/src 9f24219lib/libnvmm libnvmm_x86.c

libnvmm(3): Remove unused GVA computation artifacts

On single-memory-operand instructions, we use the GPA provided by
the hardware and discard the GVA. The code that calculates the GVA
is therefore effectively unused. Remove it.

Obtained-from: NVMM Reference Implementation
DeltaFile
+34-140lib/libnvmm/libnvmm_x86.c
+34-1401 files

DragonFlyBSD/src 1275f15test/testcases/libnvmm h_mem_assist.c h_mem_assist_asm.S

testcases/libnvmm: Remove the two RIP-relative addressing tests

This reverts commit dea513a396514e21fa2cb677cd1e42929283d797 where I
added these two commits, which only helped validate the instruction
decoder and thus were not important.  Remove them to keep in sync with
the upstream NVMM Reference Implementation.
DeltaFile
+0-66test/testcases/libnvmm/h_mem_assist_asm.S
+0-6test/testcases/libnvmm/h_mem_assist.c
+0-722 files

DragonFlyBSD/src 48d7dfasys/dev/virtual/nvmm/x86 nvmm_x86_svmfunc.S

nvmm(4): Improve HOST_RESTORE_TR to save an unnecessary movzwq

Reviewed-by: dillon
DeltaFile
+3-5sys/dev/virtual/nvmm/x86/nvmm_x86_svmfunc.S
+3-51 files

DragonFlyBSD/src d605e83lib/libnvmm libnvmm_x86.c, test/testcases/libnvmm h_mem_assist.c h_mem_assist_asm.S

libnvmm(3): Fix sign-extension on RCX and RDI/RSI

* Fix sign-extension on RCX when using the REP prefix.
* Fix sign-extension on RDI/RSI when emulating MOVS.

Obtained-from: NVMM Reference Implementation
DeltaFile
+43-13lib/libnvmm/libnvmm_x86.c
+42-0test/testcases/libnvmm/h_mem_assist_asm.S
+4-0test/testcases/libnvmm/h_mem_assist.c
+89-133 files

DragonFlyBSD/src 6a728b6sys/dev/virtual/nvmm/x86 nvmm_x86_svm.c nvmm_x86_vmx.c

nvmm(4): Rename 'ncpus' in *_inkernel_handle_cpuid() to fix -Wshadow
DeltaFile
+9-9sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
+5-5sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
+14-142 files

DragonFlyBSD/src f677fealib/libnvmm libnvmm_x86.c

libnvmm(3): Fix EXEC_INSTR()

- op2 is overwritten, so it needs "+r".
- RFLAGS is modified, so it needs "cc".
- PUSHFQ touches memory, so it needs "memory".
- The MOV is not needed, so remove it.

Obtained-from: NVMM Reference Implementation
DeltaFile
+5-6lib/libnvmm/libnvmm_x86.c
+5-61 files

DragonFlyBSD/src b190f66lib/libnvmm libnvmm_x86.c

libnvmm(3): Truncate segment bases when running in non-64bit mode

Obtained-from: NVMM Reference Implementation
DeltaFile
+25-22lib/libnvmm/libnvmm_x86.c
+25-221 files

DragonFlyBSD/src 7a50a5blib/libnvmm libnvmm_x86.c, test/testcases/libnvmm h_mem_assist_asm.S h_mem_assist.c

libnvmm(3): Fix segment limits calc and support expand-down segments

The SVM/VMX hardware already calculates the segment limits in bytes
taking the G bit into account, so fix the emulator not to miscompute
the limits, and add a unit-test to ensure correctness.

Support expand-down segments and extend the 32bit segment limit
unit-test to ensure correctness.

Obtained-from: NVMM Reference Implementation
DeltaFile
+246-0test/testcases/libnvmm/h_mem_assist.c
+18-9lib/libnvmm/libnvmm_x86.c
+19-0test/testcases/libnvmm/h_mem_assist_asm.S
+283-93 files

DragonFlyBSD/src b01f5c0lib/libnvmm libnvmm_x86.c

libnvmm(3): Use volatile when accessing guest memory

To preserve implicit atomicity.

Obtained-from: NVMM Reference Implementation
DeltaFile
+50-2lib/libnvmm/libnvmm_x86.c
+50-21 files

DragonFlyBSD/src e801c63lib/libnvmm libnvmm_x86.c, test/testcases/libnvmm h_io_assist.c h_mem_assist_asm.S

libnvmm(3): Fix zero-extension on RDI/RSI

* Fix zero-extension on RDI/RSI when emulating INS/OUTS.
* Fix zero-extension on RDI/RSI when emulating LODS/STOS.

Obtained-from: NVMM Reference Implementation
DeltaFile
+18-21lib/libnvmm/libnvmm_x86.c
+21-0test/testcases/libnvmm/h_io_assist_asm.S
+9-2test/testcases/libnvmm/h_mem_assist_asm.S
+3-0test/testcases/libnvmm/h_io_assist.c
+51-234 files

DragonFlyBSD/src d67308dlib/libnvmm libnvmm_x86.c, test/testcases/libnvmm h_mem_assist.c

libnvmm(3): Allow partial fetches of instructions

An instruction may end at the boundary of a page followed by an
unmapped page. In that case, fetching the full 15-byte maximum
instruction length should not cause the assist to fail.

Allow partial instruction fetches to succeed, and add a unit-test
for that.

Obtained-from: NVMM Reference Implementation
DeltaFile
+39-41lib/libnvmm/libnvmm_x86.c
+50-0test/testcases/libnvmm/h_mem_assist.c
+89-412 files

DragonFlyBSD/src 7ae9bfclib/libnvmm libnvmm_x86.c

libnvmm(3): Remove unneeded segment checks on CS

If the CS attributes did not allow the instruction to execute,
then the guest would have received an internal #GP and we wouldn't
have received an IO/MMIO VMEXIT. So no need to validate the CS
attributes.

Obtained-from: NVMM Reference Implementation
DeltaFile
+15-11lib/libnvmm/libnvmm_x86.c
+15-111 files

DragonFlyBSD/src 1196bd5lib/libnvmm libnvmm_x86.c

libnvmm(3): Fix the emulation of PAE 2MB large pages

The definitions of the PAE frame masks were incorrect: in PAE the
PTEs are 64bit-wide, not 32bit-wide. Fix this.

Obtained-from: NVMM Reference Implementation
DeltaFile
+2-6lib/libnvmm/libnvmm_x86.c
+2-61 files

DragonFlyBSD/src 42aaacalib/libnvmm nvmm.h, sys/dev/virtual/nvmm/x86 nvmm_x86_svmfunc.S

nvmm: Minor cleanups
DeltaFile
+1-2sys/dev/virtual/nvmm/x86/nvmm_x86_svmfunc.S
+0-2lib/libnvmm/nvmm.h
+0-1test/testcases/libnvmm/h_os.h
+1-53 files

DragonFlyBSD/src eab5bd0doc TODO.nvmm, lib/libnvmm libnvmm.c libnvmm_x86.c

libnvmm(3): Sync misc changes

- Replace EPROGMISMATCH by the standard ENOSYS.
- Remove finished TODO items; and move the remaining TODO items to the
  code.

Obtained-from: NVMM Reference Implementation
DeltaFile
+0-13doc/TODO.nvmm
+12-1lib/libnvmm/libnvmm_x86.c
+6-2lib/libnvmm/libnvmm.c
+18-163 files

LLVM/project 01d70edmlir/lib/Dialect/Shard/IR ShardOps.cpp, mlir/test/Dialect/Shard invalid.mlir

[mlir][shard] Bounds-check the axis attributes in the collective verifiers (#219691)

Fixes #218212.
DeltaFile
+77-0mlir/test/Dialect/Shard/invalid.mlir
+26-8mlir/lib/Dialect/Shard/IR/ShardOps.cpp
+103-82 files

LLVM/project 54b3031lld/ELF/Arch RISCV.cpp, lld/test/ELF riscv-reloc-set32.s

[lld][riscv] Remove integer check for R_RISCV_SET32 (#219143)

If linker relaxation is enabled, the assembler might emit a
R_RISCV_SET[n]/R_RISCV_SUB[n] relocation pair for symbolic differences in
case of debug info relaxation (i.e. when relaxing DWARF CFA).

During relocation, the linker checks if the value for the R_RISCV_SET32
relocation fits a 32-bit signed integer (and a range error is issued if
it does not). If the symbol's absolute address is high enough (e.g. the
text section starts from 0x80000000), this results in a linker error.

R_RISCV_SET32 is also an absolute relocation type, so this check should
be removed.
DeltaFile
+25-0lld/test/ELF/riscv-reloc-set32.s
+2-0lld/ELF/Arch/RISCV.cpp
+27-02 files

LLVM/project 3828042lldb/include/lldb/Core SourceManager.h, lldb/source/Core SourceManager.cpp

[lldb] Guard SourceManager::File's line offsets with a mutex (#219424)

A SourceManager::File is shared by every Target and Process because
Debugger and Process hand out cached instances (see SourceFileCache).

m_offsets is the one member that is computed after the File was
created. CalculateLineOffsets() indexes the file on the first access.
Two threads that read the same source file at the same time therefore
race in the current implementation.

This patch guards m_offsets with a `Guarded` which avoids any potential
races. The shared mutex allows concurrent accesses once the line
offsets were calculated.

assisted-by: claude
DeltaFile
+25-12lldb/source/Core/SourceManager.cpp
+8-1lldb/include/lldb/Core/SourceManager.h
+33-132 files

FreeBSD/ports a2ba42cwww/adjuster Makefile distinfo

www/adjuster: Update 3.248 => 3.249

This release adds support for the new HTTP QUERY method to Web Adjuster,
as well as several updates to Annotator Generator's Android code generation.

Commit log:
https://github.com/ssb22/adjuster/compare/v3.248...v3.249

PR:             298094
Reported by:    Silas S. Brown <ssb22 at cam.ac.uk> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3www/adjuster/distinfo
+1-1www/adjuster/Makefile
+4-42 files

FreeBSD/src b5ecbcdusr.bin/vmstat vmstat.c

vmstat: Drop vm_cnt compat hack

Prior to FreeBSD 11, vm_cnt was named cnt.  When it was renamed, vmstat
was modified to fall back to the old name if the new name was not found.
It's time we dropped this.

Reviewed by:    kib, jhb, emaste
Differential Revision:  https://reviews.freebsd.org/D59255
DeltaFile
+0-11usr.bin/vmstat/vmstat.c
+0-111 files

LLVM/project 79ae77fclang/docs LanguageExtensions.md

[ConstantTime][Clang] Restore __builtin_ct_select docs, ported to Markdown

The LanguageExtensions section was dropped when the branch was rebased
over the docs Markdown migration; re-add it in MyST form.
DeltaFile
+42-0clang/docs/LanguageExtensions.md
+42-01 files

LLVM/project 64cf183llvm/include/llvm/CodeGen TargetLowering.h, llvm/lib/CodeGen/SelectionDAG LegalizeIntegerTypes.cpp

[ConstantTime] Changed CTSELECT instances to CT_SELECT
DeltaFile
+3-4llvm/include/llvm/CodeGen/TargetLowering.h
+0-2llvm/lib/Target/X86/X86ISelLowering.h
+0-2llvm/lib/Target/ARM/ARMISelLowering.h
+0-2llvm/lib/Target/AArch64/AArch64ISelLowering.h
+0-1llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+3-115 files

LLVM/project a1683b7clang/include/clang/Basic Builtins.td, clang/lib/CodeGen CGBuiltin.cpp

[ConstantTime][Clang] Add __builtin_ct_select for constant-time selection
DeltaFile
+683-0clang/test/Sema/builtin-ct-select.c
+373-0clang/test/Sema/builtin-ct-select-edge-cases.c
+83-0clang/lib/Sema/SemaChecking.cpp
+13-0clang/lib/CodeGen/CGBuiltin.cpp
+8-0clang/include/clang/Basic/Builtins.td
+1,160-05 files

LLVM/project 82cc4bcclang/lib/Sema SemaChecking.cpp, clang/test/CodeGen builtin-ct-select.c

[ConstantTime][Clang] Split __builtin_ct_select tests; expand coverage; misc fixes

- Move codegen test to clang/test/CodeGen/, regen with update_cc_test_checks
- Add ext_vector_type, half/bfloat, and array/function-decay coverage
- New clang/test/Sema/builtin-ct-select.c: -verify diagnostic tests for
  too-few/too-many args, non-integer cond, non-scalar/mismatched operands
- Sema: drop else-after-return in arg-count check
DeltaFile
+1,938-0clang/test/CodeGen/builtin-ct-select.c
+25-671clang/test/Sema/builtin-ct-select.c
+5-8clang/lib/Sema/SemaChecking.cpp
+1,968-6793 files

LLVM/project 01ce6f3llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[LangRef][ConstantTime] Add documentation for llvm.ct.select.* constant-time intrinsics (#181042)

This PR introduces and documents the llvm.ct.select.* constant-time
intrinsics, providing timing-independent selection operations for
security-sensitive code. The LangRef is updated with syntax, semantics,
supported types, and usage guidance.

Additionally, test coverage is extended with a new <8 x float> variant
(llvm.ct.select.v8f32) and corresponding X86 codegen tests to ensure
correct lowering on both x64 and x32 targets.
DeltaFile
+0-103llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+0-1031 files

FreeBSD/src cdfc673lib/libkvm kvm_proc.c kvm_pcpu.c, lib/libmemstat memstat_malloc.c

various: Fix nlist invocations

Fix nlist(3) consumers that either expected our toolchain to prepend an
underscore to symbol names or expected nlist(3) to ignore the mismatch,
as it did until we overhauled it back in May.

While here, also fix cases where the last element in the list had an
empty string instead of NULL as sentinel.

MFC after:      3 days
Fixes:          4617a6cb82a6 ("nlist: Handle multiple symbol tables")
Reviewed by:    kib, jhb
Differential Revision:  https://reviews.freebsd.org/D59254
DeltaFile
+48-48usr.bin/netstat/nlist_symbols
+11-11usr.bin/vmstat/vmstat.c
+8-8lib/libkvm/kvm_proc.c
+8-8lib/libkvm/kvm_pcpu.c
+6-6sbin/ddb/ddb_capture.c
+6-6lib/libmemstat/memstat_malloc.c
+87-8711 files not shown
+118-11817 files

LLVM/project a64b1a7llvm/include/llvm/CodeGen SelectionDAGNodes.h TargetLowering.h, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[LLVM][CodeGen]  Improve CTSELECT fallback lowering and target support modeling (#179395)

This pull request refactors and improves the **fallback handling** of
constant-time select (CTSELECT) in LLVM’s code generation
infrastructure. The changes clarify semantics, simplify
target-capability checks, and improve the correctness and
maintainability of fallback lowering, without changing the intended
constant-time guarantees.

- **CTSELECT semantics**
- Clarified documentation for the `CTSELECT` node to explicitly describe
its operands and its role as the lowering target for the constant-time
select intrinsic.

- **TargetLowering cleanup**
  - Removed CTSELECT-specific entries from `SelectSupportKind`.
- Introduced a dedicated `isCtSelectSupported(EVT)` hook to cleanly
separate ISA select support from constant-time guarantees.
  - Updated intrinsic lowering to use this new capability check.

    [21 lines not shown]
DeltaFile
+4-7llvm/include/llvm/CodeGen/TargetLowering.h
+1-2llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+0-2llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+2-0llvm/lib/Target/X86/X86ISelLowering.h
+2-0llvm/lib/Target/ARM/ARMISelLowering.h
+2-0llvm/lib/Target/AArch64/AArch64ISelLowering.h
+11-116 files

LLVM/project b4e0d46llvm/include/llvm/CodeGen SelectionDAGNodes.h TargetLowering.h, llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp DAGCombiner.cpp

[ConstantTime][LLVM] Add llvm.ct.select intrinsic with generic SelectionDAG lowering
DeltaFile
+105-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+11-7llvm/include/llvm/CodeGen/TargetLowering.h
+3-0llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+1-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+120-74 files