OpenBSD/src 566PK8netc/etc.riscv64 login.conf

   ld.lld now needs 9GB of ram to link firefox/libxul.so on riscv64
VersionDeltaFile
1.9+2-2etc/etc.riscv64/login.conf
+2-21 files

OpenBSD/src 2HDIQyfsbin/scsi scsi.8

   change '386BSD 0.1.2.4/FreeBSD' to .Fx

   the 0.2.4 patchkit for 386BSD 0.1 did not have this command
VersionDeltaFile
1.36+5-4sbin/scsi/scsi.8
+5-41 files

OpenBSD/src NFQuL5vusr.bin/sndiod sock.c

   sndiod: Pad the last play block using the right encoding

   Fixes the short noise when playback of unsigned samples stops. We've
   to call enc_sil_do() instead of padding with 0 (0 doesn't represent
   silence for unsigned encodings).

   Mostly from gkoehler@
VersionDeltaFile
1.53+4-2usr.bin/sndiod/sock.c
+4-21 files

OpenBSD/src GajK7N5regress/usr.bin/tail util.sh follow-overwrite-data.sh

   Replace poor man's synchronization primitive (i.e. sleep) with a wait
   until construct in the hopes of making these tests less flaky.
VersionDeltaFile
1.1+13-0regress/usr.bin/tail/util.sh
1.3+4-3regress/usr.bin/tail/follow-overwrite-data.sh
+17-32 files

OpenBSD/src ljEZBXDsbin/reboot reboot.8

   correct history; a reboot command did not appear until 4BSD
VersionDeltaFile
1.51+3-3sbin/reboot/reboot.8
+3-31 files

OpenBSD/src jBvPNcwshare/man/man7 ascii.7

   correct history; ascii(7) is the first edition manual
VersionDeltaFile
1.12+3-3share/man/man7/ascii.7
+3-31 files

OpenBSD/src oAREqDjshare/man/man4 ddb.4

   ddb was not part of Mach until 3.0

   "The Mach kernel has a builtin kernel debugger (kdb) based on adb"
   Mach: A New Kernel Foundation For UNIX Development, USENIX Summer 1986

   "The new kernel debugger has most of the features of the old kdb, but
   with a more rational (gdb-like) syntax."
   Mach 3.0 (mk83), ddb.man

   Mark W. Eichin explains how ddb came to be in 386BSD 0.1 in
   a June 1992 post to comp.unix.bsd
   https://groups.google.com/g/comp.unix.bsd/c/LY3hbHwjdG0/m/ca1hS0Hp5HcJ
VersionDeltaFile
1.110+3-3share/man/man4/ddb.4
+3-31 files

OpenBSD/src ZL0yVeCshare/man/man4 st.4 sd.4

   Julian Elischer's scsi code was not part of 386BSD 0.1.  It was posted to
   comp.unix.bsd and was part of the 0.2.2 patchkit.  The first two commits
   to NetBSD were 386BSD 0.1 and the 0.2.2 patches.

   uk.c did not appear till NetBSD 1.0.

   ok miod@
VersionDeltaFile
1.22+5-11share/man/man4/st.4
1.21+5-10share/man/man4/sd.4
1.26+5-4share/man/man4/cd.4
1.19+4-3share/man/man4/uk.4
+19-284 files

OpenBSD/src 1r97jiDlib/libcrypto/man EVP_aes_128_ccm.3

   Add an EXAMPLES section.

   I admit this is unusually long for a manual page.  But that's not my fault
   as a documentation author.  An example in a manual page ought to be minimal
   to show what needs to be demonstrated, and this example is minimal in that
   sense.  Making it shorter without loosing important aspects does not seem
   possible.

   When an API is poorly designed, one of the consequences is that that
   documentation becomes harder to understand and often longer - in this
   case to the point of becoming outright intimidating.  If people dislike
   that, they should design better APIs in the first place rather than
   blasting the poor manual page for being too long or too complicated.

   OK tb@
VersionDeltaFile
1.2+129-2lib/libcrypto/man/EVP_aes_128_ccm.3
+129-21 files

OpenBSD/src JrVUGeisys/netinet in_pcb.c in_pcb.h, sys/netinet6 in6_pcb.c

   Kill `inp_notify' list remains.

   This was the list where PCBs were temporary linked to avoid sleep with
   `inpt_mtx' mutex(9) held. in_pcbnotifyall() and in6_pcbnotify are the
   last list users, so switch them to in_pcb_iterator() too, moreover they
   already do in_pcb_is_iterator() check.

   Note, in_pcb_iterator() does necessary reference couter handling,
   unlocked `inp' dereference is safe.

   ok bluhm
VersionDeltaFile
1.306+7-27sys/netinet/in_pcb.c
1.146+7-17sys/netinet6/in6_pcb.c
1.160+1-4sys/netinet/in_pcb.h
+15-483 files

OpenBSD/src VkLuQpZsys/dev/fdt virtio_mmio.c, sys/dev/pci virtio_pci.c

   virtio: Refactor attach logic

   virtio 1.x requires that all queue setup, including the queue interrupt
   vector, is done before setting the queue_enable register to 1. This
   conflicts with how we do things right now:

   * We implicitly make queue setup in virtio_alloc_vq(), which is called
     from the child driver attach functions. This also sets queue_enable=1.

   * Later, we allocate the interrupts and set the queue interrupt vectors
     in the second half of the virtio transport attach functions.

   This is a violation of a MUST from the standard and causes problems with
   some hypervisors, in particular those that have no virtio 0.9 support,
   which has no such ordering requirements.

   To fix this:

   * Move the interrupt allocation to a new virtio_attach_finish() function.

    [17 lines not shown]
VersionDeltaFile
1.48+39-25sys/dev/pci/virtio_pci.c
1.21+31-17sys/dev/fdt/virtio_mmio.c
1.36+21-3sys/dev/pv/virtio.c
1.11+13-8sys/dev/pv/viogpu.c
1.13+10-3sys/dev/pv/vmmci.c
1.44+7-5sys/dev/pv/vioblk.c
+121-616 files not shown
+154-8012 files

OpenBSD/src apnFxAtsys/netinet tcp_fsm.h tcp_timer.c

   Declare some global TCP variables constant.

   OK mvs@
VersionDeltaFile
1.10+3-3sys/netinet/tcp_fsm.h
1.77+3-3sys/netinet/tcp_timer.c
1.22+2-2sys/netinet/tcp_timer.h
+8-83 files

OpenBSD/src n2R0GG6lib/libcrypto/evp e_chacha20poly1305.c

   If EVP_CIPHER_CTX_ctrl(3) is called on EVP_chacha20_poly1305(3)
   with an unsupported control command, return -1 rather than 0
   to the caller to indicate the error because in general, these
   control hooks ought to return -1 for unsupported control commands
   and 0 for other errors, for example other invalid arguments.

   Not a big deal because this change does not change when operations
   succeed or fail, and because callers are unlikely to pass unsupported
   control commands in the first place.  The only functional change is that
   if a calling program inspects the ERR(3) stack after this failure,
   it will now find the correct error code rather than nothing.
   Even that wasn't a huge problem because for most EVP_CIPHER control
   failures, getting no reason for the error is the usual situation.
   Then again, giving the reason when easily possible may occasionally
   be useful.  OpenSSL also returns -1 in this case, so it also helps
   compatibility a tiny bit.

   Found while auditing the return values of all the EVP_CIPHER
   control hooks in our tree.  This was the only fishy one i found.

    [2 lines not shown]
VersionDeltaFile
1.37+2-2lib/libcrypto/evp/e_chacha20poly1305.c
+2-21 files

OpenBSD/src ZmlOJe0sys/netinet tcp_input.c

   Fix signed integer comparison in tcp mss.

   In tcp_mss_adv() max(9) was used to guarantee that mss it not too
   small.  Unfortunately max() uses u_int and mss could get negative
   in some error conditions.
   Rearrange the code to directly return in case of errors.  Also read
   tcp_mssdflt only once to head towards atomic integer sysctl.

   OK mvs@
VersionDeltaFile
1.410+16-12sys/netinet/tcp_input.c
+16-121 files

OpenBSD/src 5dGkPJqsys/uvm uvm_page.c

   Relax some uvm_page_owner_locked() assertions.

   . uvm_pagewait(): do not require an exclusive lock to release it & sleep
   . uvm_page{de,}activate(): lists updates are serialized by the `pageqlock' mutex

   More assertions could be relaxed but only those 3 are necessary for running
   the lower fault handler in parrallel.

   ok miod@
VersionDeltaFile
1.179+13-10sys/uvm/uvm_page.c
+13-101 files

OpenBSD/src a9nfwq5sys/uvm uvm_vnode.c uvm_aobj.c

   A shared lock is now enough to call pgo_get() functions iff PGO_LOCKED is given.

   Update assertions to reflect that.

   ok tb@, miod@
VersionDeltaFile
1.137+4-3sys/uvm/uvm_vnode.c
1.113+4-2sys/uvm/uvm_aobj.c
+8-52 files

OpenBSD/src P9y8bdfsys/uvm uvm_fault.c

   Merge identical code paths to promote data to a new anon into a new function.

   ok tb@, miod@
VersionDeltaFile
1.155+71-73sys/uvm/uvm_fault.c
+71-731 files

OpenBSD/src rDUp1Qpregress/lib/libcrypto/mlkem mlkem_tests_util.c

   mlkem regress: garbage collect two global variables
VersionDeltaFile
1.4+1-4regress/lib/libcrypto/mlkem/mlkem_tests_util.c
+1-41 files

OpenBSD/src M2fN4Wqlib/libcrypto/hidden/openssl mlkem.h

   hidden mlkem.h: add comment to #endif
VersionDeltaFile
1.4+2-2lib/libcrypto/hidden/openssl/mlkem.h
+2-21 files

OpenBSD/src YXXzZznlib/libcrypto/x509 x509v3.h

   Annotate yet another greasy stinky tentacle of xca

   I'm so tired of this.
VersionDeltaFile
1.36+2-1lib/libcrypto/x509/x509v3.h
+2-11 files

OpenBSD/src Bkda2Gausr.bin/sndiod dev.c sock.c

   sndiod: Switch to printf(3)-style logging

   With this change, any line is logged using a single function call
   (instead of one function call per logged token). This makes the
   sources easier to read and reduces the binary size. Debug strings that
   would be too difficult to produce with snprintf(3) are simplified.

   ok tb, dlg
VersionDeltaFile
1.119+164-414usr.bin/sndiod/dev.c
1.52+95-477usr.bin/sndiod/sock.c
1.28+44-144usr.bin/sndiod/siofile.c
1.32+42-84usr.bin/sndiod/midi.c
1.22+25-87usr.bin/sndiod/dsp.c
1.28+42-70usr.bin/sndiod/file.c
+412-1,27613 files not shown
+522-1,59319 files

OpenBSD/src GmWIF6iusr.bin/tmux input-keys.c

   Only map S-Tag in mode 2, not mode 1. GitHub issue 4304.
VersionDeltaFile
1.106+2-2usr.bin/tmux/input-keys.c
+2-21 files

OpenBSD/src lSUGFMxsys/dev/pci if_mcx.c

   Pass BUS_DMA_64BIT to bus_dmamem_alloc().  On amd64, this allows use of
   memory past 4GB, potentially freeing up some low memory for more important
   uses.

   ok dlg@
VersionDeltaFile
1.118+5-4sys/dev/pci/if_mcx.c
+5-41 files

OpenBSD/src SNptllmlib/libcrypto/man EVP_aes_128_ccm.3 EVP_EncryptInit.3

   Move the horrific EVP_aes_128_ccm(3) API out of the important,
   algorithm-independent EVP_EncryptInit(3) manual as another step
   in making the latter leaner and more palatable.

   As a side benefit, the new EVP_aes_128_ccm(3) manual page may provide
   a better fighting chance to programmers who see themselves forced to
   support CCM for whatever reason.  It documents the mandatory, but so
   far undocumented EVP_CTRL_CCM_GET_TAG control command and makes the
   description of the three EVP_CTRL_CCM_SET_* control commands and the
   numerous related quirks more precise.
VersionDeltaFile
1.1+348-0lib/libcrypto/man/EVP_aes_128_ccm.3
1.56+4-50lib/libcrypto/man/EVP_EncryptInit.3
1.8+3-24lib/libcrypto/man/EVP_aes_128_cbc.3
1.302+2-1lib/libcrypto/man/Makefile
+357-754 files

OpenBSD/src FKr4y5Sregress/lib/libcrypto/mlkem Makefile

   Fix whitespace in Makefile
VersionDeltaFile
1.7+22-22regress/lib/libcrypto/mlkem/Makefile
+22-221 files

OpenBSD/src 9r6DVjUregress/lib/libcrypto/mlkem Makefile

   That works better with a G
VersionDeltaFile
1.6+2-2regress/lib/libcrypto/mlkem/Makefile
+2-21 files

OpenBSD/src 1QBoeAyregress/lib/libcrypto/mlkem mlkem1024_nist_decap_tests.c mlkem1024_nist_keygen_tests.c

   cant't -> can't
   (the mystery of spotting typos right after commit strikes again)
VersionDeltaFile
1.4+2-2regress/lib/libcrypto/mlkem/mlkem1024_nist_decap_tests.c
1.5+2-2regress/lib/libcrypto/mlkem/mlkem1024_nist_keygen_tests.c
1.4+2-2regress/lib/libcrypto/mlkem/mlkem768_decap_tests.c
1.4+2-2regress/lib/libcrypto/mlkem/mlkem768_encap_tests.c
1.6+2-2regress/lib/libcrypto/mlkem/mlkem768_keygen_tests.c
1.4+2-2regress/lib/libcrypto/mlkem/mlkem768_nist_decap_tests.c
+12-124 files not shown
+20-2010 files

OpenBSD/src EzAi1HMregress/lib/libcrypto/mlkem mlkem_unittest.c mlkem768_encap_tests.c

   Rework and fix the mlkem tests

   Make proper use of CBB and CBS. If a CBS ever owns data, you're holding
   it wrong. Ditch gross macros, sscanf, and globals. The use of fgets is
   annoying here, so replace it with getline, which be provided by portable
   if needed.

   Most importantly, make the tests actually signal failure rather than
   only printing an error. Fix the state machines in a few of them. Some
   tests didn't parse the .txt file at all. Others mostly did but didn't
   actually test what they were supposed to be testing. Such failures
   were hidden by the way the tests were written.

   This basically needed a complete revamp. It still isn't pretty and much
   of it could be deduplicated, but I only have so much time alotted on this
   blue planet.
VersionDeltaFile
1.4+210-177regress/lib/libcrypto/mlkem/mlkem_unittest.c
1.3+147-72regress/lib/libcrypto/mlkem/mlkem768_encap_tests.c
1.3+147-72regress/lib/libcrypto/mlkem/mlkem1024_encap_tests.c
1.3+146-64regress/lib/libcrypto/mlkem/mlkem1024_nist_decap_tests.c
1.3+146-64regress/lib/libcrypto/mlkem/mlkem768_nist_decap_tests.c
1.4+132-73regress/lib/libcrypto/mlkem/mlkem768_nist_keygen_tests.c
+928-52210 files not shown
+1,829-1,00216 files

OpenBSD/src AWtSX0fdistrib/sets/lists/comp mi

   sync
VersionDeltaFile
1.1737+0-2distrib/sets/lists/comp/mi
+0-21 files

OpenBSD/src z75X38clib/libcrypto Makefile

   Do not install mlkem.h and bytestring.h into /usr/include/openssl for now

   More work in mlkem is needed and this was premature.

   discussed with beck and jsing
VersionDeltaFile
1.231+1-3lib/libcrypto/Makefile
+1-31 files