NetBSD/src TAesyPRlib/libkvm kvm_proc.c

   libkvm: fix kvm_getargv/kvm_getenvv

   these functions always fail because of a regression in 2022.
   ("read the ps arguments from the correct place.")

   this commit restores them by adding a missing p_psstrp initialization.
VersionDeltaFile
1.101+3-2lib/libkvm/kvm_proc.c
+3-21 files

NetBSD/src wbiYYrGsys/kern kern_proc.c

   sysctl_doeproc: fix an argument check

   this commit fixes a regression in 2015, which made
   kvm_getprocs(KERN_PROC_ALL) always fail.
   ("implementation of KERN_PROC_PATHNAME, some refactoring for KERN_PROC.")
VersionDeltaFile
1.281+8-3sys/kern/kern_proc.c
+8-31 files

NetBSD/src 0cMECV0doc 3RDPARTY CHANGES

   new gdb
VersionDeltaFile
1.2172+3-3doc/3RDPARTY
1.3238+2-1doc/CHANGES
+5-42 files

NetBSD/src bJhmOndshare/mk bsd.own.mk

   switch everyone to gdb-17.1 (and watch the fireworks)
VersionDeltaFile
1.1471+2-2share/mk/bsd.own.mk
+2-21 files

NetBSD/src XPoA3Utexternal/gpl3/gdb/lib/libbfd/arch/m68k bfd-in3.h bfd.h, external/gpl3/gdb/lib/libgdb/arch/m68k init.c config.h

   One last regen (m68k)
VersionDeltaFile
1.18+340-332external/gpl3/gdb/lib/libgdb/arch/m68k/init.c
1.13+69-67external/gpl3/gdb/lib/libbfd/arch/m68k/bfd-in3.h
1.13+69-67external/gpl3/gdb/lib/libbfd/arch/m68k/bfd.h
1.18+0-35external/gpl3/gdb/lib/libbfd/arch/m68k/targmatch.h
1.19+18-3external/gpl3/gdb/lib/libgdb/arch/m68k/config.h
1.13+10-10external/gpl3/gdb/lib/libgdb/arch/m68k/xml-builtin.c
+506-51410 files not shown
+532-53716 files

NetBSD/src Onm5nfFexternal/gpl3/gdb/dist config.sub, external/gpl3/gdb/dist/bfd elf.c

   merge changes between gdb-16.3 and gdb-17.1; regen
VersionDeltaFile
1.19+652-796external/gpl3/gdb/dist/bfd/elf.c
1.2+971-369external/gpl3/gdb/dist/gdb/tui/tui-io.c
1.6+795-380external/gpl3/gdb/dist/gdb/solib-svr4.c
1.4+363-435external/gpl3/gdb/dist/zlib/deflate.c
1.16+79-690external/gpl3/gdb/dist/opcodes/configure
1.17+556-173external/gpl3/gdb/dist/config.sub
+3,416-2,843647 files not shown
+23,730-22,474653 files

NetBSD/src UvvhehEsys/arch/amiga/amiga locore.s, sys/arch/atari/atari locore.s

   Clean-up / consolidation of m68k bus error / address error handling
   code.  This is not a very radical change for most m68k platforms,
   since they were using a version of this re-factored code already via
   an #include directive in locore.s.  Now, however, the bus error handlers
   are split into CPU "generation"-specific files, and brought into the
   kernel via the CPU options in the kernel config file (the goal being
   to reduce boilerplate in each locore.s).

   The more notable changes:
   - amiga and atari no longer have their own copy of each handler, and
     some of their local tweaks have been folded into the shared code.
   - sun2's bus error handling code has been re-factored into a shared
     buserr_10.s to facilitate support for other 68010-based systems (all
     of which have their own custom MMU).
   - sun3's bus error handling code has been re-refactored into the
     shared buserr_2030.s.  The Sun3-specific MMU handling is treated
     just like the HP-specific MMU handling that was already there.
     This additional #ifdef is a small price to pay for more code sharing.
   - sun3x now also uses the shared buserr_2030.s rather than an identical

    [12 lines not shown]
VersionDeltaFile
1.1+219-0sys/arch/m68k/m68k/buserr_2030.s
1.129+3-165sys/arch/atari/atari/locore.s
1.175+1-164sys/arch/amiga/amiga/locore.s
1.1+131-0sys/arch/m68k/m68k/buserr_4060.s
1.1+114-0sys/arch/m68k/m68k/buserr_10.s
1.79+1-94sys/arch/sun3/sun3x/locore.s
+469-42332 files not shown
+697-69238 files

NetBSD/src a9UbaF0sys/arch/mac68k/mac68k locore.s

   Revert v 1.189 -- I have a report that it causes problems for some.
VersionDeltaFile
1.190+5-0sys/arch/mac68k/mac68k/locore.s
+5-01 files

NetBSD/src FYd84Eiexternal/gpl3/gdb/dist sha256.sum, external/gpl3/gdb/dist/bfd/po ms.po

   Import gdb-17.1, previous was 16.3

   This version of GDB includes the following changes and enhancements:

   * x86-64 CET shadow stack support
   * Debugging Linux programs that use AArch64 Guarded Control Stacks
   * GDB record feature now supports rv64gc architectures
   * 'info threads' command support for two new options '-stopped' and
     '-running' to limit the list of displayed threads.
   * On Linux and FreeBSD, the addresses shown by the 'info
     sharedlibrary' command are now for the full memory range
     allocated to the shared library.
   * Linux checkpoints now work with multiple inferiors
   * Improved linker namespace support
   * Warnings and error messages now start with an emoji (warning
     sign, or cross mark) if supported by the host charset.
     Configurable.
   * Built-in support for TLS on Linux as backup when libthread_db is
     not available. Supported on the x86_64, aarch64, ppc64, s390x,

    [72 lines not shown]
VersionDeltaFile
1.1.1.13+17,373-16,765external/gpl3/gdb/dist/opcodes/i386-tbl.h
1.1.1.12+12,418-11,499external/gpl3/gdb/dist/opcodes/aarch64-dis-2.c
1.1.1.4+9,359-9,117external/gpl3/gdb/dist/sha256.sum
1.1.1.12+6,011-5,443external/gpl3/gdb/dist/gdb/po/gdb.pot
1.1.1.5+2,722-5,191external/gpl3/gdb/dist/gdb/dwarf2/read.c
1.1.1.2+3,357-3,043external/gpl3/gdb/dist/bfd/po/ms.po
+51,240-51,0589,635 files not shown
+174,284-116,2279,641 files

NetBSD/src 6P2CF8Atests/usr.bin/xlint/lint1 msg_193.c

   tests/lint: test reachability after a switch statement
VersionDeltaFile
1.23+118-3tests/usr.bin/xlint/lint1/msg_193.c
+118-31 files

NetBSD/src Ko6mziGsys/ddb db_run.c, sys/dev/i2c motoi2creg.h

   Fix typos in comments.
VersionDeltaFile
1.34+3-3sys/ddb/db_run.c
1.15+3-3sys/dev/microcode/aic7xxx/aicasm.c
1.4+2-2sys/dev/i2c/motoi2creg.h
1.29+2-2sys/dev/ic/nvmevar.h
+10-104 files

NetBSD/src xOcpv1Qsbin/gpt main.c

   gpt: fix compile-time integer overflow for terabytes and petabytes

   Previously, overly large values for mediasize in TB and PB were accepted
   and processed modulo 1<<64.

   lint complained: main.c(223): warning:
       '18446744073708503040 * 1024' overflows 'unsigned long'
VersionDeltaFile
1.19+13-17sbin/gpt/main.c
+13-171 files

NetBSD/src ZIEbmnwbin/sh exec.c

   Improve the type builtin command slightly.

   Get rid of the "is a tracked alias for" nonsense response, which
   adds no useful information (just confusion) - if "type foo" said
   foo is /usr/bin/foo, the next time it would say foo is a tracked
   alias for /usr/bin/foo (with nothing else changing or happening
   at all).   I had intended to remove that attribution years ago,
   and I was actually sure that I had done so, but it turns out, that
   somehow it got forgotten.   Now the result for "type foo" (assuming
   that foo isn't changing externally, by being renamed, or created,
   or something similar,  or PATH changing) will be the same each time
   the command is run.

   While doing that, also improve the output should someone request
   the type of '' (probably as a result of type "${foo}" where foo
   is empty, or a name typo, or similar).
VersionDeltaFile
1.60+8-5bin/sh/exec.c
+8-51 files

NetBSD/src CdDWiaTtests/usr.bin/xlint/lint1 msg_386.c, usr.bin/xlint/lint1 cksnprintb.c

   lint: do not warn about snprintb mixing 'f' with ':'

   Most often, 'f' is used with '=', but in cases where the description
   does not start with an identifier, there is no risk of pasting the
   number and the value description together without a separator.
VersionDeltaFile
1.17+15-3usr.bin/xlint/lint1/cksnprintb.c
1.2+12-4tests/usr.bin/xlint/lint1/msg_386.c
+27-72 files

NetBSD/src 4jJRFQzcommon/lib/libutil snprintb.c, lib/libutil snprintb.3

   snprintb: allow 'F' and 'f' to be freely mixed with '=' and ':'

   This restores the behavior from NetBSD 10.

   While in most cases, 'f' is used with '=' and 'F' is used with ':',
   there are useful cases for the other combinations as well, so allow
   them.

   Planned for pull-up to NetBSD 11.
VersionDeltaFile
1.42+83-33tests/lib/libutil/t_snprintb.c
1.51+4-17common/lib/libutil/snprintb.c
1.41+7-10lib/libutil/snprintb.3
+94-603 files

NetBSD/src Sx7WgvUtests/lib/libutil t_snprintb.c

   tests/snprintb: ensure that the value has power-of-two digits

   In direct calls to h_snprintb_m_len, several arguments are integers, so
   provide a way to distinguish them visually by forcing the value to be
   given in hexadecimal. The buffer sizes are typically given in decimal.

   Prevent excess or forgotten digits by requiring the number of digits in
   the value to be a power of two.
VersionDeltaFile
1.41+12-4tests/lib/libutil/t_snprintb.c
+12-41 files

NetBSD/src i4LdTJ5tests/lib/libutil t_snprintb.c

   tests/snprintb: test for out-of-memory writes

   In 2024, snprintb_m did that in a few scenarios.
VersionDeltaFile
1.40+24-8tests/lib/libutil/t_snprintb.c
+24-81 files

NetBSD/src NKRGSh1share/mk bsd.own.mk

   switch everyone to gdb.old
VersionDeltaFile
1.1470+3-3share/mk/bsd.own.mk
+3-31 files

NetBSD/src Mt1HUlmexternal/gpl3/gdb.old/dist/gdb gdbarch.c, external/gpl3/gdb.old/dist/gdb/features nios2.xml nios2.c

   remove obsolete files.
VersionDeltaFile
1.12+0-0external/gpl3/gdb.old/dist/gdb/features/nios2.xml
1.9+0-0external/gpl3/gdb.old/dist/gdb/features/nios2.c
1.12+0-0external/gpl3/gdb.old/dist/gdb/gdbarch.c
1.12+0-0external/gpl3/gdb.old/dist/gdb/features/nios2-linux.xml
1.12+0-0external/gpl3/gdb.old/dist/gdb/features/nios2-cpu.xml
1.12+0-0external/gpl3/gdb.old/dist/gdb/features/i386/64bit-mpx.xml
+0-046 files not shown
+0-052 files

NetBSD/src p32NPQdexternal/gpl3/gdb.old/dist/bfd/po es.po bfd.pot, external/gpl3/gdb.old/dist/gdb dbxread.c

   merge
VersionDeltaFile
1.12+19,635-15,668external/gpl3/gdb.old/dist/opcodes/i386-tbl.h
1.8+6,124-4,613external/gpl3/gdb.old/dist/bfd/po/es.po
1.12+4,552-3,260external/gpl3/gdb.old/dist/opcodes/aarch64-dis-2.c
1.12+3-2,974external/gpl3/gdb.old/dist/gdb/dbxread.c
1.11+1,511-1,455external/gpl3/gdb.old/dist/bfd/po/bfd.pot
1.9+1,504-1,409external/gpl3/gdb.old/dist/bfd/po/ro.po
+33,329-29,3791,545 files not shown
+71,688-57,4721,551 files

NetBSD/src 5S2Z6xPexternal/gpl3/gdb.old/dist sha256.sum, external/gpl3/gdb.old/dist/bfd/po es.po ms.po

   import gdb from netbsd-current to gdb.old
VersionDeltaFile
1.1.1.10+19,628-15,661external/gpl3/gdb.old/dist/opcodes/i386-tbl.h
1.1.1.4+6,125-4,614external/gpl3/gdb.old/dist/bfd/po/es.po
1.1+9,711-0external/gpl3/gdb.old/dist/bfd/po/ms.po
1.1.1.10+4,577-3,285external/gpl3/gdb.old/dist/opcodes/aarch64-dis-2.c
1.1+5,531-0external/gpl3/gdb.old/dist/gdb/gdbarch-gen.c
1.1.1.3+2,384-2,227external/gpl3/gdb.old/dist/sha256.sum
+47,956-25,7873,035 files not shown
+146,200-75,5283,041 files

NetBSD/src 0gtuK8Kbin/ksh shf.c, sys/arch/atari/atari intr.c

   Fix various typos in comments.
VersionDeltaFile
1.39+3-3sys/arch/shark/shark/scr.c
1.34+3-3sys/arch/atari/atari/intr.c
1.16+3-3sys/arch/x68k/stand/boot_ufs/readufs_ffs.c
1.22+3-3sys/arch/dreamcast/dev/g2/gapspci_dma.c
1.17+3-3sys/arch/dreamcast/dev/g2/g2bus_bus_mem.c
1.17+3-3bin/ksh/shf.c
+18-189 files not shown
+37-3715 files

NetBSD/src FZj8fQgusr.bin/sed Makefile

   Don't require libutil for HOSTPROG
VersionDeltaFile
1.19+5-2usr.bin/sed/Makefile
+5-21 files

NetBSD/src KWxVA08usr.bin/telnet telnet.c commands.c

   Only send exported variables (from OpenBSD):
   https://www.openwall.com/lists/oss-security/2026/03/13/1
VersionDeltaFile
1.45+7-7usr.bin/telnet/telnet.c
1.81+4-4usr.bin/telnet/commands.c
1.15+3-3usr.bin/telnet/authenc.c
1.45+2-2usr.bin/telnet/externs.h
+16-164 files

NetBSD/src SGGE1Pjsys/uvm/pmap pmap.c

   Improve pmaphist debug
VersionDeltaFile
1.83+7-6sys/uvm/pmap/pmap.c
+7-61 files

NetBSD/src hkSJueYsys/dev/tc sticreg.h

   s/intererupts/interrupts/ in comment.
VersionDeltaFile
1.11+2-2sys/dev/tc/sticreg.h
+2-21 files

NetBSD/src klvChJ2usr.bin/make main.c var.c, usr.bin/make/unit-tests varname-dot-make-save_dollars.mk suff-transform-debug.exp

   make: ensure .MAKE.SAVE_DOLLARS is set.

   This makes it possible for macros to be set so as to work correctly
   whether .MAKE.SAVE_DOLLARS is "yes" (NetBSD) or "no" (bmake).
VersionDeltaFile
1.8+6-6usr.bin/make/unit-tests/varname-dot-make-save_dollars.mk
1.668+7-2usr.bin/make/main.c
1.1179+3-4usr.bin/make/var.c
1.365+3-1usr.bin/make/make.h
1.11+1-0usr.bin/make/unit-tests/suff-transform-debug.exp
1.16+1-0usr.bin/make/unit-tests/opt-debug-graph1.exp
+21-133 files not shown
+24-139 files

NetBSD/src rKSoFJMsys/arch/m68k/m68k trap_subr.s

   Make sure faultstkadjnotrap2 is a global symbol.
VersionDeltaFile
1.18+3-1sys/arch/m68k/m68k/trap_subr.s
+3-11 files

NetBSD/src yJwDLpPusr.bin/sed compile.c misc.c

   - Simplify processing by centralizing: no need to prefix all errors with
     "%lu: %s: " and pass fname, lineno to each; do it in one place.
   - Use emalloc and friends instead of homegrown xmalloc and friends.
VersionDeltaFile
1.56+73-85usr.bin/sed/compile.c
1.16+21-34usr.bin/sed/misc.c
1.55+10-9usr.bin/sed/process.c
1.39+6-5usr.bin/sed/main.c
1.21+3-4usr.bin/sed/extern.h
1.18+3-1usr.bin/sed/Makefile
+116-1386 files

NetBSD/src aGvE9wLlib/libc/time localtime.c

   fix sparc64 lint
VersionDeltaFile
1.153+3-3lib/libc/time/localtime.c
+3-31 files