NetBSD/src swWRp06 — sys/arch/sparc64/sparc64 ofw_patch.c

   Remove misplaced break in V215 HDD GPIO case.
VersionDeltaFile
1.19+2-3sys/arch/sparc64/sparc64/ofw_patch.c
+2-31 files

NetBSD/src 0WX7do7 — sys/arch/aarch64/aarch64 cpufunc_asm_armv8.S, sys/arch/aarch64/include cpufunc.h

   aarch64: Add TLB invalidation functions for EL2.

   Add assembly implementations of three new EL2 TLB invalidation functions.
VersionDeltaFile
1.9+45-1sys/arch/aarch64/aarch64/cpufunc_asm_armv8.S
1.33+5-1sys/arch/aarch64/include/cpufunc.h
+50-22 files

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

   aarch64: fix HPFAR_EL2_FIPA defines for various configurations

   HPFAR_EL2_FIPA is 36bits long when FEAT_D128 and FEAT_LPA aren't
   implemented, i.e. HPFAR_EL2[39:4]

   Add HPFAR_EL2_FIPA_LPA for when FEAT_D128 is not implemented and
   FEAT_LPA is.

   Provide HPFAR_EL2_FIPA_{D128_,LPA_,}BITS for the Faulting Intermediate
   Physical Address.

   Remove HPFAR_EL2_FIPA_BITSHIFT
VersionDeltaFile
1.82+8-4sys/arch/aarch64/include/armreg.h
+8-41 files

NetBSD/src Hw7AAmN — libexec/httpd cgi-bozo.c

   httpd(8): Per RFC 3875, set the PWD of child CGI processes to the
   location of the script that is being run.

   Right now this only works with the -c option (where previously PWD would
   have been unset in the child), processes invoked with -C already got a
   PWD, and the wrapper script can also handle setting it to something
   sensible.

   "looks good" mrg

   PR bin/58713 httpd: CGIs have wrong cwd
VersionDeltaFile
1.58+11-1libexec/httpd/cgi-bozo.c
+11-11 files

NetBSD/src NJVYRJQ — libexec/httpd bozohttpd.8

   bozohttpd.8: Clarify how the CGI options work.
VersionDeltaFile
1.103+11-6libexec/httpd/bozohttpd.8
+11-61 files

NetBSD/src CUbez9b — usr.bin/make/unit-tests varmod-mtime.mk cond-cmp-numeric-eq.mk

   tests/make: fix indentation of directives
VersionDeltaFile
1.10+3-3usr.bin/make/unit-tests/cond-cmp-numeric-eq.mk
1.18+2-2usr.bin/make/unit-tests/varmod-mtime.mk
+5-52 files

NetBSD/src O6ltIB5 — sys/fs/tmpfs tmpfs_mem.c

   PR kern/60601 - Avoid 32 bit wraparound on ILP32 hosts

   In tmpfs_bytes_max calculate avail_mem using 64 bit calculations,
   rather than one small piece being 32 bit only (and subject to
   simple overflow, entirely within reasonable values).

   Reported and diagnosed by Hashimoto Kenichi in PR kern/60601

   XXX - pullup -11 -10 (in a week or two).
VersionDeltaFile
1.15+4-3sys/fs/tmpfs/tmpfs_mem.c
+4-31 files

NetBSD/src VtlPZsD — share/locale/ctype zh_CN.GB18030.src

   zh_CN.GB18030 locale - fix reversed toupper/tolower mappings

   Correct reversed toupper/tolower mappings (MAPUPPER/MAPLOWER)
   MAPLOWER maps into lower case, MAPUPPER into upper case, not "from".
   While here add the (probably unneeded) identity toupper/tolower mappings.

   Reported by RVP@ in:
     https://mail-index.netbsd.org/tech-userlevel/2026/08/15/msg015003.html
VersionDeltaFile
1.3+5-3share/locale/ctype/zh_CN.GB18030.src
+5-31 files

NetBSD/src Fl7mZ42 — share/locale/ctype kk_KZ.PT154.src

   kk_KZ.PT154 locale: Add missing toupper/tolower mappings.

   This was missing a tolower mapping (MAPLOWER) from the lower case
   (ASCII) letters into themselves (which is required to work), and worse
   was also missing a toupper mapping (MAPUPPER) from the lower case (ASCII)
   letters into their upper case equivalents.

   Whether the actual (non ASCII) letter upper/lower mappings are all
   correct, I am not sure, but I very much doubt it.

   Detected and reported by RVP@ in:
    https://mail-index.netbsd.org/tech-userlevel/2026/08/15/msg015003.html
VersionDeltaFile
1.2+3-1share/locale/ctype/kk_KZ.PT154.src
+3-11 files

NetBSD/src DpAfWgR — share/mk bsd.own.mk

   bsd.own.mk: Respect USE_FORT even if defined after bsd.own.mk.

   Using (a chain of logic that boils down to)

   .if ${USE_FORT:Uno} != "no"
   CPPFLAGS+=   -D_FORTIFY_SOURCE=2
   .endif

   expands USE_FORT eagerly, so if USE_FORT was not already defined before
   including <bsd.own.mk>, it's too late after.

   Using (a chain of logic that boils down to)

   CPPFLAGS+=   ${${USE_FORT:Uno} != "no":?-D_FORTIFY_SOURCE=2:}

   expands USE_FORT lazily, so it's only when CPPFLAGS itself is expanded
   -- usually in a recipe, after all variable assignments, prerequisite
   lists, and .directives have been processed -- that USE_FORT is
   expanded.

    [9 lines not shown]
VersionDeltaFile
1.1488+2-4share/mk/bsd.own.mk
+2-41 files

NetBSD/src PjIc8Yu — lib/libc shlib_version

   libc: Add a note to shlib_version about nixing __ssp_protected_*.

   PR lib/60858: fortuitous embarrassment: fortify is all kinds of busted
VersionDeltaFile
1.302+2-1lib/libc/shlib_version
+2-11 files

NetBSD/src NUwjChS — include/ssp ssp.h, lib/libc/ssp ssp_redirect.c

   ssp.h: Stop creating references to useless __ssp_protected_* symbols.

   The ssp wrappers are useful _only_ when they are actually used for
   inline function call expansion; if the function is used for anything
   else like a function pointer, only the underlying library symbol
   should be used.

   To pacify linker complaints about spurious references to
   __ssp_protected_getcwd/read/readlink, we added equally spurious
   definitions of those symbols to libc without understanding why; it
   turns out it only happened because the ssp wrappers declared, e.g.:

   extern inline read(...) __RENAME(__ssp_protected_read);
   extern inline read(...) { <ssp check>; return __ssp_real_read(...); }

   The declaration with __RENAME caused the compiler to generate
   references, required by the linker to be resolved, to the symbol
   `__ssp_protected_read' when compiling code that takes the address of
   the function read() to pass around a function pointer.  Instead, the

    [15 lines not shown]
VersionDeltaFile
1.4+42-18lib/libc/ssp/ssp_redirect.c
1.17+1-2include/ssp/ssp.h
+43-202 files

NetBSD/src RASG13y — external/gpl2/texinfo/dist/lib system.h

   correct memchr() return
VersionDeltaFile
1.6+2-2external/gpl2/texinfo/dist/lib/system.h
+2-21 files

NetBSD/src 0t48DIW — external/gpl2/texinfo/dist/lib system.h

   PR/60859: Jan-Benedict-Glaw: Fill function prototypes to fix
   compiling issues with recent gcc on Debian unstable.
VersionDeltaFile
1.5+7-7external/gpl2/texinfo/dist/lib/system.h
+7-71 files

NetBSD/src N84j3Q2 — sys/arch/zaurus/conf GENERIC INSTALL

   zaurus: MOve COPTS="-Os" from INSTALL to GENERIC.

   INSTALL includes GENERIC, so no change to INSTALL.  But the reason
   for -Os (a size limitation of the bootloader, checked at build-time)
   appears to apply just as well to any kernel, not just INSTALL, and
   the recent change to flip on -ftrivial-auto-var-init bumped GENERIC
   over the limit too:

   Checking kernel size...
   Fatal: kernel size must be less than 5MB.
   Fatal: kernel size: 5247920, max kernel size: 5242880
   --- netbsd ---

   *** Failed target: netbsd
   *** In directory: /home/builds/ab/HEAD/zaurus/20261006081837Z-obj/home/source/ab/HEAD/src/sys/arch/zaurus/compile/GENERIC

   Setting COPTS="-Os" both tells the compiler to make smaller code, and
   turns off the -ftrivial-auto-var-init logic in Makefile.kern.inc,
   which with any luck should help fix the zaurus build.

    [2 lines not shown]
VersionDeltaFile
1.42+1-7sys/arch/zaurus/conf/INSTALL
1.98+6-1sys/arch/zaurus/conf/GENERIC
+7-82 files

NetBSD/src cH6iQ3P — doc 3RDPARTY

   openssh 10.6 out
VersionDeltaFile
1.2263+3-3doc/3RDPARTY
+3-31 files

NetBSD/src PShaCDH — sys/arch/mips/include intr.h, sys/arch/mips/mips spl_stubs.c

   mips: declare SPL stub functions in intr.h

   Move the .stub section attributes for the MIPS SPL functions from
   spl_stubs.c to intr.h, and add the splcheck declaration with __noubsan.
VersionDeltaFile
1.15+20-16sys/arch/mips/include/intr.h
1.4+2-19sys/arch/mips/mips/spl_stubs.c
+22-352 files

NetBSD/src VZ9qjVM — sys/conf Makefile.kern.inc

   sys: Disable -ftrivial-auto-var-init if -Os is in play.

   This should help avoid the code expansion that broke the zaurus and
   ews4800mips builds.

   PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.309+31-6sys/conf/Makefile.kern.inc
+31-61 files

NetBSD/src W5lBmlC — sys/kern sys_pipe.c

   pipe(2): Fix possible null pointer deref if pipe_create fails.

   Spotted by kre.

   Followup for:

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.186+4-3sys/kern/sys_pipe.c
+4-31 files

NetBSD/src 3xTTLxS — sys/kern sys_pipe.c

   Pull up our braces.
VersionDeltaFile
1.185+3-3sys/kern/sys_pipe.c
+3-31 files

NetBSD/src SwIDa45 — sys/kern sys_pipe.c

   pipe(2): Fix possible use-after-free if both ends are closed at once.

   Followup for:

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.184+29-7sys/kern/sys_pipe.c
+29-71 files

NetBSD/src FgshozB — sys/kern sys_pipe.c

   pipe(2): Restore kevent EVFILT_READ/WRITE success on wrong pipe end.

   Missed a spot when gathering the hunks in the previous change for
   this.

   PR kern/60851: change in pipe kevent EVFILT_READ/WRITE on wrong end
VersionDeltaFile
1.183+9-2sys/kern/sys_pipe.c
+9-21 files

NetBSD/src 4dWn1bE — sys/kern sys_pipe.c, sys/sys pipe.h

   Revert "pipe(2): Add memory safety diagnostics."

   This was rather sloppily done (from my local tree, not cleaned up
   before committing in haste in an attempt to help diagnose the spate
   of crashes that have been seen today).  Will redo this a little more
   tidily.

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.182+5-104sys/kern/sys_pipe.c
1.45+1-2sys/sys/pipe.h
+6-1062 files

NetBSD/src JhblMW4 — sys/kern sys_pipe.c

   pipe(2): Plug mutex_obj leak.

   This was introduced in what was supposed to be mere refactoring in
   rev. 1.170 (pipe(2): Split new function pipefree out of pipeclose.) as
   part of

   PR kern/59056: poll POLLHUP bugs

   I missed a spot, the mutex_obj_free in pipeclose, which should have
   been moved into pipefree.

   Noticed by mlelstv@.
VersionDeltaFile
1.181+3-3sys/kern/sys_pipe.c
+3-31 files

NetBSD/src fGiY2tC — sys/kern sys_pipe.c, tests/kernel/kqueue/read t_pipe.c

   pipe(2): Restore kevent EVFILT_READ/WRITE success on wrong pipe end.

   In rev. 1.174, while cleaning up various issues in select/poll/kqueue
   logic for pipes, I changed the behaviour of kevent when adding an
   EVFILT_READ event for the write side of a pipe, or an EVFILT_WRITE
   event for the read side of a pipe, to fail with EINVAL; previously it
   would quietly be accepted and do nothing, which struck me, without much
   thought, as uncontroversially wrong and unhelpful.  But apparently
   that's what FreeBSD and OpenBSD do too, and it seems that applications
   such as mail/dovecot2 rely on it.  So put it back.

   PR kern/60851: change in pipe kevent EVFILT_READ/WRITE on wrong end
VersionDeltaFile
1.180+20-4sys/kern/sys_pipe.c
1.7+2-4tests/kernel/kqueue/write/t_pipe.c
1.4+2-4tests/kernel/kqueue/read/t_pipe.c
+24-123 files

NetBSD/src zKWSigO — tests/kernel/kqueue/read t_pipe.c, tests/kernel/kqueue/write t_pipe.c

   tests/kernel/kqueue: Test EVFILT_READ/WRITE on wrong end of pipe.

   PR kern/60851: change in pipe kevent EVFILT_READ/WRITE on wrong end
VersionDeltaFile
1.3+35-2tests/kernel/kqueue/read/t_pipe.c
1.6+34-2tests/kernel/kqueue/write/t_pipe.c
+69-42 files

NetBSD/src aZaskue — doc 3RDPARTY

   expat-2.9.0 is out
VersionDeltaFile
1.2262+3-3doc/3RDPARTY
+3-31 files

NetBSD/src EOGEfAa — sys/kern kern_synch.c

   Trailing whitespace
VersionDeltaFile
1.367+7-7sys/kern/kern_synch.c
+7-71 files

NetBSD/src DhmLM2f — sys/arch/mips/mips locore.S

   mips: fix/add some #endif comments
VersionDeltaFile
1.236+6-6sys/arch/mips/mips/locore.S
+6-61 files

NetBSD/src UCgOfnc — sys/kern sys_pipe.c, sys/sys pipe.h

   pipe(2): Add memory safety diagnostics.

   Might help to diagnose the source of:

   https://mail-index.netbsd.org/current-users/2026/10/05/msg047946.html
VersionDeltaFile
1.179+104-5sys/kern/sys_pipe.c
1.44+2-1sys/sys/pipe.h
+106-62 files