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.31+2-2sys/arch/amd64/amd64/bus_space.c
1.40+2-2sys/arch/amd64/amd64/mem.c
+61-392 files not shown
+65-428 files

OpenBSD/src 7EpZwMOusr.bin/ssh ed25519.sh ed25519.c

   add signature malleability and pubkey validity checks to ed25519
   verification (SSH doesn't depend on these properties)
   Pointed out by Soatok Dreamseeker

   Add an explicit-seed variant of the keygen function.

   feedback / "looks fine" tb@
VersionDeltaFile
1.3+69-5usr.bin/ssh/ed25519.sh
1.5+32-2usr.bin/ssh/ed25519.c
+101-72 files

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

   Change run-shell expansion to just be #{1} etc not #1 which interferes
   with colours.
VersionDeltaFile
1.372+2-9usr.bin/tmux/format.c
1.1062+1-4usr.bin/tmux/tmux.1
+3-132 files

OpenBSD/src BeiEGEtusr.bin/tmux tty.c

   Change so panes scroll when the cursor is at the top instead of halfway
   down, from Michael Grant.
VersionDeltaFile
1.469+2-2usr.bin/tmux/tty.c
+2-21 files

OpenBSD/src KPsKNIXusr.sbin/relayd relay_http.c http.h

   relayd: strip Content-Length for chunked messages

   RFC 9112 section 6.1 requires an intermediary that forwards a message
   carrying Transfer-Encoding to remove any received Content-Length first.
   relayd already parses the body as chunked in this case, but previously
   left Content-Length in the header tree, so the backend could receive
   both framing fields and choose a different message boundary.

   When chunked framing is selected, remove Content-Length before header
   emission; this preserves relayd's chunked body handling while avoiding
   CL.TE ambiguity downstream.

   Reproted by: Stuart Thomas

   OK: rsaodwski@
VersionDeltaFile
1.100+19-1usr.sbin/relayd/relay_http.c
1.14+2-1usr.sbin/relayd/http.h
+21-22 files

OpenBSD/src 6IOi8F3usr.sbin/httpd server_http.c http.h

   httpd: reject CL.TE request framing

   RFC 9112 sections 6.1 and 6.3 identify a request containing both
   Transfer-Encoding and Content-Length as ambiguous request smuggling
   input. httpd is the origin server, not an intermediary, so it should not
   rewrite the message and continue processing it.

   Reject chunked requests that also carry Content-Length before method
   specific body handling or FastCGI parameter generation; this avoids
   exposing inconsistent framing metadata to applications.

   Reproted by: Stuart Thomas

   OK: rsaodwski@
VersionDeltaFile
1.165+14-1usr.sbin/httpd/server_http.c
1.18+2-1usr.sbin/httpd/http.h
+16-22 files

OpenBSD/src Wr786t7usr.sbin/relayd relay_http.c relayd.c

   relayd: reject obs-fold to prevent parser differentials (RFC 9112 5.2)

   Replace silent kv_extend normalisation with an unconditional reject.
   RFC 9112 5.2 permits rejection; it is safer than SP replacement
   for a forwarding proxy and handles both request and response direction.
   kv_extend is therefore no longer required.

   Reported by Stuart Thomas, OK kirill@
VersionDeltaFile
1.99+10-16usr.sbin/relayd/relay_http.c
1.199+1-20usr.sbin/relayd/relayd.c
1.280+1-2usr.sbin/relayd/relayd.h
+12-383 files

OpenBSD/src aBkfjZCusr.sbin/httpd server_http.c httpd.c

   httpd: reject obs-fold with 400 (RFC 9112 5.2)

   Replace silent kv_extend normalisation with an unconditional 400.
   RFC 9112 5.2 explicitly permits rejection; it is the safer choice
   over SP replacement, which hides parser ambiguity downstream.

   Reported by Stuart Thomas, OK kirill@
VersionDeltaFile
1.164+12-21usr.sbin/httpd/server_http.c
1.79+1-20usr.sbin/httpd/httpd.c
1.174+1-2usr.sbin/httpd/httpd.h
+14-433 files

OpenBSD/src Q78Dgarregress/usr.sbin/bgpd/config bgpd.conf.16.ok, regress/usr.sbin/bgpd/integrationtests bgpd.as0.conf

   Fixup regress after chaning the default for 'announce as-4byte' to enforce.

   Friendly reminder that I forgot to commit this by anton@
VersionDeltaFile
1.2+3-1regress/usr.sbin/bgpd/integrationtests/bgpd.as0.conf
1.2+1-1regress/usr.sbin/bgpd/config/bgpd.conf.16.ok
+4-22 files