OpenBSD/src Nl8tS1ssys/arch/powerpc64/include atomic.h

   Change powerpc64 memory barriers to "sync"

   The switch from "isync" to "sync" fixes the parking mutex on a 4-core
   IBM POWER9, and proves that "isync" is the wrong barrier.

   Back in June 2024, I suspected that "isync" was wrong, gave an
   explanation, and proposed a diff switching to "sync" in
   https://marc.info/?l=openbsd-tech&m=171816471216159&w=2

   I forgot the diff, and lacked evidence of a problem until this month
   (November 2025), when the parking mutex in /sys/kern/kern_lock.c
   caused lockups.  The 4-core POWER9 froze in "make -j4 build" before
   finishing libc, but the switch from "isync" to "sync" fixes it.

   ok jca@ dlg@
VersionDeltaFile
1.4+3-3sys/arch/powerpc64/include/atomic.h
+3-31 files

OpenBSD/src GkEsxWqusr.sbin/acme-client http.c

   only include port numbers in Host headers when it's not 443.

   step-ca has a teary if you include the port in the Host header, but
   pebble gets confused if you don't. florian says "I can't see anything
   in RFC9110 7.2 that suggests sending a port in the host header is
   wrong", so we're pretty sure step-ca is doing the wrong thing, but
   it's also pretty easy to be accomodating by omitting the port if
   the https request is on port 443. just don't talk to step-ca on a
   non standard port i guess.

   ok sthen@ florian@
VersionDeltaFile
1.36+16-7usr.sbin/acme-client/http.c
+16-71 files

OpenBSD/src qAPJqVesys/dev/usb uchcom.c

   In r1.39, both the baud rate and the line configuration are set through
   UCHCOM_REQ_SET_BAUDRATE, whereas previously they were configured via
   UCHCOM_REG_BPS_PRE, UCHCOM_REG_BPS_DIV, UCHCOM_REG_LCR, and UCHCOM_REG_LCR2.

   Use the traditional method to set the rate and line configuration to
   prevent issues with some CH341 devices not operating properly.

   Reported by Mikolaj Kucharski on bugs@

   ok miod@
VersionDeltaFile
1.40+18-8sys/dev/usb/uchcom.c
+18-81 files

OpenBSD/src q3PAKxMsys/netinet igmp.c

   Unlock IGMP slow timeout.

   Remove net lock from igmp_slowtimo().  Replace it with a mutex that
   protects the router_info list.

   OK mvs@
VersionDeltaFile
1.92+45-20sys/netinet/igmp.c
+45-201 files

OpenBSD/src rFPnT4Gsys/dev/pci/drm/i915 i915_driver.c

   back to rev 1.24, enable GuC submission on Meteor/Arrow Lake again

   The problems I had with GuC submission were with an uncommitted inteldrm
   firmware update to 20250917.  Not yet seen with 20250708 currently
   on firmware mirrors.

   requested by kettenis@ for low power idle states in suspend
VersionDeltaFile
1.26+5-4sys/dev/pci/drm/i915/i915_driver.c
+5-41 files

OpenBSD/src K9ocOCKlib/libcrypto cert.pem

   sync cert.pem with updated Mozilla list; ok tb@

   changes are:

   +OISTE Foundation
   +  /C=CH/O=OISTE Foundation/CN=OISTE Server Root ECC G1
   +  /C=CH/O=OISTE Foundation/CN=OISTE Server Root RSA G1

    SwissSign AG
      /C=CH/O=SwissSign AG/CN=SwissSign Gold CA - G2
   +  /C=CH/O=SwissSign AG/CN=SwissSign RSA TLS Root CA 2022 - 1

    TrustAsia Technologies, Inc.
      /C=CN/O=TrustAsia Technologies, Inc./CN=TrustAsia Global Root CA G3
      /C=CN/O=TrustAsia Technologies, Inc./CN=TrustAsia Global Root CA G4
   +  /C=CN/O=TrustAsia Technologies, Inc./CN=TrustAsia TLS ECC Root CA
   +  /C=CN/O=TrustAsia Technologies, Inc./CN=TrustAsia TLS RSA Root CA
VersionDeltaFile
1.33+236-0lib/libcrypto/cert.pem
+236-01 files

OpenBSD/src NstsoXqgnu/gcc/gcc/config/m88k openbsdelf.h, share/mk bsd.own.mk

   Switch m88k to PIE by default.
   ok aoyama@
VersionDeltaFile
1.216+4-4share/mk/bsd.own.mk
1.5+4-2gnu/gcc/gcc/config/m88k/openbsdelf.h
+8-62 files

OpenBSD/src vKthtiHsys/arch/octeon/dev octcf.c amdcf.c, sys/dev/ata wd.c

   disk masks are now 64-bit, use ULL suffix when bit shifting
   Coverity CID 1667591 1667586 1667584 1667583 1667585
   ok deraadt@
VersionDeltaFile
1.284+6-6sys/kern/subr_disk.c
1.341+4-3sys/scsi/sd.c
1.135+4-3sys/dev/ata/wd.c
1.37+4-3sys/arch/octeon/dev/octcf.c
1.11+4-3sys/arch/octeon/dev/amdcf.c
1.111+3-3sys/dev/isa/fd.c
+25-211 files not shown
+27-237 files

OpenBSD/src B9lQVDvetc/etc.loongson MAKEDEV, etc/etc.luna88k MAKEDEV

   sync
VersionDeltaFile
1.83+11-2etc/etc.loongson/MAKEDEV
1.93+11-2etc/etc.luna88k/MAKEDEV
1.180+11-2etc/etc.macppc/MAKEDEV
1.56+11-2etc/etc.octeon/MAKEDEV
1.21+11-2etc/etc.powerpc64/MAKEDEV
1.17+11-2etc/etc.riscv64/MAKEDEV
+66-128 files not shown
+154-2814 files

OpenBSD/src 5EZEKCXetc MAKEDEV.mi

   redodisks was using find+sed, but we need this to work when /usr isn't
   mounted.  naddy and i both wrote sh-only solutions but his is better.
VersionDeltaFile
1.90+11-2etc/MAKEDEV.mi
+11-21 files

OpenBSD/src etL1ZlWsys/dev/pci if_icevar.h

   ice(4): Fix 'Too many data commands' error on TSO packets.

   ok stsp@
VersionDeltaFile
1.10+2-2sys/dev/pci/if_icevar.h
+2-21 files

OpenBSD/src ztsbK4eregress/usr.sbin/rpki-client/spl 9X0AhXWTJDl8lJhfOwvnac-42CA.spl

   Fix SPL example object
VersionDeltaFile
1.2+0-0regress/usr.sbin/rpki-client/spl/9X0AhXWTJDl8lJhfOwvnac-42CA.spl
+0-01 files

OpenBSD/src cwlAvQYregress/usr.sbin/rpki-client/rsc checklist-08.sig rsc-deployment-test-3.sig

   Switch to RSC example object with proper commonName encoding
VersionDeltaFile
1.2+0-0regress/usr.sbin/rpki-client/rsc/checklist-08.sig
1.1+0-0regress/usr.sbin/rpki-client/rsc/rsc-deployment-test-3.sig
+0-02 files

OpenBSD/src vlseRf9regress/usr.sbin/rpki-client/geofeed geofeed.csv

   Fix example Geofeed object

   According to RFC 6487, Section 4.4, PrintableString ought to be used
   instead of UTF8String. Example generated using openssl cli utility
   with "string_mask = nombstr" in the req section.
VersionDeltaFile
1.2+29-33regress/usr.sbin/rpki-client/geofeed/geofeed.csv
+29-331 files

OpenBSD/src 0bfK6mRusr.bin/ssh session.c

   Export XDG_RUNTIME_DIR to child ssh sessions

   Currently setusercontext(LOGIN_SETALL) does create the directory in
   /tmp/run/user, since LOGIN_SETXDGENV is part of LOGIN_SETALL, but the
   env variable wasn't exported.

   ok djm@
VersionDeltaFile
1.345+5-1usr.bin/ssh/session.c
+5-11 files

OpenBSD/src lkMjQmusys/dev/pci/drm drm_linux.c

   Fix drm code to avoid spurious tsleep errors leading to crashes

   __set_current_state() reimplements parts of sleep_finish() but forgot
   to clear P_SINTR.  Later another tsleep->sleep_finish() call could
   pick up the flag and erroneously return ERESTART early, leading to
   crashes in unsuspecting code using tsleep(0, INFSLP).

   Issue experienced by Piotr Isajew using iridium on 7.8 and myself
   using firefox.

   ok claudio@ mpi@ and most likely kettenis@
VersionDeltaFile
1.127+2-2sys/dev/pci/drm/drm_linux.c
+2-21 files

OpenBSD/src JPNw0Owusr.sbin/rpki-client cms.c

   rpki-client: use proper capitalization for UTCTime in cms.c
VersionDeltaFile
1.57+3-3usr.sbin/rpki-client/cms.c
+3-31 files

OpenBSD/src AA2nIbMusr.sbin/rpki-client cms.c

   rpki-client: split out a cms_SignerInfo_check_attributes() helper

   This makes the incomprehensible beast that is cms_parse_validate_internal()
   a bit smaller and makes it easier to reason about which pieces have side
   effects and which pieces don't. A few more things need to be done here for
   an upcoming refactoring.

   ok job
VersionDeltaFile
1.56+84-68usr.sbin/rpki-client/cms.c
+84-681 files

OpenBSD/src T9ILGNjsys/dev/usb if_umb.c

   correct umb_kstat_detach() NULL tests; Coverity CID 1667594
   ok jca@ dlg@ miod@
VersionDeltaFile
1.67+3-3sys/dev/usb/if_umb.c
+3-31 files

OpenBSD/src 11d0Zfgregress/usr.bin/ssh/unittests/hostkeys test_iterate.c

   Ensure both sides of the test are non-NULL instead of just either.
   Coverity CID 443285.
VersionDeltaFile
1.11+2-2regress/usr.bin/ssh/unittests/hostkeys/test_iterate.c
+2-21 files

OpenBSD/src Sa2zEHJsys/net if.c if_var.h

   Commit the fixed version of reverted "Push netlock down to ifconf() and
   move copyout() out of netlock" diff.
VersionDeltaFile
1.752+58-21sys/net/if.c
1.142+2-1sys/net/if_var.h
+60-222 files

OpenBSD/src He6n4Tisys/dev/pci if_rge.c

   remove duplicate RGE_PHYSTAT_5000MBPS test
   Coverity CID 1667588
VersionDeltaFile
1.41+1-3sys/dev/pci/if_rge.c
+1-31 files

OpenBSD/src 10sDSPRsys/dev/pci/drm/include/linux string.h

   fix memory leak if copyin() returns an error
   Coverity CID 1667587
VersionDeltaFile
1.7+3-1sys/dev/pci/drm/include/linux/string.h
+3-11 files

OpenBSD/src WRQeRa5sys/kern kern_lock.c subr_witness.c, sys/sys mutex.h

   revert the parking mutex.

   it's causing lockups on powerpc64 and probably alpha.

   thanks to gkoehler and mlarkin for confirming it was parking and
   not something else on powerpc64.

   we need the stability to move the tree past other churn at the moment.
VersionDeltaFile
1.84+51-262sys/kern/kern_lock.c
1.25+6-9sys/sys/mutex.h
1.57+1-1sys/kern/subr_witness.c
+58-2723 files

OpenBSD/src b2ZTnZeusr.bin/ssh log.c

   don't strnvis() log messages that are going to be logged by sshd-auth
   via its parent sshd-session process, as the parent will also run them
   though strnvis().

   Prevents double-escaping of non-printing characters in some log
   messages. bz3896 ok dtucker@
VersionDeltaFile
1.66+3-2usr.bin/ssh/log.c
+3-21 files

OpenBSD/src ag5Lf1Usys/arch/sh/sh sys_machdep.c

   needs proc.h for PS_PLEDGE
VersionDeltaFile
1.3+2-1sys/arch/sh/sh/sys_machdep.c
+2-11 files

OpenBSD/src IPHFJKmgnu/llvm/libunwind/src AddressSpace.hpp UnwindCursor.hpp

   re-apply three commits that were lost while merging the 19.1.7 update

   Initial IP-based caching implementation with O(logn) lookup.

   Caching implemented via red-black trees, this can be improved and
   further work is on-going to bring it closer to GNU's performance that
   uses a LRU-MRU 8-entries based caching algorithm.

   Prompted by robert@ who run into a runtime of an executed macro of
   5 minutes in libreoffice. With this the execution is reduced to 58 seconds.

   C++11 tips from espie@, rsadowski@
   Tested by robert@
   from robert@; OK mortimer@, kettenis@.

   Make the unwind cache tread-safe by declaring it thread_local. Solves
   segfaults seen on exception handling.
   from robert@; ok kettenis@


    [29 lines not shown]
VersionDeltaFile
1.5.2.1+67-0gnu/llvm/libunwind/src/AddressSpace.hpp
1.6.2.1+10-1gnu/llvm/libunwind/src/UnwindCursor.hpp
1.7.2.1+1-1gnu/llvm/libunwind/src/assembly.h
+78-23 files

OpenBSD/src X6nIYreetc/etc.alpha MAKEDEV, etc/etc.amd64 MAKEDEV

   sync
VersionDeltaFile
1.228+3-2etc/etc.alpha/MAKEDEV
1.151+3-2etc/etc.amd64/MAKEDEV
1.35+3-2etc/etc.arm64/MAKEDEV
1.49+3-2etc/etc.armv7/MAKEDEV
1.168+3-2etc/etc.hppa/MAKEDEV
1.287+3-2etc/etc.i386/MAKEDEV
+18-128 files not shown
+42-2814 files

OpenBSD/src w9UgWwgetc MAKEDEV.mi

   Only make nodes for extra partitions if an architecture has crossed over
   to 52.  That will happen to most or all architectures, but we don't
   need to so yet.
   I'm also considering adding a environment-variable knob to be used on
   a single MAKEDEV run which wants to avoid the extra node creations,
   as a way to help out some tight install media (only a few of those)
VersionDeltaFile
1.89+3-2etc/MAKEDEV.mi
+3-21 files

OpenBSD/src ahRvUMAetc/rc.d spamlogd

   apply unbound's new getopts approach to replace ugly sed(1) one-liner

   OK sthen
VersionDeltaFile
1.7+6-3etc/rc.d/spamlogd
+6-31 files