OpenBSD/src R9DSAWqdistrib/i386/iso Makefile, etc/etc.i386 disktab

   grow i386 install media
VersionDeltaFile
1.37+4-4etc/etc.i386/disktab
1.39+2-2distrib/i386/iso/Makefile
+6-62 files

OpenBSD/src 3TzFaqalib/libc/asr asr_utils.c

   Do not silently truncate result of dname_expand.

   This can only happen if the caller provides a buffer that's too
   small. All current callers provide a buffer of size MAXDNAME, which is
   large enough in all cases, otherwise dname_check_label would error out.

   Found by me and independently by Andrew Griffiths.

   OK deraadt, tb
VersionDeltaFile
1.23+12-8lib/libc/asr/asr_utils.c
+12-81 files

OpenBSD/src Vp2C8l0usr.sbin/vmd vioscsi.c

   vmd(8): prevent virtio scsi DoS from bad descriptor length.

   A guest can construct a looping, zero-length descriptor chain that
   spins forever when processing a READ_10 command. Check for zero
   length scenario and abort the read with a warning.

   Reported by Frank Denis.

   Discussed with and "go for it" from mlarkin@
VersionDeltaFile
1.31+6-1usr.sbin/vmd/vioscsi.c
+6-11 files

OpenBSD/src xt3d1Jpusr.bin/tmux style.c

   Fix scrollbar with a format colour.
VersionDeltaFile
1.45+11-4usr.bin/tmux/style.c
+11-41 files

OpenBSD/src 9z14CRnusr.sbin/vmd mc146818.c

   vmd(8): reject invalid PIT periods causing UB.

   A guest can write values to Register A that results in a negative
   shift exponent when computing the resulting timer rate. Detect and
   ignore values to prevent UB from negative shift.

   Reported by Frank Denis.

   Discussed with and "go for it" from mlarkin@
VersionDeltaFile
1.32+6-2usr.sbin/vmd/mc146818.c
+6-21 files

OpenBSD/src CqUKuU8usr.bin/tmux options.c options-table.c

   Expand colours as formats like styles.
VersionDeltaFile
1.82+26-10usr.bin/tmux/options.c
1.220+16-11usr.bin/tmux/options-table.c
1.44+24-1usr.bin/tmux/style.c
1.56+11-12usr.bin/tmux/cmd-display-panes.c
1.34+8-3usr.bin/tmux/window-clock.c
1.27+10-1usr.bin/tmux/window-customize.c
+95-383 files not shown
+110-479 files

OpenBSD/src VVqvVA9lib/libcrypto/objects obj_mac.num objects.txt

   Add OIDs for CCR, ErikIndex, ErikPartition, CommunityDefinition

   References:
        https://datatracker.ietf.org/doc/html/draft-ietf-sidrops-rpki-ccr
        https://datatracker.ietf.org/doc/html/draft-ietf-sidrops-rpki-erik-protocol
        https://datatracker.ietf.org/doc/html/draft-ietf-grow-yang-bgp-communities

   OK tb@
VersionDeltaFile
1.40+5-0lib/libcrypto/objects/obj_mac.num
1.46+5-0lib/libcrypto/objects/objects.txt
+10-02 files

OpenBSD/src JjME480usr.sbin/vmd fw_cfg.c

   vmd(8): fix fw_cfg leak of file directory buffer.

   FW_CFG_FILE_DIR selector requests leak file directory buffers.
   Repeated requests from guests can exhaust vmd process memory.

   Reported by Frank Denis.

   Discussed with and "go for it" from mlarkin@
VersionDeltaFile
1.15+2-1usr.sbin/vmd/fw_cfg.c
+2-11 files

OpenBSD/src AnuyPf7usr.bin/tmux format.c tmux.1

   Format variable for client colours.
VersionDeltaFile
1.388+31-1usr.bin/tmux/format.c
1.1103+3-2usr.bin/tmux/tmux.1
+34-32 files

OpenBSD/src 3eT2S1Eusr.sbin/ospfctl ospfctl.c, usr.sbin/ospfd ospfd.c area.c

   ospfd(8) must be more paranoid about what it sends
   to its peers using IPC messages (see imsg_add(3)).
   The data passed between processes must not leak
   information on memory address layout from process.
   The process must be sending to its peers either data which
   are needed or, if taking a shortcut, zeroize fields
   which carry pointer (memory addresses) from process.

   The issue has been reported by students
   from British Columbia University earlier this year.

   The fix includes generous feedback from claudio@

   OK claudio@
VersionDeltaFile
1.125+98-6usr.sbin/ospfd/ospfd.c
1.11+23-1usr.sbin/ospfd/area.c
1.74+5-7usr.sbin/ospfctl/ospfctl.c
1.119+6-6usr.sbin/ospfd/rde.c
1.122+8-3usr.sbin/ospfd/ospfe.c
1.24+5-4usr.sbin/ospfd/auth.c
+145-271 files not shown
+149-287 files

OpenBSD/src cs4I0zosys/netinet6 ip6_output.c

   Put back IPV6_RTHDR to ip6_getpcbopt() as no operation.

   Reported-by: syzbot+7788d13ea3345629ceae at syzkaller.appspotmail.com
VersionDeltaFile
1.306+3-1sys/netinet6/ip6_output.c
+3-11 files

OpenBSD/src G1qbnVPlib/libc/asr res_search_async.c

   Reset ar_datalen and ar_data after free(3) like everywhere else.

   From Andrew Griffiths
VersionDeltaFile
1.22+3-1lib/libc/asr/res_search_async.c
+3-11 files

OpenBSD/src 4Pi210uusr.bin/tmux status.c prompt.c

   Major rework of prompts. The basic prompt mechanics (draw, editing, etc)
   are now wrapped up in prompt*.c and do not depend on a client. These
   functions are used to provide the original client prompt but also to
   allow panes to have their own prompts, which works much much better for
   floating panes. The mode prompts for both the tree modes and copy mode
   are switched over to be per pane.

   There are some visible changes (some of these may be changed if they
   don't seem to be working well):

   - Prompts in modes now appear in the bottom line, covering whatever
     content was there.

   - command-prompt has a -P flag to open a pane prompt.

   - Because they cover the content, the default style for prompts in modes
     now does not fill the entire line; the main command prompt stays the
     same.


    [5 lines not shown]
VersionDeltaFile
1.271+139-1,512usr.bin/tmux/status.c
1.1+1,595-0usr.bin/tmux/prompt.c
1.1+264-0usr.bin/tmux/prompt-history.c
1.92+231-32usr.bin/tmux/mode-tree.c
1.348+171-1usr.bin/tmux/window.c
1.1370+115-44usr.bin/tmux/tmux.h
+2,515-1,58913 files not shown
+2,832-1,75419 files

OpenBSD/src VEpqtExsbin/mount mount.c

   mount: preserve DUID when updating file system

   "Oops" deraadt@
VersionDeltaFile
1.80+2-2sbin/mount/mount.c
+2-21 files

OpenBSD/src vS18JJisbin/mount mount.c

   mount: support DUIDs with -u

   "Looks good" deraadt@
VersionDeltaFile
1.79+3-2sbin/mount/mount.c
+3-21 files

OpenBSD/src 12PxT3Ysys/uvm uvm_map.c

   Initialize uvm_maxkaddr to VM_MIN_KERNEL_ADDRESS.  This fixes a problem
   where uvm_map() with the UVM_FLAG_FIXED flag would miscalculate the amount
   to grow the kernel pmap if uvm_maxkaddr was still zero, which happens on
   amd64 (and possibly other architectures that use PMAP_STEAL_MEMORY).  This
   would result in the kernel pmap growing to its maximum which would consume
   all memory on small memory machines now that we've given amd64 512G of KVA.

   ok deraadt@
VersionDeltaFile
1.356+2-3sys/uvm/uvm_map.c
+2-31 files

OpenBSD/src 9LJ7WDxsys/kern kern_exit.c

   Always untrace traced children even when they're exiting.  But do skip
   sending them a SIGKILL.  This prevents triggering a KASSERT in a convuluted
   scenario reported by Yuxiang Yang.

   "looks right" deraadt@
   ok claudio@
VersionDeltaFile
1.253+15-13sys/kern/kern_exit.c
+15-131 files

OpenBSD/src Lkty2pmusr.sbin/rpki-client mft.c aspa.c

   rpki-client: add some signed object boilerplate

   This adds new/free/obj functions and introduces struct signed_obj
   containing the handlers. Pass signtime and der_len into the new()
   function for now and rewrite *_parse() using that.

   discussed with claudio
   ok job
VersionDeltaFile
1.141+36-6usr.sbin/rpki-client/mft.c
1.44+35-5usr.sbin/rpki-client/aspa.c
1.18+35-5usr.sbin/rpki-client/spl.c
1.31+35-5usr.sbin/rpki-client/tak.c
1.90+35-5usr.sbin/rpki-client/roa.c
1.46+35-5usr.sbin/rpki-client/rsc.c
+211-311 files not shown
+229-327 files

OpenBSD/src sQbcPiBshare/man/man5 port-modules.5

   No more flang
VersionDeltaFile
1.286+3-3share/man/man5/port-modules.5
+3-31 files

OpenBSD/src zeNbOkxusr.bin/tmux mode-tree.c

   Ignore mouse when help is open.
VersionDeltaFile
1.91+5-1usr.bin/tmux/mode-tree.c
+5-11 files

OpenBSD/src j4PM9vyusr.bin/tmux window.c

   Free modes rather than going through reset when pane is destroyed as the
   reset path may try to destroy the pane again.
VersionDeltaFile
1.347+17-2usr.bin/tmux/window.c
+17-21 files

OpenBSD/src KyryLQQgnu/llvm/clang/lib/Driver/ToolChains Clang.cpp

   Fix merge botch which accidentally broke -mfix-loongson2f-btb on loongson.

   ok robert@ visa@
VersionDeltaFile
1.18+6-5gnu/llvm/clang/lib/Driver/ToolChains/Clang.cpp
+6-51 files

OpenBSD/src RINO8aqsys/arch/sparc64/sparc64 clock.c autoconf.c

   Long ago, we took advantage of the "status" property to avoid attaching
   drivers to devices reporting themselves as in failing state.

   However, doing this on Mostek chips with dead batteries would cause no
   clock source to attach, and the kernel would then assume it is running on
   sun4v with the unix-gettod? OFW method being available, causing spurious
   (and puzzling) warnings on console on non-sun4v systems.

   Relax this logic to allow clock(4) to always attach regardless of its state,
   but distrust the clock value on devices reported as failing.

   This allow e.g. Enterprise 4000 systems with dead batteries on all
   motherboards to correctly attach clocks and hold the date on warm reboots,
   without scaring users.

   ok kettenis@ quite some time ago.
VersionDeltaFile
1.89+13-2sys/arch/sparc64/sparc64/clock.c
1.156+12-2sys/arch/sparc64/sparc64/autoconf.c
+25-42 files

OpenBSD/src lsgxSoiusr.sbin/bgpd rde_peer.c rde.h

   Rename EVAL_RECONF to EVAL_REEVAL since this is a re-evaluation of the RIB
   that is triggered. Also use EVAL_REEVAL in the peer_dump upcall since
   there the re-evaluation also happens but just for a single peer.

   Adjust the peer_generate_update() prototype and drop the newpath and
   old_pathid_tx arguments. Those will no longer be used. Also adjust
   up_generate_addpath_all() which is currently unreachable.

   OK tb@
VersionDeltaFile
1.76+7-9usr.sbin/bgpd/rde_peer.c
1.354+3-4usr.sbin/bgpd/rde.h
1.199+5-2usr.sbin/bgpd/rde_update.c
1.707+2-2usr.sbin/bgpd/rde.c
+17-174 files

OpenBSD/src 0e90cuPsys/dev/ata wd.c, sys/kern kern_pledge.c

   More prep for 52 disk partitions.

   Remove O_disklabel and O_DIOCGDINFO now that the ABI
   crossover should be complete. Lest these XXX bits take
   root.
VersionDeltaFile
1.136+1-7sys/dev/ata/wd.c
1.343+1-7sys/scsi/sd.c
1.15+1-5sys/sys/dkio.h
1.359+1-2sys/kern/kern_pledge.c
+4-214 files

OpenBSD/src qVqIGGgsys/netinet ip_divert.c, sys/netinet6 ip6_divert.c

   Make divert-packet / divert(4) properly rdomain aware.

   divert(4) only partially handled rtables / rdomains. While it was used
   outbound, inbound packets did not check the rdomain. This is confusing
   and incorrect.

   Now inbound packets need to match the rdomain of the listening socket
   so one needs to listen on the rdomain the packets come in.
   If packets from multiple rdomains match the rule then userland
   needs to listen on each rdomain. If not the packet will be dropped.

   Report by Y Yang, et al from Tsinghua University
   With and OK bluhm@ OK sashan@ mvs@
VersionDeltaFile
1.108+6-2sys/netinet/ip_divert.c
1.109+6-2sys/netinet6/ip6_divert.c
+12-42 files

OpenBSD/src 50sETm4lib/libsndio aucat.c amsg.h, usr.bin/sndiod sock.c

   sndiod: Refactor and simplify the hello message handling

   Use proper enums for the resource type (audio device, midithru port,
   etc) in place of magic numbers and factor duplicated code.

   No behavior change.
   CCVS: ----------------------------------------------------------------------
VersionDeltaFile
1.64+50-47usr.bin/sndiod/sock.c
1.83+5-5lib/libsndio/aucat.c
1.19+8-1lib/libsndio/amsg.h
+63-533 files

OpenBSD/src SUjNMzeusr.bin/sndiod opt.c dev.c

   sndiod: Don't use midi_send() to generate MIDI messages

   midi_in() is the right function to do so. It handles multiple sources
   and does flow control.
VersionDeltaFile
1.21+5-8usr.bin/sndiod/opt.c
1.141+2-2usr.bin/sndiod/dev.c
+7-102 files

OpenBSD/src 3W8pzMtusr.bin/sndiod opt.c

   sndiod: Initialize the array of unused opt_app structures
VersionDeltaFile
1.20+2-1usr.bin/sndiod/opt.c
+2-11 files

OpenBSD/src 4vA2PpNsys/dev/ic ncr53c9x.c

   sc_imlen is allowed to be >= NCR_MAX_MSG_LEN.

   Fixes subtle ncr53c9x_msgin breakage in previous.

   Pointed out by, tweak & ok miod@
VersionDeltaFile
1.84+4-3sys/dev/ic/ncr53c9x.c
+4-31 files