NetBSD/src YqxkjIddoc CHANGES

   doc: changes for first week of march
VersionDeltaFile
1.3235+9-1doc/CHANGES
+9-11 files

NetBSD/src SGNUoVflib/libnpf npf.c

   PR bin/60037
VersionDeltaFile
1.57+5-1lib/libnpf/npf.c
+5-11 files

NetBSD/src rHYQRpnexternal/bsd/tmux/usr.bin/tmux Makefile

   Use GCC_NO_MAYBE_UNINITIALIZED instead of hardcoding the option.
   Should fix the llvm builds.
VersionDeltaFile
1.28.2.3+2-2external/bsd/tmux/usr.bin/tmux/Makefile
+2-21 files

NetBSD/src ahoi36metc getramdisksize

   Fix incorrect syntax for some shells

   In a world long vanished, the ascii char set did not have the |
   character (0x7c) as a standard member, and could not be relied
   upon existing.   In systems only found today in archaeological digs,
   that was handled by making '^' be the sh symbol for a pipe.

   That meant that the regular expression notation for negating a
   character class ([^stuff]) couldn't be used in shell patterns,
   and so ! was used there instead of the ^.   The ^ did not bother
   use in REs as those almost always need to be quoted when included
   in a shell command anyway - but quoting of shell patterns would
   defeat their use as a pattern, so couldn't be used there.

   In more modern times, this excuse for the difference has long gone,
   ^ isn't the pipe symbol in any shell that is likely to be encountered,
   and so most shells allow either ^ or ! to represent negation of a
   character class - ^ for compat with REs, and ! for compat with old
   scripts.

    [6 lines not shown]
VersionDeltaFile
1.4+1-1etc/getramdisksize
+1-11 files

NetBSD/src VfQwMxflib/libedit map.c

   reorder so we don't crash.
VersionDeltaFile
1.60+4-4lib/libedit/map.c
+4-41 files

NetBSD/src Q1a6gCuexternal/bsd/tmux/usr.bin/tmux Makefile

   Downgrade maybe-uninitialized to a warning for grid.c

   Otherwise aarch64 builds fail with:

   /home/source/ab/netbsd-10/src/external/bsd/tmux/dist/grid.c: In function 'grid_string_cells':
   /home/source/ab/netbsd-10/src/external/bsd/tmux/dist/grid.c:1070:22: error: 'size' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    1070 |  size_t    len, off, size, codelen;
         |                      ^~~~

   but the code always initializes size before first use.
VersionDeltaFile
1.28.2.2+2-1external/bsd/tmux/usr.bin/tmux/Makefile
+2-11 files

NetBSD/src AVk2p1Jdoc CHANGES-10.2

   Tickets #1235 - #1244
VersionDeltaFile
1.1.2.92+230-1doc/CHANGES-10.2
+230-11 files

NetBSD/src wgEWnr0external/bsd/tmux/dist tmux.1 server-client.c

   Pull up the following, requested by kim in ticket #1243:

        external/bsd/tmux/dist/compat/getpeereid.c      up to 1.1.1.2
        external/bsd/tmux/dist/compat/systemd.c         up to 1.1.1.4
        external/bsd/tmux/dist/compat/htonll.c          up to 1.1.1.2
        external/bsd/tmux/dist/compat/ntohll.c          up to 1.1.1.2
        external/bsd/tmux/dist/cmd-server-access.c      up to 1.1.1.1
        external/bsd/tmux/dist/cmd-show-prompt-history.c up to 1.1.1.2
        external/bsd/tmux/dist/server-acl.c             up to 1.1.1.1
        external/bsd/tmux/dist/tmux-protocol.h          up to 1.1.1.2
        external/bsd/tmux/dist/hyperlinks.c             up to 1.3
        external/bsd/tmux/dist/image-sixel.c            up to 1.4
        external/bsd/tmux/dist/image.c                  up to 1.1.1.1
        external/bsd/tmux/dist/utf8-combined.c          up to 1.1.1.2
        external/bsd/tmux/dist/utmp.c                   delete
        external/bsd/tmux/prepare-import.sh             up to 1.7
        external/bsd/tmux/dist/CHANGES                  up to 1.1.1.12
        external/bsd/tmux/dist/Makefile.am              up to 1.1.1.10
        external/bsd/tmux/dist/Makefile.in              up to 1.1.1.11

    [148 lines not shown]
VersionDeltaFile
1.15.2.1+1,954-408external/bsd/tmux/dist/tmux.1
1.10.2.1+1,746-301external/bsd/tmux/dist/server-client.c
1.14.2.1+1,318-414external/bsd/tmux/dist/window-copy.c
1.13.2.1+1,277-169external/bsd/tmux/dist/format.c
1.20.2.1+958-387external/bsd/tmux/dist/tmux.h
1.16.2.1+926-281external/bsd/tmux/dist/input.c
+8,179-1,960169 files not shown
+25,562-9,135175 files

NetBSD/src Lpzvcf0doc CHANGES-9.5

   Ticket #2005
VersionDeltaFile
1.1.2.99+6-1doc/CHANGES-9.5
+6-11 files

NetBSD/src 4zxeklmdoc CHANGES-11.0, external/gpl2/groff/tmac mdoc.local

   Welcome to 11.0_RC2!
VersionDeltaFile
1.1.2.78+8-1doc/CHANGES-11.0
1.11.4.3+3-3external/gpl2/groff/tmac/mdoc.local
1.738.2.3+2-2sys/sys/param.h
+13-63 files

NetBSD/src zX22dovdoc CHANGES-11.0

   Tickets #183 - #206
VersionDeltaFile
1.1.2.77+274-1doc/CHANGES-11.0
+274-11 files

NetBSD/src dT5KQLDsys/arch/aarch64/aarch64 pmap_machdep.c

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

        sys/arch/aarch64/aarch64/pmap_machdep.c: revision 1.9

   Correct argument order in tlb_invalidate_addr calls.
VersionDeltaFile
1.6.8.1+4-4sys/arch/aarch64/aarch64/pmap_machdep.c
+4-41 files

NetBSD/src G7fEdljexternal/gpl3/gcc/dist/gcc/config/vax vax.md

   Pull up following revision(s) (requested by kalvisd in ticket #205):

        external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.20
        (applied to external/gpl3/gcc/dist/gcc/config/vax/vax.md)

   gcc/vax: (gcc12) adjust the constraints on the output operands of the
   '*extzv_aligned' instruction patterns, removing the 'earlyclobber'
   modifier, to be consistent with the constraints on the output operands
   of the related 'extv_aligned' instruction patterns.
VersionDeltaFile
1.24.2.1+2-2external/gpl3/gcc/dist/gcc/config/vax/vax.md
+2-21 files

NetBSD/src UQYAV5csys/arch/riscv/conf GENERIC.common

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

        sys/arch/riscv/conf/GENERIC.common: revision 1.23

   Add and enable INCLUDE_CONFIG_FILE
VersionDeltaFile
1.22.2.1+2-1sys/arch/riscv/conf/GENERIC.common
+2-11 files

NetBSD/src tuLG629sys/arch/riscv/conf GENERIC GENERIC64

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

        sys/arch/riscv/conf/GENERIC64: revision 1.22
        sys/arch/riscv/conf/GENERIC: revision 1.25

   Turn off DEBUG by default
VersionDeltaFile
1.24.8.1+2-2sys/arch/riscv/conf/GENERIC
1.21.2.1+2-2sys/arch/riscv/conf/GENERIC64
+4-42 files

NetBSD/src r9BIyD6sys/arch/arm/arm32 db_interface.c, sys/arch/mips/mips db_interface.c

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

        sys/arch/powerpc/powerpc/db_interface.c: revision 1.63
        sys/ddb/db_access.c: revision 1.28
        sys/arch/arm/arm32/db_interface.c: revision 1.67
        sys/arch/mips/mips/db_interface.c: revision 1.101
        sys/arch/sparc64/sparc64/db_interface.c: revision 1.140

   PR/59419: KGDB build fails for evbarm

   Fix compilation of db_interface.c when KGDB is defined, but DDB is not.
VersionDeltaFile
1.64.2.1+6-9sys/arch/arm/arm32/db_interface.c
1.97.2.1+5-2sys/arch/mips/mips/db_interface.c
1.60.2.1+4-2sys/arch/powerpc/powerpc/db_interface.c
1.138.2.1+4-2sys/arch/sparc64/sparc64/db_interface.c
1.26.26.1+4-2sys/ddb/db_access.c
+23-175 files

NetBSD/src VsBRkX2sys/arch/arm/arm32 db_interface.c, sys/arch/mips/mips db_interface.c

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

        sys/arch/powerpc/powerpc/db_interface.c: revision 1.63
        sys/ddb/db_access.c: revision 1.28
        sys/arch/arm/arm32/db_interface.c: revision 1.67
        sys/arch/mips/mips/db_interface.c: revision 1.101
        sys/arch/sparc64/sparc64/db_interface.c: revision 1.140

   PR/59419: KGDB build fails for evbarm

   Fix compilation of db_interface.c when KGDB is defined, but DDB is not.
VersionDeltaFile
1.65.8.1+6-9sys/arch/arm/arm32/db_interface.c
1.99.8.1+5-2sys/arch/mips/mips/db_interface.c
1.61.2.1+4-2sys/arch/powerpc/powerpc/db_interface.c
1.138.10.1+4-2sys/arch/sparc64/sparc64/db_interface.c
1.27.8.1+4-2sys/ddb/db_access.c
+23-175 files

NetBSD/src Aw8vFePsys/net if_spppsubr.c

   Pull up following revision(s) (requested by roy in ticket #201):

        sys/net/if_spppsubr.c: revision 1.274

   PPP: drop SPPP lock before calling rt_ifmsg
   rt_ifmsg will lock SPPP itself, so ensure it's unlocked before calling.

   Add a comment to explain why this should be safe.

   Thanks to @riastradh for review and commentary.
   Fixes PR kern/59963.
VersionDeltaFile
1.271.2.2+27-20sys/net/if_spppsubr.c
+27-201 files

NetBSD/src WlN1Kzwexternal/mit/xorg/lib libmesa.mk

   Pull up following revision(s) (requested by mrg in ticket #200):

        external/mit/xorg/lib/libmesa.mk: revision 1.16

   define HAVE_NOATEXIT here, syncing with how pkgsrc MesaLib builds.
   second and final part to fix PR#60025.
VersionDeltaFile
1.15.4.1+3-2external/mit/xorg/lib/libmesa.mk
+3-21 files

NetBSD/src 2d0E7lMsys/arch/amd64/amd64 machdep.c

   Pull up following revision(s) (requested by riastradh in ticket #199):

        sys/arch/amd64/amd64/machdep.c: revision 1.379

   amd64: Fix locking around uvm_map_checkprot in mm_md_kernacc.

   This call was originally introduced in sys/arch/amd64/amd64/mem.c
   rev. 1.11 back in 2003 by fvdl@ with the commit message:

   Proper checks for kmem reads beyond _end
   https://mail-index.netbsd.org/source-changes/2003/10/14/msg135803.html

   At some point, SOMEBODY added an assertion in uvm that made it stop
   working:
   uvm_map(9): Sprinkle assertions and interface contract comments.
   No functional change intended.

   https://mail-index.netbsd.org/source-changes/2024/08/13/msg152763.html
   (Really, this assertion revealed that this path was broken all along.)

    [33 lines not shown]
VersionDeltaFile
1.376.2.1+7-3sys/arch/amd64/amd64/machdep.c
+7-31 files

NetBSD/src IVLdI3Hexternal/bsd/ntp/dist/include ntp_lists.h

   Pull up following revision(s) (requested by mlelstv in ticket #198):

        external/bsd/ntp/dist/include/ntp_lists.h: revision 1.9

   Restore NULL pointer check from upstream. Should fix PR 59973.
VersionDeltaFile
1.8.2.1+2-2external/bsd/ntp/dist/include/ntp_lists.h
+2-21 files

NetBSD/src m9kbPA7external/bsd/tmux/dist format.c server-client.c, external/bsd/tmux/dist/compat imsg-buffer.c

   Pullup the following revisions, requested by kim in ticket #197:

        external/bsd/tmux/prepare-import.sh             up to 1.7
        external/bsd/tmux/dist/CHANGES                  up to 1.1.1.12
        external/bsd/tmux/dist/Makefile.am              up to 1.1.1.10
        external/bsd/tmux/dist/Makefile.in              up to 1.1.1.11
        external/bsd/tmux/dist/README                   up to 1.1.1.7
        external/bsd/tmux/dist/README.ja                up to 1.1.1.3
        external/bsd/tmux/dist/alerts.c                 up to 1.3
        external/bsd/tmux/dist/attributes.c             up to 1.1.1.11
        external/bsd/tmux/dist/cfg.c                    up to 1.1.1.16
        external/bsd/tmux/dist/cmd-bind-key.c           up to 1.1.1.12
        external/bsd/tmux/dist/cmd-break-pane.c         up to 1.1.1.15
        external/bsd/tmux/dist/cmd-capture-pane.c       up to 1.12
        external/bsd/tmux/dist/cmd-choose-tree.c        up to 1.1.1.13
        external/bsd/tmux/dist/cmd-command-prompt.c     up to 1.1.1.15
        external/bsd/tmux/dist/cmd-confirm-before.c     up to 1.1.1.14
        external/bsd/tmux/dist/cmd-copy-mode.c          up to 1.1.1.15
        external/bsd/tmux/dist/cmd-display-menu.c       up to 1.10

    [95 lines not shown]
VersionDeltaFile
1.16.2.1+818-117external/bsd/tmux/dist/format.c
1.13.2.1+752-176external/bsd/tmux/dist/server-client.c
1.17.2.1+562-366external/bsd/tmux/dist/window-copy.c
1.19.2.1+554-209external/bsd/tmux/dist/input.c
1.11.4.1+501-135external/bsd/tmux/dist/compat/imsg-buffer.c
1.19.2.1+483-96external/bsd/tmux/dist/tmux.1
+3,670-1,099104 files not shown
+8,108-2,634110 files

NetBSD/src sJoXAWosbin/raidctl raidctl.c

   Pull up following revision(s) (requested by joe in ticket #1242):

        sbin/raidctl/raidctl.c: revision 1.87

   use proper string conversion for RAID level using create method

   using atoi returns 0 for any non-integer passed to it. this could
   configure RAID 0 in the kernel which was not intended for when one
   mistakenly passes a non-integer string. uses an internal conversion
   function that produces proper error message.
VersionDeltaFile
1.78.2.3+3-3sbin/raidctl/raidctl.c
+3-31 files

NetBSD/src WDxZcAosbin/raidctl raidctl.c

   Pull up following revision(s) (requested by joe in ticket #196):

        sbin/raidctl/raidctl.c: revision 1.87

   use proper string conversion for RAID level using create method

   using atoi returns 0 for any non-integer passed to it. this could
   configure RAID 0 in the kernel which was not intended for when one
   mistakenly passes a non-integer string. uses an internal conversion
   function that produces proper error message.
VersionDeltaFile
1.86.2.1+3-3sbin/raidctl/raidctl.c
+3-31 files

NetBSD/src JkJ7WKelib/libcurses refresh.c

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

        lib/libcurses/refresh.c: revision 1.130

   Readd a NULL check that got lost in r1.106.

   This fixes PR lib/59945 (and its duplicate, PR bin/60001 ).
VersionDeltaFile
1.126.2.2+3-3lib/libcurses/refresh.c
+3-31 files

NetBSD/src osIQ9FMlib/libcurses refresh.c

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

        lib/libcurses/refresh.c: revision 1.130

   Readd a NULL check that got lost in r1.106.

   This fixes PR lib/59945 (and its duplicate, PR bin/60001 ).
VersionDeltaFile
1.129.2.1+3-3lib/libcurses/refresh.c
+3-31 files

NetBSD/src 90lgJb5external/bsd/blocklist/bin blocklistd.c run.c, external/bsd/blocklist/port popenve.c

   Pull up the following revisions, requested by christos in ticket #194:

        external/bsd/blocklist/bin/blocklistd.c         up to 1.15
        external/bsd/blocklist/bin/blocklistd.conf.5    up to 1.9
        external/bsd/blocklist/bin/run.c                up to 1.4
        external/bsd/blocklist/bin/support.c            up to 1.4
        external/bsd/blocklist/port/popenve.c           up to 1.3

   PR 59929: fix a filedescriptor leak.
VersionDeltaFile
1.2.2.1+39-36external/bsd/blocklist/port/popenve.c
1.10.2.2+29-25external/bsd/blocklist/bin/blocklistd.c
1.3.2.1+9-8external/bsd/blocklist/bin/run.c
1.7.2.1+3-3external/bsd/blocklist/bin/blocklistd.conf.5
1.3.2.1+2-3external/bsd/blocklist/bin/support.c
+82-755 files

NetBSD/src ac04YYUlibexec/ld.elf_so rtld.c headers.c

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

        libexec/ld.elf_so/headers.c: revision 1.77
        libexec/ld.elf_so/headers.c: revision 1.79
        libexec/ld.elf_so/rtld.c: revision 1.223
        libexec/ld.elf_so/rtld.c: revision 1.224
        libexec/ld.elf_so/rtld.h: revision 1.155

   Support DT_PREINIT_ARRAY which holds a pointer to an array of pointers
   to functions that should be executed before the main program starts.

   Fix typo in debug output

   Don't adjust preinit_array while running the functions.
   Requested by christos.
VersionDeltaFile
1.221.2.2+25-2libexec/ld.elf_so/rtld.c
1.75.2.3+17-2libexec/ld.elf_so/headers.c
1.150.2.1+3-1libexec/ld.elf_so/rtld.h
+45-53 files

NetBSD/src UTvxkNAlib/csu/arch/riscv crt0.S

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

        lib/csu/arch/riscv/crt0.S: revision 1.4
        lib/csu/arch/riscv/crt0.S: revision 1.5

   Set gp via a .preinit_array function
   This fixes the sudo crash reported by Benny Siegert on port-riscv.

   No need for @progbits, i.e. be more concise.
VersionDeltaFile
1.3.4.1+16-2lib/csu/arch/riscv/crt0.S
+16-21 files

NetBSD/src hUhm4vilibexec/ld.elf_so headers.c

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

        libexec/ld.elf_so/headers.c: revision 1.78

   Fix typo in debug
VersionDeltaFile
1.65.2.2+4-4libexec/ld.elf_so/headers.c
+4-41 files