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_adjout.c rde_update.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.14+6-4usr.sbin/bgpd/rde_adjout.c
1.191+5-5usr.sbin/bgpd/rde_update.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-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.conf.5.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.conf.5.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.36+2-2distrib/arm64/ramdisk/Makefile
1.50+2-2distrib/hppa/ramdisk/Makefile
1.32+2-2distrib/i386/ramdisk_cd/Makefile
1.36+2-2distrib/loongson/ramdisk/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.20+3-1sys/arch/arm64/dev/bcm2836_intr.c
1.21+3-1sys/arch/arm64/dev/aplintc.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 agintc.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.144+5-1sys/arch/arm64/arm64/cpu.c
1.34+5-1sys/arch/arm64/dev/ampintc.c
1.64+5-1sys/arch/arm64/dev/agintc.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