OpenBSD/src NgnFcyUsys/arch/riscv64/riscv64 machdep.c

   If there is no /memory node in the device tree, use the EFI memory map to
   determine physmem.

   ok jca@
VersionDeltaFile
1.42+20-16sys/arch/riscv64/riscv64/machdep.c
+20-161 files

OpenBSD/src c6nPYARusr.bin/login login.c

   Use LOGIN_SETXDGENV in login(1)

   Makes XDG_TUNTIME_DIR usable from text consoles.
   "makes sense to me" landry@, ok matthieu@ robert@
VersionDeltaFile
1.75+2-2usr.bin/login/login.c
+2-21 files

OpenBSD/src BgnK91wusr.sbin/httpd httpd.h

   Add missing GZIP_STATIC flag to SRVFLAG_BITS macro

   GZIP_STATIC flag at position \33 was missing from the debug string.

   Also correct the truncated PATH_REWRITE/NO_PATH_REWRITE flag names.
   The PATH_REWRITE and NO_PATH_REWRITE flag names were truncated to
   PATH and NO_PATH in the SRVFLAG_BITS string definition.

   OK kirill@ deraadt@
VersionDeltaFile
1.166+4-3usr.sbin/httpd/httpd.h
+4-31 files

OpenBSD/src OZSn6EFusr.sbin/unbound/iterator iter_scrub.c

   Fix incomplete mitigation of CVE-2025-11411 by applying the non-test part of
   https://nlnetlabs.nl/downloads/unbound/patch_CVE-2025-11411_2_wtests.diff

   This extends the previous fix by also scrubbing unsolicited NS RRSets (and
   their respective address records) for YXDOMAIN and nodata non-referral answers.
VersionDeltaFile
1.20+35-4usr.sbin/unbound/iterator/iter_scrub.c
+35-41 files

OpenBSD/src pRkez35regress/sys/arch/amd64/seves_mmio seves_mmio.c

   Add license and rcs header.

   ok tb
VersionDeltaFile
1.2+18-0regress/sys/arch/amd64/seves_mmio/seves_mmio.c
+18-01 files

OpenBSD/src iia41eOusr.sbin/vmd loadfile_elf.c

   vmd(8): Use 32-bit direct kernel launch for both amd64 and i386

   When bootet by /boot (or EFI boot loaders) both amd64 and i386
   kernel start in a 32-bit mode.

   When launching kernel directly (vmctl start -b <path>) vmd(8)
   configures a flat 64-bit register set as default register set.  The
   GDT provides a 32-bit flat code segment.

   For the i386 kernel the default register set is reconfigured to
   32-bit legacy mode; paging is enabled and uses 4 Mb pages.  This
   is different to i386 being bootet by /boot.  /boot launches the
   i386 kernel with paging disabled.

   The amd64 kernel uses the default register set, i.e. long mode is
   enabled in EFER.  However, it uses the 32-bit code segment of the
   GDT.  Thus ther kernel is effectively running in 32-bit compatibility
   mode.


    [15 lines not shown]
VersionDeltaFile
1.52+17-87usr.sbin/vmd/loadfile_elf.c
+17-871 files

OpenBSD/src xQvkCExusr.sbin/snmpd application.c application_agentx.c

   Implement appl_sysuptime() in favour of smi_getticks().
   appl_sysuptime() uses CLOCK_MONOTONIC instead of gettimeofday(), works
   on a per context basis as per RFC2741, and puts it in a sane namespace.

   Makes sense to tb@
   OK jmatthew@
VersionDeltaFile
1.44+32-6usr.sbin/snmpd/application.c
1.17+15-12usr.sbin/snmpd/application_agentx.c
1.41+1-18usr.sbin/snmpd/smi.c
1.44+3-3usr.sbin/snmpd/trap.c
1.121+1-3usr.sbin/snmpd/snmpd.h
1.13+2-2usr.sbin/snmpd/application_internal.c
+54-443 files not shown
+58-499 files

OpenBSD/src F26gqecusr.bin/make var.c make.1

   tweak make "magic variables" handling

   The idea is that it's shorter to special-case ${@D} and the likes
   (two characters variables ending in D or F) instead of having a weird
   idx encoding.

   Cons:
   - this yields an extra "ext" parameter to classify_var
   Pros:
   - the weird index encoding vanishes
   - no need for special treatment if we add more similar variables.
   - drastically reduces the size of the switch (and the modulo shrinks from
   82 to 36)
   - code will recognize constructs like ${?D} and ${?F}, which puts us in
   line with FreeBSD and NetBSD bmake, and also with gnu make.

   from espie
VersionDeltaFile
1.108+39-102usr.bin/make/var.c
1.142+18-13usr.bin/make/make.1
1.3+1-13usr.bin/make/var_int.h
1.19+1-11usr.bin/make/generate.c
1.66+2-2usr.bin/make/Makefile
+61-1415 files

OpenBSD/src DiERFrZusr.bin/openssl cms.c

   openssl cms: switch to ASN1_STRING_get0_data()

   The deprecated ASN1_STRING_data() will be removed in a future release.
   This is one small step towards that.

   ok kenjiro
VersionDeltaFile
1.39+3-3usr.bin/openssl/cms.c
+3-31 files

OpenBSD/src g9UuA1jusr.bin/openssl pkcs12.c

   openssl pkcs12: stop reaching into ASN1_STRING

   Buy a t: rename hex_prin() to hex_print() and accept an ASN1_STRING so that
   we only need to use accessors once. Also avoid a printf %s NULL.

   ok kenjiro
VersionDeltaFile
1.31+17-18usr.bin/openssl/pkcs12.c
+17-181 files

OpenBSD/src MvsJhGcusr.bin/openssl ca.c

   openssl ca: mechanical change to stop reaching into ASN1_STRING

   ok kenjiro
VersionDeltaFile
1.63+26-21usr.bin/openssl/ca.c
+26-211 files

OpenBSD/src 62ZrDdZusr.bin/openssl asn1pars.c

   openssl asn1pars: don't reach into ASN1_STRING

   ok kenjiro
VersionDeltaFile
1.18+4-4usr.bin/openssl/asn1pars.c
+4-41 files

OpenBSD/src qqCnah7sys/net if_mpe.c if_mpw.c, sys/netmpls mpls_input.c

   refactor some mpls input processing for mpe/mpw/mpip.

   mpw, mpip, and mpe all add entries to the local mpls fib that points to
   themselves, and when these labels are "output" via these interfaces they
   then go and push the packets into their input processing. this is all
   boilerplate, so it can be factored out and better integrated into the
   larger network stack. in particular, we can pass struct netstack through
   to the input handlers.

   there's some small downsides to this. the main one is that using
   if_vinput to dispatch to their input handlers means the vinput
   handling has to cope with mpls encapsulated packets. this is easy
   except for mpw, where ether_ifattach does a lot of setup that has
   to be tweaked for mpls encapsualted ethernet packets.

   while here, this changes mpe output so it doesnt have to prepend the
   mbuf with the sockaddr it uses as the nexthop on the underlay. it only
   had to do that to carry the information across the ifq. if we just don't
   use ifq for output then this gets simplified a lot. the only downside is

    [4 lines not shown]
VersionDeltaFile
1.108+73-84sys/net/if_mpe.c
1.69+47-36sys/net/if_mpw.c
1.21+30-16sys/net/if_mpip.c
1.81+7-11sys/netmpls/mpls_input.c
+157-1474 files

OpenBSD/src zyzGGZjusr.bin/ssh packet.c clientloop.c

   Add Escape option ~I that shows information about the current SSH connection.
   ok djm@, "I like/want" sthen@ florian@
VersionDeltaFile
1.324+107-1usr.bin/ssh/packet.c
1.418+12-1usr.bin/ssh/clientloop.c
1.445+4-2usr.bin/ssh/ssh.1
1.104+2-1usr.bin/ssh/packet.h
+125-54 files

OpenBSD/src x9CxLgwusr.bin/tmux tty.c

   Newer libevents do not allow event_del on a zero'd event.
VersionDeltaFile
1.451+6-3usr.bin/tmux/tty.c
+6-31 files

OpenBSD/src uRPTCAAusr.bin/tmux server-client.c status.c

   Place cursor on correct line if message-line is not 0, reported by
   Alexis Hildebrandt.
VersionDeltaFile
1.436+8-8usr.bin/tmux/server-client.c
1.253+10-5usr.bin/tmux/status.c
1.1277+2-1usr.bin/tmux/tmux.h
+20-143 files

OpenBSD/src MIk3AdGsys/arch/amd64/amd64 trap.c

   SEV-ES: Implement wbinvd in the trap handler

   When MP is enabled, OpenBSD uses the WBINVD instruction. With SEV-ES,
   this causes a VC trap if the hypervisor has the WBINVD intercept enabled.
   In the trap handler, simply forward the WBINVD exit to the hypervisor.

   From Sebastian Sturm

   ok mlarkin hshoexer
VersionDeltaFile
1.116+11-1sys/arch/amd64/amd64/trap.c
+11-11 files

OpenBSD/src Pztg9yklib/libcrypto/asn1 asn1_local.h, lib/libcrypto/ec ec_local.h

   libcrypto: add header guards to *_local.h

   An upcoming change requires the inclusion of asn1_local.h in x509_local.h
   which doesn't work due to missing header guards. Add guards to all local
   headers that don't have them, although reacharounds and multiple inclusions
   are unlikely to occur for most of those.

   ok jsing
VersionDeltaFile
1.71+6-1lib/libcrypto/ec/ec_local.h
1.3+6-1lib/libcrypto/idea/idea_local.h
1.8+6-1lib/libcrypto/modes/modes_local.h
1.4+6-1lib/libcrypto/rc2/rc2_local.h
1.11+6-1lib/libcrypto/rsa/rsa_local.h
1.11+6-1lib/libcrypto/asn1/asn1_local.h
+36-63 files not shown
+54-99 files

OpenBSD/src 5OdzV1husr.bin/sndiod opt.c dev.c

   sndiod: Enable fall-back audio devices by default

   If the server.device control is used to switch to a new device, then
   sndiod will always try to use it first. If the device is not present
   sndiod will try to fall back to the previous one and so on until a
   working device is found.

   ok armani
VersionDeltaFile
1.16+92-37usr.bin/sndiod/opt.c
1.126+8-55usr.bin/sndiod/dev.c
1.52+30-26usr.bin/sndiod/sndiod.c
1.19+5-11usr.bin/sndiod/sndiod.8
1.11+10-2usr.bin/sndiod/opt.h
1.50+2-7usr.bin/sndiod/dev.h
+147-1386 files

OpenBSD/src fAmmA4Uusr.bin/tcpbench tcpbench.c

   raise the min number of connections to 1. 0 doesn't make sense.

   ok djm@
VersionDeltaFile
1.74+2-2usr.bin/tcpbench/tcpbench.c
+2-21 files

OpenBSD/src XtWSjvrsys/net if_rport.c

   white space fixes, no functional change
VersionDeltaFile
1.8+15-15sys/net/if_rport.c
+15-151 files

OpenBSD/src uI5yDuMsys/net if_veb.c

   allocate ifiqs for vport interfaces.

   there are some situations where vport will queue packets it has
   "received". this spreads the processing of them over the softnet
   threads.

   this is like what's done for lo(4) and rport(4)
VersionDeltaFile
1.59+2-1sys/net/if_veb.c
+2-11 files

OpenBSD/src swEJaf3sys/net if_veb.c

   sigh, committed the wrong version of the pf_test in code. unbreak build.
VersionDeltaFile
1.58+18-4sys/net/if_veb.c
+18-41 files

OpenBSD/src lkVeEwVsys/net if_veb.c

   only run pf on incoming packets on untagged (port native vlan) packets.
VersionDeltaFile
1.57+2-2sys/net/if_veb.c
+2-21 files

OpenBSD/src MOt8dHnsys/arch/riscv64/dev mainbus.c simplebus.c

   Handle a "dma-noncoherent" property on the root node of the device tree.
   Consistently use OF_getpropbool() for the "dma-coherent" and
   "dma-noncoherent" properties.

   ok patrick@, miod@, phessler@, jca@
VersionDeltaFile
1.15+6-3sys/arch/riscv64/dev/mainbus.c
1.8+3-3sys/arch/riscv64/dev/simplebus.c
+9-62 files

OpenBSD/src CbDkEC3usr.bin/tmux window-clock.c tmux.1

   Add seconds options for clock mode, from augustus7613 dot mail at pm dot
   me in GitHub issue 4697.
VersionDeltaFile
1.30+18-8usr.bin/tmux/window-clock.c
1.1017+2-2usr.bin/tmux/tmux.1
1.199+2-2usr.bin/tmux/options-table.c
+22-123 files

OpenBSD/src 73lJluLusr.bin/tmux menu.c

   Add a resize callback for menus so that they are correctly moved on
   resize. From m-einfalt at gmx dot de in GitHub issue 4696.
VersionDeltaFile
1.57+34-2usr.bin/tmux/menu.c
+34-21 files

OpenBSD/src W0gXF5Yusr.sbin/vmd virtio.c x86_vm.c

   Allow vmd(8) virtio hardware init to fail so we can clean up.

   Remove a bunch of fatal() paths so we can return a failure when trying to
   initialize virtio devices. This lets us clean up any child processes
   created when we fork/exec things like virtio block and network devices.

   This is part of my overall effort to make vmd(8) not just abort and instead
   clean up its messes before exit.

   ok mlarkin@
VersionDeltaFile
1.132+29-19usr.sbin/vmd/virtio.c
1.12+9-4usr.sbin/vmd/x86_vm.c
1.119+6-2usr.sbin/vmd/vm.c
1.10+3-2usr.sbin/vmd/arm64_vm.c
1.59+2-2usr.sbin/vmd/virtio.h
1.143+2-2usr.sbin/vmd/vmd.h
+51-316 files

OpenBSD/src tdlRWPDusr.sbin/vmd virtio.c x86_vm.c

   Backout previous vmd(8) commit with no log message.
VersionDeltaFile
1.131+18-28usr.sbin/vmd/virtio.c
1.11+3-8usr.sbin/vmd/x86_vm.c
1.118+1-5usr.sbin/vmd/vm.c
1.9+1-2usr.sbin/vmd/arm64_vm.c
1.58+1-1usr.sbin/vmd/virtio.h
1.142+1-1usr.sbin/vmd/vmd.h
+25-456 files

OpenBSD/src iksu7W1usr.sbin/vmd virtio.c x86_vm.c

   *** empty log message ***
VersionDeltaFile
1.130+29-19usr.sbin/vmd/virtio.c
1.10+9-4usr.sbin/vmd/x86_vm.c
1.117+6-2usr.sbin/vmd/vm.c
1.8+3-2usr.sbin/vmd/arm64_vm.c
1.141+2-2usr.sbin/vmd/vmd.h
1.57+2-2usr.sbin/vmd/virtio.h
+51-316 files