NetBSD/src 8tTN8k7 — usr.sbin/cpuctl/arch aarch64.c

   cpuctl: aarch64: typo in comment
VersionDeltaFile
1.39+3-3usr.sbin/cpuctl/arch/aarch64.c
+3-31 files

NetBSD/src rV61ITz — lib/libc/time localtime.c

   libc/time/localtime.c - fix bad tm_wday calc from TZ=<tzstring>

   Simplified version of a patch supplied on the tz list, apparently
   from FreeBSD, to correct overflow problems introduced by other
   recent changes to the way the values are computed.

   When using a TZ setting like TZ=UTC0UTC (where specifying the DST
   abbreviation is important), and when time_t is 64 bits, the value
   calculated for the tm_wday field of struct tm would underflow, and
   be truncated when assigned to that int var, before it was reduced
   modulo 7 (days/week) - the 64->32 bit truncation modified the
   value incorrectly.
VersionDeltaFile
1.158+4-4lib/libc/time/localtime.c
+4-41 files

NetBSD/src YI6PozS — sys/arch/arm/sunxi sun60i_a733_r_ccu.c

   sun60i_a733_r_ccu.c ... attempt to fix clang build.

   Correct what looks to be a cut&paste & forget to edit bug, which
   looks to be preventing this building using clang, and might easily
   be generating bad (unintended) results from gcc builds.

   Feel free to revert if this was a bad assumption.
VersionDeltaFile
1.2+3-3sys/arch/arm/sunxi/sun60i_a733_r_ccu.c
+3-31 files

NetBSD/src 10wTgS8 — sys/dev fss.c

   fss(4): Fix leak introduced in recent refactoring of configure path.

   Add comments explaining what ownership we are transferring in each
   path (FSS_PERSISTENT vs !FSS_PERSISTENT), since it's not obvious and
   looks like either one is missing a vrele or the other has an extra
   vrele.

   PR kern/60986: fssconfig panics on bad backing store type
VersionDeltaFile
1.134+22-2sys/dev/fss.c
+22-21 files

NetBSD/src jCZblgN — sbin/dmesg dmesg.c

   sbin/dmesg/dmesg.c - fix SMALL build

   Most of the code for the new -c/-C options was excluded when doing a SMALL
   build, but not all of it.   Make it all vanish in SMALL mode.

   Also, fix the clearbuf() func decl to properly match the prototype.

   And, just for fun (and I can't realistically test this) make it possible
   to build if the KERN_MSGBUFCLR isn't available from the relevant header
   file (updated one not installed, or whatever).   If that ever happens,
   any attempt to clear the msgbuf will simply error exit.
VersionDeltaFile
1.54+15-5sbin/dmesg/dmesg.c
+15-51 files

NetBSD/src XPAhtX9 — sbin/dmesg dmesg.8

   dmesg(8): mdoc tweaks
VersionDeltaFile
1.28+19-11sbin/dmesg/dmesg.8
+19-111 files

NetBSD/src eByHUge — sys/arch/m68k/m68k pmap_68k.c

   - Always track our lev1pa and only set the %urp if it's actually changed,
     thus saving a user ATC invalidation if we switch back to the same
     pmap.  Instrumentation shows this happens about 50% of the time during
     an ATF run.
   - Loosen some overly strict KASSERT-ions that fired during an ATF run,
     but put assertions around *those* edge cases.
   - Track if an ATC invalidation was due to an "enter", a "remove",
     a "protection", or a "cache status change".
   - In pmap_remove_all(), we can use the regular pmap garbage-collection
     scheme, because uvmspace_exec() follows the pmap_remove_all() call
     with a pmap_update() call.
   - In pmap_destroy(), perform a pmap_update() before actually destroying
     the pmap when the last reference is dropped.  This is because
     uvmspace_free() calls pmap_remove_all() without following with a
     pmap_update().  This is a perfectly reasonable optimization for
     uvmspace_free() to do, but yah, we need to take care of it ourselves.
VersionDeltaFile
1.113+198-50sys/arch/m68k/m68k/pmap_68k.c
+198-501 files

NetBSD/src c9Hv5vx — doc CHANGES

   Mention dmesg -[cC]
VersionDeltaFile
1.3314+2-2doc/CHANGES
+2-21 files

NetBSD/src AnpiloE — sbin/dmesg dmesg.8 dmesg.c, sys/kern subr_log.c

   dmesg: Add function to clear the dmesg buffer for debugging purpose

    - Add new sysctl "kern.msgbuf_clear" to clear the buffer. Same as FreeBSD.

    - Add -C and -c option to dmesg. It clears the dmesg buffer.

      -C   Clear the dmesg buffer. Same as Linux
      -c        Print the dmesg buffer and then clear it. Same as Linux and FreeBSD

   First written by hikaru@ and modified by me.
VersionDeltaFile
1.69+27-4sys/kern/subr_log.c
1.53+26-4sbin/dmesg/dmesg.c
1.27+7-3sbin/dmesg/dmesg.8
1.243+2-1sys/sys/sysctl.h
+62-124 files

NetBSD/src yicQzwG — distrib/common/bootimage Makefile.installimage

   Include uncompressed man pages on the USB installation images so it's
   easier to use it for tasks like recovering a broken system
VersionDeltaFile
1.12+2-2distrib/common/bootimage/Makefile.installimage
+2-21 files

NetBSD/src hGmxfFt — bin/sh expand.c

   /bin/sh -- ${@:-stuff} expansion fix

   This comes from the issue described in

        https://mail-index.netbsd.org/pkgsrc-users/2026/11/19/msg043805.html

   where pkgsrc/sysutils/sysupgrade was shown to behave differently
   when using different shells to execute it.

   The relevant code line is:

        for set_name in "${@:-$(shtk_config_get SETS)}"; do

   which intends to use "$@" (command line args, I think) if any are set, and the
   results from:
        shtk_config_get SETS
   otherwise - intending that those results would be split into separate args.

   There are a number of issues with this .. first the "${@:-...}"  (and $* instead

    [67 lines not shown]
VersionDeltaFile
1.153+47-24bin/sh/expand.c
+47-241 files

NetBSD/src B73mTph — tests/bin/sh t_expand.sh

   tests/bin/sh/t_expand ... add test cases for ${@-word} (etc)

   This usage (using the + - (also ? =) modifiers in parameter
   expansions when the special parameter '@' (or '*') is being
   expanded, is expressly left unspecified in the standard, and
   applications should not attempt it - as different shells
   produce different results.

   Hence these new test case only run their sub-tests when the
   shell being tested is the NetBSD shell - and are to verify
   that that shell continues to produce sane (in our opinion)
   results from these unspecified expansions, even if that might,
   in some (or many) cases differ from what other shells do.

   There are something around 350 new sub tests added (initially)
   across the 4 new test cases -- those being to test the 4
   major variations:  "${@:-word}" "${@-word}" ${@:-word} ${@-word}
   Each test case tests both the - and + operator.   Note that it
   is whether the $@ is quoted or not that matters, not whether

    [13 lines not shown]
VersionDeltaFile
1.33+497-1tests/bin/sh/t_expand.sh
+497-11 files

NetBSD/src eykJ3rq — doc 3RDPARTY

   openssl: that was a pre-announcement, versions are not available yet
VersionDeltaFile
1.2282+2-2doc/3RDPARTY
+2-21 files

NetBSD/src 2DRjvMb — doc 3RDPARTY

   new openssl out; remove 3.6 series (unsupported); at 4.1
VersionDeltaFile
1.2281+3-3doc/3RDPARTY
+3-31 files

NetBSD/src JVtqICC — bin/sh show.c

   /bin/sh - minor DEBUG mode extension

   This is a DEBUG mode only change, it does not affect any
   shell built normally (nothing built by the NetBSD build
   machinery) in any way -- the whole file being changed is
   effectively #ifdef DEBUG and (in sh builds) DEBUG is
   never defined (except by me, and perhaps, one day, someone
   else.)

   This adds a (trivial) mechanism to allow sh debug mode trace
   files to be placed in some other directory than "." -- mostly
   so it is possible to run a DEBUG compiled shell with debug
   enabled while running ATF tests, without the trace file being
   removed ("cleaned up") by ATF as soon as the test finishes.

   NFC for any normal shell.   Definitely no pullups.
VersionDeltaFile
1.61+6-3bin/sh/show.c
+6-31 files

NetBSD/src O5ONHq0 — bin/sh eval.c

   /bin/sh - source code maintenance

   KNF (including kreNF and 80-col police).
   One grammar fix in a comment.
   Some small DEBUG mode enhancements (more info dumped),

   NFC for any normal shell.   Definitely no pullups.
VersionDeltaFile
1.202+23-17bin/sh/eval.c
+23-171 files

NetBSD/src mHVaAU0 — tests/bin/sh t_expand.sh

   tests/bin/sh/t_expand.sh - minor cleanups (NMFC)

   These changes make several minor changes to the layout
   of the source file, more than anything else.

   There are 3 kinds of changes (repeated throughout)

   1.  Use ' quoting rather than " quoting for the strings
       used as the value of the ATF descr variable for each
       test.  This allows $ and " to be used in those strings
       without requiring \ escaping, making them easier to read.
       Also, drop meaningless leading/trailing spaces in these
       strings, they don't use C string concat, which simply abuts
       the contents of the strings, but more like sh "$*" which
       puts spaces between the strings when joined into one.

   2.  Consistently write multi-line sh function definitions as
        func_name()
        {

    [23 lines not shown]
VersionDeltaFile
1.32+202-147tests/bin/sh/t_expand.sh
+202-1471 files

NetBSD/src tNBBfHu — tests/bin/sh renumber-sh-tests

   src/tests/bin/sh - add a source code maintenance script

   The sh tests contain many sets of tests which, when one fails, reports the
   number of the test which failed (along with symptoms, actual code, ...) as
   part of the failure log.   Those numbers match numbers inserted as comments
   with the tests, to allow the actual test to be more easily found (there tend
   to be many which differ in just small details, hunting for the correct code
   can be time consuming and error prone).

   Until now, keeping those (comment) numbers correct has been a manual process,
   itself almost as likely to fail as any of the tests the numbers are intended
   to help identify.

   This script (which has a very limited scope, just the shell ATF test sources
   - and not even all, or even a majority, of those) will create a modified
   version of the source code with all the comment numbers corrected.   That
   can then be compared with the unmodified version, and if all looks good,
   replace it.


    [14 lines not shown]
VersionDeltaFile
1.1+87-0tests/bin/sh/renumber-sh-tests
+87-01 files

NetBSD/src kfqMVpa — sys/arch/arm/nxp imx_ccm.h files.imx_ccm

   imx_ccm: split the core from the FDT glue

   Move the FDT parts to imx_ccm_fdt.c so the core can be used without
   fdt.  composite set_rate now returns ENXIO when the parent is not found.

   Tested on QEMU mcimx7d-sabre.
VersionDeltaFile
1.1+99-0sys/arch/arm/nxp/imx_ccm_fdt.c
1.2+8-48sys/arch/arm/nxp/imx_ccm.c
1.2+7-24sys/arch/arm/nxp/imx_ccm_composite.c
1.5+9-14sys/arch/arm/nxp/files.imx
1.1+16-0sys/arch/arm/nxp/files.imx_ccm
1.2+5-2sys/arch/arm/nxp/imx_ccm.h
+144-883 files not shown
+150-1009 files

NetBSD/src Ys8jwc2 — doc 3RDPARTY

   zstd 1.6.0 out (security release)
VersionDeltaFile
1.2280+3-3doc/3RDPARTY
+3-31 files

NetBSD/src AuAcT19 — usr.sbin/cpuctl/arch aarch64.c

   cpuctl: aarch64: more ID_AA64PFR1_EL0 fields.
VersionDeltaFile
1.38+44-2usr.sbin/cpuctl/arch/aarch64.c
+44-21 files

NetBSD/src rCksOe7 — usr.sbin/cpuctl/arch aarch64.c

   cpuctl: aarch64: handle ID_AA64DFR[01]_EL1.{BRPs,WRPs,CTX_CMPs}
VersionDeltaFile
1.37+28-10usr.sbin/cpuctl/arch/aarch64.c
+28-101 files

NetBSD/src DO7d0zK — sys/arch/aarch64/include armreg.h

   aarch64: Add ID_AA64DFR1_EL1 fields to armreg.h
VersionDeltaFile
1.89+14-1sys/arch/aarch64/include/armreg.h
+14-11 files

NetBSD/src KOOJcdR — doc CHANGES-10.3

   Note ticket #1422 requires a clean rebuild.
VersionDeltaFile
1.1.2.33+5-1doc/CHANGES-10.3
+5-11 files

NetBSD/src jpzLbQ5 — doc 3RDPARTY

   expat-2.11.0 (security fix release) out
VersionDeltaFile
1.2279+3-3doc/3RDPARTY
+3-31 files

NetBSD/src tEHrHC8 — lib/libc/stdlib strfmon.c

   libc/strfmon - Partly revert previous

   One of the changes was to some "half done" code that I had forgotten
   when the recent changes were committed -- it worked fine as it was,
   but was a bit odd ... the code was calling a func for parsing a string,
   which would stop at the \0 which terminates it ... but the function
   wanted to be told what the max number of bytes it was allowed to consume
   would be, just in case there might be no \0.   The original code
   simply inserted an "easily big enough" constant - since the \0
   wasn't ever going to be missing (string came from an earlier strdup()).

   But, for other (related) reasons, the length of the string was being
   calculated (strlen()) anyway - so rather than do that, and test it,
   and then just throw away the length, the length could be captured,
   and used instead of the constant.   I had written the code (like, one
   variable declaration, and an assignment ... not challenging) to
   do that, but hadn't gotten around to using the value saved as the
   arg to the function which could use it.


    [23 lines not shown]
VersionDeltaFile
1.27+7-7lib/libc/stdlib/strfmon.c
+7-71 files

NetBSD/src jxbbXny — sys/arch/arm/sunxi sunxi_ccu.h

   Fix accidently swapped parameters, from jmcneill
VersionDeltaFile
1.28+2-2sys/arch/arm/sunxi/sunxi_ccu.h
+2-21 files

NetBSD/src xCoJsfL — sys/dev/pci arcmsr.c

   sys/dev/pci/arcmsr.c -- better fix than previous

   Instead of converting a uint32_t * into an integer, doing int arith
   on it, and then converting it back to a unit32_t * again, just do simple
   pointer arithmetic on the unit32_t * (scaling the integer being added
   by sizeof(unit32_t)).

   This avoids errors: "cast to pointer from integer of different size"
   uptrdiff_t (previous fix) would work, but just doing pointer arith
   as it is intended to work is so much simpler & cleaner.

   nb: compile tested only, I don't have that kind of hardware, nor do
   I run 32 bit kernels.
VersionDeltaFile
1.48+4-4sys/dev/pci/arcmsr.c
+4-41 files

NetBSD/src 8bXxeLR — sys/dev/pci arcmsr.c

   Use uintptr_t instead of uint64_t for pointer arithmetic
VersionDeltaFile
1.47+4-4sys/dev/pci/arcmsr.c
+4-41 files

NetBSD/src 3rokuV2 — doc CHANGES-10.3

   Ammend ticket #1422 for additional pullups
VersionDeltaFile
1.1.2.32+9-3doc/CHANGES-10.3
+9-31 files