OpenBSD/src Cqdbcovlib/libtls tls_internal.h, lib/libtls/man tls_config_set_protocols.3

   add X25519MLKEM768 to the start of the default ECDHE curves list, allowing
   libtls clients to connect to servers which don't offer any other curves
   (this has been seen in the wild with got, reported by stsp).  ok tb@

   depends on recent libssl changes (ssl_tlsext.c r1.161, t1_lib.c r1.209).
VersionDeltaFile
1.14+4-4lib/libtls/man/tls_config_set_protocols.3
1.87+2-2lib/libtls/tls_internal.h
+6-62 files

OpenBSD/src lTqmUV4sys/dev/ic ufshci.c

   Increase register status polling busy-wait from 250 to 500ms.
   This makes ufshci(4) survive a suspend on the Samsung Galaxy Book4 Edge.
VersionDeltaFile
1.47+2-2sys/dev/ic/ufshci.c
+2-21 files

OpenBSD/src 8aONmaNlib/libssl d1_both.c

   Correctly handle failure to buffer DTLS messages.

   If we fail to buffer an outgoing DTLS message, we're not going to be able
   to retransmit it. Correctly propagate the failure.

   ok kenjiro@ tb@
VersionDeltaFile
1.97+5-3lib/libssl/d1_both.c
+5-31 files

OpenBSD/src qdNamIBlib/libssl d1_both.c ssl_clnt.c

   Move DTLS change cipher spec handling to its own function.

   When a TLSv1.2 change cipher spec message has been built, call a separate
   function that can handle the DTLS specific processing rather than including
   this in the TLS code.

   ok kenjiro@ tb@
VersionDeltaFile
1.96+14-1lib/libssl/d1_both.c
1.173+3-6lib/libssl/ssl_clnt.c
1.170+3-6lib/libssl/ssl_srvr.c
1.8+2-1lib/libssl/dtls_local.h
+22-144 files

OpenBSD/src dqxhWrNlib/libssl d1_both.c s3_lib.c

   Move DTLS handshake message handling to its own function.

   When a TLSv1.2 handshake message has been built, call a separate function
   that can handle the DTLS specific processing rather than including this in
   the TLS code.

   ok kenjiro@ tb@
VersionDeltaFile
1.95+26-1lib/libssl/d1_both.c
1.260+2-12lib/libssl/s3_lib.c
1.7+2-1lib/libssl/dtls_local.h
+30-143 files

OpenBSD/src ObNllWqlib/libssl s3_lib.c ssl_local.h

   Remove ssl3_handshake_msg_hdr_len()

   This function is only called in one location, which is always a DTLS
   context - use DTLS1_HM_HEADER_LENGTH directly instead.

   ok kenjiro@ tb@
VersionDeltaFile
1.259+2-9lib/libssl/s3_lib.c
1.41+1-2lib/libssl/ssl_local.h
+3-112 files

OpenBSD/src YW5mDLqlib/libssl t1_lib.c ssl_tlsext.c

   libssl: don't break TLSv1.2 with X25519MLKEM768

   If the list of 'groups' starts with X25519MLKEM768 for a TLSv1.2 server,
   ssl3_send_server_kex_ecdhe() attempts to use NID_X25519MLKEM768, which
   it receives from tls1_get_supported_groups(). This does not work because
   it never received the peer's public keys, which causes an error return
   from tls_key_share_server_generate_mlkem768x25519().

   For a TLSv1.2-only client with custom supported group list we will
   currently send ML-KEM if configured. We should not do this.

   There is more to fix here: if a TLSv1.2 client is misconfigured with
   only X25519MLKEM768, we should not send a supported groups extension
   (with this commit we'll send an empty one, which is an RFC violation).

   This commit simply filters X25519MLKEM768 out of the supported groups
   list if we're configured to be TLSv1.2-only.

   feedback/ok jsing kenjiro (on an earlier version)
VersionDeltaFile
1.209+24-1lib/libssl/t1_lib.c
1.161+6-2lib/libssl/ssl_tlsext.c
+30-32 files

OpenBSD/src Dc9zfdHregress/lib/libssl/dtls dtls_handshake_msg_test.c Makefile

   Add regress tests for DTLS handshake messages.
VersionDeltaFile
1.1+369-0regress/lib/libssl/dtls/dtls_handshake_msg_test.c
1.6+6-1regress/lib/libssl/dtls/Makefile
+375-12 files

OpenBSD/src QK1F13Uusr.bin/ssh session.c

   pass >9 commandline arguments to the internal-sftp server,
   previously they were silently dropped; reported by Steve Caffrey
   ok deraadt@
VersionDeltaFile
1.350+11-10usr.bin/ssh/session.c
+11-101 files

OpenBSD/src ePXEdv5usr.bin/ssh sftp-server.c

   avoid truncation of pathnames headed to lstat() for systems where
   PATH_MAX is not the actual max; reported by sahvx655-wq via GHPR688
VersionDeltaFile
1.155+6-5usr.bin/ssh/sftp-server.c
+6-51 files

OpenBSD/src ZTy8ZCvsys/dev softraid_crypto.c

   Tweak sr_crypto_create_key_disk() to match sr_crypto_read_key_disk().

   ok yasuoka
VersionDeltaFile
1.148+3-3sys/dev/softraid_crypto.c
+3-31 files

OpenBSD/src vxaMhL3usr.bin/tmux tmux.1 format.c

   Add a way to quote for command arguments and use for key in list-keys,
   GitHub issue 5153.
VersionDeltaFile
1.1063+9-4usr.bin/tmux/tmux.1
1.373+9-1usr.bin/tmux/format.c
1.75+2-2usr.bin/tmux/cmd-list-keys.c
+20-73 files

OpenBSD/src JHkKlXjusr.bin/ssh ed25519.sh ed25519.c

   rename a variable to be more accurate
VersionDeltaFile
1.4+4-4usr.bin/ssh/ed25519.sh
1.6+3-3usr.bin/ssh/ed25519.c
+7-72 files

OpenBSD/src YXpMFtxsys/dev/pci if_aq_pci.c

   Properly set up interrupts in multivec mode if we have multiple msix
   vectors but only one queue, making the driver work in uniprocessor
   kernels, including RAMDISK.

   problem reported by Lexi Winter
   ok dlg@
VersionDeltaFile
1.36+6-4sys/dev/pci/if_aq_pci.c
+6-41 files

OpenBSD/src H7UOhDxsys/dev/pci if_mwx.c if_mwxreg.h

   Fix mwx_mcu_send_mbuf() for both mt7925 and mt7921 and the next bit
   of 7925 bringup.

   mwx_mcu_send_mbuf() handling of the len field was not quite right. Also
   implement the mt7925 bits for UNI commands. Fix an issue with the wakeup
   of commands, register the command in sc_mcu_wait before enqueuing the
   command into the tx queue. Cleanup on error as well.

   Implement mt7925_mcu_get_nic_capability() and mt7925_mcu_fw_log_2_host()
   with this mwx_mcu_init() is done.

   In mwx_dma_txwi_enqueue() use the right len0 value (mt_desc is a pointer).

   With this MT7925 prints the mac-address (mwx_mcu_init() succeeds) but
   more is needed mwx_init_hardware() after that mwx_preinit() should pass
   which is a big step.

   For MT7921 it seems this fixes the TX issue I was trying to fix for
   so long. Also with this the driver works like before with the new

    [3 lines not shown]
VersionDeltaFile
1.24+179-43sys/dev/pci/if_mwx.c
1.16+42-9sys/dev/pci/if_mwxreg.h
+221-522 files

OpenBSD/src PS1hxTAlib/libssl t1_lib.c

   Drop gcc3 -Wunininitialized workaround

   discussed with miod
VersionDeltaFile
1.208+2-2lib/libssl/t1_lib.c
+2-21 files

OpenBSD/src X8dKhy8distrib/sets/lists/base mi

   sync
VersionDeltaFile
1.1185+22-0distrib/sets/lists/base/mi
+22-01 files

OpenBSD/src lFIC04tsys/dev/pci if_mwx.c if_mwxreg.h

   Fix up DMA allocation, interrupt handling and early hw init up to
   the firmware load sequence.

   Rename most functions used in the hw_init and firmware loading path
   from mt7921 to mwx since these functions work on all versions now.

   This diff allows both 7921 and 7925 devices to load and start the firmware.
   Untested are 7920 and 7922 (I lack those devices).

   Lots of bits picked up from a diff by mlarkin@
VersionDeltaFile
1.23+157-103sys/dev/pci/if_mwx.c
1.15+45-21sys/dev/pci/if_mwxreg.h
+202-1242 files

OpenBSD/src WbY5Ctilib/libssl ssl_local.h ssl_versions.c

   libssl: const correct ssl_*version* API

   None of these functions modifies the SSL pointer. An upcoming diff will
   need to call one of them with a const pointer, so fix all of them.

   ok jsing kenjiro
VersionDeltaFile
1.40+11-9lib/libssl/ssl_local.h
1.28+10-9lib/libssl/ssl_versions.c
+21-182 files

OpenBSD/src VJcoGDJregress/lib/libcrypto/x509/rfc3779 rfc3779.c

   rfc3779: uwrap a line
VersionDeltaFile
1.17+2-3regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+2-31 files

OpenBSD/src lXm01YUregress/lib/libcrypto/x509/rfc3779 rfc3779.c

   rfc3779: whitespace fixes
VersionDeltaFile
1.16+3-4regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+3-41 files

OpenBSD/src JB2Xceysys/dev/fdt dwpcie.c

   Fix interrupt barriers for the integrated MSI controller.

   ok jca@
VersionDeltaFile
1.62+3-2sys/dev/fdt/dwpcie.c
+3-21 files

OpenBSD/src KTG3IqEusr.bin/systat iostat.c

   systat: prepare userland for upcoming buffer cache work

   ok deraadt
VersionDeltaFile
1.51+1-17usr.bin/systat/iostat.c
+1-171 files

OpenBSD/src DEBynvlusr.bin/tmux window-copy.c cmd-copy-mode.c

   Fix scrollbar drag position when window is taller than tty, from Michael
   Grant.
VersionDeltaFile
1.402+20-9usr.bin/tmux/window-copy.c
1.52+4-2usr.bin/tmux/cmd-copy-mode.c
1.1334+2-2usr.bin/tmux/tmux.h
+26-133 files

OpenBSD/src 5CJOBRNusr.bin/tmux window-copy.c

   Fix window_copy_write_lines to iterate with yy not py, from Michael Grant.
VersionDeltaFile
1.401+2-2usr.bin/tmux/window-copy.c
+2-21 files

OpenBSD/src mjWf0aiusr.sbin/smtpd/smtpd Makefile.orig Makefile.inc.orig

   oops
VersionDeltaFile
1.2+1-1usr.sbin/smtpd/smtpd/Makefile.orig
1.2+0-0usr.sbin/smtpd/smtpd/Makefile.inc.orig
+1-12 files

OpenBSD/src 530LoWUusr.sbin/smtpd/smtpd Makefile Makefile.orig, usr.sbin/smtpd/smtpd-control Makefile

   smtpd was already fork+exec privsep, and starts 6 copies which are
   the same binary.
   I first decided to random-relink smtpd because of some recent close
   calls (in the IPC codepaths, which could have played part in lateral
   movement following a primary hole).  Then it dawned on me that I can
   random relink each of the privsep binaries to be unique, in the same
   style as sshd.
   Each binary now contains a lot of code it does not need (and is not
   reached, but the code remains).  That can be refactored as a later
   step.
   The new /etc/rc relink code will automaticall pick these up.
   vague approval martijn, gilles, millert
VersionDeltaFile
1.116+17-89usr.sbin/smtpd/smtpd/Makefile
1.1+27-0usr.sbin/smtpd/smtpd/Makefile.orig
1.1+25-0usr.sbin/smtpd/smtpd-control/Makefile
1.1+25-0usr.sbin/smtpd/smtpd-dispatcher/Makefile
1.1+25-0usr.sbin/smtpd/smtpd-lka/Makefile
1.1+25-0usr.sbin/smtpd/smtpd-scheduler/Makefile
+144-896 files not shown
+221-9512 files

OpenBSD/src sT0AWpOusr.sbin/httpd Makefile

   httpd worries me a bit, so I want to random-relink it at boot.
   The new /etc/rc relinking components will automatically pick up this
   new directory and process it.
VersionDeltaFile
1.32+2-1usr.sbin/httpd/Makefile
+2-11 files

OpenBSD/src kj2B755lib/libkvm kvm_amd64.c

   Handle the randomly placed direct map
   ok mlarkin
VersionDeltaFile
1.17+26-3lib/libkvm/kvm_amd64.c
+26-31 files

OpenBSD/src sfdEx9ksys/arch/amd64/amd64 pmap.c machdep.c, sys/arch/amd64/include pmap.h

   amd64: Place the direct map at a random location

   Places the direct map at a 512GB-aligned random location selected from
   a 16TB VA window.

   With help and suggestions from deraadt@. Tested by many.
VersionDeltaFile
1.95+23-18sys/arch/amd64/include/pmap.h
1.191+18-11sys/arch/amd64/amd64/pmap.c
1.310+11-4sys/arch/amd64/amd64/machdep.c
1.35+5-2sys/arch/amd64/amd64/locore0.S
1.62+2-2sys/arch/amd64/amd64/bus_dma.c
1.40+2-2sys/arch/amd64/amd64/mem.c
+61-392 files not shown
+65-428 files