OpenBSD/src eD1i8z4usr.sbin/bgpd bgpd.conf.5, usr.sbin/hostapd hostapd.conf.5

   Slightly iprove a confusing wording in the parse.y manuals:
   The things that need quoting are not necessarily "argument names",
   and not even necessarily "names" at all, so just talk about "arguments".

   "I guess?" florian@ and no objection from otto@, both back in July 2025.

   Actually, the quoting rules are more complicated than the text makes
   believe, but i do not know how to better describe them.  It may not be
   easy because some suspect the implementation may be somewhat adhoc
   rather than based on cleary defined lexical rules.
VersionDeltaFile
1.252+3-3usr.sbin/bgpd/bgpd.conf.5
1.67+3-3usr.sbin/snmpd/snmpd.conf.5
1.51+3-3usr.sbin/hostapd/hostapd.conf.5
1.129+3-3usr.sbin/httpd/httpd.conf.5
1.8+3-3usr.sbin/iscsictl/iscsi.conf.5
1.30+3-3usr.sbin/ldapd/ldapd.conf.5
+18-1810 files not shown
+48-4816 files

OpenBSD/src 6RvV0qvusr.bin/stat stat.1

   Delete duplicate SEE ALSO entry: lstat(2) is documented in the same
   manual page as stat(2), and will almost certainly always be,
   so having SEE ALSO pointers to both was gratuitiously wordy.
VersionDeltaFile
1.25+2-3usr.bin/stat/stat.1
+2-31 files

OpenBSD/src edt0EQnbin/ls ls.1

   Avoid statement that was misleading by being overly specific:
   without -T, the format of the last modification column varies.
   Being less specific is actually better because that indicates
   to the reader that it's intended for human consumption, and that
   trying to parse it programmatically is likely not a good idea.

   Issue reported by Jan Stary <hans at stare.cz> on tech.
   Patch by me, OK sthen@.
VersionDeltaFile
1.80+3-4bin/ls/ls.1
+3-41 files

OpenBSD/src VkPWCullib/libcrypto/ec ecp_methods.c

   Rewrite ec_point_cmp()

   This removes some complications due to handling the fast path for affine
   points and general points at the same time. The result is a bit more code
   but both paths should be much easier to follow.

   ok jsing kenjiro
VersionDeltaFile
1.48+98-60lib/libcrypto/ec/ecp_methods.c
+98-601 files

OpenBSD/src cTMwF3slib/libcrypto/mlkem mlkem_internal.h

   mlkem: fix mklem_{generate_key,encap}_external_entropy() declarations

   The prototypes used sized arrays appropriate only for MLKEM768 while the
   declarations used pointers. For some reason clang doesn't flag this but
   gcc does. In any case it was wrong. The callers of these functions check
   that they pass in the correct size. Which is weird but the mlkem directory
   has an unbelievable amount of mess and bad code.

   found by/ok jsing
VersionDeltaFile
1.14+3-5lib/libcrypto/mlkem/mlkem_internal.h
+3-51 files

OpenBSD/src kELmpnBlib/libcrypto/mlkem mlkem_internal.c mlkem_internal.h

   mlkem: garbage collect the unusd mlkem_{generate_key,encap}()

   These are flagged by more recent gcc since declarations and definitions
   don't match (sized array vs pointer). Also an array was checked for NULL.

   found by/ok jsing
VersionDeltaFile
1.6+1-37lib/libcrypto/mlkem/mlkem_internal.c
1.13+1-21lib/libcrypto/mlkem/mlkem_internal.h
+2-582 files

OpenBSD/src Hdm1qWbsys/arch/octeon/stand/rdboot cmd.c rdboot.c

   stub 'time' command;  OK miod

   octeon (like loongson at least) lacks clock code and thus the 'time'
   command besides MD boot* manuals.

   Since unsupported commands are treated as file names and explicit
   kernels overrule any /bsd.{boot,upgrade} fallback in general,
   this causes sysupgrade to not kick in until boot.conf is fixed:

        >> OpenBSD/octeon BOOT 1.5
        upgrade detected: switching to /bsd.upgrade
        failed to load kernel sd0a:time: No such file or directory
        will try /bsd
        boot>
        NOTE: random seed is being reused.
        booting sd0a:/bsd

   Make 'time' do nothing and return success to ensure it doesn't effect
   subsequent execution.
VersionDeltaFile
1.7+9-1sys/arch/octeon/stand/rdboot/cmd.c
1.11+2-2sys/arch/octeon/stand/rdboot/rdboot.c
+11-32 files

OpenBSD/src XBuVLMEdistrib/miniroot install.sub

   prune previous libLLVM;  OK jca deraadt

   Reclaiming ~10% of that gigabyte sysupgrade now wants in /usr/ seems nice:

   octeon  -r--r--r--  1 root  bin   106M Apr 14  2025 /usr/lib/libLLVM.so.8.0
   amd64   -r--r--r--  1 root  bin  82.6M Jun 10  2025 /usr/lib/libLLVM.so.8.0

   distrib/sets/lists/base/md.* shows macppc as last arch to switch to 9.0
   (even bigger) on 01.08.25, so nothing should use old libs anymore by now.
VersionDeltaFile
1.1284+2-2distrib/miniroot/install.sub
+2-21 files

OpenBSD/src EFb4NQhusr.sbin/sysupgrade sysupgrade.sh

   Check absoloute free space rather than usage percentage

   10% on big (single filesystem) disks can still be plenty enough;
   on the flip side, e.g. 10% of 3G /usr is often still too tight.

   So instead of ">= 90% used", use "< 1G free" to bail out early.

   Input OK sthen
VersionDeltaFile
1.61+3-4usr.sbin/sysupgrade/sysupgrade.sh
+3-41 files

OpenBSD/src RzleBailib/libcrypto/arch/amd64 crypto_arch.h Makefile.inc, lib/libcrypto/arch/hppa Makefile.inc crypto_arch.h

   Provide LIBRESSL_USE_.*_ASSEMBLY defines.

   Make life easier for portable by providing LIBRESSL_USE_.*_ASSEMBLY
   defines, which enable/disable assembly for a specific algorithm. This
   means that selected platforms can include the assembly files and specify
   a define, rather than having to try to patch the crypto_arch.h headers.

   Discussed with tb@
VersionDeltaFile
1.17+11-4lib/libcrypto/arch/i386/crypto_arch.h
1.18+11-4lib/libcrypto/arch/amd64/crypto_arch.h
1.4+7-3lib/libcrypto/arch/sparc64/crypto_arch.h
1.30+8-1lib/libcrypto/arch/hppa/Makefile.inc
1.4+7-2lib/libcrypto/arch/hppa/crypto_arch.h
1.46+7-2lib/libcrypto/arch/amd64/Makefile.inc
+51-1611 files not shown
+104-3117 files

OpenBSD/src vBNkk64lib/libcrypto/arch/amd64 crypto_arch.h Makefile.inc, lib/libcrypto/arch/i386 crypto_arch.h Makefile.inc

   Replace MD5_ASM with function specific defines.

   Use the same pattern that is now used for most other code - provide
   HAVE_MD5_BLOCK_DATA_ORDER and use this to selectively enable source code.
VersionDeltaFile
1.26+3-3lib/libcrypto/md5/md5.c
1.16+3-1lib/libcrypto/arch/i386/crypto_arch.h
1.17+3-1lib/libcrypto/arch/amd64/crypto_arch.h
1.34+1-2lib/libcrypto/arch/i386/Makefile.inc
1.45+1-2lib/libcrypto/arch/amd64/Makefile.inc
+11-95 files

OpenBSD/src pGGPlV3lib/libcrypto/arch/alpha crypto_arch.h, lib/libcrypto/arch/amd64 crypto_arch.h

   Replace GHASH_ASM with function specific defines.

   Use the same pattern that is now used for most other code - provide HAVE_*
   defines for functions and use these to selectively enable source code.
VersionDeltaFile
1.55+14-7lib/libcrypto/modes/gcm128.c
1.3+8-1lib/libcrypto/arch/alpha/crypto_arch.h
1.3+4-1lib/libcrypto/arch/hppa/crypto_arch.h
1.3+4-1lib/libcrypto/arch/sparc64/crypto_arch.h
1.15+3-1lib/libcrypto/arch/i386/crypto_arch.h
1.16+3-1lib/libcrypto/arch/amd64/crypto_arch.h
+36-125 files not shown
+41-2211 files

OpenBSD/src GsiHtVPlib/libcrypto/arch/amd64 Makefile.inc, lib/libcrypto/arch/hppa Makefile.inc

   Mop up unused AES_ASM and RSA_ASM defines.

   These have not been used for quite some time.
VersionDeltaFile
1.43+1-3lib/libcrypto/arch/amd64/Makefile.inc
1.20+1-2lib/libcrypto/arch/mips64/Makefile.inc
1.15+1-2lib/libcrypto/arch/powerpc/Makefile.inc
1.22+1-2lib/libcrypto/arch/sparc64/Makefile.inc
1.17+1-2lib/libcrypto/arch/powerpc64/Makefile.inc
1.28+1-2lib/libcrypto/arch/hppa/Makefile.inc
+6-131 files not shown
+7-157 files

OpenBSD/src bMjRExFusr.sbin/rpki-client rpki-client.8

   rpki-client.8: zap a trailing blank
VersionDeltaFile
1.138+3-3usr.sbin/rpki-client/rpki-client.8
+3-31 files

OpenBSD/src ojDb7MUusr.sbin/rpki-client rpki-client.8

   rpki-client: tweak previous to keep the portable diff simple

   ok job
VersionDeltaFile
1.137+6-4usr.sbin/rpki-client/rpki-client.8
+6-41 files

OpenBSD/src p1PS4n6lib/libcrypto/sha sha256_aarch64_ce.S sha512_amd64_generic.S

   Use .section before .rodata to appease gas.

   gas dislikes bare .rodata - add .section before .rodata to make it happier
   (LLVM does not care and is happy with either). For consistency, do the same
   with .text.
VersionDeltaFile
1.4+4-3lib/libcrypto/sha/sha256_aarch64_ce.S
1.2+4-3lib/libcrypto/sha/sha512_amd64_generic.S
1.3+4-3lib/libcrypto/sha/sha512_aarch64_ce.S
1.4+4-3lib/libcrypto/sha/sha256_amd64_generic.S
1.2+3-3lib/libcrypto/sha/sha1_amd64_shani.S
1.2+3-3lib/libcrypto/sha/sha256_amd64_shani.S
+22-182 files not shown
+26-228 files

OpenBSD/src XiiIdg6lib/libcrypto/sha sha1_aarch64_ce.S sha256_aarch64_ce.S

   Use local label prefix for loop labels.
VersionDeltaFile
1.2+3-3lib/libcrypto/sha/sha1_aarch64_ce.S
1.3+3-3lib/libcrypto/sha/sha256_aarch64_ce.S
1.2+3-3lib/libcrypto/sha/sha512_aarch64_ce.S
+9-93 files

OpenBSD/src ehoVShulib/libcrypto/mlkem mlkem_internal.h

   mlkem_internal.h: formate -> format
VersionDeltaFile
1.12+2-2lib/libcrypto/mlkem/mlkem_internal.h
+2-21 files

OpenBSD/src 0gtRBJ2lib/libcrypto/mlkem mlkem_internal.h

   mlkem_internal.h: some very basic copy editing
VersionDeltaFile
1.11+6-6lib/libcrypto/mlkem/mlkem_internal.h
+6-61 files

OpenBSD/src g7YBDJclib/libcrypto/mlkem mlkem.h

   mlkem.h: Thie -> This (2x)
VersionDeltaFile
1.10+3-3lib/libcrypto/mlkem/mlkem.h
+3-31 files

OpenBSD/src ZLbJ1EFlib/libcrypto/mlkem mlkem.c

   mlkem.c: becuase -> because
VersionDeltaFile
1.7+2-2lib/libcrypto/mlkem/mlkem.c
+2-21 files

OpenBSD/src 3rk0juQlib/libc/gen login_cap.3

   fix previous: remove stray .It macro
VersionDeltaFile
1.27+3-3lib/libc/gen/login_cap.3
+3-31 files

OpenBSD/src iAHpUworegress/usr.sbin/rpki-client Makefile.inc, usr.sbin/rpki-client encoding.c filemode.c

   Inflate gzip compressed CCR files on the fly in filemode

   Turns out CCR data is highly compressable (~50% reduction with gzip).
   Filemode recognizes compressed files by the .gz filename extension and
   handles those transparently, i.e. 'rpki-client -jf *.ccr.gz *.mft.gz'
   will output the hash identifier for a given file's uncompressed form.

   OK tb@
VersionDeltaFile
1.15+56-1usr.sbin/rpki-client/encoding.c
1.76+19-1usr.sbin/rpki-client/filemode.c
1.136+6-6usr.sbin/rpki-client/rpki-client.8
1.270+7-3usr.sbin/rpki-client/extern.h
1.46+3-3regress/usr.sbin/rpki-client/Makefile.inc
1.136+3-1usr.sbin/rpki-client/mft.c
+94-156 files

OpenBSD/src m40RcGVlib/libcrypto/asn1 asn1t.h

   asn1t.h: whitespace tweaks

   Add missing space after commas, shorten a couple comments in structs,
   reflow weirdly wrapped long comments and improve the random line
   breaks in typedefs and prototypes.
VersionDeltaFile
1.31+82-89lib/libcrypto/asn1/asn1t.h
+82-891 files

OpenBSD/src QlrRyt3lib/libcrypto/asn1 asn1t.h

   asn1t.h: Otherwiser -> Otherwise
VersionDeltaFile
1.30+2-2lib/libcrypto/asn1/asn1t.h
+2-21 files

OpenBSD/src 3mPKoTNlib/libcrypto/asn1 asn1t.h

   asn1t.h: more macro cleanup, add missing C99 initializers for ADB_ENTRY()

   ok kenjiro
VersionDeltaFile
1.29+101-71lib/libcrypto/asn1/asn1t.h
+101-711 files

OpenBSD/src vGW6A6Dsys/arch/amd64/amd64 i8259.c, sys/arch/amd64/include i8259.h

   un-ifdef i8259

   We don't need different code variants for the legacy PIC. Just keep the
   default variant and remove lots of #ifdefs

   always defined:
           ICU_HARDWARE_MASK

   never defined:
           ICU_SPECIAL_MASK_MODE
           AUTO_EOI_1
           AUTO_EOI_2
           PIC_MASKDELAY
           MASKDELAY
           REORDER_IRQ

   ok kettenis@ hshoexer@
VersionDeltaFile
1.5+1-53sys/arch/amd64/include/i8259.h
1.13+1-20sys/arch/amd64/amd64/i8259.c
+2-732 files

OpenBSD/src TKaJmWssys/dev/fdt bcm2835_sdhost.c

   bcmsdhost: Set bus clock after reset

   The host reset during attach nukes SDCDIV that the bus clock setup has
   initialized right before. Reorder to keep the correct value in SDCDIV.

   ok kettenis@
VersionDeltaFile
1.3+2-2sys/dev/fdt/bcm2835_sdhost.c
+2-21 files

OpenBSD/src 4q4JumNsys/arch/amd64/amd64 ghcb.c

   In SEV-ES mode, guest userland is allowed to execute the vmgexit
   instruction, although it has no control over the GHCB.  Therefore,
   it is important that the GHCB does not contain a valid request after
   use.

   In all "vmgexit paths" the GHCB is cleared by ghcb_sync_in() (it
   calls ghcb_clear()) after returning from the hypervisor back into
   the guest.

   However, in _ghcb_mem_rw() I missed this when requesting MMIO writes
   from the hypervisor.  The diff below corrects this.

   I want to keep this pattern in all vmgexit paths:

           ghcb_sync_out
           vmgexit
           ghcb_verify_bm
           ghcb_sync_in


    [4 lines not shown]
VersionDeltaFile
1.7+6-6sys/arch/amd64/amd64/ghcb.c
+6-61 files

OpenBSD/src NVJDcnusys/arch/amd64/amd64 locore0.S

   As vmd(8) direct kernel launch now uses 32-bit legacy mode (with
   paging disabled) we do not need the 64-bit #VC handling in locore0
   anymore.

   ok mlarkin@
VersionDeltaFile
1.34+1-85sys/arch/amd64/amd64/locore0.S
+1-851 files