OpenBSD/src gzJyZoGsys/kern exec_subr.c vfs_subr.c, sys/uvm uvm_vnode.c uvm_extern.h

   Move allocation of "mmap descriptors" (UVM vnode) into uvn_attach().

   Reduce waste of memory by limiting the association of such descriptors to
   vnodes that are effectively mmap(2)'d.

   Tested by sthen@, ok kettenis@
VersionDeltaFile
1.143+27-26sys/uvm/uvm_vnode.c
1.185+1-4sys/uvm/uvm_extern.h
1.23+2-2sys/uvm/uvm_vnode.h
1.71+2-2sys/kern/exec_subr.c
1.333+1-2sys/kern/vfs_subr.c
+33-365 files

OpenBSD/src 1gs2Eb5lib/libcrypto/bn bn_prime.c

   bn_prime.c: fix includes
VersionDeltaFile
1.37+4-3lib/libcrypto/bn/bn_prime.c
+4-31 files

OpenBSD/src MXwhngQsys/netinet ip_carp.c

   replace SRP with SMR for linking the vhosts list together.

   this is pretty mechanical.

   this is part of my goal of removing SRP from the tree.
VersionDeltaFile
1.371+51-75sys/netinet/ip_carp.c
+51-751 files

OpenBSD/src EUq4Sznsbin/ifconfig brconfig.c

   remove unused variables
VersionDeltaFile
1.42+2-6sbin/ifconfig/brconfig.c
+2-61 files

OpenBSD/src 20r7XoDlib/libcrypto/man X509_VERIFY_PARAM_set_flags.3

   move the sentence about X509_VERIFY_PARAM_get_hostflags(3)
   to the right section and mention the value returned
   if X509_VERIFY_PARAM_set_hostflags(3) was never called;
   OK tb@ kenjiro@
VersionDeltaFile
1.32+7-6lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
+7-61 files

OpenBSD/src c2SJhsXlib/libcrypto/bn bn.h

   Use 64 bit BN_ULONG on 64 bit Windows platforms.

   64 bit Windows is a special LLP snowflake and it is currently incorrectly
   using 32 bit BN_ULONG, since _LP64 is not defined. Enable 64 bit BN_ULONG
   if _LP64 or _WIN64 is defined.

   ok tb@
VersionDeltaFile
1.83+2-2lib/libcrypto/bn/bn.h
+2-21 files

OpenBSD/src bSzXQfhusr.bin/tmux tty-term.c

   correct test for COLORTERM containing 256
   found with smatch, ok nicm@
VersionDeltaFile
1.104+2-2usr.bin/tmux/tty-term.c
+2-21 files

OpenBSD/src oQSkuQdusr.sbin/bgpd rde_rib.c

   There is no need to check that asp is valid in the pftable case.
   Fixes CID 492349, 492350
   OK tb@
VersionDeltaFile
1.275+3-3usr.sbin/bgpd/rde_rib.c
+3-31 files

OpenBSD/src 5IA9juKusr.bin/tmux window-copy.c

   consistently use tabs for indentation
   found with smatch, ok nicm@
VersionDeltaFile
1.376+3-3usr.bin/tmux/window-copy.c
+3-31 files

OpenBSD/src CUzBMWDsys/net if_veb.c

   it makes more sense to count ether_offload_ifcap failures as output errors

   not input errors.

   bluhm@ asked if i made a copy/paste mistake, and i think i did.
VersionDeltaFile
1.52+4-4sys/net/if_veb.c
+4-41 files

OpenBSD/src f0lLwwmsys/net if_veb.c

   remove the ipsec interception code.

   i wrote it cos bridge(4) allowed ipsec to apply policy to ip packets
   as they traversed the bridge, but the locking and packet gymnastics
   meant it was never enabled. i'm no longer interested in making veb
   feature compatible with bridge(4), so this code can go. it's in the
   attic if it's needed in the future though.

   no functional change.
VersionDeltaFile
1.51+1-280sys/net/if_veb.c
+1-2801 files

OpenBSD/src WUS7e6Cusr.bin/ssh sshkey.c

   sshkey_ec_validate_public: zap trailing blank I missed on review
VersionDeltaFile
1.157+2-2usr.bin/ssh/sshkey.c
+2-21 files

OpenBSD/src Wzjtmvdsys/dev/pci pcidevs_data.h pcidevs.h

   regen
VersionDeltaFile
1.2103+21-1sys/dev/pci/pcidevs_data.h
1.2108+6-1sys/dev/pci/pcidevs.h
+27-22 files

OpenBSD/src sG0G7s9sys/dev/pci pcidevs, sys/dev/pci/drm/amd/amdgpu amdgpu_devlist.h

   add more Cyan Skillfish device ids

   matches devices added in linux 1e18746381793bef7c715fc5ec5611a422a75c4c
   which is queued for linux 6.12.58
VersionDeltaFile
1.2115+6-1sys/dev/pci/pcidevs
1.40+5-0sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h
+11-12 files

OpenBSD/src UF8tsaQusr.bin/ssh ssh-agent.c

   Escape SSH_AUTH_SOCK paths that are sent to the shell as setenv
   commands.

   Unbreaks ssh-agent for home directory paths that contain whitespace.

   Based on fix from Beat Bolli via bz3884; feedback/ok dtucker@
VersionDeltaFile
1.314+19-23usr.bin/ssh/ssh-agent.c
+19-231 files

OpenBSD/src lTVkLPKusr.bin/ssh sshkey.c

   Remove some unnecessary checks in sshkey_ec_validate_public()

   Checking nQ == infinity is not needed for cofactor 1 curves.
   Checking x and y coordinates against order is not needed either.

   patch from Szilárd Pfeiffer, with further refinement by tb@
   ok tb@
VersionDeltaFile
1.156+29-39usr.bin/ssh/sshkey.c
+29-391 files

OpenBSD/src 3fQUJrisys/dev/pci if_rge.c

   For RTL8125, there's no need to check whether RGE_CMD_STOPREQ has been
   completed.  As with other chip variants, RGE_CMD_STOPREQ never acknowledges
   completion.

   Reported by Geoff Steckel
VersionDeltaFile
1.40+2-14sys/dev/pci/if_rge.c
+2-141 files

OpenBSD/src zRLTRjYsys/dev/acpi acpicmos.c

   whitespace
VersionDeltaFile
1.4+1-2sys/dev/acpi/acpicmos.c
+1-21 files

OpenBSD/src 6ryQcDDlib/libc/gen signal.3

   rewrap an overlong input line, no output change
VersionDeltaFile
1.61+4-4lib/libc/gen/signal.3
+4-41 files

OpenBSD/src gQw4aYbregress/usr.bin/ssh/misc/sk-dummy fatal.c Makefile

   sk-dummy.so needs sshlog() stub after ed25519-openssl.c change
VersionDeltaFile
1.1+43-0regress/usr.bin/ssh/misc/sk-dummy/fatal.c
1.7+2-2regress/usr.bin/ssh/misc/sk-dummy/Makefile
+45-22 files

OpenBSD/src SOu4b0Mlib/libc/string ffs.3

   tweak previous: "functions returns" -> "functions return"
   and add a missing Oxford comma
VersionDeltaFile
1.13+4-4lib/libc/string/ffs.3
+4-41 files

OpenBSD/src pVNPZgBsbin/ifconfig ifconfig.8

   simplify markup of :port and @vid,
   avoiding needless .Oc at the ends of input lines;
   no output change
VersionDeltaFile
1.411+7-7sbin/ifconfig/ifconfig.8
+7-71 files

OpenBSD/src rkGxaqMusr.sbin/bgpd mrt.c

   In mrt_dump_entry() treat peers with remote_addr.aid == AID_UNSPEC the
   same way as peers where the remote_addr.aid is the same as of the prefix.

   This fixes dumping in the old table format from self-originated prefixes
   since peerself has a AID_UNSPEC remote_addr of all 0.
   Fix for mrt regress test.
   Reported by anton@
   OK tb@ (who had the same diff)
VersionDeltaFile
1.131+3-2usr.sbin/bgpd/mrt.c
+3-21 files

OpenBSD/src YZ1fHXKregress/lib/libc/sys t_getrusage.c

   Let this compile on m88k.
VersionDeltaFile
1.4+3-1regress/lib/libc/sys/t_getrusage.c
+3-11 files

OpenBSD/src UqVDSRElib/libcrypto/bn bn_prime.c

   Use BN_ULONG in probable_prime_dh()

   This was the last user of BN_LONG in code. It had no reason to do so.
   BN_mod_word() returns a BN_ULONG and since the largest prime in the
   small primes table primes[] is well below 20000, the only return value
   that could cause 'mod' to be negative was the error sentinel (BN_ULONG)-1.

   ok jsing kenjiro
VersionDeltaFile
1.36+2-2lib/libcrypto/bn/bn_prime.c
+2-21 files

OpenBSD/src 5jNKAFEregress/usr.bin/ssh/unittests/misc test_misc.c

   unit test for stringlist_append() and stringlist_free()
VersionDeltaFile
1.2+39-0regress/usr.bin/ssh/unittests/misc/test_misc.c
+39-01 files

OpenBSD/src GuPXs8hregress/usr.bin/ssh/misc/sk-dummy Makefile, regress/usr.bin/ssh/misc/ssh-verify-attestation Makefile

   link against ed25519-openssl.c instead of ed25519.c
VersionDeltaFile
1.4+3-4regress/usr.bin/ssh/misc/ssh-verify-attestation/Makefile
1.6+3-2regress/usr.bin/ssh/misc/sk-dummy/Makefile
+6-62 files

OpenBSD/src IuvGXJYusr.bin/ssh misc.c ssh-add.c

   move stringlist_append() and stringlist_free() to misc.c
VersionDeltaFile
1.209+29-1usr.bin/ssh/misc.c
1.182+1-29usr.bin/ssh/ssh-add.c
1.113+3-1usr.bin/ssh/misc.h
+33-313 files

OpenBSD/src 4MFp22isys/kern kern_lock.c subr_witness.c, sys/sys mutex.h

   replace the cas spinlock in kernel mutexes with a "parking" lock.

   this is motivated because cas based locks are unfair, meaning that
   no effort is made by the algorithm to try and give CPUs access to
   the critical section in the order that they tried to acquire them.
   cas based locks can also generate a lot of work for the cache
   subsystem on a computer because every cpu ends up hammering the
   same cacheline.

   the combination of these effects for heavily contended mutexes can
   get some systems into a situation where they don't make progress,
   and are effectively livelocked.

   this parking mutex mitigates against these problems.

   it's called parking because it was very heavily influnced by what's
   described in https://webkit.org/blog/6161/locking-in-webkit/. the
   big influence is that the lock itself only has to record it's state,
   but the machinery for waiting for the lock is external to the lock.

    [64 lines not shown]
VersionDeltaFile
1.82+258-51sys/kern/kern_lock.c
1.24+10-7sys/sys/mutex.h
1.56+2-2sys/kern/subr_witness.c
+270-603 files

OpenBSD/src Zx8cLdvshare/man/man4 gre.4

   fix the rfc number for NVGRE

   from Abel Abraham Camarillo Ojeda on tech@
VersionDeltaFile
1.84+3-3share/man/man4/gre.4
+3-31 files