NetBSD/src ZIGDFfU — tests/lib/libc/sys t_sigio.c

   t_sigio: Fix diagnostics in fillpipebuf for non-sockets.

   Can't getsockopt(SO_SNDLOWAT) if it's not a socket.
VersionDeltaFile
1.5+12-6tests/lib/libc/sys/t_sigio.c
+12-61 files

NetBSD/src Nzav2ia — sys/kern kern_ntptime.c

   ntp(9): Avoid more left shift of negative UB.

   This logic is, presumably, intended to compute integer arithmetic, so
   just write it as *16 instead of <<4.  If there's an advantage to
   using a machine shift instruction to get the same semantics, the
   compiler can do that for us.

   Also avoid arithmetic overflow.  If set a few lines above,
   time_monitor can lie anywhere in the interval [-MAXPHASE,MAXPHASE] =
   [-500e6,500e6].  Multiplying by sixteen can therefore overflow the
   bounds [-2.2e9,2.2e9] of long on LP32 platforms by a factor of four.
   But mtemp >= 256 here, so even if time_monitor*16 overflows the
   signed 32-bit range, the result (time_monitor*16)/mtemp will not.
   Hence: cast to int64_t for the intermediate computation of
   time_monitor*16.

   This isn't the end of the analysis: time_monitor can also be set in
   hardpps(9) to something else whose bounds aren't as clear to me, but
   that only applies under `options PPS_SYNC' which is usually not set.

    [4 lines not shown]
VersionDeltaFile
1.65+3-3sys/kern/kern_ntptime.c
+3-31 files

NetBSD/src UoX4qml — sys/rump Makefile.rump

   rump: Enable -ftrivial-auto-var-init like the hard kernel.

   PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.141+7-1sys/rump/Makefile.rump
+7-11 files

NetBSD/src 1z21z9w — share/mk bsd.kmodule.mk

   bsd.kmodule.mk: Enable -ftrivial-auto-var-init for kernel modules.

   PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.89+7-1share/mk/bsd.kmodule.mk
+7-11 files

NetBSD/src z2lrQLh — external/cddl/osnet/dist/uts/common/dtrace dtrace.c

   dtrace: Avoid uninitialized stack garbage.

   Found by:

   PR kern/60839: use -ftrivial-auto-var-init

   This applies the code change of the following FreeBSD commit, but I
   didn't understand the comment so I rewrote it:

   commit f222a6b88614db13ae83c8110281e690d1381a4c
   Author: Bryan Drewery <bdrewery at FreeBSD.org>
   Date:   Fri Dec 18 09:58:03 2020 -0800

       dtrace: Fix /"string" == NULL/ comparisons using an uninitialized value.

       A test of this is funcs/tst.strtok.d which has this filter:

           BEGIN
           /(this->field = strtok(this->str, ",")) == NULL/

    [27 lines not shown]
VersionDeltaFile
1.43+13-0external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
+13-01 files

NetBSD/src la1Y2Yd — sys/external/bsd/drm2/dist/drm/amd/powerplay smu_internal.h

   amdgpu powerplay: Avoid stack garbage if smu callbacks are missing.

   Found by:

   PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.3+10-10sys/external/bsd/drm2/dist/drm/amd/powerplay/smu_internal.h
+10-101 files

NetBSD/src 4MZNNGl — sys/conf Makefile.kern.inc

   sys: Use ACTIVE_CC to choose -ftrivial-auto-var-init.

   I'm a little fuzzy on the finer semantics of ACTIVE_CC vs
   HAVE_GCC/HAVE_LLVM from share/mk/bsd.README, but I think this is the
   intended way to conditionalize decisions like this.

   PR PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.308+8-8sys/conf/Makefile.kern.inc
+8-81 files

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

   sys: Flip on -ftrivial-auto-var-init=pattern for the kernel build.

   Note: HAVE_GCC (if defined) is a major version number, but HAVE_LLVM
   (if defined) is yes or no, hence the weird conditionals here.

   TBD: Would like to make the choice of `pattern' vs `zero' conditional
   on `options DEBUG' or something but that's trickier than I want to
   figure out right now; let's just get this on at all to start.

   TBD: Kernel modules.

   PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.307+9-1sys/conf/Makefile.kern.inc
+9-11 files

NetBSD/src fq4zvsy — sys/dev/pci if_wm.c

   wm(4): Avoid acting on stack garbage if readreg fails.

   Found by:

   PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.803+24-2sys/dev/pci/if_wm.c
+24-21 files

NetBSD/src MLqAcao — sys/dev/pci if_alc.c

   alc(4): Avoid acting on stack garbage if readreg fails.

   Found by:

   PR kern/60839: use -ftrivial-auto-var-init
VersionDeltaFile
1.57+5-1sys/dev/pci/if_alc.c
+5-11 files

NetBSD/src kGpyIhc — doc CHANGES-11.1

   Remove entry for ticket #502, it has been backed out
VersionDeltaFile
1.1.2.19+1-7,644doc/CHANGES-11.1
+1-7,6441 files

NetBSD/src DTcm8Hc — sys/external/gpl2/dts/dist/arch/arm/boot/dts armada-38x-solidrun-microsom.dtsi am57xx-industrial-grade.dtsi

   try to backout ticket #502
VersionDeltaFile
1.2.4.2+1,500-40sys/external/gpl2/dts/dist/arch/arm/boot/dts/Makefile
1.1.1.4.12.2+0-0sys/external/gpl2/dts/dist/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
1.1.1.2.44.2+0-0sys/external/gpl2/dts/dist/arch/arm/boot/dts/am57xx-industrial-grade.dtsi
1.1.1.5.12.2+0-0sys/external/gpl2/dts/dist/arch/arm/boot/dts/am57xx-beagle-x15.dts
1.1.1.3.34.2+0-0sys/external/gpl2/dts/dist/arch/arm/boot/dts/am3517-som.dtsi
1.1.1.4.12.2+0-0sys/external/gpl2/dts/dist/arch/arm/boot/dts/alpine.dtsi
+1,500-401,881 files not shown
+1,500-401,887 files

NetBSD/src ldL8vym — tests/kernel t_signal_and_sp.c

   t_signal_and_sp: Mark exec/spawn tests xfail on sparc.

   PR port-sparc/60838: sparc fails to enforce RLIMIT_DATA on exec
VersionDeltaFile
1.25+10-2tests/kernel/t_signal_and_sp.c
+10-21 files

NetBSD/src WZjZ61W — tests/net/ipsec t_ipsec_policy.c

   t_ipsec_policy: Skip if net.inet.ipsec.enabled doesn't exist too.

   Presumably this means the kernel was built without IPsec support.

   PR kern/60669: netipsec key_sp2msg buffer overrun
VersionDeltaFile
1.6+8-4tests/net/ipsec/t_ipsec_policy.c
+8-41 files

NetBSD/src VHCpdHP — tests/lib/libc/sys t_sigio.c

   t_sigio: Clarify socket_local_write_shutdown situation.
VersionDeltaFile
1.4+12-5tests/lib/libc/sys/t_sigio.c
+12-51 files

NetBSD/src eYegRtJ — tests/lib/libc/sys t_sigio.c

   t_sigio: Add diagnostics to fillpipebuf.

   For some reason, on some of the releng testbeds, in
   socket_local_write_shutdown (and only socket_local_write_shutdown),
   it's putting only 7168 (= 8192 - 1024) bytes into a local socket's
   buffer before write fails with EAGAIN, but then _after_ fillpipebuf
   has returned, write succeeds:

   filled 4 with 7168 bytes
   [thread] waiting for barrier
   [thread] giving other thread a head start
   checking that write fails with 35 (Resource temporarily unavailable)...
   *** Check failed: /tmp/build/2026.10.02.08.45.07-i386/src/tests/lib/libc/sys/t_sigio.c:368: Expected true value in (nwrit = write(writefd, &c, 1)) == -1
   *** Check failed: /tmp/build/2026.10.02.08.45.07-i386/src/tests/lib/libc/sys/t_sigio.c:369: nwrit != -1: nwrit=1
   [thread] shutdown(SHUT_RD)
   [thread] shutdown

   But on my machine, and presumably on other testbeds where the test
   passes, it fills the whole 8192 bytes before EAGAIN, and the next

    [24 lines not shown]
VersionDeltaFile
1.3+24-3tests/lib/libc/sys/t_sigio.c
+24-31 files

NetBSD/src mETF3Av — tests/kernel t_fdrestart.c

   t_fdrestart: Skip signal handler; let atf take SIGALRM as failure.

   Safer than calling atf_tc_fail in the SIGALRM handler, and the xfail
   is finer-grained this way (any check failure will be reported as test
   failure; only SIGALRM will be reported as expected).

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.11+25-22tests/kernel/t_fdrestart.c
+25-221 files

NetBSD/src qZ92Bz5 — tests/kernel t_fdrestart.c

   t_fdrestart: Fix fifo tests to be more reliable and mark xfails.

   PR kern/57659: closing pipe writefd fails to wake concurrent write on
   same writefd
VersionDeltaFile
1.10+21-13tests/kernel/t_fdrestart.c
+21-131 files

NetBSD/src zDT6NGQ — doc CHANGES 3RDPARTY

   new tzcode
VersionDeltaFile
1.2261+2-2doc/3RDPARTY
1.3301+2-1doc/CHANGES
+4-32 files

NetBSD/src kkONmdG — lib/libc/time version theory.html

   Add cosmetic changes from 2026e. There was one size_t -> int change that
   I believe is incorrect and was not added.
VersionDeltaFile
1.53+38-0lib/libc/time/NEWS
1.157+5-2lib/libc/time/localtime.c
1.34+1-1lib/libc/time/version
1.26+1-1lib/libc/time/theory.html
+45-44 files

NetBSD/src ia5F99p — usr.sbin/npf/npfctl npf_parse.y npf.conf.5

   PR kern/60791

   man for updated npf routing
VersionDeltaFile
1.111+22-6usr.sbin/npf/npfctl/npf.conf.5
1.60+2-0usr.sbin/npf/npfctl/npf_parse.y
+24-62 files

NetBSD/src 10UTPES — doc CHANGES-11.1

   Tickets #496 - #507
VersionDeltaFile
1.1.2.18+7,863-1doc/CHANGES-11.1
+7,863-11 files

NetBSD/src 7xfHyyk — external/public-domain/tz/dist southamerica europe

   Pullup the following, requested by kre in ticket #507:

        external/public-domain/tz/dist/CONTRIBUTING     up to 1.1.1.11
        external/public-domain/tz/dist/Makefile         up to 1.7
        external/public-domain/tz/dist/NEWS             up to 1.10
        external/public-domain/tz/dist/README           up to 1.4
        external/public-domain/tz/dist/TZDATA_VERSION   up to 1.48
        external/public-domain/tz/dist/africa           up to 1.5
        external/public-domain/tz/dist/asia             up to 1.17
        external/public-domain/tz/dist/backward         up to 1.13
        external/public-domain/tz/dist/backzone         up to 1.6
        external/public-domain/tz/dist/europe           up to 1.7
        external/public-domain/tz/dist/northamerica     up to 1.9
        external/public-domain/tz/dist/southamerica     up to 1.6
        external/public-domain/tz/dist/theory.html      up to 1.8
        external/public-domain/tz/dist/version          up to 1.21
        external/public-domain/tz/dist/zone.tab         up to 1.8
        external/public-domain/tz/dist/zone1970.tab     up to 1.9
        external/public-domain/tz/dist/zonenow.tab      up to 1.10

    [3 lines not shown]
VersionDeltaFile
1.4.2.4+169-55external/public-domain/tz/dist/northamerica
1.4.2.4+152-1external/public-domain/tz/dist/NEWS
1.3.2.3+33-32external/public-domain/tz/dist/theory.html
1.12.2.1+49-5external/public-domain/tz/dist/backward
1.3.2.3+26-4external/public-domain/tz/dist/europe
1.4.2.2+16-13external/public-domain/tz/dist/southamerica
+445-11012 files not shown
+505-15318 files

NetBSD/src USEes2E — external/bsd/ntp/dist/ntpd ntp_proto.c

   Pull up following revision(s) (requested by jnemeth in ticket #506):

        external/bsd/ntp/dist/ntpd/ntp_proto.c: revision 1.21

   Fix overly aggressive rejection of valid servers.

   Patch taken from https://bugs.ntp.org/3877 .  This patch is likely to be
   included in the next release.

   Fixes PR bin/60831
VersionDeltaFile
1.20.2.1+12-21external/bsd/ntp/dist/ntpd/ntp_proto.c
+12-211 files

NetBSD/src 1XoPwON — doc CHANGES-10.3

   Tickets #1346 - #1348
VersionDeltaFile
1.1.2.6+18-1doc/CHANGES-10.3
+18-11 files

NetBSD/src zPI5Ltz — share/examples/npf soho_gw-npf.conf host-npf.conf

   Pull up following revision(s) (requested by hgutch in ticket #1348):

        share/examples/npf/host-npf.conf: revision 1.13
        share/examples/npf/host-npf.conf: revision 1.14
        share/examples/npf/soho_gw-npf.conf: revision 1.22

   Fix a couple more ``blacklist --> blocklist''

   More blacklist --> blocklist
VersionDeltaFile
1.11.8.2+4-4share/examples/npf/host-npf.conf
1.20.8.2+3-3share/examples/npf/soho_gw-npf.conf
+7-72 files

NetBSD/src N2HviOM — share/examples/npf soho_gw-npf.conf host-npf.conf

   Pull up following revision(s) (requested by hgutch in ticket #505):

        share/examples/npf/host-npf.conf: revision 1.13
        share/examples/npf/host-npf.conf: revision 1.14
        share/examples/npf/soho_gw-npf.conf: revision 1.22

   Fix a couple more ``blacklist --> blocklist''

   More blacklist --> blocklist
VersionDeltaFile
1.12.4.1+4-4share/examples/npf/host-npf.conf
1.21.4.1+3-3share/examples/npf/soho_gw-npf.conf
+7-72 files

NetBSD/src Tn3buk0 — sys/arch/evbarm/ifpga plmmc_ifpga.c, sys/dev/ic pl181var.h

   Pull up following revision(s) (requested by skrll in ticket #504):

        sys/dev/ic/pl181var.h: revision 1.4
        sys/arch/evbarm/ifpga/plmmc_ifpga.c: revision 1.3

   evbarm/INTEGRATOR_CP: establish interrupt handler for PL181 controller

   PR/60818 plmmc_ifpga.c does not establish interrupt handler for PL181 controller

   Capture the handle returned from ifpga_intr_establish - someone might
   write the code to call ifpga_intr_disestablish.
VersionDeltaFile
1.2.18.1+2-4sys/arch/evbarm/ifpga/plmmc_ifpga.c
1.3.44.1+2-1sys/dev/ic/pl181var.h
+4-52 files

NetBSD/src rg0qZZy — sys/arch/mips/mips pmap_machdep.c cpu_subr.c

   Pull up following revision(s) (requested by skrll in ticket #503):

        sys/arch/mips/mips/pmap_machdep.c: revision 1.41
        sys/arch/mips/mips/cpu_subr.c: revision 1.68

   mips: create ci_shootdowncpus early so it's available for MP pmap_update

   When using ENABLE_MIPS_4KB_PAGE on OCTEON with an MULTIPROCESSOR kernel
   an early pmap_update is triggered which requires ci_shootdowncpus to be
   vailable.
VersionDeltaFile
1.64.8.2+8-3sys/arch/mips/mips/cpu_subr.c
1.40.2.1+8-2sys/arch/mips/mips/pmap_machdep.c
+16-52 files

NetBSD/src NoEtohQ — sys/external/gpl2/dts/dist/arch/arm/boot/dts imx6ull-pinfunc.h imx6ull-pinfunc-snvs.h

   Pull up the following, requested by skrll in ticket #502:

        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/Makefile up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500-cubieboard6.dts up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500-guitar-bb-rev-b.dts up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500-guitar.dtsi up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500-labrador-base-m.dts up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500-labrador-v2.dtsi up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500-roseapplepi.dts up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500-sparky.dts up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/actions/owl-s500.dtsi up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/airoha/Makefile up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/airoha/en7523-evb.dts up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/airoha/en7523.dtsi up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/allwinner/Makefile up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/allwinner/axp152.dtsi up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/allwinner/axp209.dtsi up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/allwinner/axp223.dtsi up to 1.1.1.1
        sys/external/gpl2/dts/dist/arch/arm/boot/dts/allwinner/axp22x.dtsi up to 1.1.1.1

    [7624 lines not shown]
VersionDeltaFile
1.2.4.1+40-1,500sys/external/gpl2/dts/dist/arch/arm/boot/dts/Makefile
1.1.1.4.34.1+1-1sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6ull-pinfunc.h
1.1.1.2.36.1+1-1sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6ull-pinfunc-snvs.h
1.1.1.3.34.1+1-1sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6ul-pinfunc.h
1.1.1.2.34.1+1-1sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6sl-pinfunc.h
1.1.1.3.34.1+1-1sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx50-pinfunc.h
+45-1,5051,134 files not shown
+57-1,5171,140 files