OpenBSD/src 24N3cQMusr.sbin/bgpctl bgpctl.8, usr.sbin/bgpd bgpd.conf.5 bgpd.8

   Crosslink the bgpd, rpki-client, and rtrd man pages into a constellation

   OK deraadt@
VersionDeltaFile
1.142+4-3usr.sbin/rpki-client/rpki-client.8
1.257+4-3usr.sbin/bgpd/bgpd.conf.5
1.88+4-3usr.sbin/bgpd/bgpd.8
1.113+4-3usr.sbin/bgpctl/bgpctl.8
1.2+4-2usr.sbin/rtrd/rtrd.8
+20-145 files

OpenBSD/src oqxNQN1distrib/sets/lists/base mi, distrib/sets/lists/man mi

   sync
VersionDeltaFile
1.1775+2-0distrib/sets/lists/man/mi
1.1200+2-0distrib/sets/lists/base/mi
+4-02 files

OpenBSD/src tHpi71Cusr.sbin Makefile

   connect rtrd to the tree
VersionDeltaFile
1.218+2-2usr.sbin/Makefile
+2-21 files

OpenBSD/src gaNLHHEusr.sbin/vmd vmd.h virtio.h

   vmd(8): msi/msi-x virtio device interrupt

   add pci plumbing and msi/msi-x interrupt support for virtio devices
   in vmd.

   ok dv
VersionDeltaFile
1.41+462-55usr.sbin/vmd/pci.c
1.152+116-21usr.sbin/vmd/virtio.c
1.35+41-11usr.sbin/vmd/vionet.c
1.17+27-2usr.sbin/vmd/pci.h
1.65+7-2usr.sbin/vmd/virtio.h
1.151+4-2usr.sbin/vmd/vmd.h
+657-933 files not shown
+669-989 files

OpenBSD/src WJCt0Agusr.sbin/rtrctl rtrctl.c

   more minimal knf cleanup than in the daemon
VersionDeltaFile
1.2+41-77usr.sbin/rtrctl/rtrctl.c
+41-771 files

OpenBSD/src AB26zgmusr.sbin/rtrd tables.c send.c

   2863 line include and prototype cleanup; ok job rcovelli
VersionDeltaFile
1.1+1,007-0usr.sbin/rtrd/rtrd.h
1.4+15-22usr.sbin/rtrd/rtrd.c
1.4+10-23usr.sbin/rtrd/sockets.c
1.4+13-19usr.sbin/rtrd/sched.c
1.4+10-19usr.sbin/rtrd/tables.c
1.4+13-16usr.sbin/rtrd/send.c
+1,068-9921 files not shown
+1,181-19127 files

OpenBSD/src 2mUbdg5usr.sbin/vmd i82093aa.c

   Fix compile warnings by adjusted debug ifdef in vmd.

   Missed some warnings from local variables used only in a DPRINTF.
VersionDeltaFile
1.3+4-5usr.sbin/vmd/i82093aa.c
+4-51 files

OpenBSD/src ZzJShxQusr.sbin/vmd x86_mmu.c lapic.c

   Turn down excessive debug logging in vmd's new devices.

   Discussed with mlarkin@
VersionDeltaFile
1.3+24-24usr.sbin/vmd/acpi.c
1.2+21-8usr.sbin/vmd/i82093aa.c
1.3+15-6usr.sbin/vmd/lapic.c
1.2+14-5usr.sbin/vmd/x86_mmu.c
+74-434 files

OpenBSD/src ghnBeNVusr.sbin/vmd vioscsi.c vioblk.c

   Support actually split split-virtqueues in vmd.

   Initial validation was added previously. Allows guests to not need
   contiguous memory for virtqueues. Adds queue size validation and
   alignment.

   Discussed with mlarkin@
VersionDeltaFile
1.151+76-50usr.sbin/vmd/virtio.c
1.34+12-10usr.sbin/vmd/vionet.c
1.64+9-5usr.sbin/vmd/virtio.h
1.34+6-5usr.sbin/vmd/vioscsi.c
1.34+6-5usr.sbin/vmd/vioblk.c
+109-755 files

OpenBSD/src fbB1UYausr.sbin/vmd x86_vm.c

   Fix multiple issues with find_gpa_range in vmd(8).

   Check for ranges that hit holes, mmio regions, and check for overflows
   for regions that hit UINT64_MAX.

   Input from hshoexer@. Discussed also with mlarkin@
VersionDeltaFile
1.21+51-26usr.sbin/vmd/x86_vm.c
+51-261 files

OpenBSD/src xRNXc3Fusr.sbin/rtrd cache.c send.c

   delete duplicate (which could be potentially incorrect, but were not)
   prototypes
   ok rcovelli
VersionDeltaFile
1.3+2-106usr.sbin/rtrd/tables.c
1.2+2-33usr.sbin/rtrd/commands.c
1.3+2-24usr.sbin/rtrd/sockets.c
1.3+4-21usr.sbin/rtrd/sched.c
1.3+2-22usr.sbin/rtrd/send.c
1.3+2-14usr.sbin/rtrd/cache.c
+14-2204 files not shown
+24-25210 files

OpenBSD/src Wwj5OKgsys/dev/fdt simplefb.c

   Sprinkle some #ifdef SUSPEND to unbreak the arm64 RAMDISK kernel.

   Pointed out by bluhm@
VersionDeltaFile
1.23+3-1sys/dev/fdt/simplefb.c
+3-11 files

OpenBSD/src cDtBbalusr.sbin/rtrd signals.c ip_utils.c

   knf cleanup, ok rcovelli
VersionDeltaFile
1.2+104-396usr.sbin/rtrd/tables.c
1.2+65-151usr.sbin/rtrd/send.c
1.2+22-89usr.sbin/rtrd/sockets.c
1.2+11-53usr.sbin/rtrd/sched.c
1.2+8-35usr.sbin/rtrd/ip_utils.c
1.2+17-20usr.sbin/rtrd/signals.c
+227-7446 files not shown
+245-79412 files

OpenBSD/src oH9TCFusys/arch/amd64/amd64 vmm_machdep.c, usr.sbin/vmctl main.c

   vmm(4)/vmd(8): mp plumbing

   Implements the sipi/init lapic state machine, mp IPI support and various
   other changes required for mp. vmctl and man page changes for new start
   and vm.conf options.

   tested by dv and me on various guests

   ok dv
VersionDeltaFile
1.131+302-52usr.sbin/vmd/vm.c
1.2+160-73usr.sbin/vmd/lapic.c
1.84+150-43sys/arch/amd64/amd64/vmm_machdep.c
1.20+89-11usr.sbin/vmd/x86_vm.c
1.183+21-5usr.sbin/vmd/vmd.c
1.91+17-4usr.sbin/vmctl/main.c
+739-18811 files not shown
+809-21417 files

OpenBSD/src 1ZJdtFHusr.sbin/ntpd ntp.c

   Center timestamps in frequency regression

   Subtract the first timestamp in each sample batch before accumulating the
   least-squares terms. This preserves the fitted slope while avoiding
   catastrophic cancellation between squared absolute Unix timestamps.

   from Adam DePrince <adam.deprince at gmail.com>

   ok bluhm@, deraadt@
VersionDeltaFile
1.187+6-1usr.sbin/ntpd/ntp.c
+6-11 files

OpenBSD/src dbWzEeRregress/lib/libssl/dtls dtlstest.c

   Clean up some of the DTLS regress tests.

   Some of these were workarounds needed to handle the client retransmission
   cases. Others test behaviour that is soon going to be removed.
VersionDeltaFile
1.20+4-148regress/lib/libssl/dtls/dtlstest.c
+4-1481 files

OpenBSD/src MpjGKLIusr.sbin/relayd relayd.c proc.c

   relayd: knf
VersionDeltaFile
1.299+5-5usr.sbin/relayd/relayd.h
1.211+3-2usr.sbin/relayd/relayd.c
1.63+3-2usr.sbin/relayd/proc.c
+11-93 files

OpenBSD/src KQJypIXlibexec/ld.so loader.c

   pack local variables in a function where it went nutty
VersionDeltaFile
1.225+3-5libexec/ld.so/loader.c
+3-51 files

OpenBSD/src zQzU9qOlib/libssl d1_pkt.c

   Allow DTLS clients to receive unexpected Finished messages.

   DTLS servers can retransmit Finished messages, which will appear in the
   current epoch. Allow DTLS clients to receive and discard these, rather
   than treating them as unexpected messages.

   DTLS clients should also handle last flight retransmissions, however there
   are bigger issues with this code.

   ok beck@ tb@
VersionDeltaFile
1.132+12-10lib/libssl/d1_pkt.c
+12-101 files

OpenBSD/src 5JAmaEclib/libssl t1_enc.c

   Remove NID_md5_sha1 support from tls1_PRF().

   MD5+SHA1 was only needed for TLS prior to v1.2.

   ok kenjiro@ tb@
VersionDeltaFile
1.160+1-22lib/libssl/t1_enc.c
+1-221 files

OpenBSD/src xMcqNy5lib/libssl ssl_srvr.c dtls_local.h

   Rework handling for flights of buffered DTLS messages.

   Currently outgoing messages are stored in a pqueue for retransmission.
   This is completely unnecessary and requires a bunch of contortions.
   Replace the pqueue with a simple linked list of buffered messages,
   which form a flight. Rename dtls1_clear_record_buffer() to
   dtls1_clear_flight() to more accurately reflect its purpose.

   Make dtls12_create_handshake_msg() self-contained and simplify
   dtls1_buffer_message(), which then allows for the removal of w_msg_hdr.

   ok kenjiro@ tb@
VersionDeltaFile
1.103+84-127lib/libssl/d1_both.c
1.3+14-1lib/libssl/dtls12_internal.h
1.68+4-10lib/libssl/d1_lib.c
1.11+4-8lib/libssl/dtls_local.h
1.173+2-2lib/libssl/ssl_srvr.c
+108-1485 files

OpenBSD/src nDl1epQlib/libssl d1_both.c

   Limit size of buffered DTLS handshake messages.

   Fragments from out-of-sequence DTLS handshake messages are buffered for
   reassembly. When a new out-of-sequence handshake message fragment is
   received it will allocate the full message length buffer that would be
   used by the fully reassembled message. This is limited to the next
   10 messages in sequence, each capped to a maximum size of 128KB - a
   further 16KB is allocated for each reassembly bitmap. A set of crafted
   handshake message fragments can trigger allocation of 10 * 144KB
   (128KB + 16KB), with 156 bytes on the wire.

   Change dtls1_max_handshake_message_len() so that we limit handshake
   messages to ~16KB, with the exception of a Certificate message, which
   uses s->max_cert_list (128KB by default). Also ensure that we do not
   currently have an identical handshake message type pending for
   reassembly - this prevents resassembly of multiple Certificate messages
   which would then result in the original allocations.

   This caps the allocation to ~306KB (9 * ~18KB + 144KB) - the correct

    [4 lines not shown]
VersionDeltaFile
1.102+17-7lib/libssl/d1_both.c
+17-71 files

OpenBSD/src smIZwURregress/lib/libssl/dtls dtlstest.c

   Improve client retransmit handling in DTLS regress.

   In these DTLS regress tests we can have the server complete its handshake,
   while the client has not and needs to trigger retransmissions. If the
   server is done but the client is not, continue to do zero-byte reads so
   that we process any retransmitted messages appropriately.
VersionDeltaFile
1.19+28-1regress/lib/libssl/dtls/dtlstest.c
+28-11 files

OpenBSD/src wuyf3B9usr.sbin/vmd fw_cfg.c x86_vm.c


   ioapic and lapic code for vmm/vmd

   Add i82093aa ioapic and i82489dx-compatible lapic emulation to vmd.
   Also wire up the fw loading for acpi tables to support the same in
   seabios via fw_cfg.

   Also fix errors with the PIT and ns8250 uart emulation discovered when
   they are wired to the ioapic

   ok dv
VersionDeltaFile
1.1+701-0usr.sbin/vmd/lapic.c
1.1+329-0usr.sbin/vmd/i82093aa.c
1.43+51-33usr.sbin/vmd/ns8250.c
1.130+68-1usr.sbin/vmd/vm.c
1.19+50-11usr.sbin/vmd/x86_vm.c
1.17+44-1usr.sbin/vmd/fw_cfg.c
+1,243-4610 files not shown
+1,354-6316 files

OpenBSD/src 8610Xycregress/lib/libssl/dtls dtls_wire_test.c

   Add missing failure handling.
VersionDeltaFile
1.2+2-1regress/lib/libssl/dtls/dtls_wire_test.c
+2-11 files

OpenBSD/src 61JCtArsys/kern kern_pledge.c

   The relaxation to permit TCP_NODELAY on AF_UNIX through pledge shouldn't
   check the socket's protocol. This should be revisited later as it allows
   slightly more than desired, but unbreaks some software.

   ok deraadt
VersionDeltaFile
1.367+2-2sys/kern/kern_pledge.c
+2-21 files

OpenBSD/src d7YWjWsusr.sbin/rtrd rtrd.c

   delete run-time time_t range checks
   ok rcovelli job
VersionDeltaFile
1.2+1-10usr.sbin/rtrd/rtrd.c
+1-101 files

OpenBSD/src a1K2JYDlib/libc/stdio wprintf.3 printf.3

   Adjust man pages for recent printf change

   The exception for '%#.0o' is gone.

   ok jan@
VersionDeltaFile
1.95+3-6lib/libc/stdio/printf.3
1.12+3-4lib/libc/stdio/wprintf.3
+6-102 files

OpenBSD/src rVCVrciusr.sbin/dhcpd alloc.c dhcp.c

   Avoid potential memory exhaustion via DHCPINFORM.

   Problem found and diff by Acts1631.

   ok tb@
VersionDeltaFile
1.58+28-28usr.sbin/dhcpd/dhcp.c
1.17+8-1usr.sbin/dhcpd/alloc.c
+36-292 files

OpenBSD/src oXiOaOcregress/lib/libc/getexecpath Makefile

   Enable getexecpath shebang tests, add test with canonical and also
   /usr/bin/env (which results in a normal exec).
VersionDeltaFile
1.3+5-1regress/lib/libc/getexecpath/Makefile
+5-11 files