NetBSD/src uNuYyNPsys/arch/riscv/conf GENERIC64 GENERIC

   Remove options DIAGNOSTIC from riscv kernels too.
   Oversight when processing ticket #182 (riscv first time release)
VersionDeltaFile
1.21.2.4+2-2sys/arch/riscv/conf/GENERIC64
1.24.8.2+2-2sys/arch/riscv/conf/GENERIC
+4-42 files

NetBSD/src RsHSGkfusr.bin/sort sort.1

   sort(1) emphasize that leading separators are included in the count
VersionDeltaFile
1.52+8-3usr.bin/sort/sort.1
+8-31 files

NetBSD/src oBjB4tZtests/dev/fss t_fss.sh

   tests/dev/fss: New test of internal snapshots.

   Verify that ls(1), find(1), and file(1) identify them as such too.

   PR bin/60379: file(1) should recognize snapshot files
   PR bin/60380: find(1) can't find snapshots
VersionDeltaFile
1.8+61-1tests/dev/fss/t_fss.sh
+61-11 files

NetBSD/src nnXN6hVsys/rump/librump/rumpkern vm.c

   rump uvm: Allow uvm_wait_prepare before uvm_init.

   Probably not worthwhile to figure out how to restructure rump
   initialization.

   Fixes total failure of rump after changes for:

   PR kern/58964: uvm: missing wakeup on uvmexp.free
   PR kern/60029: panic: cpu0: softints stuck for 16 seconds
VersionDeltaFile
1.201+8-2sys/rump/librump/rumpkern/vm.c
+8-21 files

NetBSD/src mD83U87external/bsd/file/dist configure.ac, external/bsd/file/dist/src fsmagic.c

   file(1): Detect internal file system snapshots.

   PR bin/60379: file(1) should recognize snapshot files
VersionDeltaFile
1.19+24-2external/bsd/file/dist/src/fsmagic.c
1.22+3-0external/bsd/file/include/config.h
1.24+1-0external/bsd/file/dist/configure.ac
+28-23 files

NetBSD/src 1yjan16lib/libutil stat_flags.c

   string_to_flags(3): Put `snap' under #ifdef SF_SNAPSHOT.

   Same as in flags_to_string(3).  Not really sure why, but let's keep it
   consistent so there's only one question to ponder and not two.

   PR bin/60380: find(1) can't find snapshots
VersionDeltaFile
1.5+4-2lib/libutil/stat_flags.c
+4-21 files

NetBSD/src vCwWzKJlib/libutil stat_flags.c

   string_to_flags(3): Support `snap' (SF_SNAPSHOT).

   PR bin/60380: find(1) can't find snapshots
VersionDeltaFile
1.4+3-2lib/libutil/stat_flags.c
+3-21 files

NetBSD/src kOdJX7alib/libc shlib_version

   libc: Suggest another major bump task.

   Prompted by noting that stdlib.h and libc are maybe not the right
   place for this API in:

   PR lib/60635: humanize_number(3): exa/exbi issues
VersionDeltaFile
1.301+3-1lib/libc/shlib_version
+3-11 files

NetBSD/src 7KKTN6Osys/arch/m68k/m68k pmap_motorola.c, sys/rump/librump/rumpkern vm.c

   uvm: Fix missed wakeups and reduce lock contention a little bit.

   This addresses two problems under heavy load:

   (a) uvm_wait would sometimes miss wakeups, causing various processes
       system to hang but then recover from `call wakeup(uvmexp+0x10)'
       in ddb:

       PR kern/58964: uvm: missing wakeup on uvmexp.free

   (b) Contention on uvmpd_lock would lead to so much time spent at
       IPL_SOFTBIO softint context in uvm_pageout_done spinning for
       uvmpd_lock that it would trip heartbeat panics:

       PR kern/60029: panic: cpu0: softints stuck for 16 seconds

   There are three intertwined parts to this, which I tried to split
   into separate commits, but I eventually decided it wasn't worth the
   trouble:

    [87 lines not shown]
VersionDeltaFile
1.141+329-35sys/uvm/uvm_pdaemon.c
1.240+30-11sys/uvm/uvm_fault.c
1.200+26-6sys/rump/librump/rumpkern/vm.c
1.169+11-5sys/uvm/uvm_km.c
1.129+11-5sys/uvm/uvm_bio.c
1.111+8-7sys/arch/m68k/m68k/pmap_motorola.c
+415-6918 files not shown
+522-13124 files

NetBSD/src vv0Of5zsys/kern subr_pool.c, sys/sys pool.h

   pool(9): Nix useless PR_GROWINGNOWAIT bit.

   This was introduced back in 2017 as an attempt to avoid spurious
   failure in concurrent PR_NOWAIT allocations, while still serializing
   calls to the pool's back end allocator to avoid fragmentation:

   https://mail-index.NetBSD.org/source-changes/2017/12/16/msg090490.html

   However, this probably doesn't work very well when one pool_get call
   in the middle of pool_grow is _interrupted by_ another one (in an
   interrupt handler) -- the busy wait will turn into a deadlock:

   https://mail-index.NetBSD.org/current-users/2017/12/29/msg033000.html

   So the logic was changed to keep holding the lock across the backing
   allocator in PR_NOWAIT allocations -- this way, calls to the pool's
   back end allocator are still serialized, but we at least avoid
   holding the lock _while sleeping_ in the back end allocator:


    [9 lines not shown]
VersionDeltaFile
1.298+4-17sys/kern/subr_pool.c
1.97+1-2sys/sys/pool.h
+5-192 files

NetBSD/src 9nmX0Fisbin/dump dump.8

   dump(8): Clarify various units and snapshot constraints in man page.

   PR bin/60565: dump(8): units are confusing
VersionDeltaFile
1.73+58-10sbin/dump/dump.8
+58-101 files

NetBSD/src Os6ePG3bin/sh eval.c

   sh(1): Include standard <fcntl.h> instead of <sys/fcntl.h>

   These headers are identical on NetBSD, so no functional change for us.
VersionDeltaFile
1.201+3-3bin/sh/eval.c
+3-31 files

NetBSD/src lSuFZ0Dusr.bin/make str.c, usr.bin/make/unit-tests directive-for.mk directive-for.exp

   make: fix newline in word splitting

   The newline character behaved differently depending on whether it
   occurred at the beginning of a word or in the middle of it.  In the
   middle, it didn't act as a word separator but instead stopped splitting,
   thereby ignoring any following words.  This behavior was neither
   documented nor to be expected.  It probably came from a time before 1993
   where the makefiles were read as a single block of text instead of
   splitting them into lines first.
VersionDeltaFile
1.2+49-51usr.bin/make/unit-tests/char-000a-new-line.mk
1.2+21-20usr.bin/make/unit-tests/char-000a-new-line.exp
1.34+12-10usr.bin/make/unit-tests/directive-for.exp
1.35+6-5usr.bin/make/unit-tests/directive-for.mk
1.107+3-3usr.bin/make/str.c
+91-895 files

NetBSD/src ZNxfItOdistrib/sets/lists/tests mi, usr.bin/make/unit-tests Makefile char-000a-new-line.exp

   tests/make: demonstrate newline in word splitting
VersionDeltaFile
1.1+66-0usr.bin/make/unit-tests/char-000a-new-line.mk
1.1+25-0usr.bin/make/unit-tests/char-000a-new-line.exp
1.1428+3-1distrib/sets/lists/tests/mi
1.384+2-1usr.bin/make/unit-tests/Makefile
+96-24 files

NetBSD/src nJgg22Tdistrib/sets/lists/tests md.amd64 mi

   distrib/sets: format tests lists according to fmt-list
VersionDeltaFile
1.1427+51-51distrib/sets/lists/tests/mi
1.19+2-2distrib/sets/lists/tests/md.amd64
+53-532 files

NetBSD/src lnEuu6tusr.bin/make parse.c, usr.bin/make/unit-tests directive-for.mk directive-for.exp

   make: fix line number in error message about newline in .for loop
VersionDeltaFile
1.33+9-9usr.bin/make/unit-tests/directive-for.exp
1.758+11-4usr.bin/make/parse.c
1.34+4-5usr.bin/make/unit-tests/directive-for.mk
+24-183 files

NetBSD/src Y9s8Aczusr.bin/make/unit-tests directive-for.exp directive-for.mk

   tests/make: demonstrate wrong line number in error about newline
VersionDeltaFile
1.33+16-1usr.bin/make/unit-tests/directive-for.mk
1.32+12-0usr.bin/make/unit-tests/directive-for.exp
+28-12 files

NetBSD/src z7bVUPousr.bin/make/unit-tests varmod-ifelse.mk cmd-errors-lint.mk

   tests/make: clean up and extend a few tests
VersionDeltaFile
1.3+6-39usr.bin/make/unit-tests/varparse-mod.mk
1.21+18-7usr.bin/make/unit-tests/directive-include-guard.mk
1.20+10-8usr.bin/make/unit-tests/varmod-range.mk
1.23+7-5usr.bin/make/unit-tests/varmod-range.exp
1.42+4-4usr.bin/make/unit-tests/varmod-ifelse.mk
1.9+4-4usr.bin/make/unit-tests/cmd-errors-lint.mk
+49-672 files not shown
+52-688 files

NetBSD/src 0UbPtcNsys/arch/sun68k/stand/libsa version sun3.c

   Pull up following revision(s) (requested by tsutsui in ticket #420):

        sys/arch/sun68k/stand/libsa/sun3.c: revision 1.12
        sys/arch/sun68k/stand/libsa/sun3.c: revision 1.13
        sys/arch/sun68k/stand/libsa/version: revision 1.7

   sun68k: fix typo in physical address calculation in dev3_mapin()

   This typo was introduced in the sun3/sun3x merge 28 years ago,
   so maybe harmless.


   sun68k: avoid PROM DVMA map aliasing in sun3 bootloader

   NetBSD/sun3 11.0 GENERIC fails to boot from a SCSI disk on
   my Sun 3/60 with at least PROM revisions 2.8.3 and 3.0.1.

   It looks sun3 PROM SCSI driver allocates internal resources
   in DVMA space starting at 0xfff00000. The sun3 standalone

    [26 lines not shown]
VersionDeltaFile
1.11.28.1+10-5sys/arch/sun68k/stand/libsa/sun3.c
1.6.102.1+2-1sys/arch/sun68k/stand/libsa/version
+12-62 files

NetBSD/src ieLBwQWexternal/gpl3/gdb/dist/gdb Makefile.in

   Fix MKCROSSGDB build from release source tars that have had permissions whanged around
VersionDeltaFile
1.11+1-1external/gpl3/gdb/dist/gdb/Makefile.in
+1-11 files

NetBSD/src 94A5MKYdoc CHANGES-10.2

   Tickets #1328 and #1329
VersionDeltaFile
1.1.2.125+15-1doc/CHANGES-10.2
+15-11 files

NetBSD/src EB1reqbsys/arch/sun68k/stand/libsa version sun3.c

   Pull up following revision(s) (requested by tsutsui in ticket #1329):

        sys/arch/sun68k/stand/libsa/sun3.c: revision 1.12
        sys/arch/sun68k/stand/libsa/sun3.c: revision 1.13
        sys/arch/sun68k/stand/libsa/version: revision 1.7

   sun68k: fix typo in physical address calculation in dev3_mapin()

   This typo was introduced in the sun3/sun3x merge 28 years ago,
   so maybe harmless.


   sun68k: avoid PROM DVMA map aliasing in sun3 bootloader

   NetBSD/sun3 11.0 GENERIC fails to boot from a SCSI disk on
   my Sun 3/60 with at least PROM revisions 2.8.3 and 3.0.1.

   It looks sun3 PROM SCSI driver allocates internal resources
   in DVMA space starting at 0xfff00000. The sun3 standalone

    [26 lines not shown]
VersionDeltaFile
1.11.20.1+10-5sys/arch/sun68k/stand/libsa/sun3.c
1.6.94.1+2-1sys/arch/sun68k/stand/libsa/version
+12-62 files

NetBSD/src jBWqax8doc CHANGES-11.1

   Tickets #419 and #420
VersionDeltaFile
1.1.2.5+15-1doc/CHANGES-11.1
+15-11 files

NetBSD/src m205HRJdistrib/sets/lists/tests mi, tests/usr.bin/grep d_pr60552 d_pr60552

   Pull up following revision(s) (requested by gutteridge in ticket #1328):

        tests/usr.bin/grep/d_pr60552: revision 1.1
        tests/usr.bin/grep/Makefile: revision 1.3
        distrib/sets/lists/tests/mi: revision 1.1425
        tests/usr.bin/grep/t_grep.sh: revision 1.10
        tests/usr.bin/grep/t_grep.sh: revision 1.11

   grep(1): Test screw case of case-insensitive match with colour.

   PR bin/60552: /usr/bin/grep failure under AMD64


   grep(1): Nix xfail on new test for PR 60552 screw case.

   I was planning to do this in the same commit that fixes it, to keep
   the history of bugs and fixes tidy, but gutteridge@ beat me to
   committing the fix.

   PR bin/60552: /usr/bin/grep failure under AMD64
VersionDeltaFile
1.7.2.1+21-1tests/usr.bin/grep/t_grep.sh
1.2.2.1+2-1tests/usr.bin/grep/Makefile
1.1238.2.25+2-1distrib/sets/lists/tests/mi
1.1.4.1+0-1tests/usr.bin/grep/d_pr60552
1.1.4.2+1-0tests/usr.bin/grep/d_pr60552
+26-45 files

NetBSD/src T2Yg4UGdistrib/sets/lists/tests mi, tests/usr.bin/grep d_pr60552 d_pr60552

   Pull up following revision(s) (requested by gutteridge in ticket #419):

        tests/usr.bin/grep/d_pr60552: revision 1.1
        tests/usr.bin/grep/Makefile: revision 1.3
        distrib/sets/lists/tests/mi: revision 1.1425
        tests/usr.bin/grep/t_grep.sh: revision 1.10
        tests/usr.bin/grep/t_grep.sh: revision 1.11

   grep(1): Test screw case of case-insensitive match with colour.

   PR bin/60552: /usr/bin/grep failure under AMD64


   grep(1): Nix xfail on new test for PR 60552 screw case.

   I was planning to do this in the same commit that fixes it, to keep
   the history of bugs and fixes tidy, but gutteridge@ beat me to
   committing the fix.

   PR bin/60552: /usr/bin/grep failure under AMD64
VersionDeltaFile
1.8.2.1+21-1tests/usr.bin/grep/t_grep.sh
1.2.6.1+2-1tests/usr.bin/grep/Makefile
1.1387.2.13+2-1distrib/sets/lists/tests/mi
1.1.2.1+0-1tests/usr.bin/grep/d_pr60552
1.1.2.2+1-0tests/usr.bin/grep/d_pr60552
+26-45 files

NetBSD/src 5plaz2ousr.bin/make/unit-tests cond-token-number.exp cond-token-number.mk

   tests/make: test octal number in condition (not supported)
VersionDeltaFile
1.13+18-13usr.bin/make/unit-tests/cond-token-number.mk
1.12+4-4usr.bin/make/unit-tests/cond-token-number.exp
+22-172 files

NetBSD/src w30K4vbdistrib/sets/lists/tests mi, tests/lib/libarchive Makefile

   libarchive: Install some missing test data files.

   PR lib/60560: libarchive tests are failing
VersionDeltaFile
1.22+9-2tests/lib/libarchive/Makefile
1.1426+7-1distrib/sets/lists/tests/mi
+16-32 files

NetBSD/src H0WZBG1tests/lib/libarchive Makefile

   libarchive: Avoid collision with LIBARCHIVE variable in makefile.

   It was both the path to the .a file for DPADD, and the path to the
   source directory.  Can't be both, and the source directory is purely
   local while the .a file is used in other makefiles, so let's call the
   source directory LIBARCHIVEDIR instead.

   Found while trying to diagnose:

   PR lib/60560: libarchive tests are failing
VersionDeltaFile
1.21+5-5tests/lib/libarchive/Makefile
+5-51 files

NetBSD/src FgZmh0vexternal/bsd/libarchive/dist/libarchive archive_string.c

   libarchive: Patch iconv() use to handle POSIX semantics.

   Previously it assumed nonstandard GNU semantics, causing tests to
   fail on NetBSD:

   /usr/src/external/bsd/libarchive/dist/libarchive/test/test_archive_string_conversion.c:950:
   -1 != r
         -1=-1 (0xffffffffffffffff, 01777777777777777777777)
         r=0 (0x0, 00)
   /usr/src/external/bsd/libarchive/dist/libarchive/test/test_archive_string_conversion.c:951:
   0 != mstr.aes_set & AES_SET_MBS
         0=0 (0x0, 00)
         mstr.aes_set & AES_SET_MBS=1 (0x1, 01)

   Upstream bug report:
   Issue #3413: test_archive_string_conversion_fail_c failure despite
   correct iconv(3)
   https://github.com/libarchive/libarchive/issues/3413


    [6 lines not shown]
VersionDeltaFile
1.2+4,227-206external/bsd/libarchive/dist/libarchive/archive_string.c
+4,227-2061 files

NetBSD/src xqZkOF7sys/arch/sparc64/sparc64 intr.c

   sun4v: The hv_intr_*functions are deprecated from api version 2.

   Add a SUN4V debug flag as well.
VersionDeltaFile
1.73+40-9sys/arch/sparc64/sparc64/intr.c
+40-91 files