HardenedBSD/src b094b48sys/kern uipc_shm.c

HBSD: Make sure the kinfo_file struct always gets zeroed

Similar to FreeBSD commit 25cc459286a02b646751541ccde5a33319471c73,
apply a memset in one of the core functions used to fill the structure.
This ensures that all kinfo_file structure allocations are zeroed (at
least, at the point of calling shm_fill_kinfo_locked).

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
MFC-to:         15-STABLE
DeltaFile
+2-0sys/kern/uipc_shm.c
+2-01 files

FreeBSD/src 041e9ebsys/netinet in_pcb.h

inpcb: overhaul in_pcb.h

Pull up all user-visible stuff to the top of the file and isolate the
rest under _KERNEL.  The user visible parts are:
- struct in_conninfo
- struct xinpcb
- defines for inp_flags bits, that are shared between xinpcb and inpcb

PR:     293493
DeltaFile
+231-246sys/netinet/in_pcb.h
+231-2461 files

FreeBSD/src 0f1aa45sys/net debugnet_inet.c

debugnet: don't include udp_var.h

The module constructs UDP packets, but doesn't use the UDP stack.
DeltaFile
+0-1sys/net/debugnet_inet.c
+0-11 files

LLVM/project 82877a6llvm/lib/Transforms/IPO LowerTypeTests.cpp, llvm/test/Transforms/LowerTypeTests drop_type_test_select.ll

[LLVM] Fix assertion when dropping type tests with SelectInst users (#185523)

The `dropTypeTests` function assumes that after removing `llvm.assume`
users of `llvm.type.test` calls, any remaining users must be PHINodes
(from merged assumes). However, SimplifyCFG can also merge two
`assume(type.test(...))` sequences into `assume(select(cond,
type.test_1, type.test_2))`, leaving SelectInst users that trigger the
assertion.

Extend the assertion to also accept SelectInst. The
`replaceAllUsesWith(true)` call already handles all user types
correctly — only the assertion was too narrow.
DeltaFile
+19-0llvm/test/Transforms/LowerTypeTests/drop_type_test_select.ll
+3-3llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+22-32 files

pfSense/pfsense abe85e6src/usr/local/www services_dhcpv6.php

Validate DHCPv6 Delegation Parameters. Fixes #16744
DeltaFile
+13-3src/usr/local/www/services_dhcpv6.php
+13-31 files

pfSense/pfsense 54b03casrc/etc/inc service-utils.inc util.inc

Validate PID file before use. Fixes #16743

Also ensure Captive Portal zone and OpenVPN service ID are valid before stopping services
DeltaFile
+7-5src/etc/inc/service-utils.inc
+4-1src/etc/inc/util.inc
+11-62 files

pfSense/pfsense aaf7b57src/usr/local/www system_usermanager.php

Respect cert checkbox when creating a user. Fixes #16721

Also fixes a case where the form was not displaying properly when there were input errors. This likely needs more testing to confirm each action case is being handled properly with and without input errors in the submission.
DeltaFile
+7-7src/usr/local/www/system_usermanager.php
+7-71 files

LLVM/project 9c182f7clang-tools-extra/clang-tidy/readability ElseAfterReturnCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Extend readability-else-after-return to remove else after calls to [[noreturn]] functions (#185202)

Closes #184930.
DeltaFile
+25-0clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return.cpp
+9-6clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
+3-0clang-tools-extra/docs/ReleaseNotes.rst
+37-63 files

LLVM/project c27fbb5clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers string vector, clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std string vector

[clang-tidy][NFC] Move std system headers to separate dir in tests (#185533)

We want only "std" headers included by default - move them to another
directory and include only it by default.
This avoids header pollution that comes from whole `Input/Headers` dir
DeltaFile
+214-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/string
+0-214clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
+91-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/vector
+0-91clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/vector
+0-70clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/utility
+70-0clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std/utility
+375-37537 files not shown
+766-76443 files

FreeBSD/src ac5ff28sys/dev/sound/pcm feeder_volume.c

sound: enforce MASTER volume mute during playback

MASTER mute (vol.mute) works while audio is playing. However, if a
stream is stopped and restarted (PCMTRIG_STOP -> PCMTRIG_START), the
audio will resume even though the mixer shows the MASTER volume as
muted. Other streams that are already playing remain silent. New streams
may also start playing audio regardless of the MASTER mute state.

The volume feeder now considers the MASTER mute when determining whether
a channel should be muted. This ensures MASTER mute is consistently
enforced for all streams and removes the dependency on trigger-driven
state propagation.

Tested with Creative Labs CA0132 card.

MFC after:      1 week
Reviewed by:    christos
Differential Revision:  https://reviews.freebsd.org/D55605
DeltaFile
+10-1sys/dev/sound/pcm/feeder_volume.c
+10-11 files

LLVM/project 6bfbf92lldb/unittests CMakeLists.txt, lldb/unittests/SBTestingSupport SBTestUtilities.cpp SBTestUtilities.h

[LLDB] Add SB API test helpers in separate library (#185866)

This adds the helpers from #184656 for the SB API in a separate library
(`lldbSBUtilityHelpers`).
DeltaFile
+65-0lldb/unittests/SBTestingSupport/SBTestUtilities.cpp
+28-0lldb/unittests/SBTestingSupport/SBTestUtilities.h
+11-0lldb/unittests/SBTestingSupport/CMakeLists.txt
+4-0lldb/unittests/CMakeLists.txt
+108-04 files

LLVM/project 2f58515openmp/cmake/modules LibompUtils.cmake

Fix cmake error
DeltaFile
+1-1openmp/cmake/modules/LibompUtils.cmake
+1-11 files

LLVM/project e3f9aaclldb/source/Plugins/Process/FreeBSD-Kernel-Core RegisterContextFreeBSDKernelCore_riscv64.cpp RegisterContextFreeBSDKernelCore_x86_64.cpp

[lldb][FreeBSDKernelCore] Do not include <cstddef> (#186193)

`<cstddef>` was included for static assertion using `offsetof()`, but it
turns out that the header is already included before. Thus remove
`<cstddef>` includes from `RegisterContextFreeBSDKernelCore_<arch>.cpp`
files.

Fixes 3f65a03e8abb3e6fb3372cf4c254d6c9f090e2e0 (#183969)

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
DeltaFile
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_riscv64.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_x86_64.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_i386.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_arm.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_arm64.cpp
+0-1lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_ppc64le.cpp
+0-66 files

LLVM/project 607de2bllvm/docs UserGuides.rst, llvm/docs/RISCV RISCVVCIX.rst

[doc][RISCV] Add documentation for customizing VCIX scheduling info (#183129)

Add a document to show how to customize VCIX instructions scheduling
information. Due to the lack of scheduling info "plugin" in LLVM, a user
has to modify the scheduling model files to reflect the latency,
occupancy etc. of their co-processor instructions connected through
VCIX. This document shows how to modify those files.

This document was originally written in another documentation format by
the listed authors, I used AI to convert it to RST and checked the
content.

---------

Co-authored-by: Craig Topper <craig.topper at sifive.com>
Co-authored-by: Michael Maitland <michaeltmaitland at gmail.com>
DeltaFile
+258-0llvm/docs/RISCV/RISCVVCIX.rst
+4-0llvm/docs/UserGuides.rst
+262-02 files

LLVM/project 4ba0e3fllvm/lib/Target/AMDGPU SIInstructions.td, llvm/test/CodeGen/AMDGPU scalar_to_vector.ll

[AMDGPU] Fix scalar_to_vector v4f16 pattern (#186188)

The patterns for v4f16 and v4i16 generate invalid code since the result must be 64 bit wide.
Also activate gfx1100 testing for the scalar_to_vector test which covers this pattern.
DeltaFile
+112-0llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll
+2-2llvm/lib/Target/AMDGPU/SIInstructions.td
+114-22 files

OpenBSD/ports 5RngKI8devel Makefile

   +py-hass-pyscript-jupyter
VersionDeltaFile
1.2571+1-0devel/Makefile
+1-01 files

OpenBSD/ports HvFBkJfdevel/py-hass-pyscript-jupyter Makefile, devel/py-hass-pyscript-jupyter/files kernel.json

   Initial revision
VersionDeltaFile
1.1+41-0devel/py-hass-pyscript-jupyter/pkg/PLIST
1.1+33-0devel/py-hass-pyscript-jupyter/Makefile
1.1+30-0devel/py-hass-pyscript-jupyter/pkg/README
1.1+27-0devel/py-hass-pyscript-jupyter/patches/patch-hass_pyscript_kernel_shim_py
1.1+17-0devel/py-hass-pyscript-jupyter/pkg/DESCR
1.1+11-0devel/py-hass-pyscript-jupyter/files/kernel.json
+159-08 files not shown
+161-014 files

HardenedBSD/src 5d9c41csys/fs/fuse fuse_node.h fuse_node.c, sys/netinet ip_carp.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+122-315sys/netinet/ip_carp.c
+192-0tests/sys/fs/fusefs/read.cc
+11-121usr.bin/systat/netstat.c
+80-11sys/fs/fuse/fuse_node.h
+90-0tests/sys/fs/fusefs/rename.cc
+71-18sys/fs/fuse/fuse_node.c
+566-46524 files not shown
+816-59830 files

HardenedBSD/src b7a704dsys/fs/fuse fuse_node.h fuse_node.c, sys/netinet ip_carp.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+122-315sys/netinet/ip_carp.c
+192-0tests/sys/fs/fusefs/read.cc
+11-121usr.bin/systat/netstat.c
+80-11sys/fs/fuse/fuse_node.h
+90-0tests/sys/fs/fusefs/rename.cc
+71-18sys/fs/fuse/fuse_node.c
+566-46524 files not shown
+816-59830 files

LLVM/project ea14994clang/test lit.cfg.py, clang/test/Analysis/Scalable/ssaf-linker validation-errors-permissions.test

[clang][ssaf] Guard permission tests against root execution 

Add `REQUIRES: non-root-user` to skip the test in root environments.

rdar://172186474
DeltaFile
+17-0clang/test/lit.cfg.py
+1-0clang/test/Analysis/Scalable/ssaf-linker/validation-errors-permissions.test
+18-02 files

HardenedBSD/src cedaa6dsbin/camcontrol camcontrol.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+31-0sbin/camcontrol/camcontrol.c
+31-01 files

HardenedBSD/ports 4e90e58devel/git-pkgs pkg-plist, www/npm-node24 pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+43-70www/npm-node24/pkg-plist
+66-0devel/git-pkgs/pkg-plist
+60-0x11-wm/mango/Makefile
+0-60x11-wm/mangowc/Makefile
+0-30x11-wm/mangowc/files/patch-meson.build
+30-0x11-wm/mango/files/patch-meson.build
+199-160236 files not shown
+963-691242 files

LLVM/project cfa039ellvm/include/llvm/IR ModuleSummaryIndex.h, llvm/lib/Bitcode/Reader BitcodeReader.cpp

[MemProf] Skip handling of memprof records for non-prevailing functions (#185963)

When building the combined summary index during a thin link, we already
performed a memory optimization for non-prevailing copies of a function
by not recording their allocation and callsite info in the associated
function summary. We can save on the thin link time as well by avoiding
building the memprof summary structures just to throw them away later
in the non-prevailing case.

The reason we were eagerly building these structures is that the memprof
summaries *precede* the corresponding function summary record, and we
don't know whether this is the prevailing copy of the function until we
parse the function summary record. To facilitate the new handling, we
emit the memprof summary records *after* the corresponding function
summary record. The bitcode summary version is bumped, and the reader is
changed to support both versions, for backwards compatibility. Note that
there is already a memprof test that tests an older record type and will
also test reading of the legacy version of the ordering:
(llvm/test/ThinLTO/X86/memprof-old-alloc-context-summary.ll.

    [6 lines not shown]
DeltaFile
+108-26llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+32-31llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+9-3llvm/include/llvm/IR/ModuleSummaryIndex.h
+1-1llvm/test/Bitcode/summary_version.ll
+1-1llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
+151-625 files

LLVM/project 18023b9lldb/test/API/functionalities/longjmp TestLongjmp.py

[lldb][tests] Skip flaky TestLongjmp test on Windows (#186199)
DeltaFile
+3-0lldb/test/API/functionalities/longjmp/TestLongjmp.py
+3-01 files

HardenedBSD/ports f7180c5x11-wm/mango distinfo Makefile

x11-wm/mango: Update to 0.12.6

ChangeLog:

  - https://github.com/mangowm/mango/releases/tag/0.12.5
  - https://github.com/mangowm/mango/releases/tag/0.12.6

Reported by:    DreamMaoMao <notifications at github.com>
DeltaFile
+3-3x11-wm/mango/distinfo
+1-1x11-wm/mango/Makefile
+4-42 files

FreeBSD/ports f7180c5x11-wm/mango distinfo Makefile

x11-wm/mango: Update to 0.12.6

ChangeLog:

  - https://github.com/mangowm/mango/releases/tag/0.12.5
  - https://github.com/mangowm/mango/releases/tag/0.12.6

Reported by:    DreamMaoMao <notifications at github.com>
DeltaFile
+3-3x11-wm/mango/distinfo
+1-1x11-wm/mango/Makefile
+4-42 files

OpenBSD/ports C5g3Pguwayland Makefile

   + fuzzel
VersionDeltaFile
1.33+1-0wayland/Makefile
+1-01 files

OpenBSD/ports WC3TY9twayland/fuzzel Makefile distinfo, wayland/fuzzel/patches patch-meson_build patch-char32_c

   Initial revision
VersionDeltaFile
1.1+45-0wayland/fuzzel/Makefile
1.1+21-0wayland/fuzzel/patches/patch-meson_build
1.1+18-0wayland/fuzzel/pkg/PLIST
1.1+12-0wayland/fuzzel/patches/patch-char32_c
1.1+3-0wayland/fuzzel/pkg/DESCR
1.1+2-0wayland/fuzzel/distinfo
+101-06 files not shown
+101-012 files

LLVM/project 840cc16mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

[MLIR] [Python] a few more fixes to type annotaitons (#186106)

* `_OperationBase.walk` was missing a default.
* `MLIRError` is now fully defined in C++. The monkey-patching
previously done in `_site_initialize` was opaque to type checkers.
DeltaFile
+73-1mlir/lib/Bindings/Python/IRCore.cpp
+0-34mlir/python/mlir/_mlir_libs/__init__.py
+0-14mlir/lib/Bindings/Python/MainModule.cpp
+8-2mlir/include/mlir/Bindings/Python/IRCore.h
+81-514 files

LLVM/project c71e488mlir/include/mlir/Dialect/SPIRV/IR SPIRVTosaOps.td, mlir/test/Dialect/SPIRV/IR tosa-ops-verification.mlir tosa-ops.mlir

[mlir][spirv] Add last 6 elementwise unary ops in TOSA Ext Inst Set (#186060)

This patch introduces the following elementwise unary operators:

spirv.Tosa.Log
spirv.Tosa.LogicalNot
spirv.Tosa.Negate
spirv.Tosa.Reciprocal
spirv.Tosa.Rsqrt
spirv.Tosa.Sin

Also dialect and serialization round-trip tests have been added.

Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>
DeltaFile
+145-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTosaOps.td
+137-0mlir/test/Target/SPIRV/tosa-ops.mlir
+110-0mlir/test/Dialect/SPIRV/IR/tosa-ops-verification.mlir
+81-0mlir/test/Dialect/SPIRV/IR/tosa-ops.mlir
+473-04 files