NetBSD/src xrOjsRY — sys/ufs/lfs lfs_segment.c lfs_extern.h

   Revert the reclaimd changes until I've had a chance to look into the
   ramifications more closely.
VersionDeltaFile
1.117+45-61sys/ufs/lfs/lfs_subr.c
1.409+2-53sys/ufs/lfs/lfs_vfsops.c
1.185+12-8sys/ufs/lfs/lfs_syscalls.c
1.62+1-9sys/ufs/lfs/lfs_accessors.h
1.319+2-4sys/ufs/lfs/lfs_segment.c
1.134+2-4sys/ufs/lfs/lfs_extern.h
+64-1391 files not shown
+65-1437 files

NetBSD/src WzTWZCy — lib/libpthread pthread_attr.c pthread.c

   PR lib/60949 pthread*_getname_np(3) - avoid UB if len == 0

   Just make len == 0 be an EINVAL error.

   Update pthread_attr_getname_np(3) man page, so it no longer says
   there are no errors from pthread_attr_getname_np() - which was wrong
   in any case, as there was already one (if attr is invalid), and
   while there, one minor grammar fix.

   No pullups currently planned.
VersionDeltaFile
1.8+17-6lib/libpthread/pthread_attr_getname_np.3
1.23+5-2lib/libpthread/pthread_attr.c
1.197+5-2lib/libpthread/pthread.c
+27-103 files

NetBSD/src 47Tn4K8 — sys/dev/hid hidkbdmap.c

   Correct mapping of KS_Power for the "Keyboard Power" Usage ID.

   It's USB Keyboard/Keypad Page usage 102 (not 109 which is F18).
VersionDeltaFile
1.17+3-4sys/dev/hid/hidkbdmap.c
+3-41 files

NetBSD/src yoE1dE5 — sys/arch/m68k/m68k trap_subr.s

   In the fpfline trap handler, use the faultstkadj path rather than the
   basic fault path.  This is to handle FPU emulation faults on the 68LC040,
   which use a format 4 frame; if the emulated FPU insn results in a signal,
   kernel stack would be leaked.

   Problem reported by Romain Dolbeau on port-m68k.
VersionDeltaFile
1.29+8-3sys/arch/m68k/m68k/trap_subr.s
+8-31 files

NetBSD/src wYVA36j — sys/arch/m68k/fpe fpu_rem.c fpu_log.c

   Allocate state for the FPU emulator on the kernel stack rather than as
   static globals.  Normally we wouldn't want to allocate this much on the
   stack, but the emulator is only for user-space code, so the kernel stack
   will have been idle when the F-line trap occurred; the only things on
   the stack at this point are the trap frame and the small number of call
   frames required to get us here.

   This prevents concurrent FPU emuations from colliding with each other.
   This is something that could happen when e.g. two FP-using programs are
   running concurrently on a system under memory pressure and one of them
   blocks during an emulation to service a page fault.

   The alternatives are less than ideal: we either have to dynamically
   allocate memory or wrap the emulator in a mutex.

   Similarly, change __fpu_logn() and __fpu_modrem() to place their
   temporaries on the stack, as well.

   Problem reported by Romain Dolbeau on port-m68k.
VersionDeltaFile
1.52+31-15sys/arch/m68k/fpe/fpu_emulate.c
1.19+3-3sys/arch/m68k/fpe/fpu_rem.c
1.19+3-3sys/arch/m68k/fpe/fpu_log.c
+37-213 files

NetBSD/src ycQb8F7 — sys/arch/m68k/fpe fpu_emulate.c fpu_fstore.c

   Don't proceed with undefined results in the face of memory access
   errors in the FPU emulator:
   - fpu_load_ea() / fpu_store_ea(): if copyin() / copyout() return non-zero,
     return SIGSEGV.

   Catch some callers of fpu_load_ea() and fpu_store_ea() that were ignoring
   the return value:
   - fpu_emul_arith() / fpu_emul_fscale(): Pay attention to the return value
     of fpu_load_ea().
   - fpu_emul_fstore(): Pay attention to the return value of fpu_store_ea().

   Problem reported by Romain Dolbeau on port-m68k.
VersionDeltaFile
1.29+20-8sys/arch/m68k/fpe/fpu_calcea.c
1.18+9-3sys/arch/m68k/fpe/fpu_fstore.c
1.18+9-3sys/arch/m68k/fpe/fpu_fscale.c
1.51+7-3sys/arch/m68k/fpe/fpu_emulate.c
+45-174 files

NetBSD/src K7iZhg7 — sys/external/bsd/drm2/dist/drm/i915/gt intel_lrc.c

   i915: Fix execlist submission register indexing.

   PR port-amd64/58657: i915drmkms blank screen
VersionDeltaFile
1.9+4-4sys/external/bsd/drm2/dist/drm/i915/gt/intel_lrc.c
+4-41 files

NetBSD/src aQK9zE7 — share/man/man9 secmodel.9

   secmodel.9: update some details in code examples

   Back in 2009, refactoring changed where certain functionality is
   located, but the examples in this man page weren't updated to match.
VersionDeltaFile
1.24+8-7share/man/man9/secmodel.9
+8-71 files

NetBSD/src n2A3PDV — usr.bin/atto display.c

   prevent invalid sequences being written out, instead print '?' (Kilian Feess)
VersionDeltaFile
1.6+11-4usr.bin/atto/display.c
+11-41 files

NetBSD/src YJ8f8q5 — usr.bin/atto gap.c command.c

   prevent negative offsets hiding bugs (Kilian Feess)
VersionDeltaFile
1.5+6-5usr.bin/atto/display.c
1.9+2-3usr.bin/atto/command.c
1.4+1-2usr.bin/atto/gap.c
+9-103 files

NetBSD/src i7rXYlG — usr.bin/atto header.h

   widen types to prevent truncation (Kilian Feess)
VersionDeltaFile
1.6+4-4usr.bin/atto/header.h
+4-41 files

NetBSD/src Iawtjck — usr.bin/atto buffer.c window.c

   Add checks to unchecked allocations (Kilian Feess)
VersionDeltaFile
1.8+9-2usr.bin/atto/command.c
1.6+4-0usr.bin/atto/main.c
1.3+2-1usr.bin/atto/window.c
1.5+2-0usr.bin/atto/buffer.c
+17-34 files

NetBSD/src uzAlrXL — usr.bin/atto command.c

   avoid buffer overreads (Kilian Feess)
VersionDeltaFile
1.7+6-4usr.bin/atto/command.c
+6-41 files

NetBSD/src anwQCWC — usr.bin/atto command.c

   set nscrap to 0 on malloc failure (Kilian Feess)
VersionDeltaFile
1.6+1-0usr.bin/atto/command.c
+1-01 files

NetBSD/src 0OZ6WXv — usr.bin/atto complete.c key.c

   Handle the BACKSPACE_KEY explicitly and ignore c > 255 (Kilian Feess)
VersionDeltaFile
1.3+3-0usr.bin/atto/key.c
1.6+1-0usr.bin/atto/complete.c
+4-02 files

NetBSD/src jy1N22i — usr.bin/atto buffer.c

   fix missing initialization of b_bname (Kilian Feess)
VersionDeltaFile
1.4+1-0usr.bin/atto/buffer.c
+1-01 files

NetBSD/src Ow6m3Qi — usr.bin/atto gap.c

   use a temporary file and rename to save a file atomically (Kilian Feess)
VersionDeltaFile
1.3+53-10usr.bin/atto/gap.c
+53-101 files

NetBSD/src NIAeb2E — usr.bin/atto header.h main.c

   Avoid filename trucation of paths > NAME_MAX, change it to PATH_MAX and
   detect truncation and beep (completion) or print an error message (save)
   (Kilian Feess)
VersionDeltaFile
1.5+6-7usr.bin/atto/command.c
1.5+4-1usr.bin/atto/complete.c
1.5+1-1usr.bin/atto/header.h
1.5+2-0usr.bin/atto/main.c
+13-94 files

NetBSD/src Jz7bHca — usr.bin/atto hilite.c

   protect against the hiliter reading past EOF (Kilian Feess)
VersionDeltaFile
1.2+2-0usr.bin/atto/hilite.c
+2-01 files

NetBSD/src yfG2TJw — usr.bin/atto search.c

   check for pp < end_p in both forward and reverse search (Kilian Feess)
VersionDeltaFile
1.2+4-3usr.bin/atto/search.c
+4-31 files

NetBSD/src 7Dd3fWP — usr.bin/atto display.c

   make sure c is initialized when mbtowc fails and guard against reading
   incomplete utf8 sequences past the end of buffer {Kilian Feess)
VersionDeltaFile
1.4+15-4usr.bin/atto/display.c
+15-41 files

NetBSD/src tCjOZzc — usr.bin/atto complete.c

   atto: in filename completion, don't insert letters for function keys
VersionDeltaFile
1.4+3-1usr.bin/atto/complete.c
+3-11 files

NetBSD/src WxAzgZY — sys/arch/m68k/include m68k.h, sys/arch/m68k/m68k m68k_machdep.c sig_machdep.c

   m68881_{save,restore} -> fpu_{save,restore}
VersionDeltaFile
1.48+5-5sys/arch/m68k/m68k/switch_subr.s
1.56+4-4sys/arch/m68k/m68k/sig_machdep.c
1.21+4-4sys/arch/m68k/m68k/compat_16_machdep.c
1.26+3-3sys/arch/m68k/m68k/m68k_machdep.c
1.39+3-3sys/arch/m68k/include/m68k.h
+19-195 files

NetBSD/src 4mULfkK — sys/arch/m68k/include frame.h, sys/arch/m68k/m68k switch_subr.s sig_machdep.c

   m68k_cached_fpu_idle_frame -> fpu_idle_frame
   m68k_make_fpu_idle_frame -> fpu_make_idle_frame
VersionDeltaFile
1.55+5-5sys/arch/m68k/m68k/sig_machdep.c
1.8+5-5sys/arch/m68k/m68k/fpu.c
1.47+4-4sys/arch/m68k/m68k/switch_subr.s
1.42+3-3sys/arch/m68k/include/frame.h
+17-174 files

NetBSD/src pIjT4Xw — sys/arch/m68k/fpe fpu_emulate.c, sys/arch/m68k/m68k fpu.c sig_machdep.c

   Fix cpu_{get,set}mcontext() vis a vis FP state in the presence of
   FPU_NONE+FPU_EMULATE.  Previously, the emulated 68881 registers,
   which are present in the PCB, were completely ignored becaue fputype
   is FPU_NONE in that case.

   This fix entails a few things:
   - In fpu_emulate(), when we've reached the point where we know an
     FPU instruction is going to be performed, set the PCB's copy of
     the FP frame to indicate an "idle" state.  This sets the stage
     for normal FPU handling code to use the saved emulator state
     just as it would with a real FPU.
   - In fpu_init(), if we set FPU_NONE, also initialize m68k_cached_fpu_idle_frame
     to mimic an idle 68881 idle frame so that the _UC_FPU+_UC_M68K_UC_USER
     case in cpu_setmcontext() works correctly.
   - In cpu_{get,set}mcontext(), always use the saved FP registers in the
     PCB, and only interact with the FPU if fputype != FPU_NONE and curlwp.

   While here, simplify the construction of the FPFRAME_IS_NULL() expression.

   Problem reported by Romain Dolbeau on port-m68k.
VersionDeltaFile
1.54+104-88sys/arch/m68k/m68k/sig_machdep.c
1.50+16-2sys/arch/m68k/fpe/fpu_emulate.c
1.7+8-2sys/arch/m68k/m68k/fpu.c
+128-923 files

NetBSD/src 03yV9fP — sys/arch/powerpc/oea oea_machdep.c

   powerpc: oea: downgrade "failed to allocate DEAD ZONE" log to debug

   0xDEA[CDE]xxxx may not exist on the platform, so no need to map them away.
   Downgrade the log message to a debug message since it's not fatal.
VersionDeltaFile
1.89+3-3sys/arch/powerpc/oea/oea_machdep.c
+3-31 files

NetBSD/src etLZUj9 — external/gpl2/texinfo Makefile, external/gpl2/texinfo/dist Makefile.in

   texinfo: build makedoc as a host tool in src/tools

   makedoc is necessary to generate files for info(1) and infokey(1)
   and it was built in src/external/gpl2/texinfo/makedoc with config.h
   prepared for the target NetBSD hosts, but it's really confusing.

   Additional install rules is based on tools/Makefile.host and
   afterinstall ordering follows tools/groff/Makefile.

   Tested 'build.sh -U -m amd64 release' on ubuntu 26.04 with GCC 15.
VersionDeltaFile
1.12+34-3tools/texinfo/Makefile
1.2+2-3external/gpl2/texinfo/lib/Makefile
1.2+2-2external/gpl2/texinfo/Makefile
1.1492+3-1share/mk/bsd.own.mk
1.4+1-1external/gpl2/texinfo/makedoc/Makefile
1.3+1-0external/gpl2/texinfo/dist/Makefile.in
+43-106 files

NetBSD/src smV9kG7 — usr.sbin/npf/npfctl npf.conf.5

   npf.conf.5: minor spelling and grammar fixes

   (While here, also bump the date for changes made in previous commit.
   Follow-on for PR misc/60946.)
VersionDeltaFile
1.115+9-9usr.sbin/npf/npfctl/npf.conf.5
+9-91 files

NetBSD/src 9eVOk6o — external/gpl2/texinfo/include config.h

   texinfo: add HAVE_DECL_STRCASECMP and HAVE_DECL_STRNCASECMP in config.h

   Should have been added on configure.ac fixes:
    https://mail-index.netbsd.org/source-changes/2026/09/25/msg164265.html
VersionDeltaFile
1.3+8-0external/gpl2/texinfo/include/config.h
+8-01 files

NetBSD/src KwRYpAR — usr.sbin/npf/npfctl npf.conf.5

   PR misc/60946

   man for random block procedure extension in NPF
VersionDeltaFile
1.114+29-3usr.sbin/npf/npfctl/npf.conf.5
+29-31 files