NetBSD/src TfShYZtsys/arch/aarch64/include types.h, sys/arch/powerpc/include types.h

   Put back __HAVE_UNLOCKED_PMAP for MI PMAP. risc-v and mips broke.
VersionDeltaFile
1.106+0-34sys/uvm/pmap/pmap.c
1.431+18-2sys/uvm/uvm_map.c
1.239+7-2sys/uvm/uvm_fault.c
1.23+6-1sys/arch/aarch64/include/types.h
1.31+0-7sys/uvm/pmap/pmap.h
1.68+6-1sys/arch/powerpc/include/types.h
+37-473 files not shown
+48-509 files

NetBSD/src gISW5Hvtests/usr.sbin/inetd t_accept_max.sh

   tests/usr.sbin/inetd/t_accept_max: Handle SIGKRE.

   Fix some cleanup issues and simplify according to most of kre's
   suggestions.  Mostly this fixes the kill-background-jobs-on-trap
   logic by not trying to kill the nonexistent %0, and killing each job
   individually so `kill' doesn't stop early if one doesn't exist.

   I'm keeping the idiom `: >foo' and `: <foo' because I think it's a
   little clearer than a bare `>foo' or `<foo', and I'm keeping the -e
   and -u on shell scripts (except the one-liners) because I want to get
   early feedback as much as possible about unexpected failure modes --
   even if it counterintuitively elides some feedback.

   (I also generally use -o pipefail out of habit for the same reason
   but I'll acquiesce to removing it here in a short script where there
   are definitely no pipes.)

   PR bin/59645: inetd `rate-limiting' algorithm is stupid
VersionDeltaFile
1.4+25-36tests/usr.sbin/inetd/t_accept_max.sh
+25-361 files

NetBSD/src LwBsNm1usr.bin/diff pr.c pr.h, usr.bin/diff3 diff3.c

   diff3(1): Just use waitpid(2), no need for kevent(2).

   Sidesteps

   PR kern/60358: kevent EVFILT_PROC races with process exit

   in order to fix

   PR bin/60357: diff3(1): tests are failing since BSD diff import

   The FreeBSD version used kevent(2) until February of this year:
   https://cgit.freebsd.org/src/commit/?id=404753664a5e145d98f1749d1c7bc046c8aa32c3
   So this reduces diff from FreeBSD somewhat, except FreeBSD uses
   capsicum and process fds rather than pids.
VersionDeltaFile
1.2+17-23usr.bin/diff3/diff3.c
1.2+10-10usr.bin/diff/pr.c
1.2+1-4usr.bin/diff/pr.h
+28-373 files

NetBSD/src U0CkyPNtests/usr.bin/netpgpverify t_netpgpverify.sh

   netpgpverify(1): Mark DSA test broken on sparc64.

   PR bin/59823: netpgpverify broken for PGP since switch to gcc 14.3
VersionDeltaFile
1.8+6-1tests/usr.bin/netpgpverify/t_netpgpverify.sh
+6-11 files

NetBSD/src ovagzR7tests/usr.bin/c++ t_call_once.sh t_cxxruntime.sh

   tests/usr.bin/c++: Mark various profile and pic profile tests xfail.

   PR toolchain/59710: various pic profile tests are failing and/or broken
VersionDeltaFile
1.10+18-1tests/usr.bin/c++/t_call_once.sh
1.10+12-1tests/usr.bin/c++/t_cxxruntime.sh
1.10+7-1tests/usr.bin/c++/t_hello.sh
1.9+6-1tests/usr.bin/c++/t_pthread_once.sh
1.10+6-1tests/usr.bin/c++/t_call_once2.sh
1.13+6-1tests/usr.bin/c++/t_static_destructor.sh
+55-66 files

NetBSD/src oscHLXxtests/usr.bin/c++ t_call_once.sh t_call_once2.sh

   tests/usr.bin/c++: Mark xfails for alpha pie business.

   PR port-alpha/60356: pie tests are failing on alpha
VersionDeltaFile
1.9+6-1tests/usr.bin/c++/t_call_once.sh
1.9+6-1tests/usr.bin/c++/t_call_once2.sh
+12-22 files

NetBSD/src PFq9lQWdistrib/atari/floppies/common Makefile.images

   Re-enable -m68020-60 to compile the floppies - with the gcc currently
   in tree this makes binaries shrink a tiny bit so the floppies
   fit again.
VersionDeltaFile
1.16+2-3distrib/atari/floppies/common/Makefile.images
+2-31 files

NetBSD/src 8OPqdNlexternal/bsd/libarchive/dist/test_utils test_main.c, tests/usr.bin/cpio t_cpio.sh

   libarchive: Fix cpio(1) tests.

   1. When dropping privileges, setegid to the _gid_ of user `nobody',
      not to the _uid_ of user `nobody'.

   2. In the test, grant that user access to the atf test working
      directory so it can execute the `bsdcpio' symlink we create in
      order to get argv[0] set appropriately for the error messages that
      the test checks for.

   PR bin/60353: cpio(1): tests are failing to run at all
VersionDeltaFile
1.2+12-1tests/usr.bin/cpio/t_cpio.sh
1.8+1-1external/bsd/libarchive/dist/test_utils/test_main.c
+13-22 files

NetBSD/src G0jbcjTsys/arch/mips/mips mipsX_subr.S

   s/deay/delay/ in comment.
VersionDeltaFile
1.117+3-3sys/arch/mips/mips/mipsX_subr.S
+3-31 files

NetBSD/src 9laykMLtests/usr.sbin/inetd t_accept_max.sh

   inetd(8): Fix sh(1) trap save/restore in accept-max test.

   Fixes mysterious

   Failed: 1

   failures like this one:

   https://releng.netbsd.org/b5reports/i386/2026/2026.06.22.22.27.17/test.html#usr.sbin_inetd_t_accept_max_max2_kv

   PR bin/59645: inetd `rate-limiting' algorithm is stupid
VersionDeltaFile
1.3+2-2tests/usr.sbin/inetd/t_accept_max.sh
+2-21 files

NetBSD/src ONS3QaIsys/net if_wg.c

   wg(4): Don't leak a prop_dictionary_t on every ioctl!

   PR kern/60349: experimental wg(4) leaks memory on ioctl
VersionDeltaFile
1.138+14-6sys/net/if_wg.c
+14-61 files

NetBSD/src M0qrX2osys/net if_wg.c, tests/net/if_wg t_misc.sh

   wg(4): Gracefully refuse excess allowed IP address ranges.

   PR kern/60232: kernel panic when adding a wireguard peer with too
   many allowed IP addresses
VersionDeltaFile
1.137+25-12sys/net/if_wg.c
1.18+1-3tests/net/if_wg/t_misc.sh
+26-152 files

NetBSD/src vOSgm4Lsys/net if_wg.c, tests/net/if_wg t_basic.sh

   wg(4): Drop KASSERT on result of crypto_scalarmult.

   The result of this check is not relevant to security of the protocol,
   either for static peer identity keys or for ephemeral handshake keys.
   See comments for details.

   We can't simply write

        (void)crypto_scalarmult(...);

   because the function was tagged with warn_unused_result.  And
   apparently libsodium may leave the output uninitialized if the check
   fails.  So just yield zero instead of stack garbage / UB -- stack
   garbage is probably actually fine since it is immediately hashed into
   something that won't match anything so downstream logic will just drop
   it, but UB might invite nefarious compilers to cause trouble.

   PR security/60106: wg(4) should properly handle invalid or insecure
   ephemeral Curve25119 public keys
VersionDeltaFile
1.136+67-4sys/net/if_wg.c
1.9+1-5tests/net/if_wg/t_basic.sh
+68-92 files

NetBSD/src SmlCeGstests/net/if_wg t_misc.sh

   wg(4): Add a test case for too many allowed IP address ranges.

   PR kern/60232: kernel panic when adding a wireguard peer with too
   many allowed IP addresses
VersionDeltaFile
1.17+67-1tests/net/if_wg/t_misc.sh
+67-11 files

NetBSD/src 5Xmuiqvtests/net/if_wg t_basic.sh common.sh

   wg(4): Add test case for bad ephemeral handshake public keys.

   wg(4) should not crash on an assertion if they appear on the network;
   it should just gracefully drop them as forgeries, if a MITM attempted
   to send them without knowledge of a peer's public key, or accept
   them, if a peer legitimately sent them, since that peer could just as
   well simply forward the plaintext of the session on to the NSA.

   PR kern/60106: wg(4) should properly handle invalid or insecure
   ephemeral Curve25119 public keys
VersionDeltaFile
1.8+172-2tests/net/if_wg/t_basic.sh
1.2+36-1tests/net/if_wg/common.sh
+208-32 files

NetBSD/src jDwRwQ8tests/net/if_wg t_basic.sh

   wg(4): Add test case for bad peer public keys.

   wg(4) should not crash on an assertion if they are used -- it should
   just gracefully accept them, with degraded security, since a peer
   that maliciously provides an invalid public key is no worse than a
   peer that voluntarily exposes all its plaintext anyway.

   PR kern/60106: wg(4) should properly handle invalid or insecure
   ephemeral Curve25119 public keys
VersionDeltaFile
1.7+81-1tests/net/if_wg/t_basic.sh
+81-11 files

NetBSD/src QQYcyjtsys/arch/arm/altera cycv_gmac.c, sys/arch/arm/rockchip rk_gmac.c

   Break out and expand FDT property parsing for awge(4) FDT attachment
   frontends

   This uses the device tree's possible burst length bus interface settings,
   and improves performance on, for instance, Rockchip RK3399
VersionDeltaFile
1.1+63-0sys/dev/fdt/dwc_gmac_fdt_subr.c
1.102+13-5sys/dev/ic/dwc_gmac.c
1.24+5-7sys/arch/arm/rockchip/rk_gmac.c
1.23+8-1sys/dev/ic/dwc_gmac_var.h
1.8+5-2sys/arch/arm/altera/cycv_gmac.c
1.12+5-2sys/arch/arm/sunxi/sunxi_gmac.c
+99-177 files not shown
+122-2813 files

NetBSD/src 8PrSnzHusr.sbin/sysinst label.c

   PR 60334: fix two bugs:
    - confusion between part_usage_info::flags and ::cur_flags leading
      to not matching partitions properly when renumbering them after
      deletion
    - off by one corrupting memory when deleting a partition
VersionDeltaFile
1.52+5-5usr.sbin/sysinst/label.c
+5-51 files

NetBSD/src eiyoemRusr.sbin/sysinst util.c msg.mi.fr

   Conditionalize some messages so they are not compiled in when
   architectures do not need it.
    - a few clearly GPT related strings conditional on NO_GPT
    - the base32/compat32 related message for PR 60224 and PR 60133
      conditional on a new flag HAVE_DVD_IMAGE
VersionDeltaFile
1.80+12-1usr.sbin/sysinst/util.c
1.52+9-2usr.sbin/sysinst/msg.mi.fr
1.55+9-1usr.sbin/sysinst/msg.mi.pl
1.58+9-1usr.sbin/sysinst/msg.mi.de
1.59+9-1usr.sbin/sysinst/msg.mi.en
1.49+9-1usr.sbin/sysinst/msg.mi.es
+57-74 files not shown
+70-1110 files

NetBSD/src Aw4baGisys/dev/ic dwc_gmac_reg.h

   Add additional dwc_gmac register defines.
VersionDeltaFile
1.26+18-1sys/dev/ic/dwc_gmac_reg.h
+18-11 files

NetBSD/src 6UriRnXsys/dev/pci/voyager vac.c

   Fix locking in vac, prevent "locking against myself" issues.
VersionDeltaFile
1.2+14-8sys/dev/pci/voyager/vac.c
+14-81 files

NetBSD/src cJlVY7Ausr.sbin/moused moused.8

   moused(8): fix typo s/conrol/control/, introduced recently in rev 1.11.
VersionDeltaFile
1.15+2-2usr.sbin/moused/moused.8
+2-21 files

NetBSD/src yTVT7NJlib/libc/time strptime.3

   strptime(3): document this assumes the Gregorian calendar

   From FreeBSD.

   Remove trailing whitespace while here.
VersionDeltaFile
1.41+9-4lib/libc/time/strptime.3
+9-41 files

NetBSD/src yHKGJXMlib/libc/time strptime.c

   Fix day of week calculcation in strptime().

   The bug was that the calculation used the raw year value without
   adding the 1900 offset.

   While here, switch to the current Wikipedia version of Gauss' algorithm,
   like FreeBSD did, and simplify a loop, like FreeBSD did.
VersionDeltaFile
1.68+9-11lib/libc/time/strptime.c
+9-111 files

NetBSD/src BQE6QO4sys/arch/evbppc/sam460ex autoconf.c machdep.c, sys/arch/powerpc/ibm4xx/pci pciex.c

   Fix PCI Express issues on Sam460ex.
   - Mapping memory region for DMA through bus_dma framework with coherency
     requested now causes the region to be uncached for 440 cores.
   - DMA inbound window mapping
   - Avoid configuration cycles that stall the bus
   - Board-specific interrupt mapping

   Now mpt in PCI Express x4 slot does around 100MB/s to a spinning rust
   hard drive and is stable.
VersionDeltaFile
1.3+68-27sys/arch/powerpc/ibm4xx/pci/pciex.c
1.59+22-6sys/arch/powerpc/powerpc/bus_dma.c
1.4+12-8sys/arch/powerpc/include/ibm4xx/amcc460ex.h
1.4+13-2sys/arch/evbppc/sam460ex/autoconf.c
1.13+8-1sys/arch/powerpc/include/ibm4xx/vmparam.h
1.6+6-2sys/arch/evbppc/sam460ex/machdep.c
+129-462 files not shown
+140-508 files

NetBSD/src E228fDNsys/arch/aarch64/aarch64 genassym.cf, sys/arch/aarch64/include locore.h armreg.h

   aarch64: introduce a DAIF_MASK #define and remove DAIF_SETCLR_SHIFT
VersionDeltaFile
1.10+8-10sys/arch/aarch64/include/locore.h
1.43+2-2sys/arch/aarch64/aarch64/genassym.cf
1.75+2-2sys/arch/aarch64/include/armreg.h
+12-143 files

NetBSD/src 5sDU4Bksys/dev/pci if_ixl.c if_iavf.c

   s/successed/succeeded/ in counter label and remove underscore for consistency.
VersionDeltaFile
1.101+4-4sys/dev/pci/if_ixl.c
1.21+3-3sys/dev/pci/if_iavf.c
1.18+3-3sys/dev/pci/if_vmx.c
+10-103 files

NetBSD/src eEvd8YQtests/net/if_pppoe t_pppoe_keepalive.sh

   Added test case for PP_IFDOWN flag
VersionDeltaFile
1.3+103-1tests/net/if_pppoe/t_pppoe_keepalive.sh
+103-11 files

NetBSD/src PC2SkZ8tests/net/if_pppoe t_pppoe_keepalive.sh

   minor tweaks for t_pppoe_keepalive.sh
VersionDeltaFile
1.2+4-5tests/net/if_pppoe/t_pppoe_keepalive.sh
+4-51 files

NetBSD/src rD0evcVsys/net if_spppsubr.c if_spppvar.h

   Added a sysctl node to control the PP_IFDOWN flag
VersionDeltaFile
1.292+82-2sys/net/if_spppsubr.c
1.49+8-8sys/net/if_spppvar.h
+90-102 files