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.109+6-2sys/netinet6/ip6_divert.c
1.108+6-2sys/netinet/ip_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

OpenBSD/src c91v748sys/netinet ip_mroute.c ip_mroute.h, sys/netinet6 ip6_mroute.c ip6_mroute.h

   Extend multicast router counter.

   ip_mforward() contained a static variable that poorly implements a
   rate limited log message.  Replace the log with a counter, which
   is MP-safe.
   Also count drops due to time-to-live and hop-limit.  As the default
   ttl is 1, this is the most common pitfall when configuring a multicast
   router.  This counter helps debugging.

   OK claudio@ deraadt@
VersionDeltaFile
1.153+6-5sys/netinet/ip_mroute.c
1.35+5-1sys/netinet/ip_mroute.h
1.30+5-1usr.bin/netstat/mroute.c
1.158+4-1sys/netinet6/ip6_mroute.c
1.26+3-1sys/netinet6/ip6_mroute.h
1.28+3-1usr.bin/netstat/mroute6.c
+26-106 files

OpenBSD/src JQuQImlregress/lib/libc/illumos/oclo Makefile

   Test runs out of file descriptors.  Increase ulimit number to 256.
VersionDeltaFile
1.3+3-1regress/lib/libc/illumos/oclo/Makefile
+3-11 files

OpenBSD/src Okmvpyvusr.bin/ssh channels.c

   Avoid printf("%s", NULL) since it's not guaranteed to be safe and will
   segfault on some -portable platforms.
VersionDeltaFile
1.463+2-2usr.bin/ssh/channels.c
+2-21 files

OpenBSD/src miC9sPQsys/dev/ic ncr53c9x.c

   Fix FIFO handling to avoid overflowing sc_imess.

   Original diff from Stanislav Fort.

   ok deraadt@ claudio@
VersionDeltaFile
1.83+10-11sys/dev/ic/ncr53c9x.c
+10-111 files

OpenBSD/src 64sXs8Lregress/usr.sbin/pkg_add Makefile

   pkg_add: add regression test reproducing the recent gcc15 issue

   from espie
VersionDeltaFile
1.91+15-5regress/usr.sbin/pkg_add/Makefile
+15-51 files

OpenBSD/src JZinTqqsys/kern sysv_shm.c

   For IPC_STAT (and KERN_SYSVIPC_SHM_INFO) the three fields
   __shm_atimensec/__shm_dtimensec/_shm_ctimensec fields leak kernel memory
   contents because we never initialize them, they should clearly be zero
   until such time as we add more precision.  The Tsinghua University group
   suggested clearing these at export time, but the real problem is the
   memory is being allocated without PR_ZERO.
   ok kettenis mvs
VersionDeltaFile
1.85+4-4sys/kern/sysv_shm.c
+4-41 files

OpenBSD/src ZabBZMUusr.bin/tmux status.c tmux.h

   Replace two-value prompt_mode enum with a flag.
VersionDeltaFile
1.270+9-10usr.bin/tmux/status.c
1.1369+2-5usr.bin/tmux/tmux.h
+11-152 files

OpenBSD/src wgJ1RD8usr.bin/tmux status.c window-customize.c

   Add some enums for prompt return values to make them a bit less confusing.
VersionDeltaFile
1.269+41-34usr.bin/tmux/status.c
1.25+29-29usr.bin/tmux/window-customize.c
1.90+18-14usr.bin/tmux/mode-tree.c
1.83+15-15usr.bin/tmux/window-tree.c
1.1368+23-6usr.bin/tmux/tmux.h
1.74+11-11usr.bin/tmux/cmd-command-prompt.c
+137-1092 files not shown
+151-1178 files

OpenBSD/src kNaxhvdsys/arch/arm64/conf RAMDISK

   Attach aplmbox(4) early in RAMDISK kernels too.
VersionDeltaFile
1.242+2-2sys/arch/arm64/conf/RAMDISK
+2-21 files

OpenBSD/src ijVRlqrsbin/isakmpd ike_auth.c ipsec.c

   isakmpd: Clear sensitive data with freezero()

   ok markus@
VersionDeltaFile
1.119+20-6sbin/isakmpd/ike_auth.c
1.161+10-10sbin/isakmpd/ipsec.c
1.135+7-7sbin/isakmpd/message.c
1.145+6-5sbin/isakmpd/exchange.c
1.17+4-4sbin/isakmpd/prf.c
1.207+5-1sbin/isakmpd/pf_key_v2.c
+52-335 files not shown
+64-4211 files

OpenBSD/src DBnw6k9sbin/isakmpd ike_quick_mode.c ipsec.c

   isakmpd: Clear key material

   Track allocated sizes alongside the key pointers.
VersionDeltaFile
1.116+6-4sbin/isakmpd/ike_quick_mode.c
1.160+7-3sbin/isakmpd/ipsec.c
1.28+2-1sbin/isakmpd/ipsec.h
+15-83 files

OpenBSD/src LzFo4IJusr.sbin/rpki-client nca.c extern.h

   Add a backoff retry mechanism for non-functional CAs

   Many non-functional CAs never recover once they become non-functional
   causing inefficiency in the operation of relying party instances.

   The existing detection mechanism for non-functional CAs is changed into
   a stateful backoff retry mechanism, eventually settling on retrying
   broken CAs only once per day. Backoff helps reduce load on both the
   RP and publication point sides of the house, reduces log clutter, and
   improves RP run duration.

   The sync schedule is reset if a given non-functional CA is discovered to
   be in working order again (i.e., backoff is not applied to healthy CAs).
   A few new statistics are exposed in the json & metrics outputs.

   An interesting side-effect of this mechanism is that it appears to
   obviate some of the need for a manually curated (and therefore, easily
   outdated) skiplist.

   OK claudio@ tb@
VersionDeltaFile
1.2+467-7usr.sbin/rpki-client/nca.c
1.285+32-3usr.sbin/rpki-client/extern.h
1.309+21-14usr.sbin/rpki-client/main.c
1.141+9-3usr.sbin/rpki-client/rpki-client.8
1.46+5-4usr.sbin/rpki-client/output.c
1.60+8-1usr.sbin/rpki-client/output-json.c
+542-322 files not shown
+553-348 files

OpenBSD/src 7BcRx1ydistrib/sets/lists/comp md.arm64

   add codepatch.h
VersionDeltaFile
1.27+1-0distrib/sets/lists/comp/md.arm64
+1-01 files

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

   Handle different borders in move-pane, from Dane Jensen.
VersionDeltaFile
1.65+8-3usr.bin/tmux/cmd-join-pane.c
+8-31 files

OpenBSD/src n77wIzOshare/man/man4 route.4

   Update header file chunks in this manual page for newer route message
   types; from ido at wireplug
   ok claudio
VersionDeltaFile
1.57+50-2share/man/man4/route.4
+50-21 files

OpenBSD/src gFeLH9Vusr.bin/tmux status.c

   Remove target completion which never worked very well, leave only
   command completion.
VersionDeltaFile
1.268+23-240usr.bin/tmux/status.c
+23-2401 files

OpenBSD/src MKWN5vwusr.bin/ssh sshd_config.5

   mention a caveat regarding GSSAPIStrictAcceptorCheck in some environments
VersionDeltaFile
1.399+3-2usr.bin/ssh/sshd_config.5
+3-21 files

OpenBSD/src xBrhjfpusr.bin/ssh channels.c

   add some logging to make debugging interactive/bulk classification
   mistakes easier next time (though I think we've got them all now, really)
VersionDeltaFile
1.462+6-2usr.bin/ssh/channels.c
+6-21 files

OpenBSD/src lkMY2wEusr.bin/ssh channels.h

   add a missing channels type for bulk/interactive classification
   bz3972; ok dtucker@
VersionDeltaFile
1.167+2-2usr.bin/ssh/channels.h
+2-21 files

OpenBSD/src P1BooXfusr.sbin/bgpctl output_json.c output_ometric.c

   Switch to imsg_recv_ctl_peer and switch all consumers of struct peer over
   to struct ctl_peer.

   bgpd no longer dumps the full struct peer over imsg, so adjust here.

   OK tb@
VersionDeltaFile
1.65+20-21usr.sbin/bgpctl/output_json.c
1.28+23-18usr.sbin/bgpctl/output_ometric.c
1.78+21-20usr.sbin/bgpctl/output.c
1.323+4-4usr.sbin/bgpctl/bgpctl.c
1.26+2-2usr.sbin/bgpctl/bgpctl.h
+70-655 files

OpenBSD/src JolNa6yusr.sbin/bgpd bgpd.h session.h

   Implement imsg_send_ctl_peer() and imsg_recv_ctl_peer and struct ctl_peer
   to export peer data to bgpctl.

   IMSG_CTL_SHOW_NEIGHBOR exported struct peer with a lot of internal data
   which leaks important information and works against our priv-sep model.
   The new struct ctl_peer only includes data that is needed by bgpctl.

   Triggered by a report from 7ASecurity
   OK tb@
VersionDeltaFile
1.544+93-1usr.sbin/bgpd/bgpd.h
1.198+1-82usr.sbin/bgpd/session.h
1.5+41-1usr.sbin/bgpd/bgpd_imsg.c
1.140+5-28usr.sbin/bgpd/control.c
+140-1124 files

OpenBSD/src Z4b3wZHusr.bin/sndiod sock.c

   sndiod: Make sure strings received from the network are 0-terminated
VersionDeltaFile
1.63+13-1usr.bin/sndiod/sock.c
+13-11 files

OpenBSD/src 2cnib1Gshare/man/man4/man4.riscv64 sgmsi.4

   kettenisg -> kettenis
VersionDeltaFile
1.2+3-3share/man/man4/man4.riscv64/sgmsi.4
+3-31 files

OpenBSD/src Dz4uDKwusr.bin/write write.c

   Cast argument to unsigned char for ctype(3) macros.
VersionDeltaFile
1.38+3-2usr.bin/write/write.c
+3-21 files