NetBSD/src UrKYhTNdoc CHANGES

   Note JSON support in proplib(3).
VersionDeltaFile
1.3157+3-1doc/CHANGES
+3-11 files

NetBSD/src k4e11pycommon/lib/libprop prop_object.c prop_kern.c

   Add support for serializing to, and de-serializing from, JSON, as
   specified in RFC 8259.  Format is automatically detected for input,
   and can be specified explicitly for output.  The default format remains
   XML.

   As part of this change, generic prop_object_{internalize,externalize}()
   functions are provided, and the "_with_format" flavor allows the output
   format to be specified.  Previous array- and dictionary-specific routines
   remain for backwards compatibility.
VersionDeltaFile
1.36+901-107common/lib/libprop/prop_object.c
1.27+207-273common/lib/libprop/prop_kern.c
1.47+183-115common/lib/libprop/prop_dictionary.c
1.23+99-91common/lib/libprop/prop_array.c
1.16+68-82common/lib/libprop/prop_copyin_ioctl.9
1.11+82-4common/lib/libprop/prop_object.3
+1,540-67215 files not shown
+1,971-95421 files

NetBSD/src hDzTEiLusr.bin/make hash.c for.c

   make: clean up

   Replace 'unsigned int' with simply 'unsigned'.

   In compat.c, skipping whitespace is not needed, as the loop above
   already skips it.

   In job.c, remove the unused header <sys/file.h>.

   Inline the TMPPAT macro, as it is only needed in a single place.
VersionDeltaFile
1.80+15-15usr.bin/make/hash.c
1.185+14-14usr.bin/make/for.c
1.52+8-8usr.bin/make/hash.h
1.496+6-8usr.bin/make/job.c
1.373+5-5usr.bin/make/cond.c
1.644+5-5usr.bin/make/main.c
+53-556 files not shown
+74-8012 files

NetBSD/src Xf8oxHbusr.bin/make job.c job.h, usr.bin/make/unit-tests Makefile opt-debug-jobs.exp

   make: group the code for handling the job token pool
VersionDeltaFile
1.495+60-50usr.bin/make/job.c
1.83+6-4usr.bin/make/job.h
1.266+4-4usr.bin/make/make.c
1.643+3-3usr.bin/make/main.c
1.359+2-2usr.bin/make/unit-tests/Makefile
1.11+2-2usr.bin/make/unit-tests/opt-debug-jobs.exp
+77-651 files not shown
+79-677 files

NetBSD/src WX3qWZQdistrib/ews4800mips/floppies/ramdisk Makefile, sys/arch/ews4800mips/conf RAMDISK

   bump
VersionDeltaFile
1.20+2-2distrib/ews4800mips/floppies/ramdisk/Makefile
1.37+2-2sys/arch/ews4800mips/conf/RAMDISK
+4-42 files

NetBSD/src XKh2n20lib/libc/arch/mips/gen _setjmp.S, tests/lib/libc/setjmp t_setjmp.c

   mips: Fix _longjmp(..., 0) so _setjmp returns 1 as intended.

   _setjmp (like setjmp and sigsetjmp) is only permitted to return 0 the
   first time around.

   PR port-mips/59285: _longjmp(..., 0) makes setjmp return 0, not 1
VersionDeltaFile
1.27+7-3lib/libc/arch/mips/gen/_setjmp.S
1.5+2-6tests/lib/libc/setjmp/t_setjmp.c
+9-92 files

NetBSD/src jXoCrmwlib/libc/gen timespec_get.3

   timespec_get(3): add timespec_getres return type, brush up markup
VersionDeltaFile
1.9+20-4lib/libc/gen/timespec_get.3
+20-41 files

NetBSD/src wLKd9lgdistrib/sets/lists/debug mi, distrib/sets/lists/tests mi

   Add basic tests for timespec_get(3), timespec_getres(3)

   PR standards/58608
VersionDeltaFile
1.1+123-0tests/lib/libc/gen/t_timespec_get.c
1.1371+3-1distrib/sets/lists/tests/mi
1.478+2-1distrib/sets/lists/debug/mi
1.60+2-1tests/lib/libc/gen/Makefile
+130-34 files

NetBSD/src Wbs2TvJtests/lib/libc/setjmp t_setjmp.c

   t_setjmp: Mark _longjmp_zero xfail on mips.

   PR port-mips/59285: _longjmp(..., 0) makes setjmp return 0, not 1
VersionDeltaFile
1.4+6-2tests/lib/libc/setjmp/t_setjmp.c
+6-21 files

NetBSD/src LPGDSLosys/arch/x86/include cpu.h, sys/arch/x86/x86 identcpu.c x86_machdep.c

   NVMM hypervisor identification, KVM and GenPVH identification fixes

   arch/x86/include/cpu.h, arch/x86/x86/identcpu.c: Enable NVMM hypervisor
   discovery
   arch/x86/x86/identcpu.c: Fix vm_guest_t for KVM in vm_system_products
   iarch/x86/x86/x86_machdep.c: Add NVMM and GenPVH in vm_guest_name
VersionDeltaFile
1.134+6-4sys/arch/x86/x86/identcpu.c
1.157+4-2sys/arch/x86/x86/x86_machdep.c
1.139+2-1sys/arch/x86/include/cpu.h
+12-73 files

NetBSD/src gqqLLBg. build.sh

   Minor cosmetic tweaks to previous
VersionDeltaFile
1.390+7-6build.sh
+7-61 files

NetBSD/src LvuY5aq. build.sh

   Fix "show-revisionid" operation to include both src and xsrc
   data if the -x argument is present.
VersionDeltaFile
1.389+27-8build.sh
+27-81 files

NetBSD/src TNW3A0vlib/libc/gen timespec_get.3 Makefile.inc

   Merge the manual pages for timespec_get(3) and timespec_getres(3).
VersionDeltaFile
1.8+30-16lib/libc/gen/timespec_get.3
1.225+3-2lib/libc/gen/Makefile.inc
1.2+1-1lib/libc/gen/timespec_getres.3
+34-193 files

NetBSD/src 2X8z3bnusr.bin/make job.c

   make: remove no-op code

   Whitespace is already skipped in the loop above.

   When no jobs are running, there is no need to wait for one.
VersionDeltaFile
1.494+3-7usr.bin/make/job.c
+3-71 files

NetBSD/src O6K6S7yusr.bin/make job.c job.h

   make: move struct Job from job.h to job.c

   The content of this struct is an implementation detail, and other parts
   of make only need to access very few parts of it.
VersionDeltaFile
1.493+122-2usr.bin/make/job.c
1.82+7-99usr.bin/make/job.h
1.34+4-4usr.bin/make/trace.c
1.642+5-2usr.bin/make/main.c
1.265+5-2usr.bin/make/make.c
1.212+4-3usr.bin/make/meta.c
+147-1121 files not shown
+152-1147 files

NetBSD/src 7cJ47u5sys/dev/pci vio9p.c

   vio9p: export tag via sysctl

   With this change, we can see tags of virtio-9p devices via sysctl:
     # sysctl hw.vio9p
     hw.vio9p.vio9p0.tag = test
     hw.vio9p.vio9p1.tag = test2

   PR kern/59165
VersionDeltaFile
1.12+16-2sys/dev/pci/vio9p.c
+16-21 files

NetBSD/src BBveGjrsys/net if_bridge.c if_bridgevar.h

   bridge: resolve a race condition in bridge_stop()

   Without BRIDGE_LOCK, the callout can be scheduled after callout_halt.

   Note that we should avoid depending on IFF_RUNNING which can be racy.
   Suggested by riastradh at https://mail-index.netbsd.org/source-changes-d/2025/04/16/msg014470.html

   PR kern/59340
VersionDeltaFile
1.199+14-3sys/net/if_bridge.c
1.40+2-1sys/net/if_bridgevar.h
+16-42 files

NetBSD/src IahTX6Asys/net if_bridge.c

   Revert "bridge: avoid a race condition on stopping callout" (r1.197)

   There is a better fix.
VersionDeltaFile
1.198+3-10sys/net/if_bridge.c
+3-101 files

NetBSD/src 0BnazfSsys/sys atomic.h

   sys/atomic.h: Fix hashlocked atomic stores, e.g. on sparc and hppa.

   Casting (uint32_t *)p does not actually round p down to a mulitple of
   sizeof(uint32_t)!  Oops.

   Likely fix for:

   PR port-sparc/59321: t_npf tests are failing

   and probably various other sparc and hppa issues.  (I have not been
   able to reproduce this failure, but the evidence from the assertion
   output is that the atomic_load_* calls are coming from inside the
   atomic.h house -- and there are only two of those outside macro
   expansions, and they're both in __do_atomic_store.)

   Now it would be nice if the stack trace went a little further than
   the kern_assert call so I didn't have to puzzle over that one to
   figure out where it was coming from...
VersionDeltaFile
1.27+10-5sys/sys/atomic.h
+10-51 files

NetBSD/src lJngUg1sys/dev/nvmm/x86 nvmm_x86_svm.c nvmm_x86_vmx.c

   nvmm/x86: Mark comments that should be synced between vmx/svm.

   ...so that I don't so easily forget to apply typo fixes in one to the
   other.
VersionDeltaFile
1.89+4-2sys/dev/nvmm/x86/nvmm_x86_svm.c
1.90+4-2sys/dev/nvmm/x86/nvmm_x86_vmx.c
+8-42 files

NetBSD/src 8ObQY6lsys/dev/qbus files.uba

   add missing ifuba attribute for qe(4), from Josh Moyer on port-vax.
VersionDeltaFile
1.19+2-2sys/dev/qbus/files.uba
+2-21 files

NetBSD/src tBx3ud5share/man/man4 viaide.4

   viaide(4): remove notes section about VT6421, it is not currently required to
   setup RAID/JBOD sets to access drives.
VersionDeltaFile
1.12+1-6share/man/man4/viaide.4
+1-61 files

NetBSD/src zm0lNdWshare/man/man4 viaide.4

   viaide(4): update the list of supported VIA controllers.
VersionDeltaFile
1.11+6-4share/man/man4/viaide.4
+6-41 files

NetBSD/src lyVMLxashare/man/man4 ifmedia.4

   ifmedia(4): brush up markup

   Use .Cm to set ifconfig(8) keywords, add a few missing ones.  Don't
   use artisanal -width without a good reason - consistent indentation is
   easier to follow.

   Don't end _every_ sentence in the introductory paragraph with "media
   type or option".  It's pretty clear it's talking about media types or
   options.  So it's redundant to remind the reader it's about media
   types or options.
VersionDeltaFile
1.32+254-152share/man/man4/ifmedia.4
+254-1521 files

NetBSD/src pYwoKg9distrib/sets/lists/base shl.mi, distrib/sets/lists/debug shl.mi

   Bump libc minor 222->223
VersionDeltaFile
1.362+3-3distrib/sets/lists/debug/shl.mi
1.1002+3-3distrib/sets/lists/base/shl.mi
+6-62 files

NetBSD/src nepLtJ2distrib/sets/lists/comp mi

   Add entries for timespec_getres(3) - which should be needed regardless
   of whether that remains a separate man page, or becomes a link to another.
VersionDeltaFile
1.2492+4-1distrib/sets/lists/comp/mi
+4-11 files

NetBSD/src Q9gnoFDtests/kernel/arch/mips stack_pointer.h

   t_signal_and_sp: mips: Fix {MISALIGN,FIX}_SP() for !o32

   Use `daddiu` instead of `addiu` as done in <mips/asm.h>.

   Otherwise, +/-1 is added to lower-32-bits of sp, and then
   results are sign-extended to whole-64-bits register (oops!!).
VersionDeltaFile
1.2+6-1tests/kernel/arch/mips/stack_pointer.h
+6-11 files

NetBSD/src b4v4xXHlib/libc shlib_version

   libc: Bump shlib minor for timespec_getres(3).
VersionDeltaFile
1.298+2-2lib/libc/shlib_version
+2-21 files

NetBSD/src Kk4hcbTinclude time.h, lib/libc/gen timespec_getres.3 timespec_getres.c

   libc: C23: add timespec_getres(3) function

   timespec_getres is to timespec_get as clock_getres is to clock_gettime.

   PR standards/58608
   PR lib/59140
VersionDeltaFile
1.1+79-0lib/libc/gen/timespec_getres.3
1.1+60-0lib/libc/gen/timespec_getres.c
1.7+11-5lib/libc/gen/timespec_get.3
1.56+11-1include/time.h
1.224+4-3lib/libc/gen/Makefile.inc
+165-95 files

NetBSD/src AZAQV30tests/kernel t_signal_and_sp.c, tests/kernel/arch/hppa contextspfunc.S

   t_signal_and_sp: Fix threadsp test to actually test the thread sp.

   Copypasta error had it testing alignment of signalsp instead, and
   since it was always null, that always passed.  Mark it xfail on mips
   now as originally expected.

   While here, deal with some other issues:

   - Test was failing on riscv for me because I haven't updated this
     `current' VM in a while so it didn't have the fix for 57721
     (pthread_attr_setstack incorrectly adjusts address as if for guard
     page).  Don't mark it xfail.

   - Fix amd64 threadspfunc.S to adjust rsp like in all the other amd64
     stubs so it's congruent to 0 mod 16, not congruent to 8 mod 16.

   - Fix hppa contextspfunc.S to use separate registers for separate
     purposes at the same time, instead of expecting addil to preserve
     %r1 AND yield a result we use later in %r1.

    [2 lines not shown]
VersionDeltaFile
1.10+10-29tests/kernel/t_signal_and_sp.c
1.2+14-3tests/kernel/arch/x86_64/threadspfunc.S
1.2+8-8tests/kernel/arch/hppa/contextspfunc.S
+32-403 files