OpenBSD/src LnVyIcsusr.sbin/rpki-client rpki-client.8

   rpki-client: rfc 9981
VersionDeltaFile
1.140+7-8usr.sbin/rpki-client/rpki-client.8
+7-81 files

OpenBSD/src OjlOlFBsys/kern exec_elf.c

   Disable kbind() and pinsyscalls() for static binaries at the correct
   time, which is inside exec_elf_makecmds().  Amusingly, it looks like
   these protection mechanisms are not needed because other process state
   protects against kbind use since we completed the switch to static pie.
   Also any priviledged static binary (which we ship, setuid or daemon) is
   not going to contain a pinsyscall or kbind slot in the loaded pinsyscalls
   table, so they cannot perform those.  Only synthetic binaries with their
   own pinsyscalls table could play, but of course they won't run with
   priviledge..
   from Andrew Griffiths at Calif
   ok kettenis, andrew also approves of this approach
VersionDeltaFile
1.199+9-11sys/kern/exec_elf.c
+9-111 files

OpenBSD/src eux8N9Sdistrib/sets/lists/comp clang.macppc

   sync
VersionDeltaFile
1.36+1-0distrib/sets/lists/comp/clang.macppc
+1-01 files

OpenBSD/src hFnte3Lsys/arch/arm64/dev aplns.c, sys/dev/ic nvme.c

   But the NVMe controller integrated on Apple silicon (M1, M2, etc.)
   advertises support for 128-byte submission queue entries but only works
   with 64-byte entries.  So let aplns(4) override the size.

   ok jcs@
VersionDeltaFile
1.128+7-5sys/dev/ic/nvme.c
1.18+2-1sys/arch/arm64/dev/aplns.c
+9-62 files

OpenBSD/src eoqDKnignu/llvm/compiler-rt/lib/builtins clzdi2.c

   Update clzdi2.c to pull in the following commit neede because of a change
   in clang brought in with the llvm 22 update:

   commit 5d0e26e571c08dc4c0b2a25ed6c9f845f054fa76
   Author: Koakuma <koachan at protonmail.com>
   Date:   Tue Apr 29 07:36:32 2025 +0700

       [compiler-rt] Make sure __clzdi2 doesn't call itself recursively on sparc64 (#136737)

       On 64-bit platforms, libgcc doesn't ship with __clzsi2, so __builtin_clz
       gets lowered to __clzdi2. A check already exists for GCC, but as of
       commit 8210ca019839fc5430b3a95d7caf5c829df3232a clang also lowers
       __builtin_clz to __clzdi2 on sparc64.

       Update the check so that building __clzdi2 with clang/sparc64 also
       works.

   ok tb@, deraadt@
VersionDeltaFile
1.2+7-7gnu/llvm/compiler-rt/lib/builtins/clzdi2.c
+7-71 files

OpenBSD/src sgSCHOignu/llvm/llvm/lib/Target/PowerPC PPCAsmPrinter.cpp

   Unbreak and update powerpc retguard for llvm 22

   For RETGUARD_LOAD_COOKIE when -fno-pie (as in macppc kernels), change
   a relocation in -fno-pie (as in macppc kernels) from unusual S_HIGHA
   "__retguard_3671 at higha" to usual S_HA "__retguard_3671 at ha".  This
   prevents an error from lld 22,

   ld: error: rasops15.o:(function rasops15_init: .text+0x2): unknown \
   relocation (111) against symbol __retguard_3671

   For RETGUARD_LOAD_PC in PIC code, change an instruction from 'bl .+4'
   to 'bcl 20,31,.+4' to fix branch prediction.  This follows the same
   change in upstream llvm,
   https://github.com/llvm/llvm-project/issues/128644

   ok jca@ naddy@
VersionDeltaFile
1.8+2-2gnu/llvm/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+2-21 files

OpenBSD/src 1zJM2Kzsys/dev/ofw fdt.c

   And now fix the uvm page fault of OF_getpropstr() the right way.
VersionDeltaFile
1.39+2-2sys/dev/ofw/fdt.c
+2-21 files

OpenBSD/src tAxitaeusr.bin/tmux tty.c

   Correct offsets for redrawing entire line here too.
VersionDeltaFile
1.467+5-6usr.bin/tmux/tty.c
+5-61 files

OpenBSD/src zgVxcVusys/dev/ofw fdt.c

   Fix uvm fault panic introduced by new OF_getpropstr() function.

   Reported by jmc@.

   ok kettenis@
VersionDeltaFile
1.38+2-2sys/dev/ofw/fdt.c
+2-21 files

OpenBSD/src 7XCAEForegress/lib/libcrypto/x509/bettertls verify.c

   bettertls/verify: resuls -> results
VersionDeltaFile
1.10+2-2regress/lib/libcrypto/x509/bettertls/verify.c
+2-21 files

OpenBSD/src NSDz90Odistrib/sets/lists/comp clang.riscv64

   sync
VersionDeltaFile
1.25+7-0distrib/sets/lists/comp/clang.riscv64
+7-01 files

OpenBSD/src hMPVslzgnu/llvm/clang/lib/Frontend PrintPreprocessedOutput.cpp

   revert upstream commit 947b9f55b5f327e14368a48fb6ce10242ea29bf3

   It breaks cpp -traditional -dM

   https://github.com/llvm/llvm-project/issues/200085
VersionDeltaFile
1.2+482-261gnu/llvm/clang/lib/Frontend/PrintPreprocessedOutput.cpp
+482-2611 files

OpenBSD/src CBGZEhsgnu/llvm/siphash/include/siphash SipHash.h

   add SipHash.h from llvm-22.1.6 which is shipped as a third party header
VersionDeltaFile
1.1+160-0gnu/llvm/siphash/include/siphash/SipHash.h
+160-01 files

OpenBSD/src flibOR3distrib/sets/lists/comp clang.amd64 clang.i386

   sync after updating llvm to 22.1.6
VersionDeltaFile
1.56+474-160distrib/sets/lists/comp/clang.amd64
1.57+474-160distrib/sets/lists/comp/clang.i386
1.51+354-61distrib/sets/lists/comp/clang.arm64
1.49+353-60distrib/sets/lists/comp/clang.armv7
1.29+347-53distrib/sets/lists/comp/clang.powerpc64
1.35+346-53distrib/sets/lists/comp/clang.macppc
+2,348-54714 files not shown
+3,732-75920 files

OpenBSD/src EUT1Ybcgnu/usr.bin/clang/clang clang.1, gnu/usr.bin/clang/include/clang/Basic Makefile

   update build infrastructure for llvm-21.1.6

   thanks for all the help with testing and fixing things up
VersionDeltaFile
1.4+116-90gnu/usr.bin/clang/llvm-objcopy/llvm-objcopy.1
1.14+107-58gnu/usr.bin/clang/clang/clang.1
1.12+113-2gnu/usr.bin/clang/include/clang/Basic/Makefile
1.2+77-21gnu/usr.bin/clang/llvm-symbolizer/llvm-symbolizer.1
1.5+47-40gnu/usr.bin/clang/llvm-objdump/llvm-objdump.1
1.1+83-0gnu/usr.bin/clang/libLLVMSandboxIR/Makefile
+543-211146 files not shown
+2,311-983152 files

OpenBSD/src uDUMulGgnu/llvm/lldb/source/Core FormatEntity.cpp, gnu/llvm/lldb/source/Plugins/DynamicLoader/POSIX-DYLD DynamicLoaderPOSIXDYLD.cpp

   merge lldb-21.1.6
VersionDeltaFile
1.6+572-356gnu/llvm/lldb/source/Core/FormatEntity.cpp
1.6+633-224gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
1.6+193-61gnu/llvm/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
1.6+179-49gnu/llvm/lldb/tools/driver/Driver.cpp
1.6+109-113gnu/llvm/lldb/source/Utility/ArchSpec.cpp
1.5+99-115gnu/llvm/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
+1,785-918168 files not shown
+2,350-1,282174 files

OpenBSD/src FnPknItgnu/llvm/lldb/source/Commands Options.td CommandObjectBreakpoint.cpp, gnu/llvm/lldb/source/Plugins/Language/CPlusPlus CPlusPlusLanguage.cpp

   import lldb from LLVM-21.1.6
VersionDeltaFile
1.1+5,850-0gnu/llvm/lldb/tools/lldb-dap/extension/package-lock.json
1.1+3,861-0gnu/llvm/lldb/source/ValueObject/ValueObject.cpp
1.1.1.6+2,247-1,133gnu/llvm/lldb/source/Commands/Options.td
1.1.1.5+1,231-1,113gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
1.1.1.6+1,528-286gnu/llvm/lldb/source/Commands/CommandObjectBreakpoint.cpp
1.1.1.6+1,322-476gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
+16,039-3,0082,192 files not shown
+132,450-40,0092,198 files

OpenBSD/src Eiyi9qegnu/llvm/lld/ELF Driver.cpp SyntheticSections.cpp

   merge lld-21.1.6
VersionDeltaFile
1.24+1,334-995gnu/llvm/lld/ELF/Driver.cpp
1.10+1,087-1,076gnu/llvm/lld/ELF/SyntheticSections.cpp
1.11+823-956gnu/llvm/lld/ELF/Relocations.cpp
1.10+826-654gnu/llvm/lld/ELF/Writer.cpp
1.4+810-440gnu/llvm/lld/ELF/Thunks.cpp
1.7+614-478gnu/llvm/lld/ELF/InputFiles.cpp
+5,494-4,59921 files not shown
+9,482-7,15827 files

OpenBSD/src 14wlmDZgnu/llvm/lld/COFF Driver.cpp, gnu/llvm/lld/ELF Driver.cpp SyntheticSections.cpp

   import lld from LLVM-21.1.6
VersionDeltaFile
1.1.1.7+1,334-995gnu/llvm/lld/ELF/Driver.cpp
1.1.1.6+1,087-1,076gnu/llvm/lld/ELF/SyntheticSections.cpp
1.1.1.6+823-956gnu/llvm/lld/ELF/Relocations.cpp
1.1.1.7+826-654gnu/llvm/lld/ELF/Writer.cpp
1.1.1.6+829-544gnu/llvm/lld/COFF/Driver.cpp
1.1.1.6+810-440gnu/llvm/lld/ELF/Thunks.cpp
+5,709-4,665218 files not shown
+23,478-13,437224 files

OpenBSD/src S9LRTjjgnu/llvm/clang/include/clang/Basic DiagnosticSemaKinds.td, gnu/llvm/clang/include/clang/Sema Sema.h

   merge clang-21.1.6
VersionDeltaFile
1.7+2,944-833gnu/llvm/clang/lib/Sema/SemaChecking.cpp
1.5+1,866-1,310gnu/llvm/clang/lib/Sema/SemaDeclCXX.cpp
1.6+1,874-1,302gnu/llvm/clang/include/clang/Sema/Sema.h
1.17+1,288-1,098gnu/llvm/clang/lib/Driver/ToolChains/Clang.cpp
1.9+1,814-487gnu/llvm/clang/include/clang/Basic/DiagnosticSemaKinds.td
1.6+1,648-608gnu/llvm/clang/lib/Sema/SemaDeclAttr.cpp
+11,434-5,638288 files not shown
+19,000-10,224294 files

OpenBSD/src A9nJkPSgnu/llvm/clang/include/clang/AST TypeBase.h Type.h, gnu/llvm/clang/include/clang/Options Options.td

   import clang from LLVM-21.1.6
VersionDeltaFile
1.1.1.6+1,585-17,028gnu/llvm/clang/lib/CodeGen/CGBuiltin.cpp
1.1.1.6+8,156-3,124gnu/llvm/clang/include/clang/Parse/Parser.h
1.1+9,812-0gnu/llvm/clang/include/clang/Options/Options.td
1.1+9,233-0gnu/llvm/clang/include/clang/AST/TypeBase.h
1.1.1.6+36-8,581gnu/llvm/clang/include/clang/AST/Type.h
1.1+8,094-0gnu/llvm/clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+36,916-28,7332,683 files not shown
+432,189-142,2452,689 files

OpenBSD/src CA3EZNAgnu/llvm/llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, gnu/llvm/llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64InstrInfo.td

   merge llvm-21.1.6
VersionDeltaFile
1.6+8,331-4,411gnu/llvm/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
1.7+7,127-3,454gnu/llvm/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
1.7+3,658-1,607gnu/llvm/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
1.6+2,635-1,266gnu/llvm/llvm/lib/Target/AArch64/AArch64InstrInfo.td
1.6+1,052-2,175gnu/llvm/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
1.7+2,291-702gnu/llvm/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+25,094-13,615890 files not shown
+41,017-23,276896 files

OpenBSD/src bCqnx2Ggnu/llvm/llvm/include/llvm/Testing/Demangle DemangleTestCases.inc, gnu/llvm/llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

   import llvm from LLVM-21.1.6
VersionDeltaFile
1.1+30,222-0gnu/llvm/llvm/include/llvm/Testing/Demangle/DemangleTestCases.inc
1.1.1.6+13,316-4,833gnu/llvm/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
1.1.1.7+8,322-4,402gnu/llvm/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
1.1.1.7+7,262-3,545gnu/llvm/llvm/lib/Target/X86/X86ISelLowering.cpp
1.1.1.6+7,174-3,488gnu/llvm/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
1.1.1.5+4,656-5,239gnu/llvm/llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
+70,952-21,5078,107 files not shown
+849,434-332,5018,113 files

OpenBSD/src wdwKpn6sys/dev/ic qwx.c

   Make qwx show the firmware's regulatory domain in debug logs, like iwx does.
VersionDeltaFile
1.119+9-1sys/dev/ic/qwx.c
+9-11 files

OpenBSD/src GcwoK0Bsys/dev/ic qwx.c qwxvar.h, sys/dev/pci if_qwx_pci.c

   Add support for 40MHz channels to qwx.

   Also fix setting of 11n phy parameters during the association flow.
   The NODE_HT flag isn't set yet when qwx_assoc() runs. We need to apply
   11n-related peer parameters in qwx_run().

   Tested by phessler@ and myself.

   ok mlarkin@ phessler@
VersionDeltaFile
1.118+177-18sys/dev/ic/qwx.c
1.35+4-4sys/dev/pci/if_qwx_pci.c
1.35+4-1sys/dev/ic/qwxvar.h
+185-233 files

OpenBSD/src a9IajIFsys/dev/ic qwx.c

   Make qwx only allocate a new mbuf when a free Rx ring slot is available.

   Avoids pointless alloc and free when the ring is already full.
VersionDeltaFile
1.117+8-8sys/dev/ic/qwx.c
+8-81 files

OpenBSD/src J3UoIxDsys/dev/ic qwx.c

   avoid calling bus_dmamap_create() from interrupt context in qwx

   ok mlarkin@ phessler@
VersionDeltaFile
1.116+13-15sys/dev/ic/qwx.c
+13-151 files

OpenBSD/src N5ACEIysys/dev/ic qwx.c qwxvar.h

   Handle country code events sent by qwx firmware.

   Seems to fix the issues where association was unreliable.

   Tested by phessler@, robert@, and myself.

   ok mlarkin@ phessler@
VersionDeltaFile
1.115+177-3sys/dev/ic/qwx.c
1.34+5-1sys/dev/ic/qwxvar.h
+182-42 files

OpenBSD/src 1ptoBSyusr.bin/tmux screen-write.c

   Use correct X position for redrawing wide characters.
VersionDeltaFile
1.257+8-5usr.bin/tmux/screen-write.c
+8-51 files

OpenBSD/src HGOzWlflib/libc/time ctime.3

   Note that the workaround for the ambiguous return value can also be used for timegm()

   OK tb@
VersionDeltaFile
1.53+4-2lib/libc/time/ctime.3
+4-21 files