NetBSD/src vb09jm9tests/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 vRP7yqZsys/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 oiwaBQvsys/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 VxxdDkttests/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 pxoug8ktests/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 NNUQfuZtests/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 8fGQiixtests/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 4RDtfdOtests/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 EDfHRIvtests/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 TaLmbxetests/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 C8BVHlrtests/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 JxrJ8GUsys/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 hLOm0Mhusr.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 d0EI66Gusr.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 S5JJ8Xqdoc 3RDPARTY

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

NetBSD/src uE3yJhZexternal/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 0H3ZiDkcommon/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 EexwRg3external/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 vGX9iecexternal/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 MdPZ8hbtests/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 cGzLttGlib/libc/gen glob.c

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

NetBSD/src zdP0TRAsys/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

NetBSD/src C7g9EZMsys/external/gpl2/dts/dist/arch/arm/boot/dts/st stm32mp151c-mecio1r0.dts stm32mp153c-mecio1r1.dts, sys/external/gpl2/dts/dist/arch/arm64/boot/dts/freescale fsl-lx2160a.dtsi

   Import dts from Linux 6.12.111
VersionDeltaFile
1.1.1.2+234-0sys/external/gpl2/dts/dist/include/dt-bindings/power/qcom,rpmhpd.h
1.1.1.5+1-224sys/external/gpl2/dts/dist/include/dt-bindings/power/qcom-rpmpd.h
1.1.1.5+141-42sys/external/gpl2/dts/dist/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
1.1.1.2+16-130sys/external/gpl2/dts/dist/arch/arm/boot/dts/st/stm32mp15x-mecio1-io.dtsi
1.1.1.2+144-0sys/external/gpl2/dts/dist/arch/arm/boot/dts/st/stm32mp153c-mecio1r1.dts
1.1.1.2+128-0sys/external/gpl2/dts/dist/arch/arm/boot/dts/st/stm32mp151c-mecio1r0.dts
+664-396136 files not shown
+1,490-872142 files

NetBSD/src wvhZyCysys/ufs/lfs lfs_rfw.c lfs_syscalls.c

   In lfs_checkempty(), do not continue looping through partial segments
   after an error.  Also, do not continue checking all future segments but
   confine our attention only to the segment we are trying to verify empty.

   Addresses an issue described in PR kern/60746.
VersionDeltaFile
1.5+24-6sys/ufs/lfs/lfs_kclean.c
1.182+14-5sys/ufs/lfs/lfs_syscalls.c
1.47+8-4sys/ufs/lfs/lfs_rfw.c
+46-153 files

NetBSD/src UpqmBzTdoc 3RDPARTY

   doc: add expat release

   downgrade openssl - I misread the announcement, they will be available
   next week
VersionDeltaFile
1.2254+4-4doc/3RDPARTY
+4-41 files

NetBSD/src YFCxMPPdoc 3RDPARTY

   doc: new openssls out

   stop listing ones that have no chance of being imported.
   For the old branches:

   "We will also be releasing extended support for OpenSSL versions
   3.0.23, 1.1.1zj, and 1.0.2zs which will be available to premium support
   customers."

   so I didn't list them, since we won't get them.
VersionDeltaFile
1.2253+3-3doc/3RDPARTY
+3-31 files

NetBSD/src 73OK2Uvusr.sbin/npf/npfctl npf_build.c

   PR lib/60740

   provide more context into npf reload failures with const tables.
VersionDeltaFile
1.67+3-1usr.sbin/npf/npfctl/npf_build.c
+3-11 files

NetBSD/src BUP0pDNusr.sbin/npf/npfctl npf_build.c

   revert changes, not intended to be committed
VersionDeltaFile
1.66+0-2usr.sbin/npf/npfctl/npf_build.c
+0-21 files

NetBSD/src StKyutFsys/dev/sbus cgtwelve.c

   support a hardware cursor by scribbling into the mono overlay
   TODO:
   - proper on/off
   - handle hotspot and the cursor shifting off screen to the top / left
VersionDeltaFile
1.10+249-5sys/dev/sbus/cgtwelve.c
+249-51 files

NetBSD/src zZGMs3osys/net if.c, sys/net/npf npf_os.c npf_handler.c

   revert changes, not meant to be committed
VersionDeltaFile
1.11+20-26sys/net/npf/npf_ext_route.c
1.57+0-8sys/net/npf/npf_handler.c
1.28+0-3sys/net/npf/npf_os.c
1.541+2-0sys/net/if.c
+22-374 files