FreeNAS/freenas 3f1f625 — src/middlewared/middlewared role.py, tests/unit test_role_manager.py

NAS-144913 / 28.0.0-BETA.1 / Make SYSTEM_PRODUCT_WRITE include SYSTEM_PRODUCT_READ instead of itself

The SYSTEM_PRODUCT_WRITE role listed itself in its includes. roles_for_role()
recurses through includes with no cycle guard, so composing any privilege that
granted this role raised RecursionError and members of that group could no
longer log in.

Add a unit test that every role include names a different existing role and
that roles_for_role() resolves for every role.
DeltaFile
+10-0tests/unit/test_role_manager.py
+1-1src/middlewared/middlewared/role.py
+11-12 files

LLVM/project 93aede0 — mlir/include/mlir/Dialect/XeGPU/Utils XeGPUUtils.h, mlir/lib/Dialect/XeGPU/Utils XeGPUUtils.cpp

[MLIR][XeGPU] Use all ones as the neutral value of an AND reduction (#232828)

createReductionNeutralValue returns 1 for an AND reduction. The neutral
value of AND is all ones. With 1, the reduction keeps only bit 0 of the
result.

The WG-to-SG distribution of vector.multi_reduction starts its local
reductions and the final cross-subgroup reduction from this value. The
peephole split of a 2-D reduction does the same. So an `<and>` reduction
on an integer type wider than i1 gives a wrong result. For i1, 1 is
already all ones.

Return all ones for integer and index types.

---------

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+51-0mlir/test/Dialect/XeGPU/xegpu-wg-to-sg.mlir
+6-5mlir/include/mlir/Dialect/XeGPU/Utils/XeGPUUtils.h
+8-1mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+65-63 files

LLVM/project 93b1349 — clang/lib/CIR/CodeGen CIRGenItaniumCXXABI.cpp, clang/test/CIR/CodeGenHIP thunk-addrspace.hip

[CIR] Keep the address space in thunk this and return adjustments (#234183)

Thunks cast this to a plain i8 pointer, which broke on spirv64-amd where
this lives in address space 4
DeltaFile
+23-0clang/test/CIR/CodeGenHIP/thunk-addrspace.hip
+6-4clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+29-42 files

OPNSense/plugins f6294e1 — www/caddy Makefile pkg-descr, www/caddy/src/opnsense/mvc/app/controllers/OPNsense/Caddy/forms general.xml

www/caddy: Add strict_sni_host to general settings (#5839)
DeltaFile
+6-0www/caddy/src/opnsense/mvc/app/controllers/OPNsense/Caddy/forms/general.xml
+4-0www/caddy/pkg-descr
+1-2www/caddy/Makefile
+3-0www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Config/Caddyfile
+1-0www/caddy/src/opnsense/mvc/app/models/OPNsense/Caddy/Caddy.xml
+15-25 files

LLVM/project 0f17edb — llvm/cmake/modules TableGen.cmake, llvm/include/llvm/IR CMakeLists.txt

[CMake][NFC] Add llvm_tablegen and use it instead of tablegen(LLVM ...)

Other subprojects invoke their TableGen through a project-specific wrapper
(clang_tablegen, mlir_tablegen, lldb_tablegen). Add llvm_tablegen for
llvm-tblgen and replace every tablegen(LLVM ...) call with it.

The llvm-tblgen-specific logic in tablegen() moves into llvm_tablegen: the
DAGISel/GlobalISel coverage and -omit-comments flags, and the extra outputs
of -gen-register-info, which tablegen() now accepts generically through a
new EXTRA_OUTPUTS argument.
DeltaFile
+31-23llvm/cmake/modules/TableGen.cmake
+25-25llvm/lib/Target/AMDGPU/CMakeLists.txt
+23-23llvm/lib/Target/AArch64/CMakeLists.txt
+23-23llvm/include/llvm/IR/CMakeLists.txt
+21-21llvm/lib/Target/X86/CMakeLists.txt
+21-21llvm/lib/Target/RISCV/CMakeLists.txt
+144-13690 files not shown
+471-46396 files

LLVM/project 7b13fff — clang/lib/StaticAnalyzer/Checkers/WebKit RefCntblBaseVirtualDtorChecker.cpp, clang/test/Analysis/Checkers/WebKit ref-cntbl-base-virtual-dtor-deep-types.cpp

[clang][webkit][NFC] Avoid stringifying non-WTF base types when we can (#235713)

Fixes #235705
DeltaFile
+7-0clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-deep-types.cpp
+2-2clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
+9-22 files

FreeBSD/src 509d65f — sys/riscv/riscv locore.S

riscv: Map the DTB when it is outside the kernel's 1GB region

When the kernel is started directly by SBI firmware, locore.S maps only
the 1GB region that contains the kernel, and initriscv() reads the DTB
through that mapping at the physical address passed in a1.  If the
firmware put the DTB in another 1GB region, as QEMU does with more than
1GB of RAM, fake_preload_metadata() faults before the console is up and
the kernel hangs.

Also map the 1GB region that contains the DTB.

This fixes direct kernel booting without FreeBSD loader(8).

PR:             299088
Reviewed by:    mhorne
Fixes:          bfb857546984 ("riscv: Construct an identity map in locore.S")
MFC after:      1 week
Signed-off-by:  Rick Richard <rick at sloservers.com>
DeltaFile
+15-3sys/riscv/riscv/locore.S
+15-31 files

FreeBSD/ports 51ea299 — www/py-grimoirelab Makefile distinfo

www/py-grimoirelab: update 1.22.0 -> 1.22.1
DeltaFile
+3-3www/py-grimoirelab/distinfo
+1-1www/py-grimoirelab/Makefile
+4-42 files

FreeBSD/ports 8eb3899 — textproc/py-kidash Makefile distinfo

textproc/py-kidash: update 1.1.10 -> 1.1.11
DeltaFile
+3-3textproc/py-kidash/distinfo
+1-1textproc/py-kidash/Makefile
+4-42 files

FreeBSD/ports 502856c — textproc/py-grimoire-elk Makefile distinfo

textproc/py-grimoire-elk: update 1.8.2 -> 1.8.3
DeltaFile
+3-3textproc/py-grimoire-elk/distinfo
+1-1textproc/py-grimoire-elk/Makefile
+4-42 files

FreeBSD/ports 826db27 — devel/py-sortinghat Makefile distinfo

devel/py-sortinghat: update 1.15.1 -> 1.15.2
DeltaFile
+3-3devel/py-sortinghat/distinfo
+1-1devel/py-sortinghat/Makefile
+4-42 files

FreeBSD/ports 310cacf — devel/py-sirmordred Makefile distinfo

devel/py-sirmordred: update 1.2.12 -> 1.2.13
DeltaFile
+3-3devel/py-sirmordred/distinfo
+1-1devel/py-sirmordred/Makefile
+4-42 files

FreeBSD/ports 115fcca — devel/py-perceval-weblate Makefile distinfo

devel/py-perceval-weblate: update 1.1.10 -> 1.1.11
DeltaFile
+3-3devel/py-perceval-weblate/distinfo
+1-1devel/py-perceval-weblate/Makefile
+4-42 files

FreeBSD/ports 73b862b — devel/py-perceval-puppet Makefile distinfo

devel/py-perceval-puppet: update 1.1.10 -> 1.1.11
DeltaFile
+3-3devel/py-perceval-puppet/distinfo
+1-1devel/py-perceval-puppet/Makefile
+4-42 files

FreeBSD/ports d890286 — devel/py-perceval-opnfv Makefile distinfo

devel/py-perceval-opnfv: update 1.1.10 -> 1.1.11
DeltaFile
+3-3devel/py-perceval-opnfv/distinfo
+1-1devel/py-perceval-opnfv/Makefile
+4-42 files

FreeBSD/ports cf69d75 — devel/py-perceval-mozilla Makefile distinfo

devel/py-perceval-mozilla: update 1.2.10 -> 1.2.11
DeltaFile
+3-3devel/py-perceval-mozilla/distinfo
+1-1devel/py-perceval-mozilla/Makefile
+4-42 files

FreeBSD/ports 22a5233 — devel/py-lizard Makefile distinfo

devel/py-lizard: update 1.24.0 -> 1.24.3
DeltaFile
+3-3devel/py-lizard/distinfo
+1-1devel/py-lizard/Makefile
+4-42 files

FreeBSD/ports f54500f — devel/py-perceval Makefile distinfo

devel/py-perceval: update 1.6.0 -> 1.6.1
DeltaFile
+3-3devel/py-perceval/distinfo
+1-1devel/py-perceval/Makefile
+4-42 files

FreeBSD/ports c74628b — devel/py-graal Makefile distinfo

devel/py-graal: update 1.2.10 -> 1.2.12
DeltaFile
+3-3devel/py-graal/distinfo
+1-1devel/py-graal/Makefile
+4-42 files

FreeBSD/ports 964de44 — devel/py-grimoirelab-toolkit Makefile distinfo

devel/py-grimoirelab-toolkit: update 1.2.8 -> 1.2.9
DeltaFile
+3-3devel/py-grimoirelab-toolkit/distinfo
+1-1devel/py-grimoirelab-toolkit/Makefile
+4-42 files

FreeBSD/ports 72adfea — devel/py-cereslib Makefile distinfo

devel/py-cereslib: update 1.1.10 -> 1.1.11
DeltaFile
+3-3devel/py-cereslib/distinfo
+1-1devel/py-cereslib/Makefile
+4-42 files

OPNSense/core 16009f2 — src/etc/inc/plugins.inc.d unbound.inc, src/opnsense/mvc/app/controllers/OPNsense/Unbound/forms general.xml

unbound: add daemon supervisor support
DeltaFile
+10-0src/opnsense/service/templates/OPNsense/Unbound/core/rc.conf.d
+6-0src/opnsense/mvc/app/controllers/OPNsense/Unbound/forms/general.xml
+5-0src/etc/inc/plugins.inc.d/unbound.inc
+1-1src/opnsense/scripts/unbound/start.sh
+1-0src/opnsense/service/templates/OPNsense/Unbound/core/+TARGETS
+1-0src/opnsense/mvc/app/models/OPNsense/Unbound/Unbound.xml
+24-11 files not shown
+25-17 files

LLVM/project dd82beb — lld/ELF SyntheticSections.cpp EhFrame.cpp, lld/test/ELF riscv-eh-frame-hdr-zero-range.s loongarch-eh-frame-hdr-zero-range.s

Reland "[ELF] Omit zero-range FDEs from .eh_frame_hdr" (#235793)

A zero-sized function (e.g. only `__builtin_unreachable()` in the body
when not using -trap-unreachable) shares its address with the next
function, and its zero-range FDE can win the uniquify step, leaving the
next real function impossible to unwind.

Fix #218124 by dropping FDEs with a zero PC range from the search table.

With linker relaxation (RISC-V, LoongArch), pc_range is zero in the
object file and computed by an ADD32/SUB32 relocation pair. Treat
pc_range as zero only if the pair resolves to the same address.
DeltaFile
+26-0lld/ELF/EhFrame.cpp
+11-1lld/ELF/SyntheticSections.cpp
+3-3lld/test/ELF/eh-frame-hdr-zero-range.s
+3-3lld/test/ELF/eh-frame-fde-encoding.s
+2-2lld/test/ELF/riscv-eh-frame-hdr-zero-range.s
+2-2lld/test/ELF/loongarch-eh-frame-hdr-zero-range.s
+47-113 files not shown
+52-129 files

OPNSense/core bf70760 — src/etc/inc/plugins.inc.d hostwatch.inc, src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/forms general.xml

hostwatch: add daemon supervisor support
DeltaFile
+7-2src/etc/inc/plugins.inc.d/hostwatch.inc
+6-0src/opnsense/service/templates/OPNsense/Hostdiscovery/rc.conf.d
+6-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/forms/general.xml
+1-0src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/Hostwatch.xml
+20-24 files

LLVM/project a4b32a4 — llvm/test/tools/llubi intr_masked_load_index_width.ll intr_masked_load.ll, llvm/tools/llubi/lib Context.h Interpreter.cpp

[llubi] Add support for llvm.masked.load (#234772)

Enabled lanes are loaded from memory, masked-off lanes are taken from
the passthru operand and are not accessed. Misaligned pointers are
poison due to the align attribute. Poison mask lanes are treated as UB,
as for the experimental vector histogram intrinsics.

Only element types that are a whole number of bytes are supported for
now.

PR: https://github.com/llvm/llvm-project/pull/234772
DeltaFile
+73-0llvm/test/tools/llubi/intr_masked_load_ub.ll
+49-0llvm/test/tools/llubi/intr_masked_load.ll
+42-0llvm/tools/llubi/lib/Interpreter.cpp
+18-0llvm/test/tools/llubi/intr_masked_load_index_width.ll
+3-3llvm/tools/llubi/lib/Context.h
+185-35 files

OPNSense/core 7422544 — src/etc/inc/plugins.inc.d dnsmasq.inc, src/opnsense/mvc/app/controllers/OPNsense/Dnsmasq/forms general.xml

dnsmasq: add daemon supervisor support
DeltaFile
+6-0src/opnsense/service/templates/OPNsense/Dnsmasq/rc.conf.d
+6-0src/opnsense/mvc/app/controllers/OPNsense/Dnsmasq/forms/general.xml
+3-0src/etc/inc/plugins.inc.d/dnsmasq.inc
+1-0src/opnsense/mvc/app/models/OPNsense/Dnsmasq/Dnsmasq.xml
+16-04 files

OPNSense/core d503d1b — src/etc/inc/plugins.inc.d suricata.inc, src/opnsense/mvc/app/controllers/OPNsense/IDS/forms generalSettings.xml

suricata: add daemon supervisor support
DeltaFile
+8-0src/opnsense/service/templates/OPNsense/IDS/rc.conf.d
+5-1src/etc/inc/plugins.inc.d/suricata.inc
+6-0src/opnsense/mvc/app/controllers/OPNsense/IDS/forms/generalSettings.xml
+1-0src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml
+20-14 files

OPNSense/core 26dc24f — . plist, src/opnsense/scripts/service supervisor.subr.sh

service: add reusable daemon(8) supervisor

Critical services can occasionally disappear after an OOM kill, crash or unexpected signal. This is especially disruptive when Suricata runs in divert-to mode: if it no longer consumes and reinjects packets, most traffic can stop until the service is restarted manually. Other vital system services have similar, albeit rare, failure modes.

Use daemon(8) as a small, reusable safety harness for supported services. A shared rc.subr helper starts a foreground service below daemon(8), tracks the supervisor and child independently, forwards stop and reload operations, and removes stale service PID files before restart attempts. Bounded retries with a delay prevent a permanently failing service from looping without limit.

This is intentionally a narrow initial implementation. Its boundary is a single service process that can run in the foreground and be dispatched by daemon(8). Services with their own process dispatcher, multiple independent children, or a custom lifecycle need additional integration before they can use it safely.
DeltaFile
+154-0src/opnsense/scripts/service/supervisor.subr.sh
+1-0plist
+155-02 files

OPNSense/core 3330bee — src/opnsense/mvc/app/controllers/OPNsense/Core/Api ServiceController.php, src/opnsense/mvc/app/views/OPNsense/Core service.volt

service: expose supervised status

Pass the supervised service marker through the service API and show a shield in both Diagnostics: Services and the dashboard Services widget.
DeltaFile
+8-2src/opnsense/mvc/app/views/OPNsense/Core/service.volt
+6-0src/opnsense/www/js/widgets/Services.js
+1-0src/opnsense/www/js/widgets/Metadata/Core.xml
+1-0src/opnsense/mvc/app/controllers/OPNsense/Core/Api/ServiceController.php
+16-24 files

OPNSense/core abfa9f0 — src/etc/inc/plugins.inc.d openssh.inc

system: migrate experimental ML-DSA OpenSSH host keys (#11093)
DeltaFile
+13-1src/etc/inc/plugins.inc.d/openssh.inc
+13-11 files