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

   Shuffle ATC_F_* bits around to group them better.  NFC.
VersionDeltaFile
1.115+7-7sys/arch/m68k/m68k/pmap_68k.c
+7-71 files

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

   Make pmap event counter manipulation MP-safe, add a few more event counters
   for PT page allocations.
VersionDeltaFile
1.114+53-25sys/arch/m68k/m68k/pmap_68k.c
+53-251 files

NetBSD/src cmk3CCR — sys/arch/x68k/stand/boot_ufs bootmain.c, sys/arch/x68k/stand/common exec_image.h exec_image.S

   Clean up exec_image()'s arguments, since it has come to be called only
   from the primary bootloaders.
VersionDeltaFile
1.6+11-11sys/arch/x68k/stand/common/exec_image.S
1.10+3-5sys/arch/x68k/stand/xxboot/bootmain.c
1.16+3-5sys/arch/x68k/stand/boot_ufs/bootmain.c
1.2+2-3sys/arch/x68k/stand/common/exec_image.h
+19-244 files

NetBSD/src CVXQ3yc — sys/arch/x68k/stand/boot_ufs bootmain.c

   Remove the fallback to a.out kernel.
   More than 20 years have passed since the transition to ELF.
VersionDeltaFile
1.15+8-29sys/arch/x68k/stand/boot_ufs/bootmain.c
+8-291 files

NetBSD/src Irm2o6W — sys/arch/x68k/stand/common exec_image.S

   Remove DI, too. (oops)
VersionDeltaFile
1.5+1-3sys/arch/x68k/stand/common/exec_image.S
+1-31 files

NetBSD/src XRc8kyW — sys/arch/x68k/stand/boot version Makefile, sys/arch/x68k/stand/boot_ufs version

   Change the trampoline in bootloaders to avoid overwriting msgbuf.
   - Previously, both primary and secondary bootloaders used the same
     common/exec_image.S to trampoline to the next stage.  And the trampoline
     routine and the stack was written to the end of phisical page.
     There is the msgbuf there!
   - To avoid this, I split exec_image into one for the primary and one for the
     secondary.
   - The primary loaders continue to use common/exec_image.S.  However, the
     new exec_image.S doesn't include a trampoline.  Because all primary
     loaders already load the secondary loader into its final position.
     This change prevents the primary loaders break msgbuf.
   - The secondary loader has a new exec_image2 routine derived from
     common/exec_image.  This one has a trampoline as before, but the trampoline
     and the stack are placed at the next page of the loaded kernel.
     This change prevents the secondary loader breaks msgbuf.
VersionDeltaFile
1.5+73-1sys/arch/x68k/stand/boot/srt0.S
1.4+4-34sys/arch/x68k/stand/common/exec_image.S
1.34+5-6sys/arch/x68k/stand/boot/boot.c
1.36+2-2sys/arch/x68k/stand/boot/Makefile
1.5+2-1sys/arch/x68k/stand/boot_ufs/version
1.10+2-1sys/arch/x68k/stand/boot/version
+88-451 files not shown
+90-467 files

NetBSD/src 94jssIm — . UPDATING, doc CHANGES-11.2

   Note clean rebuild required for ticket #579 (SSP fixes)
VersionDeltaFile
1.383.2.2+7-1UPDATING
1.1.2.5+6-1doc/CHANGES-11.2
+13-22 files

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

   cpuctl: aarch64: more fields and field values.
VersionDeltaFile
1.41+74-10usr.sbin/cpuctl/arch/aarch64.c
+74-101 files

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

   cpuctl: aarch64: capitalise "Armv" correctly.
VersionDeltaFile
1.40+20-20usr.sbin/cpuctl/arch/aarch64.c
+20-201 files

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