OpenBSD/src 7KZBTCmsbin/ifconfig brconfig.c

   don't complain about a driver not supporting pvlans.

   found by denis@ with vxlan(4).

   ok denis@
VersionDeltaFile
1.45+8-4sbin/ifconfig/brconfig.c
+8-41 files

OpenBSD/src wBIMlWCetc/rc.d unbound spamlogd

   Reset getopts to decouple rcctl and daemon_flags;  from obsd at mulh.net;  OK sthen

   ksh(1)'s OPTIND is global and only saved/restored for `function' style functions.

   That means passing, e.g. -d to rcctl(8) would leave OPTIND=2 for rc_pre() in
   rc.subr(8) scripts using getopts, thus starting (continuing, really) parsing
   options at the second argument.
VersionDeltaFile
1.11+2-2etc/rc.d/unbound
1.8+2-2etc/rc.d/spamlogd
+4-42 files

OpenBSD/src 8RW85HQsys/net if_mpe.c

   fix some bpf code.

   jsg@ pointed out that i was unconditionally calling bpf_mtap when
   the convention is to test if the bpf if pointer is set before calling
   bpf_mdap.

   while here drop incoming packets if the bpf filter tells us to to
   be consistent with the if_input handlers.

   original nit pointed out by jsg@
VersionDeltaFile
1.109+5-3sys/net/if_mpe.c
+5-31 files

OpenBSD/src VlYRYS6sys/arch/amd64/stand/efiboot efidev.c conf.c

   i put the wrong version of the esp boot code in.

   the way espopen() works on amd64 is different to arm64, and i was
   missing the adaptation.

   ok jmatthew@
VersionDeltaFile
1.45+27-11sys/arch/amd64/stand/efiboot/efidev.c
1.48+2-2sys/arch/amd64/stand/efiboot/conf.c
+29-132 files

OpenBSD/src anYAEkrusr.bin/ssh packet.c

   Add local hostname and pid to ~I escape connection info, only display
   peer information for TCP connections including source address and port
   This provides enough information to uniquely identify a connection on
   the host or network.
VersionDeltaFile
1.326+18-3usr.bin/ssh/packet.c
+18-31 files

OpenBSD/src VyIit6kusr.bin/ssh packet.c

   Add compression stats to ~I connection info escape option.
VersionDeltaFile
1.325+46-4usr.bin/ssh/packet.c
+46-41 files

OpenBSD/src 6S5FDj2usr.sbin/pkg_add/OpenBSD PkgCreate.pm Subst.pm

   Actually check that each @lib has its ${LIBname_VERSION}

   pkg_create was skipping this check because it had "!$x =~ m/y/"
   instead of "$x !~ m/y/".  The misplaced "!" warns in Perl 5.42.  When
   afresh1 fixed the warning, it exposed other problems with the check.

   Here, espie rewrites the check to allow @lib versions like
   ${LIBvala-${API_V}_VERSION} in lang/vala.  Substitute every variable
   but the one we need, then ensure it matches what we want.

   If you upgrade base but keep an old ports tree, then cad/qcad and
   devel/libtalloc would fail to package; those 2 ports were fixed by
   2025-11-21.

   from Marc Espie <marc.espie.openbsd () gmail ! com>
   bulk and ok jca@
   ok afresh1@
VersionDeltaFile
1.201+8-6usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
1.28+5-2usr.sbin/pkg_add/OpenBSD/Subst.pm
+13-82 files

OpenBSD/src kICSYojsys/net pf.c pf_ioctl.c

   start moving some global pf counters to per cpu counters.

   this moves the pfctl_status.fcounters, which includes the state
   search counter which is bumped every time the state table is searched.

   the places that get a copy of these counters now have to read the
   per cpu counters and fold them into a struct pf_status rather than
   just copy the global now.

   ok sashan@
VersionDeltaFile
1.1220+45-6sys/net/pf.c
1.427+6-27sys/net/pf_ioctl.c
1.40+5-1sys/net/pfvar_priv.h
+56-343 files

OpenBSD/src ysF5Ye7sys/arch/amd64/stand/efiboot efidev.c efidev.h

   add support for loading files (kernels) from the efi system partition.

   this means you can put the openbsd boot loader and bsd.rd on the
   efi boot partition and run the installer that way. this is a port
   of the same code i got working on arm64.

   ok jmatthew@
VersionDeltaFile
1.44+207-1sys/arch/amd64/stand/efiboot/efidev.c
1.5+14-1sys/arch/amd64/stand/efiboot/efidev.h
1.47+4-1sys/arch/amd64/stand/efiboot/conf.c
+225-33 files

OpenBSD/src 1sU0o9Osys/netinet6 nd6.c

   Ignore any iterator when traversing nd6 list.

   nd6_rtrequest() could crash with a NULL pointer dereference if an
   interator in nd6_list was inspected.  Skip freeing neigbor discovery
   entries and optimization in this unlikely case and try again later.

   reported by Mischa and Anton Kasimov; OK mvs@

   this is errata/7.8/011_nd6.patch.sig
VersionDeltaFile
1.303.2.1+4-1sys/netinet6/nd6.c
+4-11 files

OpenBSD/src 97H3oFisbin/unwind/libunbound/iterator iter_scrub.c, usr.sbin/unbound/iterator iter_scrub.c

   Fix incomplete mitigation of CVE-2025-11411 in unbound and unwind.
   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.

   from sthen@ florian@

   this is errata/7.8/010_unbound.patch.sig
VersionDeltaFile
1.8.2.2+35-4sbin/unwind/libunbound/iterator/iter_scrub.c
1.17.2.2+35-4usr.sbin/unbound/iterator/iter_scrub.c
+70-82 files

OpenBSD/src 5PP0t60sbin/unwind/libunbound/iterator iter_scrub.c, usr.sbin/unbound/iterator iter_scrub.c

   Fix incomplete mitigation of CVE-2025-11411 in unbound and unwind.
   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.

   from sthen@ florian@

   this is errata/7.7/017_unbound.patch.sig
VersionDeltaFile
1.8.4.2+35-4sbin/unwind/libunbound/iterator/iter_scrub.c
1.17.4.2+35-4usr.sbin/unbound/iterator/iter_scrub.c
+70-82 files

OpenBSD/src NVEpvXYsys/dev/pci/drm drm_linux.c

   Fix drm code to avoid spurious tsleep errors leading to crashes

   __set_current_state() reimplements parts of sleep_finish() but forgot
   to clear P_SINTR.  Later another tsleep->sleep_finish() call could
   pick up the flag and erroneously return ERESTART early, leading to
   crashes in unsuspecting code using tsleep(0, INFSLP).

   Issue experienced by Piotr Isajew using iridium on 7.8 and myself
   using firefox.

   from jca; ok claudio@ mpi@ and most likely kettenis@

   this is errata/7.8/007_drm.patch.sig
VersionDeltaFile
1.126.2.1+2-2sys/dev/pci/drm/drm_linux.c
+2-21 files

OpenBSD/src A2G0QS6sys/dev/pci/drm drm_linux.c

   Fix drm code to avoid spurious tsleep errors leading to crashes

   __set_current_state() reimplements parts of sleep_finish() but forgot
   to clear P_SINTR.  Later another tsleep->sleep_finish() call could
   pick up the flag and erroneously return ERESTART early, leading to
   crashes in unsuspecting code using tsleep(0, INFSLP).

   Issue experienced by Piotr Isajew using iridium on 7.8 and myself
   using firefox.

   from jca; ok claudio@ mpi@ and most likely kettenis@

   this is errata/7.7/015_drm.patch.sig
VersionDeltaFile
1.122.4.1+2-2sys/dev/pci/drm/drm_linux.c
+2-21 files

OpenBSD/src ZFmTelUusr.sbin/httpd server_http.c parse.y

   Add "no banner" option to suppress Server header

   Introduces a global and per-server "[no] banner" directive that prevents httpd
   from sending the Server HTTP response header and removes server identification
   from error documents. The SERVER_SOFTWARE CGI environment variable remains set
   as required by RFC 3875.

   Diff by Lloyd (thanks), ok kirill@
VersionDeltaFile
1.156+37-10usr.sbin/httpd/server_http.c
1.130+26-2usr.sbin/httpd/parse.y
1.128+25-2usr.sbin/httpd/httpd.conf.5
1.98+8-4usr.sbin/httpd/server_fcgi.c
1.167+3-2usr.sbin/httpd/httpd.h
1.67+3-1usr.sbin/httpd/config.c
+102-216 files

OpenBSD/src k3kvecGusr.bin/tmux environ.c

   Do not remove TERM etc for commands run from config file, reported by
   Dennis Eriksen.
VersionDeltaFile
1.29+1-6usr.bin/tmux/environ.c
+1-61 files

OpenBSD/src FEXDhwousr.bin/tmux tmux.1

   session_index was never actually implemented, remove from man page.
VersionDeltaFile
1.1018+2-4usr.bin/tmux/tmux.1
+2-41 files

OpenBSD/src ICqWqv3sbin/unwind/libunbound/iterator iter_scrub.c

   Sync to unbound

   --------
   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.11+35-4sbin/unwind/libunbound/iterator/iter_scrub.c
+35-41 files

OpenBSD/src 9Ysgm8Zsbin/unwind/libunbound config.h, sbin/unwind/libunbound/iterator iter_scrub.c

   Sync to unbound 1.24.1; heavy lifting by sthen (some time ago)
VersionDeltaFile
1.24+2,234-2,222sbin/unwind/libunbound/util/configlexer.c
1.22+12-1sbin/unwind/libunbound/util/configparser.y
1.28+3-3sbin/unwind/libunbound/config.h
1.21+4-1sbin/unwind/libunbound/util/config_file.c
1.21+3-0sbin/unwind/libunbound/util/config_file.h
1.10+1-1sbin/unwind/libunbound/iterator/iter_scrub.c
+2,257-2,2282 files not shown
+2,259-2,2288 files

OpenBSD/src ghgoH3Elib/libcrypto/cms cms_smime.c

   Clean up confusing logic in CMS_EncryptedData_encrypt()

   This makes it easier to read and more in line with other code in
   libcrypto. Also add a missing error check for the CMS_set_detached()
   call.

   ok jsing kenjiro
VersionDeltaFile
1.31+20-15lib/libcrypto/cms/cms_smime.c
+20-151 files

OpenBSD/src NptO551lib/libcrypto/x509 x509_cpols.c

   Fix double free in certificate policies configuration

   In nref_nos(), nnums must not be freed on error because in the caller it
   is not->noticeref->noticenos and hangs off the POLICYQUALINFO qual which
   is freed as part of POLICYQUALINFO_free() in the error path.

   ok jsing kenjiro
VersionDeltaFile
1.20+7-12lib/libcrypto/x509/x509_cpols.c
+7-121 files

OpenBSD/src 4esIFXQsys/netinet6 nd6.c

   Ignore any iterator when traversing nd6 list.

   nd6_rtrequest() could crash with a NULL pointer dereference if an
   interator in nd6_list was inspected.  Skip freeing neigbor discovery
   entries and optimization in this unlikely case and try again later.

   reported by Mischa and Anton Kasimov; OK mvs@
VersionDeltaFile
1.305+4-1sys/netinet6/nd6.c
+4-11 files

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.13+2-2usr.sbin/snmpd/application_internal.c
1.121+1-3usr.sbin/snmpd/snmpd.h
+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