OpenBSD/src Wdt44bcusr.sbin/bgpd rde.c

   Fix possible reload bug that leave old filters on a peer.

   In rde_reload_done() the code handling the peer->reconf_rib case has a
   continue which skips the code path that actually reapplies the outbound
   filters. The result is that such a peer keeps on running with the old
   filters -- a subsequent reload will then fix this.

   Removing the continue changes the way peer->reconf_rib and peer->reconf_out
   interact. Now reconf_rib needs to be checked before reconf_out since it
   is possible for both to be set. Adjust the code in rde_softreconfig_in_done()
   accordingly.

   OK tb@
VersionDeltaFile
1.695+8-9usr.sbin/bgpd/rde.c
+8-91 files

OpenBSD/src K6Dqx1ausr.sbin/rdate ntp.c rdate.c

   rdate: remove -c option, we don't install the "right" zone files

   This option was non-functional since OpenBSD does not ship with the
   /usr/share/zoneinfo/right time zone files, which include leap
   seconds.  OK dgl@
VersionDeltaFile
1.38+4-22usr.sbin/rdate/ntp.c
1.39+6-11usr.sbin/rdate/rdate.c
1.42+3-7usr.sbin/rdate/rdate.8
1.9+2-2usr.sbin/rdate/Makefile
1.5+1-1usr.sbin/rdate/ntpleaps.h
1.15+1-1usr.sbin/rdate/ntpleaps.c
+17-446 files

OpenBSD/src znDV6yBusr.bin/tmux status.c key-bindings.c

   Make C-[ have the same bindings as Escape for terminals with extended
   keys where they are different, GitHub issue 5035 from Eric NICOLAS.
VersionDeltaFile
1.262+4-1usr.bin/tmux/status.c
1.167+3-1usr.bin/tmux/key-bindings.c
1.81+2-1usr.bin/tmux/mode-tree.c
1.63+2-1usr.bin/tmux/menu.c
+11-44 files

OpenBSD/src CyNIY5Gsys/dev/pci/drm/amd/amdgpu amdgpu_ids.c

   drm/amdgpu: replace PASID IDR with XArray

   From Mikhail Gavrilov
   b7cddf6c017510cd0c79980ea551e7bcdf0edc7e in linux-6.18.y/6.18.25
   3c863ff920b45fa7a9b7d4cb932f466488a87a58 in mainline linux
VersionDeltaFile
1.11+19-20sys/dev/pci/drm/amd/amdgpu/amdgpu_ids.c
+19-201 files

OpenBSD/src 1zk1OFxusr.bin/tmux paste.c

   Sanitize paste buffer names in paste_set and paste_rename, GitHub issue
   5032 from Barrett Ruth.
VersionDeltaFile
1.50+27-8usr.bin/tmux/paste.c
+27-81 files

OpenBSD/src nYBunLAusr.bin/tmux cmd-pipe-pane.c

   Do not leak socketpair fds in pipe-pane when fork fails. From Barrett
   Ruth.
VersionDeltaFile
1.63+3-1usr.bin/tmux/cmd-pipe-pane.c
+3-11 files

OpenBSD/src wr5ORy0usr.bin/tmux window-copy.c

   Do not deref NULL job in window_copy_pipe_run when job_run fails. From
   Barrett Ruth in GitHub issue 5036.
VersionDeltaFile
1.395+3-2usr.bin/tmux/window-copy.c
+3-21 files

OpenBSD/src b9oa0Wxusr.bin/tmux cmd-run-shell.c

   Do not hang run-shell when job_run fails, from Barrett Ruth in GitHub
   issue 5037.
VersionDeltaFile
1.90+11-2usr.bin/tmux/cmd-run-shell.c
+11-21 files

OpenBSD/src upMrRI0usr.bin/tmux cmd-join-pane.c

   Fix -p for for join-pane, from Dane Jensen.
VersionDeltaFile
1.53+2-2usr.bin/tmux/cmd-join-pane.c
+2-21 files

OpenBSD/src 3sYgTZVsys/dev/pci/drm drm_linux.c

   Change xarray pool from IPL_NONE to IPL_TTY as amdgpu will soon use
   it from interrupt context.  Matches the IPL of the IDR pool.
VersionDeltaFile
1.137+2-2sys/dev/pci/drm/drm_linux.c
+2-21 files

OpenBSD/src K2gfQ7Usys/dev/pci/drm/include/linux xarray.h

   use DEFINE_XARRAY_FLAGS() for DEFINE_XARRAY_ALLOC()
VersionDeltaFile
1.10+1-5sys/dev/pci/drm/include/linux/xarray.h
+1-51 files

OpenBSD/src j1zBbhysys/dev/pci/drm/include/linux xarray.h

   add DEFINE_XARRAY_FLAGS() for 6.18.25 drm
VersionDeltaFile
1.9+8-0sys/dev/pci/drm/include/linux/xarray.h
+8-01 files

OpenBSD/src T6gp4CYsys/dev/pci/drm drm_linux.c

   Make xarray cyclic start looking for a free id at the position specified
   by the next argument and stop after wrapping back to that position.

   Previously looking for a free id started at the beginning of the
   allocation range and stopped at the end, ignoring the next argument.

   Currently xarray cyclic id allocations are only used by the GuC code in
   inteldrm.  In 6.18.25 drm, the amdgpu PASID allocation changes from
   using cyclic idr to cyclic xarray.
VersionDeltaFile
1.136+43-10sys/dev/pci/drm/drm_linux.c
+43-101 files

OpenBSD/src ovkS53qusr.sbin/rpki-client parser.c

   adjust style

   OK tb@
VersionDeltaFile
1.180+2-1usr.sbin/rpki-client/parser.c
+2-11 files

OpenBSD/src HAjkO27sys/arch/octeon/dev if_cnmac.c cn30xxpip.c

   sys/cnmac: add RX queues

   Add RX queues to cnmac, backed by shared POW groups. Use PIP tags for RX
   group selection and pass the tag up as M_FLOWID.

   OK: visa@
VersionDeltaFile
1.90+102-29sys/arch/octeon/dev/if_cnmac.c
1.12+20-10sys/arch/octeon/dev/cn30xxpip.c
1.21+1-3sys/arch/octeon/dev/if_cnmacvar.h
1.7+3-1sys/arch/octeon/dev/cn30xxpipvar.h
+126-434 files

OpenBSD/src aYn3fnWsys/arch/octeon/dev cn30xxgmx.c if_cnmac.c

   sys/cnmac: read MAC address from device tree

   Read local-mac-address from the matching ethernet port node in device
   tree; fall back to the old board address allocation when it is absent.

   As suggested by visa@, this changes HW address assignment on the
   EdgeRouter Pro, and probably on the ER-8, by swapping ports as follows:

   cnmac0 <-> cnmac4
   cnmac1 <-> cnmac5
   cnmac2 <-> cnmac6
   cnmac3 <-> cnmac7

   Affected devices uses the same MAC addresses as the original firmware.

   OK: visa@
VersionDeltaFile
1.57+21-1sys/arch/octeon/dev/cn30xxgmx.c
1.89+17-2sys/arch/octeon/dev/if_cnmac.c
1.4+2-1sys/arch/octeon/dev/octpip.c
1.16+2-1sys/arch/octeon/dev/cn30xxgmxvar.h
1.6+2-1sys/arch/octeon/dev/iobusvar.h
1.29+2-1sys/arch/octeon/dev/octeon_iobus.c
+46-76 files

OpenBSD/src zWvhky1usr.sbin/bgpd rde.c

   Rename out_rules to simply rules. In the near future this list will be
   used for both 'from' and 'to' filter rules.
   OK tb@
VersionDeltaFile
1.694+16-16usr.sbin/bgpd/rde.c
+16-161 files

OpenBSD/src 3rGy4mdusr.sbin/bgpd rde.c

   Shuffle the softreconfig functions into an order that makes more sense.

   OK tb@
VersionDeltaFile
1.693+77-77usr.sbin/bgpd/rde.c
+77-771 files

OpenBSD/src uCy9ctWusr.sbin/bgpd rde_filter.c bgpd.h

   Change to enum filter_action and enum direction since the plural form
   does not work well with these enums.

   OK denis@ tb@
VersionDeltaFile
1.148+6-6usr.sbin/bgpd/rde_filter.c
1.539+5-5usr.sbin/bgpd/bgpd.h
1.692+4-4usr.sbin/bgpd/rde.c
1.345+3-3usr.sbin/bgpd/rde.h
1.530+2-2usr.sbin/bgpd/session.c
1.195+2-2usr.sbin/bgpd/session.h
+22-226 files

OpenBSD/src TDeEt7musr.sbin/vmd config.c

   vmd(8): Avoid reuse of dead filedescriptor

   When the vmd process sends a kernfd to the vmm process, that
   descriptor will be closed in msgbuf_write() after a successful
   sendmsg().  However, that descriptor number is still stored in
   vm->vm_kernel.

   When termination of one VM is interleaved with lauch of another VM,
   that number might be reassigned to a _new_ kernfd of the launching
   VM.  Now we have a race:

   - the vmd process queues an imsg with that descriptor in config_setvm()
     (for the launching VM)
   - the vmd process calls in vm_stop() close() on that descriptor
     (for the terminating VM)
   - when the vmd process calls proc_dispatch() imsgbuf_send() for
     imsg queued in config_setvm(), sendmsg() will return EBADF (the
     descriptor in the control message is invalid)


    [3 lines not shown]
VersionDeltaFile
1.82+9-4usr.sbin/vmd/config.c
+9-41 files

OpenBSD/src JMsGsUrusr.bin/tmux cmd-parse.y

   Add a limit on maximum length of environment variable assignment in
   configuration files.
VersionDeltaFile
1.58+11-1usr.bin/tmux/cmd-parse.y
+11-11 files

OpenBSD/src Vx1oZSpregress/usr.bin/ssh keyscan.sh

   Use supported hostkeyalgorithms specifically in sshd_config instead of
   supported key types, which is almost but not completely correct.
VersionDeltaFile
1.14+4-2regress/usr.bin/ssh/keyscan.sh
+4-21 files

OpenBSD/src eaukg5Isys/dev/ic qwz.c qwzreg.h, sys/dev/pci if_qwz_pci.c

   Bring the qwz driver up to WPA2 association on the Qualcomm WCN7850
   chip.

   Major changes:

     1. Fix the RX path.
     2. Fix the TX path.
     3. Fix MSI interrupt routing.
     4. Make the WPA2 4-way handshake complete.
     5. Add bus_dmamap_sync() barriers on RX and TX.
     6. Update register/descriptor defines from ath11k to ath12k WiFi7.

   Known limitations:

     - DHCP does not yet complete on most setups: TX of DISCOVER works
       (the DHCP server sees it), but the OFFER does not reach the host.
       Likely an RX-path or post-handshake GTK state issue.  Reported by
       kettenis@ with an athn(4) AP on a Vivobook.
     - Some hardware (e.g. Honor laptop) hits a firmware page fault

    [21 lines not shown]
VersionDeltaFile
1.26+377-146sys/dev/ic/qwz.c
1.13+73-57sys/dev/ic/qwzreg.h
1.14+6-2sys/dev/ic/qwzvar.h
1.8+3-2sys/dev/pci/if_qwz_pci.c
+459-2074 files

OpenBSD/src ML0EyFXlib/libcrypto/x509 x509_addr.c

   make_addressRange: unused bits in max must be zero

   X509v3_addr_add_range() requires that min and max of an address range
   have network encoding. In the RFC 3779 encoding of an actual address
   range (as opposed to a prefix) as a SEQUENCE OF two ASN.1 BIT STRINGs,
   the trailing one bits of the maximum become unused bits and therefore
   must be DER encoded as zeroes. The DER encoder will clear them via i2d
   but these trailing ones are annoying. Make a copy in which the unused
   bits are cleared.

   ok kenjiro
VersionDeltaFile
1.95+23-6lib/libcrypto/x509/x509_addr.c
+23-61 files

OpenBSD/src mAH2NPrsys/dev/ic com.c

   Attempt to drain the transmit FIFO before resetting or disabling it such
   that output that is currently in the FIFO makes it out.  We already do
   this when attaching as a console by using a fixed delay, but not in
   compwroff() which runs when userland closes the associated tty.  Instead
   of using a fixed delay, look at the LSR_TSRE bit which should get set
   if the FIFO (or the itransmit shift register if the FIFO is disabled) is
   empty.  Use a fixed timeout such that on hardware with a non-functional
   LSR_TSRE bit the loops still terminate.

   This should fix issues where we lose serial output when userland closes
   a tty or when com(4) attaches to the port that is used as the console.

   ok deraadt@
VersionDeltaFile
1.183+21-2sys/dev/ic/com.c
+21-21 files

OpenBSD/src MMCyUYWlib/libcrypto/pkcs7 pk7_doit.c

   Fix PKCS7_set_{un,}signed_attributes()

   In both these functions, if the X509_ATTRIBUTE_dup() fails, the
   remainder of the sk stack is shared with p7si->{un,}auth_attr and
   the caller will likely end up freeing it twice.

   Fix this by writing another sk_deep_copy() patterned after the existing
   ones in x509_lu.c and x509_vpm.c. PKCS7_set_{un,}signed_attributes()
   become trivial wrappers of that.

   ok jsing kenjiro
VersionDeltaFile
1.68+35-28lib/libcrypto/pkcs7/pk7_doit.c
+35-281 files

OpenBSD/src PTjUaIDusr.bin/vi/vi v_paragraph.c v_sentence.c

   Allow '!}' and '!)' at EOF, even though there is no forward movement.

   The updated behavior differs from traditional vi but matches vim.
   It is already possible to run bang commands at EOF in conjunction
   with some other forward movement commands such as 'l' and 'w'.

   From Walter Alejandro Iglesias
VersionDeltaFile
1.11+3-2usr.bin/vi/vi/v_paragraph.c
1.11+3-2usr.bin/vi/vi/v_sentence.c
+6-42 files

OpenBSD/src T5WTyxFusr.bin/vi/vi v_sentence.c

   Fix special case of ')' when the cursor is on white-space.

   The forward sentence code has a special case to support moving to
   the start of the next sentence when it is in the middle of a empty
   line or whitespace between sentences.  However, the logic was
   incorrect and applied when the curson was on _any_ white-space.
   This change adds logic to look back and detect whether the cursor
   is actually in between two sentences.

   Based on a diff from Walter Alejandro.
VersionDeltaFile
1.10+19-10usr.bin/vi/vi/v_sentence.c
+19-101 files

OpenBSD/src vXGIzf3usr.bin/vi/vi v_sentence.c

   Prevent '(' from moving the cursor forward.

   Fixes an issue where '(' moved forward the start of the next (not
   previous) sentence when used within whitespace at the start if a line.

   From Debian bug 193498 (Tommy Pettersson) via nvi2.
VersionDeltaFile
1.9+2-2usr.bin/vi/vi/v_sentence.c
+2-21 files

OpenBSD/src UN99yqhusr.bin/vi/common delete.c

   Fix a misapplied patch in rev 1.12, the goto belongs outside the len check.
VersionDeltaFile
1.14+2-2usr.bin/vi/common/delete.c
+2-21 files