NetBSD/src m5WfVkG — sys/dev/ic com.c

   Unbreak build when KGDB is defined
VersionDeltaFile
1.391+7-3sys/dev/ic/com.c
+7-31 files

NetBSD/src IGzYVSK — sys/arch/mips/include intr.h, sys/arch/mips/mips mips_fixup.c

   mips: tag all the stub functions as __noubsan

   When built with UBSAN the stub functions change to the point that the
   mips_fixup_addr code doesn't understand the instructions involved.
   Apply __nousbsan to avoid this.

   PR//60779: Kernel complains about unexpected mips insn on boot...
VersionDeltaFile
1.30+24-23sys/arch/mips/mips/mips_fixup.c
1.14+16-16sys/arch/mips/include/intr.h
+40-392 files

NetBSD/src cKmJAAc — sys/arch/mips/mips mips_fixup.c

   Fix previous and make it less ugly in the process

   PR/60780 (UBSan complains about left-shifting outside of int type range)
VersionDeltaFile
1.29+3-3sys/arch/mips/mips/mips_fixup.c
+3-31 files

NetBSD/src wvtTTsg — tests/lib/libc/atomic t___sync_compare_and_swap.c

   t___sync_compare_and_swap: Check both signednesses of everything.

   PR 60773: sh3 __sync_val_compare_and_swap_1 test failures
VersionDeltaFile
1.6+85-51tests/lib/libc/atomic/t___sync_compare_and_swap.c
+85-511 files

NetBSD/src rwvgLbt — sys/arch/mips/mips mips_fixup.c

   mips: address some UB in mips_fixup.c (part 2)

   PR/60780 (UBSan complains about left-shifting outside of int type range)
VersionDeltaFile
1.28+3-3sys/arch/mips/mips/mips_fixup.c
+3-31 files

NetBSD/src pXgxjEX — sys/arch/mips/mips mips_fixup.c

   mips: address some UB in mips_fixup.c (part 1)

   PR/60780 (UBSan complains about left-shifting outside of int type range)
VersionDeltaFile
1.27+5-5sys/arch/mips/mips/mips_fixup.c
+5-51 files

NetBSD/src FTdIpqk — sys/ufs/lfs lfs_alloc.c

   Free the memory allocated, not the memory filled.  Fixes a kmem_free panic
   in lfs_free_orphans(), if orphans are present at fs mount time.
VersionDeltaFile
1.157+3-3sys/ufs/lfs/lfs_alloc.c
+3-31 files

NetBSD/src UNveQSW — sys/ufs/lfs lfs_vfsops.c

   Add one more instance of LFS_RELEASESEGENTRY() overlooked in the last commit.
VersionDeltaFile
1.406+3-3sys/ufs/lfs/lfs_vfsops.c
+3-31 files

NetBSD/src vb09jm9 — tests/lib/libc/sys t_mkfifo.c

   t_mkfifo: Bump timeouts a little bit to exercise the race better.

   Currently on the releng testbed, the parent's open() call is not
   failing with _any_ EINTR, presumably because (a) the child is opening
   the fifo before any itimer alarms fire and then (b) signal no longer
   causes the parent's open() to fail once the child has opened the other
   end of the fifo.  So let's give the parent a bit more of a head start,
   and run the race a little longer.

   PR kern/59578: open() hangs indefinitely on FIFO with frequent signal
   interruption
VersionDeltaFile
1.7+7-8tests/lib/libc/sys/t_mkfifo.c
+7-81 files

NetBSD/src vRP7yqZ — sys/dev/ic rtl8169.c

   re(4): fix mangled TX queue on DMA map loading errors

   Do not advance the TX queue producer index when bus_dmamap_load_mbuf()
   fails.

   The producer index must advance only after a packet has been
   successfully committed to a TX queue entry.  Advancing it on a
   map loading error leaves a hole in re_txq[], while re_txq_free()
   still counts only successfully queued packets.

   re_txeof() assumes that all outstanding TX queue entries from
   re_txq_considx are contiguous, so such a hole can make it process
   an unused entry and corrupt the TX queue accounting.

   This bug was introduced by my re_encap() -> re_start() refactoring
   in rev. 1.59 back in 2006.  Sorry it took ~20 years to notice it.

   Should be pulled up to netbsd-11 and netbsd-10.
VersionDeltaFile
1.184+6-3sys/dev/ic/rtl8169.c
+6-31 files

NetBSD/src oiwaBQv — sys/kern kern_turnstile.c

   Revert "turnstile(9): Fix priority inheritance if trylock requires restart."

   This was originally done in an attempt to resolve the issue described
   in:

   PR kern/60739: Turnstile priority inheritance short-circuits walking
   of waiter chain when trylock fails

   But it may have broken other things:

   PR kern/60776: reproducable assertion failure with today's current

   > Today's amd64 kernel reproducably crashes for me when running build.sh.
   >
   > [ 4043.4787057] panic: kernel diagnostic assertion "lwp_eprio(l) >= ts->ts_eprio" failed: file "../../../../kern/kern_turnstile.c", line 356
   > [ 4043.6286910] cpu1: Begin traceback...
   > [ 4043.6686907] vpanic() at netbsd:vpanic+0x189
   > [ 4043.7186903] kern_assert() at netbsd:kern_assert+0x4b
   > [ 4043.7786898] turnstile_wakeup() at netbsd:turnstile_wakeup+0x2c5

    [10 lines not shown]
VersionDeltaFile
1.58+6-21sys/kern/kern_turnstile.c
+6-211 files

NetBSD/src VxxdDkt — tests/kernel Makefile t_fdrestart.c

   t_fdrestart: Test ptys too.

   More bugs of this class!

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.7+312-2tests/kernel/t_fdrestart.c
1.102+3-1tests/kernel/Makefile
+315-32 files

NetBSD/src pxoug8k — tests/kernel Makefile t_fdrestart.c

   t_fdrestart: Test named fifos too.

   Turns out we're missing a wakeup on close for read and write on fifos
   too!

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.6+182-2tests/kernel/t_fdrestart.c
1.101+4-1tests/kernel/Makefile
+186-32 files

NetBSD/src NNUQfuZ — tests/kernel t_fdrestart.c

   t_fdrestart: Test restarting poll and select on close too.

   They must promptly report POLLNVAL/EBADF when a file descriptor they
   are listening for is closed, just like read and write.

   Note: kevent doesn't get restarted when an fd registered with it is
   closed; the registration is simply silently discarded instead.  Hence
   no corresponding kevent tests here.

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.5+366-15tests/kernel/t_fdrestart.c
+366-151 files

NetBSD/src 8fGQiix — tests/lib/libc/sys t_poll.c

   t_poll: Test concurrently closing an fd being polled.

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.17+631-1tests/lib/libc/sys/t_poll.c
+631-11 files

NetBSD/src 4RDtfdO — tests/lib/libc/sys t_poll.c

   t_poll: Spruce up output of poll event bits.

   Would be nice if we had a POLLFMT for use with snprintb(3)!

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.16+141-47tests/lib/libc/sys/t_poll.c
+141-471 files

NetBSD/src EDfHRIv — tests/lib/libc/sys t_poll.c

   t_poll: Rename tests pollclosed -> pollclosedpeer.

   These test what happens when we're polling a file descriptor for some
   two-ended thing (pipe, fifo, socket, pty) and the _other_ end is
   closed.  This is to prepare for adding a suite of tests for when
   _this_ end is closed, which I'll reuse the name `pollclosed' for.

   Prompted by:

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.15+337-333tests/lib/libc/sys/t_poll.c
+337-3331 files

NetBSD/src TaLmbxe — tests/lib/libc/sys t_poll.c

   t_poll: Fix delayed_write checks.

   1. Check the results of the poll(2) call that sleeps, not a
      zero-timeout call instead -- not sure how that crept in.

   2. Do also check a zero-timeout call at the end to make sure the
      event state is persistent.

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.14+13-2tests/lib/libc/sys/t_poll.c
+13-21 files

NetBSD/src C8BVHlr — tests/lib/libc/sys t_poll.c

   t_poll: Extend err test to cover POLLNVAL too.

   Prompted by:

   PR kern/59056: poll POLLHUP bugs
VersionDeltaFile
1.13+16-4tests/lib/libc/sys/t_poll.c
+16-41 files

NetBSD/src JxrJ8GU — sys/ufs/lfs lfs_accessors.h lfs_vfsops.c

   Use new macros, LFS_RELEASEIENTRY and LFS_RELEASESEGENTRY, to release the
   buffers obtained from LFS_IENTRY and LFS_SEGENTRY.  The macros replace
   calls to brelse() and (at this point) resolve to brelse().

   No functional change.
VersionDeltaFile
1.156+18-103sys/ufs/lfs/lfs_alloc.c
1.6+8-8sys/ufs/lfs/lfs_kclean.c
1.315+7-8sys/ufs/lfs/lfs_segment.c
1.183+7-7sys/ufs/lfs/lfs_syscalls.c
1.405+6-6sys/ufs/lfs/lfs_vfsops.c
1.58+8-1sys/ufs/lfs/lfs_accessors.h
+54-1333 files not shown
+64-1439 files

NetBSD/src hLOm0Mh — usr.sbin/makefs ffs.c

   makefs: explicitly #include <time.h> for ctime(3)

   Currently "ffs/buf.h" includes it, but should not rely on
   an indirect include.
VersionDeltaFile
1.79+3-2usr.sbin/makefs/ffs.c
+3-21 files

NetBSD/src d0EI66G — usr.sbin/makefs makefs.c

   makefs: explicitly #include <time.h> for ctime(3)

   Currently cd9660.h includes it, but should not rely on
   an indirect include.
VersionDeltaFile
1.60+3-2usr.sbin/makefs/makefs.c
+3-21 files

NetBSD/src S5JJ8Xq — doc 3RDPARTY

   doc: update 3RDPARTY for new expat
VersionDeltaFile
1.2255+3-3doc/3RDPARTY
+3-31 files

NetBSD/src uE3yJhZ — external/gpl3/gcc README.gcc14

   README.gcc14: alpha: Fallouts for nfs and ipf ATF cases are gone

   PR port-alpha/60772: insane calling convention for uint32_t variables
VersionDeltaFile
1.33+2-3external/gpl3/gcc/README.gcc14
+2-31 files

NetBSD/src 0H3ZiDk — common/lib/libc/arch/alpha/gen byte_swap_4.S

   bswap32: alpha: Sign-extend uint32_t calculated result

   as per "Digital UNIX: Calling Standard for Alpha Systems".

   PR port-alpha/60772: insane calling convention for uint32_t variables
VersionDeltaFile
1.4+2-1common/lib/libc/arch/alpha/gen/byte_swap_4.S
+2-11 files

NetBSD/src EexwRg3 — external/mit/expat/dist Makefile.in aclocal.m4, external/mit/expat/dist/conftools install-sh ltmain.sh

   expat 2.8.5
VersionDeltaFile
1.3+21,725-18,443external/mit/expat/dist/configure
1.3+10,913-6,077external/mit/expat/dist/conftools/ltmain.sh
1.3+1,420-8,316external/mit/expat/dist/aclocal.m4
1.3+2,451-1,372external/mit/expat/dist/m4/libtool.m4
1.3+1,176-162external/mit/expat/dist/Makefile.in
1.3+498-208external/mit/expat/dist/conftools/install-sh
+38,183-34,57835 files not shown
+40,161-35,55541 files

NetBSD/src vGX9iec — external/mit/expat/dist aclocal.m4 configure, external/mit/expat/dist/conftools ltmain.sh

   expat-2.8.5
VersionDeltaFile
1.1.1.10+2,511-1,427external/mit/expat/dist/configure
1.1.1.6+602-173external/mit/expat/dist/m4/libtool.m4
1.1.1.7+453-141external/mit/expat/dist/aclocal.m4
1.1.1.12+332-206external/mit/expat/dist/lib/xmlparse.c
1.1.1.4+460-6external/mit/expat/dist/tests/basic_tests.c
1.1.1.7+245-80external/mit/expat/dist/conftools/ltmain.sh
+4,603-2,033117 files not shown
+6,959-3,237123 files

NetBSD/src MdPZ8hb — tests/lib/libcrypt t_crypt.c

   Bump timeout, this test takes ~1500s on the landisk sh4 test runs
VersionDeltaFile
1.7+3-2tests/lib/libcrypt/t_crypt.c
+3-21 files

NetBSD/src cGzLttG — lib/libc/gen glob.c

   libc/gen: fix swapped comments
VersionDeltaFile
1.40+4-4lib/libc/gen/glob.c
+4-41 files

NetBSD/src zdP0TRA — sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic meson-gxl.dtsi meson-gxbb.dtsi, sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip rk3399-nanopi-r4s.dts

   Resolve cornflakes
VersionDeltaFile
1.7+9-0sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
1.7+9-0sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
1.3+1-1sys/external/gpl2/dts/dist/arch/riscv/boot/dts/sophgo/cv18xx.dtsi
1.4+0-1sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s.dts
+19-24 files