OpenBSD/src N3Afsacusr.bin/sed main.c compile.c

   Rename mf_fgets() and cu_fgets() to mf_getline() and cu_getline().
   These functions now use getline(), not fgets().  From espie@
VersionDeltaFile
1.45+5-5usr.bin/sed/main.c
1.52+4-4usr.bin/sed/compile.c
1.36+4-4usr.bin/sed/process.c
1.15+3-3usr.bin/sed/extern.h
+16-164 files

OpenBSD/src 1itlkcnusr.sbin/rpki-client filemode.c

   Invalidate the right stack[] member

   There was a shift of the index in the for loop, and invalidating the wrong
   member could result in a double free in auth_tree_free() on process exit.

   ok claudio job
VersionDeltaFile
1.47+2-2usr.sbin/rpki-client/filemode.c
+2-21 files

OpenBSD/src tNLJrRsusr.sbin/rpki-client crl.c validate.c

   Put back NULL checks in crl_get() and build_chain()

   Turns out filemode still relies on these. Rather than adding to the
   spaghetti in filemode.c, begrudgingly put back the NULL checks with
   an additional XXX.

   ok claudio job
VersionDeltaFile
1.42+5-1usr.sbin/rpki-client/crl.c
1.76+5-1usr.sbin/rpki-client/validate.c
+10-22 files

OpenBSD/src PmQSKxMshare/man/man7 mdoc.7

   Document the new argument .St -p1003.1-2024 introduced in st.c rev. 1.15
   and polish the description of .St -p1003.1-2008 a bit.
   OK job@ jmc@
VersionDeltaFile
1.184+14-4share/man/man7/mdoc.7
+14-41 files

OpenBSD/src 5XLqI3dusr.bin/ssh ssh-keygen.1

   remove one more mention of DSA
VersionDeltaFile
1.232+2-3usr.bin/ssh/ssh-keygen.1
+2-31 files

OpenBSD/src wg1TBUhlib/libm/man feclearexcept.3

   Fix typo: s/fetesteexcept/fetestexcept/
VersionDeltaFile
1.7+3-3lib/libm/man/feclearexcept.3
+3-31 files

OpenBSD/src FuaOd4usys/dev/pci if_vmx.c

   In vmx(4) TSO must pullup headers into first mbuf.

   Forwarding IPv6 packets from vmx with LRO to vmx with TSO did not
   work.  vmx(4) has the requirement that all headers are in the first
   mbuf.  ip6_forward() is quite dumb.  It calls m_copym() to create
   a mbuf that might be used for sending ICMP6 later.  After passing
   the forwarded packet down to ether_encap(), m_prepend() is used to
   restore the ethernet header.  As the mbuf cluster has been copied,
   it is read only now.  That means m_prepend() does not provide the
   empty space at the beginning of the cluster, but allocates a new
   mbuf that contains only the ethernet header.  vmx(4) cannot transmit
   such a TSO packet and drops it.

   Solution is to call m_pullup() in vmxnet3_start().  If we ended up
   in such a miserable condition, use the first mbuf in the chain and
   move all headers into it.

   OK jan@
VersionDeltaFile
1.88+27-1sys/dev/pci/if_vmx.c
+27-11 files

OpenBSD/src nsjy3Mfsys/arch/riscv64/stand/efiboot efiboot.c

   KNF
VersionDeltaFile
1.9+2-3sys/arch/riscv64/stand/efiboot/efiboot.c
+2-31 files

OpenBSD/src ENMPk4bsys/arch/arm64/stand/efiboot efiboot.c

   KNF
VersionDeltaFile
1.52+2-3sys/arch/arm64/stand/efiboot/efiboot.c
+2-31 files

OpenBSD/src ZxQg8oisys/arch/armv7/stand/efiboot efidt.h efiboot.c, sys/arch/riscv64/stand/efiboot efiboot.c efidt.h

   When loading a device tree using the "mach dtb" command, give firmware
   a chance to make modifications (such as applying memory reservations)
   by using the EFI devicetree fixup protocol.

   ok jca@
VersionDeltaFile
1.8+111-39sys/arch/riscv64/stand/efiboot/efiboot.c
1.1+44-0sys/arch/riscv64/stand/efiboot/efidt.h
1.1+44-0sys/arch/armv7/stand/efiboot/efidt.h
1.41+22-4sys/arch/armv7/stand/efiboot/efiboot.c
1.4+2-2sys/arch/riscv64/stand/efiboot/conf.c
1.36+2-2sys/arch/armv7/stand/efiboot/conf.c
+225-476 files

OpenBSD/src gdPATHyusr.sbin/relayd pfe.c

   The fix comes from Giannis Kapetanakis (bilias _from_ edu.physics.uoc.gr).
   When relayd(8) handles 'host disable/enable' command issued by relayctl(8),
   it disables redirect it finds in tables for particular host.  However there can
   be multiple redirect instances which use the same host in relayd(8) tables.
   This change makes relayd(8) to walk through all tables and disable all redirects
   which match the host.

   OK giovanni@, OK sashan@
VersionDeltaFile
1.91+32-4usr.sbin/relayd/pfe.c
+32-41 files

OpenBSD/src SsOOQ0Fusr.bin/ssh ssh.1 ssh-keygen.1

   disable the DSA signature algorithm by default; ok markus@

   (yes, I know this expands to "the Digitial Signature Algorithm
   signature algorithm)
VersionDeltaFile
1.441+7-14usr.bin/ssh/ssh.1
1.231+7-12usr.bin/ssh/ssh-keygen.1
1.52+3-11usr.bin/ssh/ssh-keyscan.1
1.87+5-7usr.bin/ssh/ssh-add.1
1.396+5-6usr.bin/ssh/ssh_config.5
1.326+3-6usr.bin/ssh/sshd.8
+30-562 files not shown
+34-628 files

OpenBSD/src hyA4M6Kusr.bin/ssh serverloop.c

   promote connection-closed messages from verbose to info log level;
   they could be the only record of the connection terminating if the
   client doesn't send a SSH2_MSG_DISCONNECT message. ok dtucker@
VersionDeltaFile
1.240+3-3usr.bin/ssh/serverloop.c
+3-31 files

OpenBSD/src fCB27pqusr.sbin/relayd parse.y relayd.conf.5

   Change adds a 'log' option to relayd.conf(5) rule. The relayd(8) then uses
   the option to set corresponding `log` action in pf(4) rules it generates
   to handle network traffic.

   The patch comes from Giannis Kapetanakis (bilias _from_ edu.physics.uoc.gr).

   OK sashan@
VersionDeltaFile
1.256+11-4usr.sbin/relayd/parse.y
1.208+9-2usr.sbin/relayd/relayd.conf.5
1.66+6-1usr.sbin/relayd/pfe_filter.c
1.273+2-1usr.sbin/relayd/relayd.h
+28-84 files

OpenBSD/src 7YZORSAsys/dev/pci/drm/amd/amdgpu amdgpu_amdkfd_gpuvm.c

   drm/amdkfd: handle duplicate BOs in reserve_bo_and_cond_vms

   From Lang Yu
   3194771798ef256af75577a0a8a2e8ce45726c78 in linux-6.6.y/6.6.34
   2a705f3e49d20b59cd9e5cc3061b2d92ebe1e5f0 in mainline linux
VersionDeltaFile
1.16+2-1sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+2-11 files

OpenBSD/src 8VZIYy9sys/dev/pci/drm/amd/amdkfd kfd_device.c

   Revert "drm/amdkfd: fix gfx_target_version for certain 11.0.3 devices"

   From Alex Deucher
   bb430ea4ba31dcc439d26e02bcbc4473cad4c6d9 in linux-6.6.y/6.6.34
   dd2b75fd9a79bf418e088656822af06fc253dbe3 in mainline linux
VersionDeltaFile
1.16+2-9sys/dev/pci/drm/amd/amdkfd/kfd_device.c
+2-91 files

OpenBSD/src OAQAsLosys/dev/pci/drm/amd/pm/swsmu/smu13 smu_v13_0_4_ppt.c

   drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms

   From Mario Limonciello
   7bc52dce073222c1b6dd23a1e76a68495fc14794 in linux-6.6.y/6.6.34
   267cace556e8a53d703119f7435ab556209e5b6a in mainline linux
VersionDeltaFile
1.7+11-9sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c
+11-91 files

OpenBSD/src dSjZwOysys/dev/pci/drm/amd/amdgpu amdgpu_atomfirmware.c, sys/dev/pci/drm/amd/include atomfirmware.h

   drm/amdgpu/atomfirmware: add intergrated info v2.3 table

   From Li Ma
   4eff07025c844dfeaab8adbb6fbb617775a42423 in linux-6.6.y/6.6.34
   e64e8f7c178e5228e0b2dbb504b9dc75953a319f in mainline linux
VersionDeltaFile
1.8+43-0sys/dev/pci/drm/amd/include/atomfirmware.h
1.9+15-0sys/dev/pci/drm/amd/amdgpu/amdgpu_atomfirmware.c
+58-02 files

OpenBSD/src QnFh7cvsys/dev/pci/drm drm_fbdev_generic.c

   drm/fbdev-generic: Do not set physical framebuffer address

   From Thomas Zimmermann
   bd2ad553f18c43acd57d1ea46c59a1ecd860cea6 in linux-6.6.y/6.6.34
   87cb4a612a89690b123e68f6602d9f6581b03597 in mainline linux
VersionDeltaFile
1.2+0-1sys/dev/pci/drm/drm_fbdev_generic.c
+0-11 files

OpenBSD/src rfrIP5Nsys/dev/pci/drm/amd/amdgpu sdma_v4_0.c

   drm/amdgpu: add error handle to avoid out-of-bounds

   From Bob Zhou
   5b0a3dc3e87821acb80e841b464d335aff242691 in linux-6.6.y/6.6.34
   8b2faf1a4f3b6c748c0da36cda865a226534d520 in mainline linux
VersionDeltaFile
1.16+3-0sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
+3-01 files

OpenBSD/src UJUkTsHsys/dev/pci/drm/i915 i915_hwmon.c

   drm/i915/hwmon: Get rid of devm

   From Ashutosh Dixit
   cfa73607eb21a4ce1d6294a2c5733628897b48a2 in linux-6.6.y/6.6.34
   5bc9de065b8bb9b8dd8799ecb4592d0403b54281 in mainline linux
VersionDeltaFile
1.3+32-14sys/dev/pci/drm/i915/i915_hwmon.c
+32-141 files

OpenBSD/src 2M4OPgqsys/dev/pci/drm/include/generated autoconf.h

   define CONFIG_PM_SLEEP to 1 for IS_ENABLED()
VersionDeltaFile
1.14+1-1sys/dev/pci/drm/include/generated/autoconf.h
+1-11 files

OpenBSD/src WrDwRoBlib/libcrypto/x509 x509_lib.c

   Replace x with x509_exts in X509V3_add1_i2d() and X509V3_get_d2i()

   requested by jsing on review
VersionDeltaFile
1.23+16-14lib/libcrypto/x509/x509_lib.c
+16-141 files

OpenBSD/src aeht0iflib/libcrypto/x509 x509_lib.c

   Rewrite X509V3_get_d2i()

   This API is wrapped by nine *_get{,1}_ext_d2i() functions and they all
   have the same defect: if an idx variable is passed in, multiple extensions
   are handled incorrectly.

   Clean up the mess that was the current implementation by replacing the
   reimplementation of X509v3_get_ext_by_NID() with extra twists by actual
   calls to the real thing. This way the madness is implemented explicitly
   and can be explained in comments. The code still gets shorter.

   In brief: always call this API with a known nid, pass crit, and a NULL idx.
   If NULL is returned, crit != -1 is an error (malformed cert or allocation
   failure).

   ok jsing
VersionDeltaFile
1.22+46-55lib/libcrypto/x509/x509_lib.c
+46-551 files

OpenBSD/src 1Qu7Gm0regress/lib/libcrypto/x509 x509_extensions_test.c

   Add regress coverage for X509V3_get_d2i()
VersionDeltaFile
1.3+265-1regress/lib/libcrypto/x509/x509_extensions_test.c
+265-11 files

OpenBSD/src gfNqAG0usr.bin/timeout timeout.1

   Add note about timeout(1)'s standards compliance

   OK jmc@
VersionDeltaFile
1.9+8-2usr.bin/timeout/timeout.1
+8-21 files

OpenBSD/src r0ob6MFusr.bin/mandoc st.c

   Add new argument for IEEE 1003.1-2024 aka POSIX.1

   OK jmc@ schwarze@
VersionDeltaFile
1.15+2-1usr.bin/mandoc/st.c
+2-11 files

OpenBSD/src nZcijSDsys/dev/pci ahci_pci.c

   Disable MSI on Zhaoxin ZX-100/ZX-200/ZX-E StorX to unhang SSD

   The Unchartevice 6640MA's BIOS forces one of three SATA speeds:
   - Gen1/2: bsd.rd reaches installer, but SSD does not attach
   - Gen3:   bsd.rd attaches SSD but hangs

   MSI works for iwm(4) and and xhci(4), only ahci(4) bugs out, so add a quirk
   for this controller as done for a few other devices already:

    ahci0 at pci0 dev 15 function 0 "Zhaoxin StorX AHCI" rev 0x01: apic 9 int 21, AHCI 1.3.1
   -ahci0: device not communicating on port 0
   +ahci0: port 0: 6.0Gb/s
    scsibus0 at ahci0: 32 targets
   +sd0 at scsibus0 targ 0 lun 0: <ATA, 256GB SSD, V1.3> naa.5000000000000000
   +sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin

   OK kettenis
VersionDeltaFile
1.18+20-2sys/dev/pci/ahci_pci.c
+20-21 files

OpenBSD/src mD9bMsEregress/lib/libcrypto/x509 Makefile

   zap a stray space
VersionDeltaFile
1.23+2-2regress/lib/libcrypto/x509/Makefile
+2-21 files

OpenBSD/src C56q9qtsys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2066+9-1sys/dev/pci/pcidevs_data.h
1.2071+5-1sys/dev/pci/pcidevs.h
+14-22 files