OpenBSD/src m76Qj1vusr.sbin/installboot installboot.c bootstrap.c

   Fix two circumstances where the code didn't understand that struct disklabel
   doesn't fit inside a sector anymore.
   There are a limited number of cases like this showing up throughout the
   tree, and we may want a better mechanism to hand-fix them.  This however
   still means we need to find them..
   ok krw
VersionDeltaFile
1.18+12-1usr.sbin/installboot/installboot.c
1.15+3-3usr.sbin/installboot/bootstrap.c
1.14+3-3usr.sbin/installboot/landisk_installboot.c
1.18+3-1usr.sbin/installboot/installboot.h
+21-84 files

OpenBSD/src xYW0PVMusr.sbin/bgpd rde_rib.c

   Add missing newline.
VersionDeltaFile
1.278+2-1usr.sbin/bgpd/rde_rib.c
+2-11 files

OpenBSD/src kVgYbQbsys/arch/amd64/amd64 vmm_machdep.c, sys/dev/vmm vmm.h

   Capture VMCALL and abort the VM loop if invoked from cpl 0

   When invoked from user space the expected happens:
   VMX_EXIT_VMCALL at cpl=3

   And the guest programs gets
   Illegal instruction (core dumped)

   ok mlarkin@
VersionDeltaFile
1.66+21-5sys/arch/amd64/amd64/vmm_machdep.c
1.12+4-1sys/dev/vmm/vmm.h
+25-62 files

OpenBSD/src HskvQcMusr.sbin/bgpd rde_rib.c rde_adjout.c

   Implement cleanup helpers for rib_dump_free()

   rib_dump_cleanup() and prefix_adjout_dump_cleanup() do the specific
   bits of unlocking and removing the held reference to the rib entry
   or prefix. This way the code doing that can be properly moved to
   rde_adjout.c
   OK tb@
VersionDeltaFile
1.277+11-20usr.sbin/bgpd/rde_rib.c
1.2+8-1usr.sbin/bgpd/rde_adjout.c
1.320+2-1usr.sbin/bgpd/rde.h
+21-223 files

OpenBSD/src VAZUfgjregress/sys/ffs README

   Update README to include new CHFLAGS option for file system regression tests.
VersionDeltaFile
1.5+17-1regress/sys/ffs/README
+17-11 files

OpenBSD/src iqI0vKhsys/miscfs/fuse fuse_device.c

   Implement reference counting for fd. There may be a rare race condition
   when the fuse device is closed and manages to free fd before a sleeping
   thread reaches the fd->fd_fmp == NULL check.

   OK claudio@
VersionDeltaFile
1.48+54-16sys/miscfs/fuse/fuse_device.c
+54-161 files

OpenBSD/src BYQIuh5lib/libfuse fuse.c fuse_private.h, sys/miscfs/fuse fuse_device.c

   Add support for blocking reads to the FUSE device and change libfuse so
   that it now blocks when reading fusebufs from /dev/fuse0 rather than
   waiting for a kernel event to indicate that a new fusebuf is available.

   As libfuse is no longer listening for kernel events, it now has to
   listen for signals using signal(3). These were previously ignored
   because they were delivered as kernel events. One benefit of this is
   that pressing Ctrl+C during an sshfs login now exits, as expected.

   A few errnos have also been changed to match Linux, since file systems
   that will later use the kernel protocol may rely on these.

   OK claudio@
VersionDeltaFile
1.56+17-54lib/libfuse/fuse.c
1.47+48-12sys/miscfs/fuse/fuse_device.c
1.25+1-5lib/libfuse/fuse_private.h
+66-713 files

OpenBSD/src 3pym6Q7sys/dev/pci if_bnxt.c if_bnxtreg.h

   Prepare to update if_bnxtreg.h by renaming fields and constants to the
   names used in the new version, and allowing for commands longer than the
   HWRM request buffer, which must be submitted using the short (indirect)
   command mechanism.  HWRM commands are truncated to the maximum size
   supported by the firmware, which is the same as the request buffer size
   for all the hardware we currently support, but newer generations use
   longer commands.

   ok stsp@
VersionDeltaFile
1.62+20-13sys/dev/pci/if_bnxt.c
1.8+13-13sys/dev/pci/if_bnxtreg.h
+33-262 files

OpenBSD/src NTzeIpYsys/dev/pci if_mcx.c

   Remove MCX_MAX_QUEUES, which was just an arbitrary number we picked, and
   instead use IF_MAX_VECTORS for arrays and doorbell layout checks, and
   account for the maximum number of EQs from the device capabilities when
   determining how many queues to use.

   ok dlg@ bluhm@
VersionDeltaFile
1.121+8-7sys/dev/pci/if_mcx.c
+8-71 files

OpenBSD/src jQ7U3pKregress/sys/net/pflow template.v10 flow.10_6

   Fix regress for recent pflow template addition

   Note this does not add new tests for the NAT template but does fix existing tests
   which fail after the addition

   ok anton@
VersionDeltaFile
1.4+17-0regress/sys/net/pflow/template.v10
1.5+4-4regress/sys/net/pflow/flow.10_6
1.7+5-1regress/sys/net/pflow/flow.pl
1.6+5-1regress/sys/net/pflow/template.pl
+31-64 files

OpenBSD/src BTJG8ITusr.sbin/bgpd rde_adjout.c rde_rib.c

   Move the adj-rib-out related code out of rde_rib.c into its own file.

   rde_adjout.c will contain all the logic for handling the adj-rib-out
   also adjust the function names to be prefix_adjout_xyz to make it clear
   what they cover. Some function need to be exported now but over time
   this will go away since the adj-rib-out code will be mostly rewritten.

   OK deraadt@ tb@
VersionDeltaFile
1.1+577-0usr.sbin/bgpd/rde_adjout.c
1.276+16-541usr.sbin/bgpd/rde_rib.c
1.319+53-21usr.sbin/bgpd/rde.h
1.665+10-9usr.sbin/bgpd/rde.c
1.53+3-3usr.sbin/bgpd/rde_peer.c
1.44+2-1usr.sbin/bgpd/Makefile
+661-5756 files

OpenBSD/src YUPnyrWsys/arch/arm64/stand/efiboot softraid_arm64.c, sys/arch/luna88k/luna88k disksubr.c

   When MAXPARTITIONS is cranked to 52 there are some places
   where the value must remain 16. e.g. MD/Vendor labels that
   must fit inside a DEV_BSIZE buf, parsing the contents of a
   DEV_BSIZE buf as a disklabel and translations to/from
   MD/Vendor labels and OpenBSD labels.

   Replace MAXPARTITIONS with MAXPARTITIONS16 in the most
   obvious of these places.

   ok deraadt@
VersionDeltaFile
1.9+7-7sys/dev/sun/disklabel.h
1.75+4-4sys/arch/sparc64/sparc64/disksubr.c
1.42+4-4sys/arch/sparc64/stand/ofwboot/ofdev.c
1.67+4-4sys/arch/luna88k/luna88k/disksubr.c
1.6+2-2sys/arch/riscv64/stand/efiboot/softraid_riscv64.c
1.7+2-2sys/arch/arm64/stand/efiboot/softraid_arm64.c
+23-233 files not shown
+29-299 files

OpenBSD/src rFTgxn9usr.sbin/rpki-client x509.c cert.c

   rpki-client: add wrappers for x509_valid_name()

   Currently the same function is used for subjects and issuers and it
   requires the caller to pass in a string clarifying what is being
   checked. Add two wrappers for issuer and subject which matches the
   required logic better independently of whether we ever support
   UTF8String in subjects of BGPsec router certs or not.

   ok claudio job
VersionDeltaFile
1.123+18-4usr.sbin/rpki-client/x509.c
1.207+3-3usr.sbin/rpki-client/cert.c
1.268+3-2usr.sbin/rpki-client/extern.h
1.51+2-2usr.sbin/rpki-client/crl.c
+26-114 files

OpenBSD/src 5yeeaitshare/man/man1 gcc-local.1

   PIE for all.
VersionDeltaFile
1.59+3-3share/man/man1/gcc-local.1
+3-31 files

OpenBSD/src Sb7MFeZsys/dev audio.c

   audio: Use the full audio ring buffer for DMA

   The reader/writer pointer within the DMA buffer (on hardware that has
   it, like azalia and envy) is used by the interrupt handler to track
   the hardware position and, in turn, detect underruns. This works as
   long as the interrupt is not delayed enough for the pointer to wrap.
   Using the full buffer instead of a tiny portion of it makes underruns
   detection more reliable, especially on low-latency configurations or
   very busy systems.

   Userland still uses the same buffer size as before, which now
   corresponds to a sliding window within the DMA ring buffer. The audio
   latency is unchanged and there's no user-visible behavior change
   during normal operation.
VersionDeltaFile
1.213+32-29sys/dev/audio.c
+32-291 files

OpenBSD/src BH9Aafiusr.sbin/rpki-client x509.c

   rpki-client: validate octets in a printable string

   While we still cannot require that commonName in issuer and subject are
   a PrintableString, as opposed to a UTF8String, for example, we can validate
   that their contents are well-formed. Check that each octet belongs to the
   very limited set of characters allowed in Table 10 of X.680.

   ok job
VersionDeltaFile
1.122+48-11usr.sbin/rpki-client/x509.c
+48-111 files

OpenBSD/src 0DOucQfsys/dev/pci if_ice.c if_icevar.h

   ice(4): Improve TX error messages

   Replace the error messages with the original error descriptions from
   the Intel E810 datasheet.

   ok stsp@
VersionDeltaFile
1.66+25-20sys/dev/pci/if_ice.c
1.11+2-2sys/dev/pci/if_icevar.h
+27-222 files

OpenBSD/src a0GA7YHsys/dev/usb uaudio.c

   uaudio: Handle devices with a single clock exposed in multiple domains

   Many devices seem to expose multiple clocks (aka clock domains) even
   if they have one physical clock only. If two clocks have the same
   attributes and at least one common rate, print a warning and assume
   they are synchronous.

   ok phessler
VersionDeltaFile
1.181+74-32sys/dev/usb/uaudio.c
+74-321 files

OpenBSD/src od6BjrMusr.bin/tmux cmd.c cmd-source-file.c

   Make -v to source-file pass through to subsequent source-file commands,
   GitHub issue 4216.
VersionDeltaFile
1.179+11-2usr.bin/tmux/cmd.c
1.62+7-4usr.bin/tmux/cmd-source-file.c
1.1276+3-2usr.bin/tmux/tmux.h
1.55+2-2usr.bin/tmux/cmd-parse.y
+23-104 files

OpenBSD/src iR9kBaNusr.bin/tmux cmd-show-messages.c

   Allow show-messages to work without a client.
VersionDeltaFile
1.37+3-3usr.bin/tmux/cmd-show-messages.c
+3-31 files

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.37+4-3sys/arch/octeon/dev/octcf.c
1.11+4-3sys/arch/octeon/dev/amdcf.c
1.135+4-3sys/dev/ata/wd.c
1.341+4-3sys/scsi/sd.c
1.111+3-3sys/dev/isa/fd.c
+25-211 files not shown
+27-237 files

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

   sync
VersionDeltaFile
1.98+11-2etc/etc.landisk/MAKEDEV
1.83+11-2etc/etc.loongson/MAKEDEV
1.93+11-2etc/etc.luna88k/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