CVS commit: src/sys/kern

2020-09-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Sep 17 11:37:35 UTC 2020

Modified Files:
src/sys/kern: kern_proc.c

Log Message:
PR kern/55665: temporarily comment out an assertion that is known to
trigger in some conditions (where ignoring the wrap around does no harm
for now)


To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/sys/kern/kern_proc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/net/arp

2020-09-17 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Sep 17 11:51:01 UTC 2020

Modified Files:
src/tests/net/arp: t_arp.sh

Log Message:
arp_rtm: Only ping once

Pointless doing 10 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/tests/net/arp/t_arp.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/net/ndp

2020-09-17 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Thu Sep 17 11:56:35 UTC 2020

Modified Files:
src/tests/net/ndp: t_ndp.sh

Log Message:
ndp_rtm: Only ping once

Pointless doing 3 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/tests/net/ndp/t_ndp.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/nfsd

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 12:48:13 UTC 2020

Modified Files:
src/usr.sbin/nfsd: nfsd.c

Log Message:
Revert previous, don't write to the parent too early because it can exit
before the child is ready to serve. The child will write in daemon2_detach()
when it is ready.
While here:
- return EXIT_{SUCCESS,FAILURE)
- check syscall error against -1


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/usr.sbin/nfsd/nfsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common

2020-09-17 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Sep 17 15:42:17 UTC 2020

Modified Files:
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common:
sanitizer_stoptheworld_netbsd_libcdep.cc

Log Message:
Undo setting _KERNTYPES

The sparc ptrace(2) headers were fixed to work without defined _KERNTYPES.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \

src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common

2020-09-17 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Sep 17 15:43:24 UTC 2020

Modified Files:
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common:
sanitizer_stoptheworld_netbsd_libcdep.cc

Log Message:
Use internal_ptrace() instead of ptrace()

Cherry-pick:

commit 0008fb343704bafc3469703be930b8a65d7c47fa
Author: Kamil Rytarowski 
Date:   Mon Sep 14 10:10:49 2020 +0200

[compiler-rt] [netbsd] Use internal_ptrace() instead of ptrace()


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \

src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/dist/libctf

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:05:14 UTC 2020

Modified Files:
src/external/gpl3/gdb/dist/libctf: ctf-endian.h

Log Message:
Avoid re-definitions


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/libctf/ctf-endian.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tools/gdb

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:05:34 UTC 2020

Modified Files:
src/tools/gdb: mknative-gdb

Log Message:
refine


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tools/gdb/mknative-gdb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/lib/libgdb

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:06:27 UTC 2020

Modified Files:
src/external/gpl3/gdb/lib/libgdb: Makefile
Added Files:
src/external/gpl3/gdb/lib/libgdb: dwarf2-frame.c

Log Message:
Avoid name conflict


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/external/gpl3/gdb/lib/libgdb/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gdb/lib/libgdb/dwarf2-frame.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/lib/libgdb/arch

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:07:41 UTC 2020

Removed Files:
src/external/gpl3/gdb/lib/libgdb/arch/aarch64/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/alpha/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/arm/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/armeb/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/hppa/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/i386/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/m68000/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/m68k/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/mips64el/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/mipseb/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/mipsel/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/powerpc/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/powerpc64/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/sh3eb/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/sparc/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/sparc64/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/vax/build-gnulib: config.h
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/build-gnulib: config.h

Log Message:
remove obsolete


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/aarch64/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/alpha/build-gnulib/config.h
cvs rdiff -u -r1.8 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/arm/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/armeb/build-gnulib/config.h
cvs rdiff -u -r1.5 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h
cvs rdiff -u -r1.8 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/hppa/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/i386/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/m68000/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/m68k/build-gnulib/config.h
cvs rdiff -u -r1.8 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib/config.h
cvs rdiff -u -r1.8 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/mips64el/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/mipseb/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/mipsel/build-gnulib/config.h
cvs rdiff -u -r1.8 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/powerpc/build-gnulib/config.h
cvs rdiff -u -r1.8 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/powerpc64/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/sh3eb/build-gnulib/config.h
cvs rdiff -u -r1.7 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib/config.h
cvs rdiff -u -r1.10 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/sparc/build-gnulib/config.h
cvs rdiff -u -r1.9 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/sparc64/build-gnulib/config.h
cvs rdiff -u -r1.8 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/vax/build-gnulib/config.h
cvs rdiff -u -r1.9 -r0 \
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/build-gnulib/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tools/gdb

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:09:18 UTC 2020

Modified Files:
src/tools/gdb: mknative-gdb

Log Message:
remove obsolete


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tools/gdb/mknative-gdb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/lib

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:36:40 UTC 2020

Modified Files:
src/external/gpl3/gdb/lib: Makefile
src/external/gpl3/gdb/lib/libgdb: Makefile
Added Files:
src/external/gpl3/gdb/lib/libctf: Makefile
src/external/gpl3/gdb/lib/libctf/arch/x86_64: config.h defs.mk
src/external/gpl3/gdb/lib/libgdbsupport: Makefile
src/external/gpl3/gdb/lib/libgdbsupport/arch/x86_64: defs.mk
src/external/gpl3/gdb/lib/libgdbsupport/arch/x86_64/gdbsupport:
config.h
src/external/gpl3/gdb/lib/libgnulib: Makefile
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64: defs.mk
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib: config.h
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import: alloca.h
ctype.h dirent.h fcntl.h fnmatch.h glob.h inttypes.h limits.h
locale.h math.h signal.h stdint.h stdio.h stdlib.h string.h time.h
unistd.h wchar.h wctype.h

Log Message:
Add new libraries, adjust old ones


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gdb/lib/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gdb/lib/libctf/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gdb/lib/libctf/arch/x86_64/config.h \
src/external/gpl3/gdb/lib/libctf/arch/x86_64/defs.mk
cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/gdb/lib/libgdb/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gdb/lib/libgdbsupport/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gdb/lib/libgdbsupport/arch/x86_64/defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gdb/lib/libgdbsupport/arch/x86_64/gdbsupport/config.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gdb/lib/libgnulib/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/config.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/alloca.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/ctype.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/dirent.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/fcntl.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/fnmatch.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/glob.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/inttypes.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/limits.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/locale.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/math.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/signal.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdint.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdio.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/stdlib.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/string.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/time.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/unistd.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/wchar.h \
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/wctype.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/bin/gdb

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:38:10 UTC 2020

Modified Files:
src/external/gpl3/gdb/bin/gdb: Makefile

Log Message:
Add new libraries


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/gpl3/gdb/bin/gdb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/lib/libctf

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:45:35 UTC 2020

Modified Files:
src/external/gpl3/gdb/lib/libctf: Makefile

Log Message:
Generate ctf-error.h


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gdb/lib/libctf/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tools/gdb

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 16:54:31 UTC 2020

Modified Files:
src/tools/gdb: mknative-gdb

Log Message:
put gnulib stuff under gnulib/ because things import "gnulib/config.h"


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tools/gdb/mknative-gdb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2020-09-17 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Sep 17 17:04:31 UTC 2020

Modified Files:
src/sys/dev/pci: virtio_pci.c

Log Message:
Ensure interrupt handles buffer is zeroed on allocation

Prevents crashes trying to deallocate interrupts at shutdown.

Found by kim and mlelstv, confirmed by me


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/virtio_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2020-09-17 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Sep 17 17:09:59 UTC 2020

Modified Files:
src/sys/dev/pci: virtio.c

Log Message:
Fix word-o of function name in comment


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/virtio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2020-09-17 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Sep 17 17:33:51 UTC 2020

Modified Files:
src/sys/dev/pci: virtio_pci.c

Log Message:
Ensure MSI-X is disabled if allocation of MSI-X interrupts fail.

The virtio device config space moves out from under us when MSI-X
remains enabled, and/or INTx interrupts are masked if we don't ensure
this.

This un-breaks virtio devices that run out of MSI-X interrupts.
Particularly a problem on uniproc x86, where there are only 8 or 9
vectors available, allowing for only about 4 virtio devices to use
MSI-X.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/virtio_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/dist/gdb/doc

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 20:13:20 UTC 2020

Added Files:
src/external/gpl3/gdb/dist/gdb/doc: gcore.1 gdb-add-index.1 gdb.1
gdbinit.5 gdbserver.1

Log Message:
commit generated man pages


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 src/external/gpl3/gdb/dist/gdb/doc/gcore.1 \
src/external/gpl3/gdb/dist/gdb/doc/gdb-add-index.1 \
src/external/gpl3/gdb/dist/gdb/doc/gdb.1 \
src/external/gpl3/gdb/dist/gdb/doc/gdbinit.5 \
src/external/gpl3/gdb/dist/gdb/doc/gdbserver.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/gpl3/gdb/bin

2020-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 17 20:26:22 UTC 2020

Modified Files:
src/external/gpl3/gdb/bin/gdb: Makefile
src/external/gpl3/gdb/bin/gdbtui: Makefile

Log Message:
fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gdb/bin/gdb/Makefile
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gdb/bin/gdbtui/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/etc

2020-09-17 Thread Juraj Lutter
Module Name:src
Committed By:   otis
Date:   Thu Sep 17 20:29:04 UTC 2020

Modified Files:
src/etc: rc.subr

Log Message:
Fix waiting for PIDs on stop.

Fix expansion of positional parameters. Also move the local
variable declaration to more apropriate place.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/etc/rc.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/alpha/alpha

2020-09-17 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Sep 18 00:02:43 UTC 2020

Modified Files:
src/sys/arch/alpha/alpha: db_interface.c

Log Message:
Use alpha_pal_swpipl() directly instead of splhigh()/splx(), do avoid
soft int processing while dealing with entering / leaving the debugger.
Soft ints will be correctly handled during exception_return().


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/alpha/alpha/db_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/alpha/alpha

2020-09-17 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Sep 18 00:04:58 UTC 2020

Modified Files:
src/sys/arch/alpha/alpha: debug.s

Log Message:
Fix entering the kernel debugger when MULTIPROCESSOR is enabled; the
arguments to alpha_debug() were getting clobbered by the call to
cpu_pause_resume_all(), but they need to be passed along to ddb_trap().


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/alpha/alpha/debug.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/alpha/alpha

2020-09-17 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Sep 18 00:06:36 UTC 2020

Modified Files:
src/sys/arch/alpha/alpha: vm_machdep.c

Log Message:
Rather than having exception_return() at the root of the call graph for
kernel threads, provide a backstop that will prevent them from ever
accidentally trying to return to user space.


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/arch/alpha/alpha/vm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/alpha/include

2020-09-17 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Sep 18 00:07:22 UTC 2020

Modified Files:
src/sys/arch/alpha/include: alpha.h

Log Message:
Rather than having exception_return() at the root of the call graph for
kernel threads, provide a backstop that will prevent them from ever
accidentally trying to return to user space.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/alpha/include/alpha.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/alpha/alpha

2020-09-17 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Sep 18 00:09:29 UTC 2020

Modified Files:
src/sys/arch/alpha/alpha: db_trace.c

Log Message:
- Add exception_return() to the list of trap vector symbols, which will
  enable us to trace back through an exception if the fault happens
  during the exception return.
- Identify and report the kernel thread backstop when back tracing
  kernel threads.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/alpha/alpha/db_trace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/alpha/alpha

2020-09-17 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Sep 18 00:11:31 UTC 2020

Modified Files:
src/sys/arch/alpha/alpha: locore.s

Log Message:
- Give lwp0 the same kernel thread backstop as all of the others get
  in cpu_lwp_fork().
- Add a bunch of comments to lwp_trampoline() to explain what's going on.
- In alpha_softint_switchto() tweak how we save the RA in the stack frame.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/sys/arch/alpha/alpha/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/bin/sh

2020-09-17 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Fri Sep 18 06:48:28 UTC 2020

Modified Files:
src/bin/sh: sh.1

Log Message:
Correct an incorrectly quoted (unquoted, but should be) example used in
the "local" built-in command description (pointed out by mrg@ via uwe@ in
private e-mail).

Add a description to the export command of why this quoting is required,
and then refer to it from local and readonly (explained in export as that
one comes first).

Note that some shells parse export/local/readonly (and often more) as
"declarative" commands, and this quoting isn't needed (provided the
command name is literal and not the result of an expansion) making
X=$Y type args not require quoting, as they often don't in a regular
variable assignment (preceding, or not part of, another command).
POSIX is going to allow, but not require, that behaviour.  We do not
implement it.


To generate a diff of this commit:
cvs rdiff -u -r1.227 -r1.228 src/bin/sh/sh.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.