NetBSD/src vNbxcBb — usr.bin/atto README.md key.c

   atto(1): Initial import of tiny text editor, as discussed on
   tech-userlevel@.

   This is Hugh Barney's atto text editor modified for inclusion in
   NetBSD. Since the upstream repository is inactive and the original
   author wishes to keep the code base below 2000 lines of C, this is
   effectively a fork that lives in usr.bin/atto. It serves as an
   alternative to vi(1) for users more accustomed to modeless text
   editors.

   Notable changes include reworked keyboard input code to handle a wider
   range of terminals (via libcurses cursor key translation), more useful
   help for unrecognized key presses, and standardized option handling
   using getopt (with syntax highlighting disabled by default).

   Thanks martin and other folks for feedback and testing.

   ATTO(1)                 General Commands Manual                ATTO(1)


    [115 lines not shown]
VersionDeltaFile
1.1+363-0usr.bin/atto/command.c
1.1+296-0usr.bin/atto/display.c
1.1+210-0usr.bin/atto/gap.c
1.1+203-0usr.bin/atto/header.h
1.1+191-0usr.bin/atto/key.c
1.1+185-0usr.bin/atto/README.md
+1,448-015 files not shown
+2,539-621 files

NetBSD/src DljYYuY — tests/lib/libc/locale t_c8rtomb.c

   set timeout for c8rtomb_exhaustive to 1500s
VersionDeltaFile
1.9+9-3tests/lib/libc/locale/t_c8rtomb.c
+9-31 files

NetBSD/src 6h1XojH — doc CHANGES-10.3

   Ammend ticket #1380 for additional pullups
VersionDeltaFile
1.1.2.26+2-2doc/CHANGES-10.3
+2-21 files

NetBSD/src MGBjybj — lib/libc/gen pthread_atfork.c

   Additionally pull up following revision(s) (requested by riastradh in ticket #1380):

        lib/libc/gen/pthread_atfork.c: revision 1.20

   Specify MAP_ANON, the default (MAP_FILE) with a fd == -1 makes no sense.
VersionDeltaFile
1.17.2.2+4-4lib/libc/gen/pthread_atfork.c
+4-41 files

NetBSD/src UMGLOTA — tests/usr.bin/xlint/lint1 gcc.c, usr.bin/xlint/lint1 externs1.h cgram.y

   lint: implement GNU-style 'case a ... b' clauses
VersionDeltaFile
1.201+33-2usr.bin/xlint/lint1/func.c
1.8+20-1tests/usr.bin/xlint/lint1/gcc.c
1.539+3-6usr.bin/xlint/lint1/cgram.y
1.247+2-1usr.bin/xlint/lint1/externs1.h
+58-104 files

NetBSD/src ThHtYVC — sys/arch/sparc64/include cpu.h, sys/arch/sparc64/sparc64 cpu.c

   Introduce debug function print_winregs() and clear_winregs().

   These debug functions can be used to print out snapshots of the register
   window.
   The SAVE_WINREGS() macro in locore.s creates the snapshot.
VersionDeltaFile
1.141+123-2sys/arch/sparc64/sparc64/cpu.c
1.138+7-1sys/arch/sparc64/include/cpu.h
+130-32 files

NetBSD/src rMhwsvy — sys/arch/sparc64/sparc64 genassym.cf

   Remove unused offsets, but include CI_WINREGS - SAVE_WINREGS() use it.
VersionDeltaFile
1.87+1-9sys/arch/sparc64/sparc64/genassym.cf
+1-91 files

NetBSD/src ezUwLbD — sys/arch/alpha/alpha locore.s

   s/multiprocssor/multiprocessor/ in comment.
VersionDeltaFile
1.146+3-3sys/arch/alpha/alpha/locore.s
+3-31 files

NetBSD/src MI0990G — sys/arch/sparc64/sparc64 trap.c

   Improve the readability of the print_trapframe() function.

   Includes the globals, ins, locals and outs.
VersionDeltaFile
1.200+31-27sys/arch/sparc64/sparc64/trap.c
+31-271 files

NetBSD/src z2K4uUm — doc CHANGES-11.1

   Tickets #550 - #561
VersionDeltaFile
1.1.2.33+825-1doc/CHANGES-11.1
+825-11 files

NetBSD/src U2JvRBw — sys/arch/arm/ti am3_prcm.c

   Pull up following revision(s) (requested by yurix in ticket #561):

        sys/arch/arm/ti/am3_prcm.c: revision 1.15

   am335x: fix timer clock offset

   Closes PR 60910

   Fix by Elias Howell.
VersionDeltaFile
1.14.26.1+3-3sys/arch/arm/ti/am3_prcm.c
+3-31 files

NetBSD/src DsuTies — doc CHANGES-10.3

   Tickets #1394 - #1405
VersionDeltaFile
1.1.2.25+836-1doc/CHANGES-10.3
+836-11 files

NetBSD/src uNlM2Qu — sys/dev/pci if_vmx.c

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

        sys/dev/pci/if_vmx.c: revision 1.19

   fix wrong range from computing the MIN of tx and rx queues.
VersionDeltaFile
1.11.4.3+4-4sys/dev/pci/if_vmx.c
+4-41 files

NetBSD/src iLnSeLJ — sys/dev/pci if_vmx.c

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

        sys/dev/pci/if_vmx.c: revision 1.19

   fix wrong range from computing the MIN of tx and rx queues.
VersionDeltaFile
1.17.2.1+4-4sys/dev/pci/if_vmx.c
+4-41 files

NetBSD/src H2MYlFY — tests/usr.sbin/certctl t_certctl.sh, tests/usr.sbin/certctl/certs5 DigiCert_Global_Root_CA.pem DigiCert_Global_Root_CA.pem

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

        etc/mtree/NetBSD.dist.tests: revision 1.217
        tests/usr.sbin/certctl/certs5/emSign_ECC_Root_CA_-_G3.pem: revision 1.1
        tests/usr.sbin/certctl/certs5/Makefile: revision 1.1
        tests/usr.sbin/certctl/certs5/DigiCert_Global_Root_CA.pem: revision 1.1
        tests/usr.sbin/certctl/Makefile: revision 1.2
        tests/usr.sbin/certctl/t_certctl.sh: revision 1.11
        tests/usr.sbin/certctl/t_certctl.sh: revision 1.12
        usr.sbin/certctl/certctl.sh: revision 1.8
        tests/usr.sbin/certctl/certs5/Comodo_AAA_Services_root.pem: revision 1.1
        distrib/sets/lists/tests/mi: revision 1.1433

   certctl(8): Test response to updates that delete untrusted certs.

   PR bin/60916: certctl(8) doesn't gracefully handle deleting untrusted
   certs



    [4 lines not shown]
VersionDeltaFile
1.8.2.4+103-1tests/usr.sbin/certctl/t_certctl.sh
1.1.4.1+0-25tests/usr.sbin/certctl/certs5/Comodo_AAA_Services_root.pem
1.1.4.2+25-0tests/usr.sbin/certctl/certs5/Comodo_AAA_Services_root.pem
1.1.4.1+0-22tests/usr.sbin/certctl/certs5/DigiCert_Global_Root_CA.pem
1.1.4.2+22-0tests/usr.sbin/certctl/certs5/DigiCert_Global_Root_CA.pem
1.4.2.6+13-4usr.sbin/certctl/certctl.sh
+163-527 files not shown
+198-8213 files

NetBSD/src M4pNm78 — tests/usr.sbin/certctl t_certctl.sh, tests/usr.sbin/certctl/certs5 DigiCert_Global_Root_CA.pem DigiCert_Global_Root_CA.pem

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

        etc/mtree/NetBSD.dist.tests: revision 1.217
        tests/usr.sbin/certctl/certs5/emSign_ECC_Root_CA_-_G3.pem: revision 1.1
        tests/usr.sbin/certctl/certs5/Makefile: revision 1.1
        tests/usr.sbin/certctl/certs5/DigiCert_Global_Root_CA.pem: revision 1.1
        tests/usr.sbin/certctl/Makefile: revision 1.2
        tests/usr.sbin/certctl/t_certctl.sh: revision 1.11
        tests/usr.sbin/certctl/t_certctl.sh: revision 1.12
        usr.sbin/certctl/certctl.sh: revision 1.8
        tests/usr.sbin/certctl/certs5/Comodo_AAA_Services_root.pem: revision 1.1
        distrib/sets/lists/tests/mi: revision 1.1433

   certctl(8): Test response to updates that delete untrusted certs.

   PR bin/60916: certctl(8) doesn't gracefully handle deleting untrusted
   certs



    [4 lines not shown]
VersionDeltaFile
1.10.4.1+103-1tests/usr.sbin/certctl/t_certctl.sh
1.1.2.1+0-25tests/usr.sbin/certctl/certs5/Comodo_AAA_Services_root.pem
1.1.2.2+25-0tests/usr.sbin/certctl/certs5/Comodo_AAA_Services_root.pem
1.1.2.1+0-22tests/usr.sbin/certctl/certs5/DigiCert_Global_Root_CA.pem
1.1.2.2+22-0tests/usr.sbin/certctl/certs5/DigiCert_Global_Root_CA.pem
1.7.4.1+13-4usr.sbin/certctl/certctl.sh
+163-527 files not shown
+198-8213 files

NetBSD/src s4xe6OW — sys/arch/alpha/alpha machdep.c vm_machdep.c

   Pull up following revision(s) (requested by rin in ticket #1402):

        sys/arch/alpha/alpha/vm_machdep.c: revision 1.124
        sys/arch/alpha/alpha/machdep.c: revision 1.386

   alpha: Align kernel stack pointer to 16-byte boundaries
   as ABI requires. With this fix, full ATF run successfully completed
   without any regression.

   PR port-alpha/60865 NetBSD-current/alpha panics running getcwd test

   OK thorpej@
VersionDeltaFile
1.122.4.1+5-4sys/arch/alpha/alpha/vm_machdep.c
1.375.10.2+4-3sys/arch/alpha/alpha/machdep.c
+9-72 files

NetBSD/src MrljShw — sys/arch/alpha/alpha machdep.c vm_machdep.c

   Pull up following revision(s) (requested by rin in ticket #557):

        sys/arch/alpha/alpha/vm_machdep.c: revision 1.124
        sys/arch/alpha/alpha/machdep.c: revision 1.386

   alpha: Align kernel stack pointer to 16-byte boundaries
   as ABI requires. With this fix, full ATF run successfully completed
   without any regression.

   PR port-alpha/60865 NetBSD-current/alpha panics running getcwd test

   OK thorpej@
VersionDeltaFile
1.123.8.1+5-4sys/arch/alpha/alpha/vm_machdep.c
1.383.2.1+4-3sys/arch/alpha/alpha/machdep.c
+9-72 files

NetBSD/src d148Sdl — doc CHANGES

   doc: Last month of changes.
VersionDeltaFile
1.3306+22-1doc/CHANGES
+22-11 files

NetBSD/src JMsPLZR — lib/libc/include __sysctl.h __sysctl.h, lib/libc/misc stack_protector.c

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

        libexec/ld.elf_so/expand.c: revision 1.8
        libexec/ld.elf_so/paths.c: revision 1.43
        lib/libc/misc/stack_protector.c: revision 1.10
        lib/libc/include/__sysctl.h: revision 1.1

   ld.elf_so: Use __sysctl() syscall stub rather than sysctl() wrapper.

   This avoids pulling in some unnecessary junk from libc, saving on a
   couple kilobytes of space and some relative relocations at runtime.

   PR lib/59387: ld.elf_so: needlessly includes libc/gen/sysctl.c user.*
VersionDeltaFile
1.1.6.1+0-41lib/libc/include/__sysctl.h
1.1.6.2+41-0lib/libc/include/__sysctl.h
1.42.26.1+7-5libexec/ld.elf_so/paths.c
1.6.38.1+5-3libexec/ld.elf_so/expand.c
1.9.36.1+4-3lib/libc/misc/stack_protector.c
+57-525 files

NetBSD/src ELOORNY — sys/kern kern_proc.c vfs_vnode.c

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

        sys/kern/vfs_vnode.c: revision 1.160
        sys/kern/kern_proc.c: revision 1.287
        sys/kern/subr_pool.c: revision 1.296
        sys/kern/subr_pool.c: revision 1.297
        sys/kern/subr_pool.c: revision 1.299

   subr_pool.c: Sort includes.

   No functional change intended.  Preparation for:
   PR kern/58378: Kernel error code origination lacks dtrace probes


   subr_pool.c: Sprinkle SET_ERROR dtrace probes.

   PR kern/58378: Kernel error code origination lacks dtrace probes



    [61 lines not shown]
VersionDeltaFile
1.295.2.1+26-20sys/kern/subr_pool.c
1.156.2.2+5-3sys/kern/vfs_vnode.c
1.280.2.3+5-2sys/kern/kern_proc.c
+36-253 files

NetBSD/src t9f2RZl — sys/kern vfs_vnode.c

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

        sys/kern/vfs_vnode.c: revision 1.159

   vdrain: Recompute target after each iteration.

   This way if sysctl -w kern.maxvnodes=N fails, the vdrain task doesn't
   perpetually keep trying to attain the unattainable.

   Doesn't fix everything about racy access to desiredvnodes, but it
   should help with the major symptom.

   PR kern/60603: Sisyphean vdrain task
VersionDeltaFile
1.156.2.1+3-6sys/kern/vfs_vnode.c
+3-61 files

NetBSD/src 3J32UU7 — sys/arch/sparc/sparc machdep.c

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

        sys/arch/sparc/sparc/machdep.c: revision 1.342

   sparc: Load the signal handler _before_ resetting it, not after.

   Should fix SA_RESETHAND.

   PR port-sparc/59323: t_sigaction:sigaction_resethand test is failing
VersionDeltaFile
1.339.4.1+4-3sys/arch/sparc/sparc/machdep.c
+4-31 files

NetBSD/src UWU0pie — sys/kern sys_futex.c

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

        sys/kern/sys_futex.c: revision 1.26

   futex(2): Avoid returning early on timeout.

   Rounding in the arithmetic leading into cv_timedwait_sig, and any
   skew between the timecounter used by clock_gettime and the hardclock
   timer used to wake cv_timedwait_sig, can lead cv_timedwait_sig to
   wake up before the deadline as observable by clock_gettime.
   futex(FUTEX_WAIT) is not supposed to do that, so ignore when
   cv_timedwait_sig returns EWOULDBLOCK -- we'll notice the deadline has
   passed in the next iteration anyway, if it has actually passed.

   While here, make sure that we never pass less than 1 tick to
   cv_timedwait_sig -- that turns it into cv_wait_sig, to wait
   indefinitely with no timeout.

   With this change, I have not seen any failures as reported in:

    [8 lines not shown]
VersionDeltaFile
1.18.4.3+14-10sys/kern/sys_futex.c
+14-101 files

NetBSD/src 8DZmcgi — sys/kern sys_futex.c

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

        sys/kern/sys_futex.c: revision 1.23
        sys/kern/sys_futex.c: revision 1.24
        sys/kern/sys_futex.c: revision 1.25
        tests/lib/libc/sys/t_futex_ops.c: revision 1.11
        tests/lib/libc/sys/t_futex_ops.c: revision 1.12
        tests/lib/libc/sys/t_futex_ops.c: revision 1.13
        tests/lib/libc/sys/t_futex_ops.c: revision 1.14
        sys/sys/futex.h: revision 1.6
        sys/sys/futex.h: revision 1.7

   sys/futex.h: Nix trailing whitespace.

   No functional change intended.


   t_futex_ops: Spruce up diagnostics.
   - Use RL to report errno for any syscalls that set it.

    [45 lines not shown]
VersionDeltaFile
1.18.4.2+141-73sys/kern/sys_futex.c
+141-731 files

NetBSD/src ETmr7Vo — sys/kern kern_proc.c, sys/sys proc.h

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

        sys/uvm/uvm_map.c: revision 1.432
        sys/sys/proc.h: revision 1.374
        sys/kern/kern_proc.c: revision 1.284
        sys/kern/kern_proc.c: revision 1.285
        sys/kern/kern_proc.c: revision 1.286
        (all via patch)

   kern: New function proc_find_reflocked.

   This is like proc_find_locked but returns with p_reflock held rather
   than p_lock.  Will be used to replace proc_find_locked in order to
   fix:

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc

   No modules currently use proc_find_locked or proc_find_reflocked, so

    [32 lines not shown]
VersionDeltaFile
1.269.2.2+112-20sys/kern/kern_proc.c
1.403.2.5+18-4sys/uvm/uvm_map.c
1.370.4.3+3-1sys/sys/proc.h
+133-253 files

NetBSD/src PATXN4d — sys/kern kern_proc.c, sys/sys proc.h

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

        sys/uvm/uvm_map.c: revision 1.432
        sys/sys/proc.h: revision 1.374
        sys/kern/kern_proc.c: revision 1.284
        sys/kern/kern_proc.c: revision 1.285
        sys/kern/kern_proc.c: revision 1.286

   kern: New function proc_find_reflocked.

   This is like proc_find_locked but returns with p_reflock held rather
   than p_lock.  Will be used to replace proc_find_locked in order to
   fix:

   PR kern/60568: panic locking against myself (p->p_lock) in NFS from
   sysctl_vmproc

   No modules currently use proc_find_locked or proc_find_reflocked, so
   there should be no module ABI compatibility issues here.

    [31 lines not shown]
VersionDeltaFile
1.280.2.2+112-20sys/kern/kern_proc.c
1.427.2.1+18-4sys/uvm/uvm_map.c
1.373.8.1+3-1sys/sys/proc.h
+133-253 files

NetBSD/src B7swsBY — sys/nfs nfs_syscalls.c

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

        sys/nfs/nfs_syscalls.c: revision 1.166
        sys/nfs/nfs_syscalls.c: revision 1.167
        sys/nfs/nfs_var.h: revision 1.98
        sys/nfs/nfs_syscalls.c: revision 1.168
        sys/nfs/nfs_var.h: revision 1.99
        sys/nfs/nfs_syscalls.c: revision 1.169
        sys/nfs/nfs_export.c: revision 1.64
        sys/nfs/nfs_export.c: revision 1.65
        sys/nfs/nfs_syscalls.c: revision 1.170

   nfs_syscalls.c: Sort includes.

   No functional change intended.

   Preparation for:
   PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing


    [29 lines not shown]
VersionDeltaFile
1.163.10.2+34-26sys/nfs/nfs_syscalls.c
+34-261 files

NetBSD/src t4EcJgf — sys/nfs nfs_syscalls.c

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

        sys/nfs/nfs_syscalls.c: revision 1.166
        sys/nfs/nfs_syscalls.c: revision 1.167
        sys/nfs/nfs_var.h: revision 1.98
        sys/nfs/nfs_syscalls.c: revision 1.168
        sys/nfs/nfs_var.h: revision 1.99
        sys/nfs/nfs_syscalls.c: revision 1.169
        sys/nfs/nfs_export.c: revision 1.64
        sys/nfs/nfs_export.c: revision 1.65
        sys/nfs/nfs_syscalls.c: revision 1.170

   nfs_syscalls.c: Sort includes.

   No functional change intended.

   Preparation for:
   PR kern/60645: nfssvc(2): arithmetic overflow in input array sizing


    [29 lines not shown]
VersionDeltaFile
1.164.2.2+34-26sys/nfs/nfs_syscalls.c
+34-261 files

NetBSD/src huICJRb — sys/nfs nfsrtt.h nfsrvcache.h

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

        sys/nfs/rpcv2.h: revision 1.13
        sys/nfs/xdr_subs.h: revision 1.16
        sys/nfs/krpc.h: revision 1.10
        sys/nfs/nfs_vnops.c: revision 1.328
        sys/nfs/nfs_vnops.c: revision 1.329
        sys/nfs/nfsmount.h: revision 1.54
        sys/nfs/nfsdiskless.h: revision 1.33
        sys/nfs/nfsrvcache.h: revision 1.17
        sys/nfs/nfsnode.h: revision 1.77
        sys/nfs/nfs_var.h: revision 1.97
        sys/nfs/nfs.h: revision 1.81
        sys/nfs/nfsm_subs.h: revision 1.59
        sys/nfs/nfsproto.h: revision 1.18
        sys/nfs/nfsrtt.h: revision 1.11

   sys/nfs/nfs: Add some missing includes and include guards.


    [21 lines not shown]
VersionDeltaFile
1.324.4.3+43-30sys/nfs/nfs_vnops.c
1.32.48.1+37-20sys/nfs/nfsdiskless.h
1.76.4.1+9-6sys/nfs/nfsnode.h
1.96.4.1+10-4sys/nfs/nfs_var.h
1.10.50.1+8-4sys/nfs/nfsrtt.h
1.16.134.1+9-3sys/nfs/nfsrvcache.h
+116-677 files not shown
+149-9013 files