OpenBSD/src ejLQrbZusr.bin/sort sort.1

   For the three numerical sort options, mention what the key is
   because the description of the -u option refers to the term "key".
   While here, improve a few minor points in the vicinity, too.
   Triggered by a question from <VanDung dot Ha at freedom dot nl> on bugs@.
   OK sthen@ deraadt@ jmc@
VersionDeltaFile
1.66+13-11usr.bin/sort/sort.1
+13-111 files

OpenBSD/src duRQuVylib/libcrypto/man d2i_X509_CRL.3

   Rename a bunch of confusingly named variables

   Variables of the type serialized or deserialized are called val_in or
   val_out in all other manuals, so align this page to using those rather
   than the confusing X509_CRL **der_out, etc.
VersionDeltaFile
1.10+6-6lib/libcrypto/man/d2i_X509_CRL.3
+6-61 files

OpenBSD/src AXoJVggregress/lib/libcrypto/x509 x509_name_test.c Makefile

   Add regress coverage for X509_NAME_oneline and X509_NAME_print
VersionDeltaFile
1.1+312-0regress/lib/libcrypto/x509/x509_name_test.c
1.24+2-1regress/lib/libcrypto/x509/Makefile
+314-12 files

OpenBSD/src 1d48U8Glib/libcrypto/man d2i_X509_NAME.3 d2i_ASN1_OBJECT.3

   const correct d2i_* prototypes
VersionDeltaFile
1.18+4-4lib/libcrypto/man/d2i_X509_NAME.3
1.15+3-3lib/libcrypto/man/d2i_ASN1_OBJECT.3
1.11+3-3lib/libcrypto/man/d2i_X509_ALGOR.3
1.10+3-3lib/libcrypto/man/d2i_X509_SIG.3
+13-134 files

OpenBSD/src QBUZ1ZFlib/libexpat Changes, lib/libexpat/lib xmlparse.c

   Update libexpat to version 2.7.0.

   Relevant for OpenBSD are security fixes #893 #973, other changes
   #921 #941 #959 #971 #969 #970.  No library bump necessary, only
   version defines have been changed in public header file.  CVE-2024-8176

   tested and OK tb@
VersionDeltaFile
1.41+418-154lib/libexpat/lib/xmlparse.c
1.6+322-9lib/libexpat/tests/basic_tests.c
1.5+144-44lib/libexpat/tests/misc_tests.c
1.29+83-2lib/libexpat/Changes
1.8+43-17lib/libexpat/tests/benchmark/benchmark.c
1.2+27-0lib/libexpat/tests/alloc_tests.c
+1,037-2269 files not shown
+1,102-24715 files

OpenBSD/src Dtn1QVjusr.sbin/bgpd rde_peer.c rde_rib.c

   Fix accounting of the pending update counter

   There are two issues:
   - In peer_blast_upcall() pending_update must be increased for every
     prefix inserted.
   - In prefix_adjout_flush_pending() the EoR marker needs special handling.
     The EoR marker is not accounted but must be freed here.

   OK tb@
VersionDeltaFile
1.48+6-2usr.sbin/bgpd/rde_peer.c
1.268+6-2usr.sbin/bgpd/rde_rib.c
+12-42 files

OpenBSD/src FjfZvD0usr.bin/ssh cipher.c

   Fix EVP_CIPHER_CTX_ctrl() return checks

   While this API tries to translate negative return values (i.e. -1) to 0
   in BoringSSL and LibreSSL, it is still possible for it to return negative
   values in prinicple. We even incorrectly document that -1 can be returned
   while Boring and OpenSSL plead the Fifth.

   In OpenSSL 3 there are now code paths that explicitly return -1 and they
   started shifting their return checks to <= 0 - of course they do this in
   inconsistent and sometimes incorrect manner. While these paths aren't
   reachable from ssh right now, who can really tell what happens in the two
   hundred lines of inscrutable bloated mess this has become.

   So error check with <= 0 to ensure that we don't accidentally translate an
   error to success.

   ok markus schwarze
VersionDeltaFile
1.124+14-14usr.bin/ssh/cipher.c
+14-141 files

OpenBSD/src j21LsSpsys/dev/pci/drm/i915/display skl_universal_plane.c intel_cursor.c

   drm/i915: Plumb 'dsb' all way to the plane hooks

   From Ville Syrjala
   f96fbd79e874798f1863249e36e16661df8a0a82 in linux-6.12.y/6.12.19
   01389846f7d61d262cc92d42ad4d1a25730e3eff in mainline linux
VersionDeltaFile
1.9+172-145sys/dev/pci/drm/i915/display/skl_universal_plane.c
1.7+54-47sys/dev/pci/drm/i915/display/intel_cursor.c
1.8+29-20sys/dev/pci/drm/i915/display/intel_atomic_plane.c
1.7+18-9sys/dev/pci/drm/i915/display/intel_sprite.c
1.24+14-11sys/dev/pci/drm/i915/display/intel_display.c
1.6+14-8sys/dev/pci/drm/i915/display/i9xx_plane.c
+301-2404 files not shown
+338-25110 files

OpenBSD/src 9ZtH2CZsys/dev/pci/drm/i915/display intel_display.c intel_color.c

   drm/i915/color: Extract intel_color_modeset()

   From Ville Syrjala
   7f74b1f4a9474fa04d56d0f41fa6c89cd8103715 in linux-6.12.y/6.12.19
   84d2d0430f0833cdf52a3d051906add051f20ef0 in mainline linux
VersionDeltaFile
1.23+4-29sys/dev/pci/drm/i915/display/intel_display.c
1.9+17-0sys/dev/pci/drm/i915/display/intel_color.c
1.6+1-0sys/dev/pci/drm/i915/display/intel_color.h
+22-293 files

OpenBSD/src ZjHc0jMsys/dev/pci/drm/scheduler gpu_scheduler_trace.h

   drm/sched: Fix preprocessor guard

   From Philipp Stanner
   c78f4052cf40265adb396b927194e79e30524080 in linux-6.12.y/6.12.19
   23e0832d6d7be2d3c713f9390c060b6f1c48bf36 in mainline linux
VersionDeltaFile
1.5+2-2sys/dev/pci/drm/scheduler/gpu_scheduler_trace.h
+2-21 files

OpenBSD/src GWLwgxKsys/dev/pci/drm drm_fbdev_ttm.c, sys/dev/pci/drm/include/drm drm_fbdev_ttm.h

   drm/fbdev-ttm: Support struct drm_driver.fbdev_probe

   From Thomas Zimmermann
   dad0617fe3b95e780c7bf6987c2fa8b19af668cb in linux-6.12.y/6.12.19
   c7c1b9e1d52b0a0dbb0ee552efdc3360c0f5363c in mainline linux
VersionDeltaFile
1.2+81-69sys/dev/pci/drm/drm_fbdev_ttm.c
1.2+13-0sys/dev/pci/drm/include/drm/drm_fbdev_ttm.h
+94-692 files

OpenBSD/src RtH684Rsys/dev/pci/drm drm_client_setup.c files.drm, sys/dev/pci/drm/include/drm drm_client_setup.h

   drm: Add client-agnostic setup helper

   From Thomas Zimmermann
   09d1157182d0f669c48c7f5d1b0621ff46db21ea in linux-6.12.y/6.12.19
   d07fdf9225922d3e36ebd13ccab3df62b1ccdab3 in mainline linux
VersionDeltaFile
1.1+66-0sys/dev/pci/drm/drm_client_setup.c
1.1+27-0sys/dev/pci/drm/include/drm/drm_client_setup.h
1.67+2-1sys/dev/pci/drm/files.drm
1.18+1-0sys/dev/pci/drm/include/generated/autoconf.h
+96-14 files

OpenBSD/src RJA43gLsys/dev/pci/drm drm_fbdev_client.c drm_fb_helper.c, sys/dev/pci/drm/include/drm drm_fbdev_client.h drm_drv.h

   drm/fbdev: Add memory-agnostic fbdev client

   From Thomas Zimmermann
   7f5535fcbba2ce7f1908ee7e5c350032a4b1e9d0 in linux-6.12.y/6.12.19
   5d08c44e47b9d41366714552bdd374ac4b595591 in mainline linux
VersionDeltaFile
1.1+141-0sys/dev/pci/drm/drm_fbdev_client.c
1.1+19-0sys/dev/pci/drm/include/drm/drm_fbdev_client.h
1.12+18-0sys/dev/pci/drm/include/drm/drm_drv.h
1.44+9-8sys/dev/pci/drm/drm_fb_helper.c
1.66+2-1sys/dev/pci/drm/files.drm
+189-95 files

OpenBSD/src BNGcnAasys/dev/pci/drm drm_fb_helper.c drm_fourcc.c, sys/dev/pci/drm/include/drm drm_fourcc.h

   drm/fbdev-helper: Move color-mode lookup into 4CC format helper

   From Thomas Zimmermann
   f9c843f56d01086a9ff80140ce9eedeceb001aca in linux-6.12.y/6.12.19
   eb1f4adf9101573fc2347978a60d71c4f1176cca in mainline linux
VersionDeltaFile
1.43+19-57sys/dev/pci/drm/drm_fb_helper.c
1.8+29-1sys/dev/pci/drm/drm_fourcc.c
1.6+1-0sys/dev/pci/drm/include/drm/drm_fourcc.h
+49-583 files

OpenBSD/src wrmshtbsys/dev/pci/drm/radeon rs400.c r300.c

   drm/radeon: Fix rs400_gpu_init for ATI mobility radeon Xpress 200M

   From Richard Thier
   4ca67d51d90dd85d2137e76d509f564e299f32c4 in linux-6.12.y/6.12.19
   29ffeb73b216ce3eff10229eb077cf9b7812119d in mainline linux
VersionDeltaFile
1.18+16-2sys/dev/pci/drm/radeon/rs400.c
1.18+2-1sys/dev/pci/drm/radeon/r300.c
1.8+1-0sys/dev/pci/drm/radeon/radeon_asic.h
+19-33 files

OpenBSD/src 8CgyCzgsys/dev/pci/drm/amd/pm/swsmu/smu14 smu_v14_0.c

   drm/amd/pm: always allow ih interrupt from fw

   From Kenneth Feng
   6c7025b9f86e3bc5c164a117b7a36ce73ac820aa in linux-6.12.y/6.12.19
   da552bda987420e877500fdd90bd0172e3bf412b in mainline linux
VersionDeltaFile
1.2+1-11sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
+1-111 files

OpenBSD/src Z5Qvd9Bsys/dev/pci/drm/amd/amdkfd kfd_queue.c

   drm/amdkfd: Fix NULL Pointer Dereference in KFD queue

   From Andrew Martin
   c3cbeafb4e0001d9146df50b470885e02664f3c7 in linux-6.12.y/6.12.19
   fd617ea3b79d2116d53f76cdb5a3601c0ba6e42f in mainline linux
VersionDeltaFile
1.4+2-2sys/dev/pci/drm/amd/amdkfd/kfd_queue.c
+2-21 files

OpenBSD/src pPbPxpmsys/dev/pci/drm/amd/display/dc/core dc_resource.c

   drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params

   From Ma Ke
   e0345c3478f185ca840daac7f08a1fcd4ebec3e9 in linux-6.12.y/6.12.19
   374c9faac5a763a05bc3f68ad9f73dab3c6aec90 in mainline linux
VersionDeltaFile
1.27+2-1sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
+2-11 files

OpenBSD/src Hj29Q4Zsys/dev/pci/drm/i915/display icl_dsi.c

   drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro

   From Imre Deak
   729e7d4b1c5484928bd930ba94bb010e5b88a555 in linux-6.12.y/6.12.19
   879f70382ff3e92fc854589ada3453e3f5f5b601 in mainline linux
VersionDeltaFile
1.16+2-2sys/dev/pci/drm/i915/display/icl_dsi.c
+2-21 files

OpenBSD/src KLAZe6Hsys/dev/pci/drm/i915/display icl_dsi.c icl_dsi.h

   drm/i915/dsi: convert to struct intel_display

   From Jani Nikula
   0131280ddf38a1a487037737c67b67646f6c7c9b in linux-6.12.y/6.12.19
   7c05c58c15d49b75eefaa24154cce771f1db955b in mainline linux
VersionDeltaFile
1.15+224-220sys/dev/pci/drm/i915/display/icl_dsi.c
1.4+2-2sys/dev/pci/drm/i915/display/icl_dsi.h
1.13+1-1sys/dev/pci/drm/i915/display/intel_ddi.c
+227-2233 files

OpenBSD/src 4bOi0BDsbin/iked ikev2.c

   Move remote address update after ikev2_pld_parse() to make sure
   the received packet is validated and authenticated before we update
   our connection state.

   Initially reported by IIJ
   Feedback and ok yasuoka@ markus@
VersionDeltaFile
1.391+23-14sbin/iked/ikev2.c
+23-141 files

OpenBSD/src pQSFfgCsys/arch/amd64/amd64 bus_dma.c

   Implement busdma(9) bounce buffering for raw memory.

   In _bus_dmamap_load_raw() use the same logic for bounce buffers as
   in _bus_dmamap_load_buffer().  Then xhci(4) attaches when running
   on a KVM hypervisor with AMD SEV enabled.

   from hshoexer@
VersionDeltaFile
1.60+27-3sys/arch/amd64/amd64/bus_dma.c
+27-31 files

OpenBSD/src eMiR3D0sys/dev/pci/drm drm_gem_atomic_helper.c

   don't error on explicit fence in drm_gem_plane_helper_prepare_fb()

   mglocker@ encountered this.  With a screen sometimes staying black when
   coming back from screen saver idle.
VersionDeltaFile
1.3+4-5sys/dev/pci/drm/drm_gem_atomic_helper.c
+4-51 files

OpenBSD/src n9RrtPRdistrib/sets/lists/base mi, lib/libssl shlib_version

   minor libssl bump (SSL_OP_NO_RENEGOTIATION/SSL_OP_ALLOW_CLIENT_RENEGOTIATION)
   code #ifdef'ing these and compiled with new headers won't work as expected on
   earlier libraries

   minor libtls bump to match libssl bump

   ok tb@
VersionDeltaFile
1.1159+2-2distrib/sets/lists/base/mi
1.103+1-1lib/libssl/shlib_version
1.82+1-1lib/libtls/shlib_version
+4-43 files

OpenBSD/src PBSfioWlib/libcrypto/ec ec_pmeth.c

   pkey_ec_derive: fix call to ECDH_compute_key()

   The last argument is a pointer to the KDF, so use NULL, not 0.
VersionDeltaFile
1.26+2-2lib/libcrypto/ec/ec_pmeth.c
+2-21 files

OpenBSD/src aB2ERKblib/libcrypto/ec ec_asn1.c

   Simplify field and private key encoding

   Reach into the group (p and order are always available) and use
   BN_num_bytes() rather than using clumsy and badly named API.
   It's shorter and more readable.

   ok jsing
VersionDeltaFile
1.111+3-13lib/libcrypto/ec/ec_asn1.c
+3-131 files

OpenBSD/src u6H88Hllib/libssl srtp.h

   Make srtp.h self-standing by including ssl.h

   ok miod
VersionDeltaFile
1.8+3-1lib/libssl/srtp.h
+3-11 files

OpenBSD/src 9G1gOuxregress/sys/kern/sosplice/loop bcast.pl

   Set SO_BROADCAST since the client sends packets to a broadcast
   address.  This is required now since the kernel is just fixed to
   require this.  Report from anton

   ok anton
VersionDeltaFile
1.2+3-1regress/sys/kern/sosplice/loop/bcast.pl
+3-11 files

OpenBSD/src ar0Hqi3sys/netinet ip_input.c

   Set M_BCAST for packets going to 0.0.0.0 or 255.255.255.255, so the
   upper layers can handle them properly.  Found by IIJ.

   ok bluhm
VersionDeltaFile
1.405+8-8sys/netinet/ip_input.c
+8-81 files

OpenBSD/src XA1mnnLusr.bin/ssh sshd.c sshd-session.c

   remove assumption that the sshd_config and any configs included from
   it can fit in a (possibly enlarged) socket buffer, by having the
   sshd listener mainloop actively manage sending the configuration to
   the sshd-session subprocess.

   work by markus@ w/ a little feedback from me;
   ok me and committing on his behalf
VersionDeltaFile
1.616+206-97usr.bin/ssh/sshd.c
1.12+16-12usr.bin/ssh/sshd-session.c
+222-1092 files