OpenBSD/src Q3fdxSrusr.sbin/snmpd parse.y usm.c

   Put snmp engineids in a struct instead of having the data/length in
   everything that needs in. This is in preparation for wider use of the
   engineids

   OK jmatthew@
VersionDeltaFile
1.92+88-68usr.sbin/snmpd/parse.y
1.31+14-13usr.sbin/snmpd/usm.c
1.96+9-7usr.sbin/snmpd/snmpe.c
1.122+11-5usr.sbin/snmpd/snmpd.h
1.45+2-5usr.sbin/snmpd/trap.c
1.14+3-3usr.sbin/snmpd/application_internal.c
+127-1011 files not shown
+129-1027 files

OpenBSD/src l7ePwfEsys/dev/vmm vmm.c

   Fix vmm(4) id assignment in vm_create.

   My recent changes to fix race conditions confused vmm's global vm
   counter with the always-incrementing index used for identifying new
   vm's. This caused id collision resulting in vmd(8) not cleanly
   rebooting vm's.

   Reported by bluhm@.

   ok bluhm@, mlarkin@
VersionDeltaFile
1.10+7-8sys/dev/vmm/vmm.c
+7-81 files

OpenBSD/src aJ34Eqjsys/arch/arm64/conf GENERIC RAMDISK

   Enable sdhc at pci
VersionDeltaFile
1.310+2-1sys/arch/arm64/conf/GENERIC
1.237+2-1sys/arch/arm64/conf/RAMDISK
+4-22 files

OpenBSD/src Euvl3WFsys/dev/pci sdhc_pci.c, sys/dev/sdmmc sdhcvar.h

   Add support for the Genesys Logic GL9755 SDHC controller.  This includes
   the SDHC controller found on some of the Apple Silicon laptops.

   ok stsp@, mlarkin@
VersionDeltaFile
1.28+177-3sys/dev/pci/sdhc_pci.c
1.18+3-1sys/dev/sdmmc/sdhcvar.h
+180-42 files

OpenBSD/src rvlWyjosys/uvm uvm_pdaemon.c

   Move the final pageout of swap cluster outside of the scanning loop.

   Make the inner loop of uvmpd_scan_inactive() readable.

   Tested by bluhm@, ok tb@
VersionDeltaFile
1.144+175-185sys/uvm/uvm_pdaemon.c
+175-1851 files

OpenBSD/src lOpFxHWusr.sbin/bgpd rde_adjout.c rde_peer.c

   Rewrite the adj-rib-out code to not be per-peer based but instead
   global with a peer bitmap to know which peer holds which prefix version.

   So a pt_entry now includes an array of struct adjout_prefix elements
   each entry is for a different path (different set of attributes) and
   includes a bitmap that tracks which peers include this prefix / attr combo.

   An optimisation on top of this is that the path_id_tx is forced to 0 for
   peers that have no add-path send enabled. This way the lookup for this
   common case is less deep.

   The peer_reaper is now replaced with a simple adjout_prefix_dump call.

   In general this reduces memory consumption by more than 50% especially if
   the outbound filters are producing the same path for many peers. My IXP
   test setup dropped from over 20GB to below 5GB memory usage.

   OK tb@
VersionDeltaFile
1.15+214-178usr.sbin/bgpd/rde_adjout.c
1.64+31-27usr.sbin/bgpd/rde_peer.c
1.336+12-14usr.sbin/bgpd/rde.h
1.60+20-2usr.sbin/bgpd/rde_prefix.c
1.98+8-1usr.sbin/bgpd/util.c
1.192+6-3usr.sbin/bgpd/rde_update.c
+291-2253 files not shown
+297-2309 files

OpenBSD/src gPxDQmysys/arch/luna88k/luna88k machdep.c, sys/arch/m88k/m88k mem.c pmap.c

   last_addr no longer needs to be a global variable.
VersionDeltaFile
1.148+2-2sys/arch/luna88k/luna88k/machdep.c
1.11+2-2sys/arch/m88k/m88k/mem.c
1.95+1-2sys/arch/m88k/m88k/pmap.c
+5-63 files

OpenBSD/src AhPzb0Qsys/arch/amd64/conf RAMDISK_CD, sys/arch/arm64/conf RAMDISK

   add aggr(4) to some large ramdisks which I've built and fit
   ok dlg
VersionDeltaFile
1.213+2-1sys/arch/amd64/conf/RAMDISK_CD
1.236+2-1sys/arch/arm64/conf/RAMDISK
1.254+2-1sys/arch/i386/conf/RAMDISK_CD
+6-33 files

OpenBSD/src mEOUdIQsys/dev/fdt virtio_mmio.c, sys/dev/pci virtio_pci.c

   virtio: Fix condition for buffer chaining, negotiate VIRTIO_F_ANY_LAYOUT

   In 0.9-only time, the VIO_HAVE_MRG_RXBUF macro checked just for the
   VIRTIO_NET_F_MRG_RXBUF feature. The meaning was later changed to
   (version_1 || VIRTIO_NET_F_MRG_RXBUF), but the new meaning is only
   correct for one use of the macro. The buffer chaining must check for the
   MRG_RXBUF feature exclusively.

   On the other hand, the check if we have to split the header from the
   rest of the buffer in the rx queue is a workaround for old kvm versions.
   The standard has since then gained the ANY_LAYOUT feature flag to turn
   off this workaround. According to the virtio 1.x standard, we should
   accept VIRTIO_F_ANY_LAYOUT if it is offered for transitional devices.
   ANY_LAYOUT is implicit if VERSION_1 has been negotiated.

   Since accepting ANY_LAYOUT only relaxes the requirements for us, we can
   simply accept it globally for all virtio device types. vioblk(4) and
   vioscsi(4) unconditionally use the strict buffer layout required for
   legacy devices without ANY_LAYOUT, anyway.

    [4 lines not shown]
VersionDeltaFile
1.74+10-10sys/dev/pv/if_vio.c
1.24+2-1sys/dev/fdt/virtio_mmio.c
1.53+2-1sys/dev/pci/virtio_pci.c
+14-123 files

OpenBSD/src nlerqRosys/arch/arm64/dev smmu.c

   Inherit the DMA tag from the device itself and only override what
   is necessary.  Whether a device is DMA coherent or not depends on
   the device, the SMMU does not influence DMA coherency attributes.
   I assume we have been lucky so far that our machines that have an
   SMMUv2 usually have devices with DMA coherency.  On the RK3588
   this is not the case, and us always adding the COHERENT flag makes
   devices fail to work when used with smmu(4) enabled.

   ok kettenis@
VersionDeltaFile
1.26+2-4sys/arch/arm64/dev/smmu.c
+2-41 files

OpenBSD/src KAwbW9qsys/uvm uvm_page.c

   Assert that `wire_count' doesn't wrap around.
VersionDeltaFile
1.186+3-1sys/uvm/uvm_page.c
+3-11 files

OpenBSD/src 5iadI5Psys/uvm uvm_map.c

   Remove unhelpful XXXs in comments.
VersionDeltaFile
1.352+3-6sys/uvm/uvm_map.c
+3-61 files

OpenBSD/src ZMfA12nusr.bin/tmux options-table.c tmux.1

   Add prompt-command-cursor-style, from Joshua Cooper in GitHub issue 4765.
VersionDeltaFile
1.202+10-1usr.bin/tmux/options-table.c
1.1024+8-2usr.bin/tmux/tmux.1
1.255+5-2usr.bin/tmux/status.c
+23-53 files

OpenBSD/src A8YTgOsusr.bin/tmux status.c

   With status-keys vi, move the cursor left by one when pressing Escape to
   enter command mode, like vi. GitHub issue 4767 from Joshua Cooper.
VersionDeltaFile
1.254+5-2usr.bin/tmux/status.c
+5-21 files

OpenBSD/src 5fBQRi9usr.bin/tmux cmd-find.c tmux.1

   Add {current}/{active} for -t for current window or active pane, from
   Manuel Einfalt in GitHub issue 4766.
VersionDeltaFile
1.84+16-1usr.bin/tmux/cmd-find.c
1.1023+4-2usr.bin/tmux/tmux.1
1.159+3-1usr.bin/tmux/key-bindings.c
+23-43 files

OpenBSD/src bian0Laregress/usr.bin/ssh cert-hostkey.sh

   correctly quote wildcard host certificate principal name, lest it
   expand to an unrelated filename in the working directory
VersionDeltaFile
1.30+15-4regress/usr.bin/ssh/cert-hostkey.sh
+15-41 files

OpenBSD/src AzdyjqOusr.bin/ssh gss-serv.c

   return 0 in void function; spotted by clang -Wextra
VersionDeltaFile
1.35+2-2usr.bin/ssh/gss-serv.c
+2-21 files

OpenBSD/src dcLqG4Rregress/usr.bin/ssh cert-hostkey.sh cert-userkey.sh

   regression tests for certificates with empty principals sections
   (which are now unconditionally refused) and for certificates with
   wildcard principals (which should only be accepted in host certs)
VersionDeltaFile
1.29+17-11regress/usr.bin/ssh/cert-hostkey.sh
1.31+4-5regress/usr.bin/ssh/cert-userkey.sh
+21-162 files

OpenBSD/src dexYzICusr.bin/ssh sshkey.c ssh-keygen.1

   When certificate support was added to OpenSSH, certificates were
   originally specified to represent any principal if the principals
   list was empty.

   This was, in retrospect, a mistake as it created a fail-open
   situation if a CA could be convinced to accidentally sign a
   certificate with no principals. This actually happened in a 3rd-
   party CA product (CVE-2024-7594).

   Somewhat fortunately, the main pathway for using certificates in
   sshd (TrustedUserCAKeys) never supported empty-principals
   certificates, so the blast radius of such mistakes was
   substantially reduced.

   This change removes this footcannon and requires all certificates
   include principals sections. It also fixes interpretation of
   wildcard principals, and properly enables them for host
   certificates only.


    [4 lines not shown]
VersionDeltaFile
1.159+27-30usr.bin/ssh/sshkey.c
1.237+24-10usr.bin/ssh/ssh-keygen.1
1.488+10-1usr.bin/ssh/ssh-keygen.c
1.71+4-4usr.bin/ssh/sshkey.h
1.41+4-4usr.bin/ssh/sshsig.c
1.56+3-3usr.bin/ssh/auth2-hostbased.c
+72-524 files not shown
+80-6010 files

OpenBSD/src 3rXbcJfregress/usr.bin/ssh test-exec.sh

   don't try to test webauthn signatures.
   Nothing in OpenSSH generates these (yet)
VersionDeltaFile
1.139+3-3regress/usr.bin/ssh/test-exec.sh
+3-31 files

OpenBSD/src GoS0nWOusr.bin/ssh sftp-client.c

   Don't misuse the sftp limits extension's open-handles field.
   This value is supposed to be the number of handles a server will allow
   to be opened and not a number of outstanding read/write requests
   that can be sent during an upload/download.

   ok markus@
VersionDeltaFile
1.181+1-12usr.bin/ssh/sftp-client.c
+1-121 files

OpenBSD/src 2P0s6mnusr.bin/ssh mux.c ssh.1

   add a "ssh -O channels user at host" multiplexing command to get a
   running mux process to show information about what channels are
   currently open; ok dtucker@ markus@
VersionDeltaFile
1.109+14-7usr.bin/ssh/mux.c
1.447+4-2usr.bin/ssh/ssh.1
1.622+3-1usr.bin/ssh/ssh.c
1.40+2-1usr.bin/ssh/clientloop.h
+23-114 files

OpenBSD/src UPY1O2Ylib/libcrypto/x509 x509name.c

   X509_NAME_ENTRY_set_data: remove redundant parentheses
VersionDeltaFile
1.39+6-6lib/libcrypto/x509/x509name.c
+6-61 files

OpenBSD/src GsXAPQslib/libcrypto/x509 x509name.c

   X509_NAME_ENTRY_set_data(): garbage collect unnecessary i
VersionDeltaFile
1.38+2-5lib/libcrypto/x509/x509name.c
+2-51 files

OpenBSD/src eM6zz76lib/libcrypto/asn1 asn1.h

   Garbage collect V_ASN1_APP_CHOOSE

   ok kenjiro
VersionDeltaFile
1.93+1-2lib/libcrypto/asn1/asn1.h
+1-21 files

OpenBSD/src Q1ovUoxlib/libcrypto/man X509_NAME_add_entry_by_txt.3 X509_NAME_ENTRY_get_object.3

   Stop documenting V_ASN1_APP_CHOOSE quirk

   ok kenjiro
VersionDeltaFile
1.18+2-12lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
1.18+2-10lib/libcrypto/man/X509_NAME_ENTRY_get_object.3
+4-222 files

OpenBSD/src Heu7g49lib/libcrypto/x509 x509name.c

   X509_NAME_ENTRY_set_data: remove V_ASN1_APP_CHOOSE quirk

   This is the last remaining actual use of ASN1_PRINTABLE_type(), which will
   go away in the next major bump.

   ok kenjiro
VersionDeltaFile
1.37+4-7lib/libcrypto/x509/x509name.c
+4-71 files

OpenBSD/src RhLvbBilib/libcrypto/stack stack.c stack_local.h

   stack: switch data from char ** to void **

   ok jsing kenjiro
VersionDeltaFile
1.34+13-13lib/libcrypto/stack/stack.c
1.2+2-2lib/libcrypto/stack/stack_local.h
+15-152 files

OpenBSD/src XZLmsbhlib/libcrypto/conf conf_api.c

   conf_api: remove CONF_DEBUG and disabling of assert()

   The only thing CONF_DEBUG has done in ages is defining NDEBUG in a file
   that does not contain a single assert. Kill it.

   ok jsing kenjiro
VersionDeltaFile
1.29+1-6lib/libcrypto/conf/conf_api.c
+1-61 files

OpenBSD/src nxiG388usr.bin/ftp util.c

   ftp: fix http_time() to use "GMT", not "UTC", per RFC 9110

   ok claudio
VersionDeltaFile
1.99+2-2usr.bin/ftp/util.c
+2-21 files