OpenBSD/src 0ybao3K — usr.bin/tmux tty.c

   Look up bright colours for bold before dim, GitHub issue 5883.
VersionDeltaFile
1.498+13-4usr.bin/tmux/tty.c
+13-41 files

OpenBSD/src RbDRdLZ — usr.bin/file file.c

   Do not silently exit with zero if the child process crashed or exited
   with nonzero. ok millert
VersionDeltaFile
1.76+5-2usr.bin/file/file.c
+5-21 files

OpenBSD/src cmF5UNU — usr.bin/file magic-test.c

   Fix crash in child process when a negated string is not present, report
   and fix from acts1631kjv at proton dot me.

   ok millert
VersionDeltaFile
1.28+9-3usr.bin/file/magic-test.c
+9-31 files

OpenBSD/src VzCOfci — sys/kern spec_vnops.c vfs_lockf.c, sys/sys lockf.h

   sys: protect special device locks during vnode teardown

   Special device advisory locking can race with vnode teardown and access
   freed specinfo.

   OpenAI reported the problem and supplied an initial patch; that patch
   introduced a NULL dereference window by clearing v_specinfo while
   leaving the vnode typed VCHR or VBLK across a sleep; it also left
   teardown exposed to vnode recycling during the drain.

   In other words the initial patch addressed one race, introduced another,
   and left the vnode lifetime problem unfixed.

   Here the reworked approach with large colaboration with claudio@ with
   talks and inputs from deraadt@ and beck@.

   Resolve and detach specinfo under lockf_lock, interrupt all pending
   requests, and retain its storage until the drain completes. Keep VXLOCK
   and the temporary vnode reference through teardown; set VBAD before

    [3 lines not shown]
VersionDeltaFile
1.341+55-18sys/kern/vfs_subr.c
1.51+48-8sys/kern/vfs_lockf.c
1.115+3-3sys/kern/spec_vnops.c
1.18+4-2sys/sys/lockf.h
+110-314 files

OpenBSD/src lbg2fDU — usr.bin/tmux layout.c

   Reorganize cell spread code for separate borders, part of GitHub issue
   5433 from David Marte.
VersionDeltaFile
1.107+51-40usr.bin/tmux/layout.c
+51-401 files

OpenBSD/src ZNP8REc — usr.bin/tmux layout.c

   Use pane style for scrollbar minimum size, part of a larger change from
   David Marte.
VersionDeltaFile
1.106+32-18usr.bin/tmux/layout.c
+32-181 files

OpenBSD/src OjSA82R — usr.bin/tmux prompt.c

   Constrain vi mode command prompt cursor to actual content, GitHub issu
   5869 from Éric NICOLAS.
VersionDeltaFile
1.10+15-1usr.bin/tmux/prompt.c
+15-11 files

OpenBSD/src 0aP03JQ — usr.bin/tmux hyperlinks.c tmux.h

   Bump max hyperlink length, GitHub issue 5836 from Ruben Di Battista.
VersionDeltaFile
1.49+3-3usr.bin/tmux/style.c
1.1480+4-1usr.bin/tmux/tmux.h
1.8+1-2usr.bin/tmux/hyperlinks.c
+8-63 files

OpenBSD/src CX8fmux — usr.bin/tmux tmux.1

   Document the display-panes -P flag, from Ben Boeckel.
VersionDeltaFile
1.1199+6-3usr.bin/tmux/tmux.1
+6-31 files

OpenBSD/src FX9usU7 — usr.bin/tmux screen-write.c

   Preserve attributes when clearing tabs.
VersionDeltaFile
1.310+42-44usr.bin/tmux/screen-write.c
+42-441 files

OpenBSD/src pNkpur8 — usr.bin/tmux tty-draw.c tmux.h

   Redraw only modified cells not entire lines during synchronized updates,
   GitHub issue 5758 from Arkadiusz Miśkiewicz.
VersionDeltaFile
1.309+156-67usr.bin/tmux/screen-write.c
1.7+11-6usr.bin/tmux/hyperlinks.c
1.1479+4-3usr.bin/tmux/tmux.h
1.20+1-2usr.bin/tmux/tty-draw.c
+172-784 files

OpenBSD/src aiI9s9W — lib/libc/stdlib malloc.c

   From Acts1631 <acts1631kjv at proton.me>, try harder to detect modified pointers.
   ok tb@
VersionDeltaFile
1.303+6-3lib/libc/stdlib/malloc.c
+6-31 files

OpenBSD/src utKICMG — usr.sbin/rpki-client tak.c spl.c

   rpki-client: reimplement and fix cert inheritance checks

   The current implementations of x509_inherits() and x509_any_inherits()
   are a bit dumb because they re-parse the RFC 3779 extensions to figure
   out if all (or any of) the resources inherit. That's quite expensive.

   We have all this information already in struct cert, so let's use that.

   In cert.c we have the strangely named cert_as_inherit() which requires
   the presence of AS resources and checks that the ASIdentifiers are
   marked inherit. (It should probably be called cert_ases_inherit())

   A similar approach works for IPAddrBlocks. The main observation is that
   inheritance applies to the entire address family. Since the IPAddrBlocks
   are sorted by AF, of which there are two, we know that an inherit element
   comes at the start or the end of the cert->ips[] array. This leads to
   cheap and easy cert_all_ips_inherit() and cert_any_ip_inherits()
   implementations.


    [34 lines not shown]
VersionDeltaFile
1.141+1-82usr.sbin/rpki-client/x509.c
1.256+54-3usr.sbin/rpki-client/cert.c
1.328+3-3usr.sbin/rpki-client/extern.h
1.36+2-2usr.sbin/rpki-client/tak.c
1.24+2-2usr.sbin/rpki-client/spl.c
1.52+2-2usr.sbin/rpki-client/rsc.c
+64-942 files not shown
+68-988 files

OpenBSD/src Fluq1V6 — usr.sbin/rpki-client ip.c

   rpki-client: add a check that IPv6 can't precede IPv4

   RFC 3779 is unambiguous: "When both IPv4 and IPv6 addresses are specified,
   the IPv4 addresses MUST precede the IPv6 addresses [...]", so add a check
   that this is the case.

   ok claudio
VersionDeltaFile
1.41+6-1usr.sbin/rpki-client/ip.c
+6-11 files

OpenBSD/src XUBLh7a — sys/dev audio.c

   audio: Check the AUDIO_MIXER_* ioctl's index for negative values

   While most drivers check their input (ex. azalia, uaudio, cmpci, envy
   do), a driver like utvfu(4) may allow the AUDIO_MIXER_WRITE ioctl to
   trigger an out-of-bounds heap write.  This fix ensures that any
   present or future low-level audio driver gets an index in its
   supported range.

   Report and proposed fix by Franz Bettag <franz at bett.ag>. Thanks!
VersionDeltaFile
1.214+10-1sys/dev/audio.c
+10-11 files

OpenBSD/src OtG3nHa — sys/net if_gre.c

   shuffle nvgre packet processing to simplify nvgre ioctls.

   nvgre_start could be called both with and without NET_LOCK, so it
   had to try and coordinate with nvgre_up and _down without relying
   on NET_LOCK, but then it also had to defer sending encapsulated
   packets to a task so it could control the scope of NET_LOCK before
   calling ip_output and ip6_output.

   tom smyth reported issues with the nvgre_down coordination, which
   led to restructuring this code.

   nvgre now forces all transmit calls to be run from their own task
   in the softnet threads, which in turn allows it to take NET_LOCK
   itself and rely on it to coordinate access to the gre tunnel
   configuration parameters. this simplifies nvgre_down, and also
   allows us to remove the extra send task, because the NET_LOCK scope
   is already known and controlled. packet reception is done as part
   of the ip stack processing, so it already has NET_LOCK arounds its
   use of the tunnel config.

    [7 lines not shown]
VersionDeltaFile
1.197+94-102sys/net/if_gre.c
+94-1021 files

OpenBSD/src LRg9FDB — sys/kern kern_sysctl.c

   Fix `findpr' dereference after context switch in sysctl_proc_vmmap().

   Do the sleeping malloc() before process search. Take the reference on
   found process descriptor to make concurrent exit1() wait us during the
   sleep within fill_vmmap().

   I moved the `oldlen' checks and `start' copyin() before process search
   to make the error path shorter. This reorders the error path, but they
   are just the passed parameters checks which are not related to
   found process.

   ok kirill
VersionDeltaFile
1.501+42-33sys/kern/kern_sysctl.c
+42-331 files

OpenBSD/src k8kIKcD — usr.sbin/rpki-client thread.h

   rpki-client: fix some whitespace issues in thread.h
VersionDeltaFile
1.2+3-3usr.sbin/rpki-client/thread.h
+3-31 files

OpenBSD/src ZylStBI — usr.sbin/rpki-client output-rtrx.c

   rpki-client: tab after RCSID is likely to create overlong lines
VersionDeltaFile
1.12+1-1usr.sbin/rpki-client/output-rtrx.c
+1-11 files

OpenBSD/src TwOmTDt — usr.sbin/rpki-client parser.c

   rpki-client: remove two trailing blanks
VersionDeltaFile
1.207+3-3usr.sbin/rpki-client/parser.c
+3-31 files

OpenBSD/src 1XszBC8 — usr.sbin/rpki-client x509.c

   rpki-client: remove outdated comment about UTF-8 in BRKs

   ok job
VersionDeltaFile
1.140+1-7usr.sbin/rpki-client/x509.c
+1-71 files

OpenBSD/src d7rxD4R — sys/uvm uvm_swap.c

   sys/swap: match swap block devices by device number

   Prevent duplicate activation through aliases and retain the registered
   vnode through the swapoff close.

   Reported by miod@ and Yamasaki Yuu

   Ok: claudio@
VersionDeltaFile
1.186+15-11sys/uvm/uvm_swap.c
+15-111 files

OpenBSD/src ZMogxLh — sys/dev/fdt ufshci_fdt.c

   sys/ufshci: match against qcom,ufshc

   Linux had drop jedec,ufs-2.0 compatibility in DTS for x1e80100 to use
   only qcom,ufshc; adjust the code to make upgrade of DTB works.

   OK: phessler@
VersionDeltaFile
1.3+3-2sys/dev/fdt/ufshci_fdt.c
+3-21 files

OpenBSD/src zaz6EFc — usr.sbin/rpki-client extern.h main.c

   Cleanup entity passing and remove the path string from it

   There is no reason to split the uri into file and path anymore.
   This is only used in one place for mfts and so it is better to
   simplify all other code and adjust the generation of mft->path.
   Also the parser can use a mft_filepath function to generate the
   FS path to access files referenced by the mft.

   OK tb@
VersionDeltaFile
1.206+74-47usr.sbin/rpki-client/parser.c
1.341+39-48usr.sbin/rpki-client/main.c
1.327+18-11usr.sbin/rpki-client/extern.h
+131-1063 files

OpenBSD/src c4cYJMQ — usr.sbin/rpki-client ometric.c extern.h

   Sort union by size since ISO C is a mine filed.

   The initalizers introduced in C99 may only initialize the first
   element of a union. If that one is not the largest member
   then you may end up with uninitalized memory. In the end the
   outcome depends on the compiler used which is just bananas.

   OK tb@
VersionDeltaFile
1.326+3-3usr.sbin/rpki-client/extern.h
1.5+2-2usr.sbin/rpki-client/ometric.c
+5-52 files

OpenBSD/src UXu6gw6 — sys/dev/pv if_vio.c

   vio(4): use the correct size of rx mbufs

   This fixes jumbo frames and on hypervisors w/o the MRG_RXBUF feature.

   ok sf@
VersionDeltaFile
1.83+2-2sys/dev/pv/if_vio.c
+2-21 files

OpenBSD/src qyFSkAf — usr.bin/tmux cmd-find.c

   Allow @/{current} to appear as window part of target, from someone in
   GitHub issue 5841.
VersionDeltaFile
1.90+16-3usr.bin/tmux/cmd-find.c
+16-31 files

OpenBSD/src wif2zBn — sys/arch/octeon/dev if_ogx.c if_cnmac.c, sys/arch/octeon/octeon autoconf.c

   Enable 64-bit DMA mbuf support on octeon.
VersionDeltaFile
1.19+4-1sys/arch/octeon/octeon/autoconf.c
1.13+2-2sys/arch/octeon/dev/if_ogx.c
1.94+2-2sys/arch/octeon/dev/if_cnmac.c
+8-53 files

OpenBSD/src soAyf9S — sys/arch/octeon/dev cn30xxfpa.c octmmc.c

   Allow 64-bit DMA memory allocation with builtin controllers.
VersionDeltaFile
1.12+6-5sys/arch/octeon/dev/if_ogx.c
1.16+4-3sys/arch/octeon/dev/octmmc.c
1.12+3-3sys/arch/octeon/dev/cn30xxfpa.c
+13-113 files

OpenBSD/src 6Dy24l6 — sys/arch/octeon/dev octeon_pcibus.c octeon_iobus.c, sys/arch/octeon/include bus.h

   Implement bounce buffers for octeon

   This is based on similar code on amd64, arm64, and riscv64.

   Tested by kirill@
   OK deraadt@
VersionDeltaFile
1.18+295-26sys/arch/octeon/octeon/bus_dma.c
1.9+14-3sys/arch/octeon/include/bus.h
1.18+2-1sys/arch/octeon/octeon/autoconf.c
1.24+2-1sys/arch/octeon/dev/octeon_pcibus.c
1.30+2-1sys/arch/octeon/dev/octeon_iobus.c
+315-325 files