OpenBSD/src a1R5vausys/uvm uvm_amap.c

   sys/uvm: unwind failed amap copies

   A PR_NOWAIT chunk allocation in amap_copy() may fail after earlier
   chunks already contain copied anons; amap_free() requires an empty amap,
   so direct cleanup trips its diagnostic assertion or leaves copied anon
   references orphaned which may end who knows how.

   Uuse amap_wipeout() instead to reverse the partial copy, release the
   shared lock, and free the temporary amap.

   OK: kettenis@
VersionDeltaFile
1.100+3-4sys/uvm/uvm_amap.c
+3-41 files

OpenBSD/src 2ywdwB4regress/usr.bin/mandoc/roff/esc Makefile argmiss.out_lint

   test handling of missing escape sequence arguments at EOL,
   related to roff_escape.c rev. 1.16
VersionDeltaFile
1.1+51-0regress/usr.bin/mandoc/roff/esc/argmiss.in
1.1+30-0regress/usr.bin/mandoc/roff/esc/argmiss.out_ascii
1.1+22-0regress/usr.bin/mandoc/roff/esc/argmiss.out_lint
1.26+6-5regress/usr.bin/mandoc/roff/esc/Makefile
+109-54 files

OpenBSD/src 74DDVl1usr.bin/mandoc roff_escape.c

   When an escape sequence that requires an argument occurs at the end of an
   input line and the argument is missing, abort parsing the line and report
   an "incomplete escape sequence" error.

   This fixes a read buffer overrun that Josiah Frentsos <jfrent at tilde.team>
   sent a different patch for.  Instead of always entering the argument
   parsing code and detecting that there is no argument at two places in
   the middle of that code, as Josiah proposed, i chose to instead check
   up front that there is anything that can be parsed to begin with.
   Also reminded by deraadt@, thanks!
VersionDeltaFile
1.16+8-1usr.bin/mandoc/roff_escape.c
+8-11 files

OpenBSD/src Kv7rAmeusr.sbin/relayd parse.y

   relayd: add missing BRIEF token after last commit
VersionDeltaFile
1.268+2-2usr.sbin/relayd/parse.y
+2-21 files

OpenBSD/src 1W8Qr9ushare/man/man5 cargo-module.5

   devel/cargo module: add MODCARGO_LIBTEST_ARGS variable

   in order to pass arguments to LIBTEST (cargo test subsystem) and not to cargo
   itself, provides a specific variable.

   from Andrew Kloet (.net)
VersionDeltaFile
1.12+4-2share/man/man5/cargo-module.5
+4-21 files

OpenBSD/src 7JfPik6usr.bin/ssh kex.h kex-names.c

   remove mlkem768brainpoolp256r1-sha256; requested by markus
VersionDeltaFile
1.402+2-4usr.bin/ssh/sshd_config.5
1.10+1-3usr.bin/ssh/kex-names.c
1.134+1-2usr.bin/ssh/kex.h
+4-93 files

OpenBSD/src z9dhfVYusr.bin/ssh sshconnect2.c

   move comment to a better place; suggested by markus@
VersionDeltaFile
1.393+2-2usr.bin/ssh/sshconnect2.c
+2-21 files

OpenBSD/src lsWYzy8usr.sbin/relayd parse.y

   relayd: improve token ordering and readability

   OK kirill@
VersionDeltaFile
1.267+25-13usr.sbin/relayd/parse.y
+25-131 files

OpenBSD/src 8A7ySJesys/kern subr_disk.c

   Fix for KASAN: invalid memory access in setdisklabel

   ok krw@

   Reported-by: syzbot+4b34bf468172c62700f3 at syzkaller.appspotmail.com
VersionDeltaFile
1.286+6-3sys/kern/subr_disk.c
+6-31 files

OpenBSD/src CAhdJ8blib/libcrypto/x509 x509_local.h x509_lib.c

   Restore the OCSP no-check extension method

   The conversion of X509V3_EXT_get_nid() from a table to a switch
   omitted the OCSP no-check extension method.

   Add the missing accessor declaration and switch case.

   ok tb@
VersionDeltaFile
1.26+3-1lib/libcrypto/x509/x509_lib.c
1.40+2-1lib/libcrypto/x509/x509_local.h
+5-22 files

OpenBSD/src iQpwSb1usr.sbin/ypldap ypldap.h ypldap_dns.c

   Improve imsg code, switch to imsgbuf_get and use more imsg_get_data

   Switch the IMSG_HOST_DNS call to use imsg_add_strbuf and imsg_get_strbuf.
   Also use NI_MAXHOST for the name length.
   Also rework IMSG_PW_ENTRY and IMSG_GRP_ENTRY to use imsg_get_len()
   and imsg_get_data() to fetch the record. Ensure that the data length
   is large enough but not too large to fit into &ir.

   ok jmatthew@
VersionDeltaFile
1.56+27-25usr.sbin/ypldap/ldapclient.c
1.33+16-9usr.sbin/ypldap/ypldap.c
1.22+8-15usr.sbin/ypldap/ypldap_dns.c
1.26+6-2usr.sbin/ypldap/ypldap.h
+57-514 files

OpenBSD/src HYbOD4qsys/arch/arm64/arm64 bus_dma.c, sys/arch/riscv64/riscv64 bus_dma.c

   The previous fix to bus_dmamap_load() wasn't quite right.  We do need
   virtual address continuity when we're bouncing.  So a !bounce check
   was correct, but only in the case when DMA is cache coherent.  Note that
   this becomes identical to the amd64 equivalent of this code when one
   considers that on amd64 DMA is always cache coherent.

   ok deraadt@, jca@
VersionDeltaFile
1.12+3-3sys/arch/riscv64/riscv64/bus_dma.c
1.18+3-3sys/arch/arm64/arm64/bus_dma.c
+6-62 files

OpenBSD/src eg2By6Busr.sbin/crunchgen crunched_main.c

   one more prototype

   ok deraadt@ tb@
VersionDeltaFile
1.8+2-2usr.sbin/crunchgen/crunched_main.c
+2-21 files

OpenBSD/src vts3W6lusr.bin/pkgconf/cli core.c, usr.bin/pkgconf/libpkgconf pkg.c

   pkgconf: simplify unveil handling

   Instead of giving fine-grained read access by iterating, use a simple
   unveil("/", "r"). pkgconf runs with pledge "stdio rpath wpath cpath unveil"
   with closed unveil, and only /dev/null and an optional log file have "rwc".

   discussed with deraadt a long time ago, agreement by claudio
   ok sthen
VersionDeltaFile
1.2+1-14usr.bin/pkgconf/cli/core.c
1.3+0-6usr.bin/pkgconf/libpkgconf/pkg.c
+1-202 files

OpenBSD/src H8s5x4pusr.bin/pkgconf/cli core.c main.c, usr.bin/pkgconf/libpkgconf libpkgconf.h buffer.c

   Update pkgconf to 3.0.5

   https://github.com/pkgconf/pkgconf/blob/main/NEWS

   ok sthen
VersionDeltaFile
1.3+207-1,429usr.bin/pkgconf/cli/main.c
1.1+1,501-0usr.bin/pkgconf/cli/core.c
1.2+784-573usr.bin/pkgconf/libpkgconf/pkg.c
1.2+817-299usr.bin/pkgconf/libpkgconf/fragment.c
1.2+671-30usr.bin/pkgconf/libpkgconf/buffer.c
1.2+482-75usr.bin/pkgconf/libpkgconf/libpkgconf.h
+4,462-2,40631 files not shown
+8,302-3,22237 files

OpenBSD/src ph0vfFjlib/libcrypto/arch/aarch64 crypto_cpu_caps.c

   revert switch to elf_aux_info(); it breaks the install media
VersionDeltaFile
1.4+62-18lib/libcrypto/arch/aarch64/crypto_cpu_caps.c
+62-181 files

OpenBSD/src RCXsyorusr.sbin/relayd ca.c relayd.conf.5

   relayd: allow setting log level from relayd.conf

   Add "log level (brief|verbose)" which sets or clears RELAYD_OPT_VERBOSE
   just like relayctl log verbose|brief does at runtime.

   This makes sense now because the recent DPRINTF removal turned all
   DPRINTF calls into real log_debug calls. Some debug logs moved to
   warning. Some remained DPRINF().

   Before that change the toggle had almost nothing to gate. All debug
   output was compiled out unless relayd was built with DEBUG > 1. So
   "log verbose" in relayctl was practically a no-op for users.
   It was impossible for the user to work out why the setup/config wasn't
   working.

   Now the toggle actually does what its name suggests. Pinning the
   level in the config file lets it survive restarts and SIGHUP reloads.

   OK kirill@
VersionDeltaFile
1.103+26-27usr.sbin/relayd/relay_http.c
1.269+19-23usr.sbin/relayd/relay.c
1.55+21-19usr.sbin/relayd/config.c
1.206+23-15usr.sbin/relayd/relayd.c
1.58+11-5usr.sbin/relayd/ca.c
1.222+14-2usr.sbin/relayd/relayd.conf.5
+114-9110 files not shown
+141-11516 files

OpenBSD/src rbu6HV0sys/dev/pci/drm/include/linux mm.h

   remove nth_page(), no longer in linux
VersionDeltaFile
1.14+0-1sys/dev/pci/drm/include/linux/mm.h
+0-11 files

OpenBSD/src lFl3A3Fsys/dev/pci/drm/include/linux dma-fence.h

   remove DMA_FENCE_TRACE(), no longer in linux
VersionDeltaFile
1.15+0-2sys/dev/pci/drm/include/linux/dma-fence.h
+0-21 files

OpenBSD/src cZkiJfqsys/dev/pci/drm/include/linux shrinker.h

   remove synchronize_shrinkers(), no longer in linux
VersionDeltaFile
1.5+0-5sys/dev/pci/drm/include/linux/shrinker.h
+0-51 files

OpenBSD/src lz01Jbnsys/dev/pci/drm/include/linux console.h

   remove vgacon_text_force(), no longer in linux
VersionDeltaFile
1.4+0-6sys/dev/pci/drm/include/linux/console.h
+0-61 files

OpenBSD/src y8fPqF2sys/dev/pci/drm/include/linux aer.h

   remove pci_enable_pcie_error_reporting(), no longer in linux
VersionDeltaFile
1.3+0-5sys/dev/pci/drm/include/linux/aer.h
+0-51 files

OpenBSD/src 83vOzzgusr.bin/tmux cmd-split-window.c

   Only unzoom in the floating-split case, modal panes take care of themselves.
VersionDeltaFile
1.148+2-3usr.bin/tmux/cmd-split-window.c
+2-31 files

OpenBSD/src IPoCLrpsys/dev/pci/drm/include/linux mutex.h

   remove mutex_trylock_recursive(), no longer in linux
VersionDeltaFile
1.9+0-16sys/dev/pci/drm/include/linux/mutex.h
+0-161 files

OpenBSD/src zToGoPIusr.bin/ssh ssh-keygen.1 ssh-keygen.c

   add some options to allow setting or clearing the touch-required
   and verify-required flags on FIDO private keys when resetting
   the passphrase.

   feedback/ok tb@
VersionDeltaFile
1.493+36-3usr.bin/ssh/ssh-keygen.c
1.240+33-2usr.bin/ssh/ssh-keygen.1
+69-52 files

OpenBSD/src e4L80kIusr.bin/ssh ssh-agent.c

   Allow session-bind at openssh.com requests when the agent is locked,
   otherwise forwarding sessions established with an agent was locked
   will be treated as local, rather than remote.

   Reported by sn0x-sharma
VersionDeltaFile
1.331+19-6usr.bin/ssh/ssh-agent.c
+19-61 files

OpenBSD/src tSwiUedusr.bin/ssh ssh.c

   avoid potential realloc use-after-free in the client if a remote
   forwarding is added via the local session multiplexing socket
   while a remote forwarding open request is pending with the server.

   Report and fix from Brian Mingus of Cognatory
VersionDeltaFile
1.637+17-4usr.bin/ssh/ssh.c
+17-41 files

OpenBSD/src V28r7gVsys/dev/pci/drm/include/linux random.h

   change get_random_bytes() length type to size_t

   follows linux changes and matches the type of the arc4random_buf() call
VersionDeltaFile
1.7+1-1sys/dev/pci/drm/include/linux/random.h
+1-11 files

OpenBSD/src X4udfY2sys/dev/pci/drm/include/linux random.h

   remove get_random_int() and prandom_u32_max(), no longer in linux
VersionDeltaFile
1.6+0-12sys/dev/pci/drm/include/linux/random.h
+0-121 files

OpenBSD/src 2IaC4Qzusr.sbin/npppd/npppd lcp.c

   Fix LCP MRU option handing.  Pointed out by Arthur Chan.

   ok mvs deraadt
VersionDeltaFile
1.19+4-6usr.sbin/npppd/npppd/lcp.c
+4-61 files