OpenBSD/src ZmIe0oasys/dev/vmm vmm.c vmm.h

   Fix race in vmm(4) vm termination path.

   Two callers can enter vm_terminate simultaneously and race to remove
   the vm from the SLIST and teardown the vm. This adds a flag to the
   vm struct and uses atomic cas operations to only have one caller
   advance while the other callers receive EBUSY.

   ok mlarkin@

   Reported-by: syzbot+b3be6264d2f1d5c22b0b at syzkaller.appspotmail.com
VersionDeltaFile
1.8+8-1sys/dev/vmm/vmm.c
1.13+2-1sys/dev/vmm/vmm.h
+10-22 files

OpenBSD/src u4H8HASregress/usr.sbin/bgpd/unittests Makefile

   The communities test needs now util.c
   Reminded by anton@
VersionDeltaFile
1.16+3-3regress/usr.sbin/bgpd/unittests/Makefile
+3-31 files

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

   fix function name in warnx; ok tb
VersionDeltaFile
1.37+3-3usr.sbin/acme-client/http.c
+3-31 files

OpenBSD/src xclTJvNusr.bin/tmux screen-write.c format.c

   Add support for applications to use synchronized output mode (DECSET
   2026) to prevent screen tearing during rapid updates. When an
   application sends SM ?2026, tmux buffers output until RM ?2026 is received
   or a 1-second timeout expires.

   From Chris Lloyd with the assistance of Claude Code, GitHub issue 4744.
VersionDeltaFile
1.242+51-2usr.bin/tmux/screen-write.c
1.340+16-1usr.bin/tmux/format.c
1.244+11-1usr.bin/tmux/input.c
1.307+5-1usr.bin/tmux/window.c
1.1280+5-1usr.bin/tmux/tmux.h
1.1022+3-2usr.bin/tmux/tmux.1
+91-81 files not shown
+95-97 files

OpenBSD/src ywkcUoyusr.bin/tmux options-table.c

   Do not have a default prompt cursor colour because some terminals
   (urxvt, st) do not support the reset sequence. GitHub issue 4759.
VersionDeltaFile
1.201+2-2usr.bin/tmux/options-table.c
+2-21 files

OpenBSD/src HKcWe7Xusr.bin/tmux window-clock.c

   Make clock mode seconds synchronized to the second, GitHub issue 4760
   from Joao Pedro.
VersionDeltaFile
1.31+29-13usr.bin/tmux/window-clock.c
+29-131 files

OpenBSD/src 3830LTFsys/net pf.c

   avoid a shadowed variable in the pf_create_state() source limiter handling

   the code that unwinds state creation when something fails needed
   the pf_source variable at the function scope to be set, but this
   was masked by a declaration in the scope that sets up the source
   limiting. this results in a NULL deref in the unwind code when it
   needs to clean up the accounting for a source limiter.

   i found it funny that i left this comment for myself in the unwinding
   code:

        /* who needs KASSERTS when we have NULL derefs */

   ok jmatthew@
VersionDeltaFile
1.1226+2-2sys/net/pf.c
+2-21 files

OpenBSD/src XGbDLCOsys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2108+7-3sys/dev/pci/pcidevs_data.h
1.2113+3-2sys/dev/pci/pcidevs.h
+10-52 files

OpenBSD/src Kll3yljsys/dev/pci pcidevs if_igc.c

   Add / correct PCI ids for igc(4); from Brad
VersionDeltaFile
1.2120+3-2sys/dev/pci/pcidevs
1.30+2-1sys/dev/pci/if_igc.c
1.2+2-1sys/dev/pci/igc_api.c
+7-43 files

OpenBSD/src VBOY5uZusr.sbin/bgpd rde_peer.c

   peer_dump already puts all prefixes onto the pending queue.

   So there is no need to call peer_blast at the end, just call
   peer_blast_done() so the EOR marker is added and the peer
   is unthrottled.

   This removes an extra tree walk during session establishment.

   OK tb@
VersionDeltaFile
1.63+2-5usr.sbin/bgpd/rde_peer.c
+2-51 files

OpenBSD/src 5LJ60cUusr.sbin/bgplgd slowcgi.c

   KNF
VersionDeltaFile
1.8+3-3usr.sbin/bgplgd/slowcgi.c
+3-31 files

OpenBSD/src 8Q5KA3Busr.sbin/bgpd util.c rde_attr.c

   Implement the bin_of function like omalloc.c and use it for various
   dynamic array sizing.

   Convert the attrs and communities code to use this (with slightly
   different values).

   OK tb@
VersionDeltaFile
1.97+45-1usr.sbin/bgpd/util.c
1.140+7-7usr.sbin/bgpd/rde_attr.c
1.22+4-3usr.sbin/bgpd/rde_community.c
1.527+4-1usr.sbin/bgpd/bgpd.h
+60-124 files

OpenBSD/src GONJodTusr.sbin/bgpd rde_community.c

   Kill tab on empty line.
VersionDeltaFile
1.21+2-2usr.sbin/bgpd/rde_community.c
+2-21 files

OpenBSD/src 8nTed6husr.sbin/bgpd mrt.c

   space at EOL
VersionDeltaFile
1.133+2-2usr.sbin/bgpd/mrt.c
+2-21 files

OpenBSD/src AOglGeousr.sbin/bgpd rde_update.c rde_adjout.c

   Pass a struct pt_entry *pte to adjout_prefix_withdraw() and
   adjout_prefix_next(). A preparation step for an upcoming change.

   OK tb@
VersionDeltaFile
1.191+5-5usr.sbin/bgpd/rde_update.c
1.14+6-4usr.sbin/bgpd/rde_adjout.c
1.677+4-4usr.sbin/bgpd/rde.c
1.335+3-3usr.sbin/bgpd/rde.h
+18-164 files

OpenBSD/src 7BqepPGusr.sbin/bgpd rde.c

   Switch from a while loop to a for loop since this is what this actually is.

   Does not win a beauty contest but that can be solved later.
   OK tb@
VersionDeltaFile
1.676+11-10usr.sbin/bgpd/rde.c
+11-101 files

OpenBSD/src 4yoJJdXusr.sbin/bgpd rde_prefix.c rde.h

   Extend the prefix/pt API with functions for iterators.

   - pt_first() and pt_next() can be used to implement a basic iterator
     that can walk all or part of a tree.
   - pt_get_next() returns the match or next bigger match than prefix/prefixlen

   OK tb@
VersionDeltaFile
1.59+29-1usr.sbin/bgpd/rde_prefix.c
1.334+5-2usr.sbin/bgpd/rde.h
+34-32 files

OpenBSD/src kTGmNZousr.sbin/bgpd rde_community.c

   Replace sizeof(struct community) with sizeof(*new) since the latter is
   always right.
   OK tb@
VersionDeltaFile
1.20+3-3usr.sbin/bgpd/rde_community.c
+3-31 files

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-checkconf.8.in libunbound.3.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.47+2-2usr.sbin/unbound/doc/unbound-checkconf.8.in
1.48+2-2usr.sbin/unbound/doc/libunbound.3.in
1.47+2-2usr.sbin/unbound/doc/unbound-anchor.8.in
1.49+2-2usr.sbin/unbound/doc/unbound-control.8.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-checkconf.8.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.42+2-2usr.sbin/unbound/doc/unbound-checkconf.8.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/arm64/ramdisk Makefile

   use "bootonly" in all cases; ok kn
VersionDeltaFile
1.36+2-2distrib/arm64/ramdisk/Makefile
1.32+2-2distrib/i386/ramdisk_cd/Makefile
1.36+2-2distrib/loongson/ramdisk/Makefile
1.54+2-2distrib/macppc/ramdisk/Makefile
1.50+2-2distrib/hppa/ramdisk/Makefile
1.29+2-2distrib/alpha/miniroot/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