OpenBSD/src IrBzI77usr.bin/ssh digest-libc.c

   Plug leak in ssh_digest_memory on error path.   Bonehead mistake spotted
   by otto@, ok djm@
VersionDeltaFile
1.9+4-3usr.bin/ssh/digest-libc.c
+4-31 files

OpenBSD/src SF3IYDBusr.bin/ssh monitor.c servconf.c

   Add 'invaliduser' penalty to PerSourcePenalties, which is applied
   to login attempts for usernames that do not match real accounts.
   Defaults to 5s to match 'authfail' but allows administrators to
   block such sources for longer if desired.  with & ok djm@
VersionDeltaFile
1.250+16-2usr.bin/ssh/monitor.c
1.440+8-1usr.bin/ssh/servconf.c
1.624+7-1usr.bin/ssh/sshd.c
1.18+4-4usr.bin/ssh/sshd-session.c
1.15+5-1usr.bin/ssh/srclimit.c
1.26+4-1usr.bin/ssh/monitor.h
+44-103 files not shown
+52-129 files

OpenBSD/src kFyejzAusr.sbin/ikectl ikeca.c

   static int, not int static

   c99 6.11.5:
   "The placement of a storage-class specifier other than at the beginning
   of the declaration specifiers in a declaration is an obsolescent
   feature."
VersionDeltaFile
1.53+3-3usr.sbin/ikectl/ikeca.c
+3-31 files

OpenBSD/src yIHyJG8sbin/disklabel editor.c

   static const, not const static

   c99 6.11.5:
   "The placement of a storage-class specifier other than at the beginning
   of the declaration specifiers in a declaration is an obsolescent
   feature."

   ok krw@
VersionDeltaFile
1.427+2-2sbin/disklabel/editor.c
+2-21 files

OpenBSD/src j6Le7Ensys/dev/ic nvme.c nvmevar.h

   Rearrange command completion so callbacks are called without holding any
   locks. This makes it possible to mark the interrupt handler MPSAFE, but
   we're not actually doing that yet.

   Releasing the cq mutex means the completion callback can't use the cq
   entry, so we have to copy any fields we use from it into the ccb. For now,
   that's just the flags. This simplifies the callbacks in a few places.

   ok dlg@ (some time ago)
   also tested by kettenis@ with aplns(4)
VersionDeltaFile
1.125+29-38sys/dev/ic/nvme.c
1.32+3-2sys/dev/ic/nvmevar.h
+32-402 files

OpenBSD/src XFIotrUusr.sbin/dvmrpd rde_mfc.c

   use the right struct size in mfc_add_prune()
   found with ports gcc, ok claudio@
VersionDeltaFile
1.12+2-2usr.sbin/dvmrpd/rde_mfc.c
+2-21 files

OpenBSD/src goLDZmFsys/uvm uvm_map.c

   static void inline -> static inline void, for consistency
VersionDeltaFile
1.350+2-2sys/uvm/uvm_map.c
+2-21 files

OpenBSD/src aVfC5vGusr.bin/tmux tmux.1

   Note that switch-client only changes the key table for one key, pointed
   out by Jeenu Viswambharan.
VersionDeltaFile
1.1021+5-4usr.bin/tmux/tmux.1
+5-41 files

OpenBSD/src SjufvMPusr.sbin/unbound configure config.h.in, usr.sbin/unbound/doc unbound-control.8.in unbound.conf.5.in

   merge unbound 1.24.2
VersionDeltaFile
1.61+2,735-1,952usr.sbin/unbound/configure
1.36+186-176usr.sbin/unbound/config.h.in
1.49+2-2usr.sbin/unbound/doc/unbound-control.8.in
1.55+2-2usr.sbin/unbound/doc/unbound.conf.5.in
1.50+2-2usr.sbin/unbound/doc/unbound.8.in
1.48+2-2usr.sbin/unbound/doc/libunbound.3.in
+2,929-2,1366 files not shown
+2,939-2,14512 files

OpenBSD/src Pne5xulusr.sbin/unbound configure config.h.in, usr.sbin/unbound/doc unbound-host.1.in libunbound.3.in

   import the rest of unbound 1.24.2; we already had the important code fix,
   this just updates generated files etc
VersionDeltaFile
1.1.1.42+2,728-1,945usr.sbin/unbound/configure
1.1.1.33+186-176usr.sbin/unbound/config.h.in
1.1.1.18+35-4usr.sbin/unbound/iterator/iter_scrub.c
1.1.1.37+2-2usr.sbin/unbound/doc/unbound-host.1.in
1.1.1.42+2-2usr.sbin/unbound/doc/libunbound.3.in
1.1.1.42+2-2usr.sbin/unbound/doc/unbound-anchor.8.in
+2,955-2,1317 files not shown
+2,967-2,14213 files

OpenBSD/src HVVD8IWdistrib/alpha/miniroot Makefile, distrib/amd64/ramdisk_cd Makefile

   use "bootonly" in all cases; ok kn
VersionDeltaFile
1.29+2-2distrib/alpha/miniroot/Makefile
1.40+2-2distrib/amd64/ramdisk_cd/Makefile
1.54+2-2distrib/macppc/ramdisk/Makefile
1.36+2-2distrib/arm64/ramdisk/Makefile
1.50+2-2distrib/hppa/ramdisk/Makefile
1.32+2-2distrib/i386/ramdisk_cd/Makefile
+12-122 files not shown
+16-168 files

OpenBSD/src jT4MpIvsys/uvm uvm_anon.c uvm_anon.h

   Remove unused argument.

   ok tb@
VersionDeltaFile
1.66+4-14sys/uvm/uvm_anon.c
1.24+2-3sys/uvm/uvm_anon.h
+6-172 files

OpenBSD/src pqCuwxKsys/arch/arm64/arm64 intr.c, sys/arch/arm64/dev ampintc.c agintc.c

   avoid including "xcall.h" in cpu.h to avoid confusing userland.

   llvm couldn't find "xcall.h". this follows the example set by amd64 now.

   tb@ hit this, and says it helps.
VersionDeltaFile
1.53+1-7sys/arch/arm64/include/cpu.h
1.35+4-1sys/arch/arm64/dev/ampintc.c
1.65+3-1sys/arch/arm64/dev/agintc.c
1.36+3-1sys/arch/arm64/arm64/intr.c
1.21+3-1sys/arch/arm64/dev/aplintc.c
1.20+3-1sys/arch/arm64/dev/bcm2836_intr.c
+17-121 files not shown
+19-137 files

OpenBSD/src DX4XOXxusr.bin/sndioctl sndioctl.c

   sndioctl: Fix confusion between SIOCTL_NAMEMAX and SIOCTL_DISPLAYMAX

   As both macros have the same value, so the change results in no
   difference in the binary
VersionDeltaFile
1.22+2-2usr.bin/sndioctl/sndioctl.c
+2-21 files

OpenBSD/src 4JGtxieusr.sbin/bgpd rde_update.c rde_adjout.c

   Stop using PREFIX_ADJOUT_FLAG_STALE in up_generate_addpath().

   Instead of marking prefixes with PREFIX_ADJOUT_FLAG_STALE
   up_generate_addpath() can use a local array of path-ids to track which
   paths were present at the start of the call. On update the path id is
   cleared from the list and then at the end remove all remaining paths
   from that list.

   The extra traversals during the update should not matter since the number
   of available paths small and so this linear search will only need one or
   two cache lines.

   It is possible to further optimize this by also tracking the adjout_prefix
   pointer to drop the adjout_prefix_get() call at the end.

   This also uses a fixed maximum of 2000 paths which is more than a
   magnitude more than the biggest system I know.

   OK tb@
VersionDeltaFile
1.190+23-10usr.sbin/bgpd/rde_update.c
1.13+1-8usr.sbin/bgpd/rde_adjout.c
1.333+2-3usr.sbin/bgpd/rde.h
+26-213 files

OpenBSD/src ZjTwnz6usr.bin/dc bcode.c

   dc: error check BN_get_word() failure with (BN_ULONG)-1

   ok deraadt
VersionDeltaFile
1.65+9-13usr.bin/dc/bcode.c
+9-131 files

OpenBSD/src ZwAYioklib/libcrypto/bn bn_lib.c, lib/libcrypto/ec ec_curve.c

   BN_get_word(): return (BN_ULONG)-1 on error rather than BN_MASK2

   While the latter is more general in that it also works on 1-complement
   achitectures, we don't care about that. Adjust documentation and the
   only error check for it in libcrypto.

   ok deraadt
VersionDeltaFile
1.16+3-3lib/libcrypto/man/BN_zero.3
1.95+2-2lib/libcrypto/bn/bn_lib.c
1.60+2-2lib/libcrypto/ec/ec_curve.c
+7-73 files

OpenBSD/src aPk53yzdistrib/arm64/ramdisk Makefile, distrib/loongson/ramdisk Makefile

   Move to "boot-only" media naming like other arch.  noticed by aja
   ok kn
VersionDeltaFile
1.35+3-3distrib/arm64/ramdisk/Makefile
1.35+2-2distrib/loongson/ramdisk/Makefile
+5-52 files

OpenBSD/src vFvwUvBsys/kern kern_srp.c

   fix srp_follow to close a window on use-after-free

   Use srp_enter() to get a new reference to the next element while
   keeping the current element alive. Afterwards the old reference can
   safely be released and the hazard in the caller provided srp_ref
   struct can be updated to the hazard of the new element.

   This is just in time for almost all the SRP code in the tree to go away.

   from Carsten Beckmann carsten_beckmann at genua.de
   ok jmatthew@
VersionDeltaFile
1.15+9-2sys/kern/kern_srp.c
+9-21 files

OpenBSD/src y0UpisHsys/arch/arm64/arm64 intr.c cpu.c, sys/arch/arm64/dev ampintc.c aplintc.c

   wire up xcall support.
VersionDeltaFile
1.35+27-4sys/arch/arm64/arm64/intr.c
1.26+9-1sys/arch/arm64/include/intr.h
1.52+9-1sys/arch/arm64/include/cpu.h
1.34+5-1sys/arch/arm64/dev/ampintc.c
1.20+5-1sys/arch/arm64/dev/aplintc.c
1.144+5-1sys/arch/arm64/arm64/cpu.c
+60-92 files not shown
+69-108 files

OpenBSD/src YFHVyM4sys/arch/arm64/dev bcm2836_intr.c

   only build and set up ipi handling on MULTIPROCESSOR kernels.

   this is consistent with the other interrupt controller drivers on arm64.
VersionDeltaFile
1.18+7-1sys/arch/arm64/dev/bcm2836_intr.c
+7-11 files

OpenBSD/src 4Ri9YtFsys/dev/pci/drm/amd/amdkfd kfd_svm.c

   drm/amdkfd: Fix GPU mappings for APU after prefetch

   From Harish Kasiviswanathan
   e71a1bafe6f68a9a406f7d59259643c4966f4bde in linux-6.12.y/6.12.62
   eac32ff42393efa6657efc821231b8d802c1d485 in mainline linux
VersionDeltaFile
1.24+2-0sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
+2-01 files

OpenBSD/src VydcJZLshare/zoneinfo leapseconds.awk, share/zoneinfo/datfiles europe iso3166.tab

   Update to 2025cgtz from https://github.com/JodaOrg/global-tz
    o Baja California agreed with California’s DST rules in 1953 and in
      1961 through 1975, instead of observing standard time all year.
    o The leapseconds file contains commentary about the IERS and NIST
      last-modified and expiration timestamps for leap second data.
    o Commentary now also uses UTGF-8 characters.  This also affects
      data in iso3166.tab and zone1970.tab.
VersionDeltaFile
1.95+37-17share/zoneinfo/datfiles/europe
1.33+10-10share/zoneinfo/datfiles/iso3166.tab
1.51+6-8share/zoneinfo/datfiles/antarctica
1.82+7-5share/zoneinfo/datfiles/australasia
1.77+6-5share/zoneinfo/datfiles/africa
1.3+9-2share/zoneinfo/leapseconds.awk
+75-472 files not shown
+84-568 files

OpenBSD/src UwEuzXxgnu/usr.bin/texinfo/util install-info.c

   when using install-info on compressed info files, uncompress from stdin
   rather than passing "< filename" to the shell. from espie, ok tb.
   leaks, but so does the surrounding code.
VersionDeltaFile
1.10+12-3gnu/usr.bin/texinfo/util/install-info.c
+12-31 files

OpenBSD/src QtkG6mGsys/arch/sparc64/sparc64 pmap.c

   Protect the array that keeps track of which MMU contexts are in use with
   a mutex.  Also disable the context stealing code.  It isn't mpsafe and we
   should have more than enough MMU contexts to never need to steal one with
   the current (hard) limites on the number of processes.

   This enables some code that checks that a context that is being freed no
   longer has live entries in the TSB.  This code is somewhat expensive so
   we may want to disable it again in the not too distant future.

   ok deraadt@
VersionDeltaFile
1.127+23-5sys/arch/sparc64/sparc64/pmap.c
+23-51 files

OpenBSD/src pBwvxQSsys/arch/sparc64/sparc64 ipifuncs.c

   The sun4v_send_ipi() function completely blocks interrupts.  This may
   result in failures if there is lots of IPI traffic between CPUs as
   CPUs that are busy sending an IPI won't be able to process incoming IPIs.
   Instead of blocking interrupts, use splhigh() to protect the per-CPU state
   involved in sending IPIs.

   The sun4v_broadcast_ipi() function did not block interrupts and therefore
   lacked protection of the per-CPU state.  This means an IPI sent from an
   interrupt handler could overwrite the state, resulting in TLB flushes being
   sent to the wrong CPUs or with the wrong parameters.  Use splhigh() here
   as well.  This seems to fix (some) of the recent instability seen on
   sparc64 after changes to how we tear down exiting processes.

   ok deraadt@
VersionDeltaFile
1.23+13-7sys/arch/sparc64/sparc64/ipifuncs.c
+13-71 files

OpenBSD/src wvQY22clibexec/snmpd/snmpd_metrics mib.c

   fix a memory leak
   found with clang scan-build, ok martijn@
VersionDeltaFile
1.10+2-1libexec/snmpd/snmpd_metrics/mib.c
+2-11 files

OpenBSD/src k5tD9Khsys/net if_tun.c

   don't call pf_pkt_addr_changed, it's not needed against a new mbuf.

   this means we don't need NPF and pfvar.h

   found by jsg@
VersionDeltaFile
1.256+1-5sys/net/if_tun.c
+1-51 files

OpenBSD/src n57Pp7lsys/dev/usb if_urndisreg.h

   Increase urndis(4) buffer size to 16K.
   Fixes USB tethering issues with Galaxy S20 and S23.

   tested by ratchov@
   ok dlg@ armani@
VersionDeltaFile
1.21+2-2sys/dev/usb/if_urndisreg.h
+2-21 files

OpenBSD/src RVxZgCvsys/arch/arm64/dev smmu_acpi.c

   Skip attaching SMMUv3 on Qualcomm devices like we do for SMMUv2.
VersionDeltaFile
1.11+10-1sys/arch/arm64/dev/smmu_acpi.c
+10-11 files