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

NetBSD/src oS7SPM0 — sys/ufs/lfs lfs_subr.c

   Enforce locking order lfs_prelock > lfs_iflock, preventing a deadlock between
   LFS_*ENTRY() and lfs_prelock.
VersionDeltaFile
1.114+10-3sys/ufs/lfs/lfs_subr.c
+10-31 files

NetBSD/src Rz316q2 — sys/kern sys_pipe.c

   Avoid attempting to wakeup dead writers.
VersionDeltaFile
1.178+6-4sys/kern/sys_pipe.c
+6-41 files

NetBSD/src DscebMh — sys/arch/m68k/include pte_coldfire.h, sys/arch/mips/include pte.h

   pte_prot_downgrade: sprinkle KASSERTs

   Simplify the risc-v version while I'm here.
VersionDeltaFile
1.22+4-3sys/arch/riscv/include/pte.h
1.16+3-1sys/arch/powerpc/include/booke/pte.h
1.32+3-1sys/arch/mips/include/pte.h
1.5+3-1sys/arch/m68k/include/pte_coldfire.h
+13-64 files

NetBSD/src JdIwttV — sys/arch/aarch64/include pmap_machdep.h, sys/arch/mips/include pte.h

   pte_prot_downgrade: consistent argument naming.

   Make all version of pte_prot_downgrade have the same argument names.
   NFCI.
VersionDeltaFile
1.24+4-4sys/arch/aarch64/include/pmap_machdep.h
1.31+3-3sys/arch/mips/include/pte.h
+7-72 files

NetBSD/src jMC4UzE — usr.sbin/cpuctl/arch i386.c

   cpuctl(8): update Transmeta identification for Efficeon (TM8000 series).

   It uses family 15 and it has a new way to decode processor revision, so update
   family > 6 default to "Efficeon" and call transmeta_cpu_info() for it.

   Decode processor revision from leaf leaf 0x80860002 EAX
   when leaf 0x80860001 EBX contains 0x02000000.

   Untested on the actual hardware (I don't have one).
   Verified by the CPUID dump available online.
VersionDeltaFile
1.152+31-11usr.sbin/cpuctl/arch/i386.c
+31-111 files

NetBSD/src JpCbDOd — common/lib/libc/string memset2.c

   PR port-mips/60780 UBSan: long int << fix (src/common/lib/libc/string/memset2.c)

   The comments say that memword_t is intended to be unsigned, but
   presume that __register_t will provide that attribute.   It usually
   doesn't, so we need an unsigned type for building the fill value.

   Thanks to Alexander Schreiber for running the UBSan built system
   and reporting this (and others), and hopefully, in advance for
   testing that this one is now fixed.

   XXX - pullup -11 -10 (probably, it cannot possibly hurt)
VersionDeltaFile
1.12+16-8common/lib/libc/string/memset2.c
+16-81 files

NetBSD/src aSpJAhT — lib/libc/compat Makefile, lib/libc/dlfcn Makefile.inc

   End libc Makefile .${PARSEDIR} abuse

   It is pointless assigning ${.PARSEDIR) to a variable using '='
   as when that variable is later expanded, ${.PARSEDIR} will not
   have a value, and we end up with things like:

        .... -I. -I/home/source/ab/HEAD/src/lib/libc/arch/mips/softfloat
        -I -DSOFTFLOAT_FOR_GCC
        -I/home/source/ab/HEAD/src/lib/libc/arch/mips/softfloat
        -I -DSOFTFLOAT_FOR_GCC
        -DSOFTFLOAT -I/home/source/ab/HEAD/src/sys ....

   That exxtracted from a failing command from the autobuilds (which I
   first saw on my local system attempting a mips64eb build).   That is
   all part of one (long) command line from which I extracted that piece
   (and then manually line wrapped it for this log message).

   Note the 2nd and 4 lines ... those are meant to have ${.PARSEDIR}
   between the -I and -D (I doubt there is a "./-DSOFTFLOAT_FOR_GCC"

    [12 lines not shown]
VersionDeltaFile
1.8+6-4lib/libc/compat/Makefile
1.25+4-2lib/libc/softfloat/Makefile.inc
1.261+3-2lib/libc/sys/Makefile.inc
1.3+3-2lib/libc/softfloat/Makefile.fenv.inc
1.17+3-2lib/libc/gdtoa/Makefile.inc
1.5+3-2lib/libc/dlfcn/Makefile.inc
+22-146 files

NetBSD/src 4M06uFP — distrib/i386/liveimage/emuimage Makefile

   Bump the size of i386 live images to 1920 MB as 1536 MB is no longer enough.
VersionDeltaFile
1.5+2-2distrib/i386/liveimage/emuimage/Makefile
+2-21 files

NetBSD/src C3rDuU0 — sys/dev/marvell mvxpbm.c

   s/parnet/parent/ in mvxpbm_attach() argument (unused).
VersionDeltaFile
1.5+3-3sys/dev/marvell/mvxpbm.c
+3-31 files

NetBSD/src zOA8VCn — sys/arch/mips/atheros/dev if_ae.c

   s/simliar/similar/ in comment.
VersionDeltaFile
1.47+3-3sys/arch/mips/atheros/dev/if_ae.c
+3-31 files

NetBSD/src 8dq4JRY — sys/arch/sparc/dev cgfourteen.c

   s/simlicity/simplicity/ in two comments.
VersionDeltaFile
1.101+3-3sys/arch/sparc/dev/cgfourteen.c
+3-31 files

NetBSD/src jJoExn5 — lib/libc Makefile

   Fix build
VersionDeltaFile
1.177+3-3lib/libc/Makefile
+3-31 files

NetBSD/src rLhLbg7 — sys/arch/arm/cortex gtmr.c

   gtmr: simplify the checking of the parent device properties.

   The code still looks for the "physical" property on the device and the
   parent device, but it's more obvious now.

   Fix a whitespace issue in the process.
VersionDeltaFile
1.52+9-5sys/arch/arm/cortex/gtmr.c
+9-51 files

NetBSD/src Ch7p24x — sys/arch/arm/sunxi sunxi_ccu_nkmp.c

   Change to return 0 when get_rate is invalid.
VersionDeltaFile
1.10+4-4sys/arch/arm/sunxi/sunxi_ccu_nkmp.c
+4-41 files

NetBSD/src GMpmXRB — sys/arch/xen/xen xbd_xenbus.c

   Use indirect transfers when possible.
   Split arbitrary larger transfers to support MAXPHYS > 64k.
VersionDeltaFile
1.137+182-93sys/arch/xen/xen/xbd_xenbus.c
+182-931 files

NetBSD/src O4EjEAy — sys/arch/xen/xen xbdback_xenbus.c

   Validate blkif_request_segment to not span page boundaries instead
   of checking for a specific size.
VersionDeltaFile
1.111+8-6sys/arch/xen/xen/xbdback_xenbus.c
+8-61 files

NetBSD/src fnyszai — sys/arch/xen/xen xbdback_xenbus.c

   Use complete disk geometry.
   Use printf instead of aprint_error.
VersionDeltaFile
1.110+31-18sys/arch/xen/xen/xbdback_xenbus.c
+31-181 files

NetBSD/src PUL55fr — sys/arch/xen/x86 xen_shm_machdep.c

   Allocate gnttab map on heap instead of stack.
VersionDeltaFile
1.19+13-6sys/arch/xen/x86/xen_shm_machdep.c
+13-61 files

NetBSD/src iAeZ3cu — etc/etc.evbarm Makefile.inc

   etc/etc.evbarm/Makefile.inc: follow-on hash generation fix

   Revs. 141 & 142 introduced a guard that tried to prevent checksum
   consolidation from running in contexts where there's nothing to process
   -- that is, images aren't created at all. However, it then also
   prevented clean builds that do include images from consolidating their
   checksums as intended, since the "exists" check that was added reflects
   too early a file system state on clean builds ("gzimg" doesn't exist
   yet). It also didn't address the fact that there can be targets that
   do in fact create and populate a "gzimg" directory, yet don't actually
   generate any images as presently construed/defined are relevant for
   hash generation, as happens with the evbearmv4-el arch.

   Another fix for PR install/59195. Tested with earmv5hf (no images, no
   "gzimg" directory created), evbearmv4-el (no images, "gzimg" directory
   is created), and aarch64 (images and "gzimg" directory are created),
   with clean builds into new directory structures and subsequent update
   builds tested for each arch.
VersionDeltaFile
1.145+2-2etc/etc.evbarm/Makefile.inc
+2-21 files