CVS commit: othersrc/usr.bin/sleepto

2021-02-25 Thread Simon Burge
Module Name:othersrc
Committed By:   simonb
Date:   Thu Feb 25 08:40:43 UTC 2021

Modified Files:
othersrc/usr.bin/sleepto: parsetime.c stime.h

Log Message:
Include the "from" CVS tags.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/usr.bin/sleepto/parsetime.c
cvs rdiff -u -r1.1 -r1.2 othersrc/usr.bin/sleepto/stime.h

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



CVS commit: othersrc/usr.bin/sleepto

2021-02-25 Thread Simon Burge
Module Name:othersrc
Committed By:   simonb
Date:   Thu Feb 25 08:42:31 UTC 2021

Modified Files:
othersrc/usr.bin/sleepto: sleepto.c

Log Message:
Adapt rev 1.23 of bin/sleep/sleep.c:

  add SIGINFO support; from freebsd:

  when a SIGINFO is delivered, display the approximate remaining seconds.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/usr.bin/sleepto/sleepto.c

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



CVS commit: [netbsd-9] src/sys/arch/m68k/m68k

2021-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb 25 09:36:27 UTC 2021

Modified Files:
src/sys/arch/m68k/m68k [netbsd-9]: reenter_syscall.s

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1214):

sys/arch/m68k/m68k/reenter_syscall.s: revision 1.5
sys/arch/m68k/m68k/reenter_syscall.s: revision 1.6
sys/arch/m68k/m68k/reenter_syscall.s: revision 1.7

Replace magic numbers with proper macros prepared in assym.h.

No binary changes.

Note this is a preparation for a possible fix of PR port-m68k/55990.

Consistently use motorola style.  No binary changes.
Seems missed in rev 1.3:
 https://mail-index.netbsd.org/source-changes/2013/08/01/msg046378.html

Plug kernel stack leaks in reenter_syscall() for setcontext(2).
This fixes long standing kernel crashes (MMU fault, address error,
and silent freeze by a double bus fault etc. seen for ~10 years)
caused by kernel stack overflow, especially on x68k and sun3 running
Xorg based servers.  See PR/55990 for more details.

"This change seems perfectly reasonable" from thorpej@ and
jklos@ also reported this also solved freeze of his mac68k system
with 10 megabyes of memory.

Should be pulled up to netbsd-9 and netbsd-8.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.34.1 src/sys/arch/m68k/m68k/reenter_syscall.s

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



CVS commit: [netbsd-9] src/doc

2021-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb 25 09:37:34 UTC 2021

Modified Files:
src/doc [netbsd-9]: CHANGES-9.2

Log Message:
Ticket #1214


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.49 -r1.1.2.50 src/doc/CHANGES-9.2

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



CVS commit: [netbsd-8] src/sys/arch/m68k/m68k

2021-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb 25 09:38:48 UTC 2021

Modified Files:
src/sys/arch/m68k/m68k [netbsd-8]: reenter_syscall.s

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1659):

sys/arch/m68k/m68k/reenter_syscall.s: revision 1.5
sys/arch/m68k/m68k/reenter_syscall.s: revision 1.6
sys/arch/m68k/m68k/reenter_syscall.s: revision 1.7

Replace magic numbers with proper macros prepared in assym.h.

No binary changes.

Note this is a preparation for a possible fix of PR port-m68k/55990.

Consistently use motorola style.  No binary changes.
Seems missed in rev 1.3:
 https://mail-index.netbsd.org/source-changes/2013/08/01/msg046378.html

Plug kernel stack leaks in reenter_syscall() for setcontext(2).
This fixes long standing kernel crashes (MMU fault, address error,
and silent freeze by a double bus fault etc. seen for ~10 years)
caused by kernel stack overflow, especially on x68k and sun3 running
Xorg based servers.  See PR/55990 for more details.

"This change seems perfectly reasonable" from thorpej@ and
jklos@ also reported this also solved freeze of his mac68k system
with 10 megabyes of memory.

Should be pulled up to netbsd-9 and netbsd-8.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.22.1 src/sys/arch/m68k/m68k/reenter_syscall.s

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



CVS commit: [netbsd-8] src/doc

2021-02-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Feb 25 09:39:58 UTC 2021

Modified Files:
src/doc [netbsd-8]: CHANGES-8.3

Log Message:
Ticket #1659


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.74 -r1.1.2.75 src/doc/CHANGES-8.3

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



CVS commit: othersrc/usr.bin/sleepto

2021-02-25 Thread Simon Burge
Module Name:othersrc
Committed By:   simonb
Date:   Thu Feb 25 10:18:38 UTC 2021

Modified Files:
othersrc/usr.bin/sleepto: sleepto.c

Log Message:
Use %lld and cast to "long long" for any time_t's.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/usr.bin/sleepto/sleepto.c

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



CVS commit: src/tools/compat

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 13:41:58 UTC 2021

Modified Files:
src/tools/compat: Makefile compat_defs.h configure configure.ac
nbtool_config.h.in

Log Message:
Add reallocarray; this is used by the new regex code and we don't want to
convert it to reallocarr so the code is kept similar with the original from
FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/tools/compat/Makefile
cvs rdiff -u -r1.117 -r1.118 src/tools/compat/compat_defs.h
cvs rdiff -u -r1.98 -r1.99 src/tools/compat/configure \
src/tools/compat/configure.ac
cvs rdiff -u -r1.52 -r1.53 src/tools/compat/nbtool_config.h.in

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



CVS commit: src/lib/libc/regex

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 13:42:16 UTC 2021

Modified Files:
src/lib/libc/regex: regcomp.c

Log Message:
protect MIN from re-definition


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/lib/libc/regex/regcomp.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

2021-02-25 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb 25 19:11:44 UTC 2021

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

Log Message:
match Geforce FX5200 Go found in some iMac G5 models


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/gffb.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/macppc/dev

2021-02-25 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb 25 20:49:08 UTC 2021

Modified Files:
src/sys/arch/macppc/dev: smu.c

Log Message:
deal with node name inconsistencies between PowerMac10,x and 8,x
Now we find fans and iic devices on iMac G5


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/macppc/dev/smu.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/macppc/dev

2021-02-25 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Feb 25 20:51:10 UTC 2021

Modified Files:
src/sys/arch/macppc/dev: smuiic.c

Log Message:
more node name adjustments
also, pass sensor names if we can find them
now we find and currectly use the hard drive temperature sensor on my iMac G5


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/macppc/dev/smuiic.c

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



CVS commit: src/distrib/utils/libhack

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 21:24:00 UTC 2021

Modified Files:
src/distrib/utils/libhack: Makefile.inc

Log Message:
Add regcomp.c and regexec.c so that we get a version that does not use NLS
and brings in all the locale code.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/distrib/utils/libhack/Makefile.inc

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



CVS commit: src/lib/libc/regex

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 21:28:40 UTC 2021

Modified Files:
src/lib/libc/regex: engine.c regcomp.c regexec.c regfree.c utils.h

Log Message:
Add glue to disable locale code in order to be smaller.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/regex/engine.c
cvs rdiff -u -r1.41 -r1.42 src/lib/libc/regex/regcomp.c
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/regex/regexec.c
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/regex/regfree.c
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/regex/utils.h

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



CVS commit: src/distrib/amiga/miniroot

2021-02-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Feb 25 21:46:55 UTC 2021

Modified Files:
src/distrib/amiga/miniroot: Makefile.inc install.md

Log Message:
Oops, forgot to commit this. One more adjust for amiga/boot ver 3.1.

Shuold fix build.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/distrib/amiga/miniroot/Makefile.inc
cvs rdiff -u -r1.31 -r1.32 src/distrib/amiga/miniroot/install.md

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



CVS commit: src/lib/libc/regex

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 21:47:46 UTC 2021

Modified Files:
src/lib/libc/regex: engine.c regcomp.c

Log Message:
fix NLS compilation


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/regex/engine.c
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/regex/regcomp.c

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



CVS commit: src/external/bsd/nvi/usr.bin/nvi

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 21:56:35 UTC 2021

Modified Files:
src/external/bsd/nvi/usr.bin/nvi: Makefile

Log Message:
we don't need the extra copy wide-regex anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/bsd/nvi/usr.bin/nvi/Makefile

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



CVS commit: src/lib/libc/regex

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 21:59:27 UTC 2021

Modified Files:
src/lib/libc/regex: regcomp.c

Log Message:
add missing _


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/lib/libc/regex/regcomp.c

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



CVS commit: src/tests/lib/libc/regex

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Feb 25 22:37:37 UTC 2021

Modified Files:
src/tests/lib/libc/regex: Makefile debug.c

Log Message:
Adjust for conditional NLS


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/lib/libc/regex/Makefile
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/regex/debug.c

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



CVS commit: src/external/bsd/nvi/usr.bin/nvi

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 26 00:41:56 UTC 2021

Modified Files:
src/external/bsd/nvi/usr.bin/nvi: Makefile

Log Message:
Put back local regex (thanks Rin)


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/nvi/usr.bin/nvi/Makefile

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



CVS commit: src/sys/dev/usb

2021-02-25 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Fri Feb 26 01:38:44 UTC 2021

Modified Files:
src/sys/dev/usb: if_urtwn.c

Log Message:
Also free assocated mbufs.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/usb/if_urtwn.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/hppa/include

2021-02-25 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Feb 26 01:48:20 UTC 2021

Modified Files:
src/sys/arch/hppa/include: vmparam.h

Log Message:
Use a valuely human readable number for MAXTSIZ.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/hppa/include/vmparam.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/sparc64/include

2021-02-25 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Feb 26 02:01:16 UTC 2021

Modified Files:
src/sys/arch/sparc64/include: vmparam.h

Log Message:
Say what 1UL<<39 (MAXDSIZ value) is in the comment.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/sparc64/include/vmparam.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

2021-02-25 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Feb 26 02:18:29 UTC 2021

Modified Files:
src/sys/arch/mips/include: vmparam.h
src/sys/arch/riscv/include: vmparam.h

Log Message:
Drop 64-bit default stack sizes back to 4MB.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/mips/include/vmparam.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/riscv/include/vmparam.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

2021-02-25 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Feb 26 02:18:57 UTC 2021

Modified Files:
src/sys/arch/amigappc/amigappc: locore.S
src/sys/arch/bebox/bebox: locore.S
src/sys/arch/evbppc/ev64260: ev64260_locore.S
src/sys/arch/evbppc/pmppc: pmppc_locore.S
src/sys/arch/ibmnws/ibmnws: locore.S
src/sys/arch/macppc/macppc: locore.S
src/sys/arch/mvmeppc/mvmeppc: locore.S
src/sys/arch/ofppc/ofppc: locore.S
src/sys/arch/powerpc/oea: cpu_subr.c
src/sys/arch/prep/prep: locore.S
src/sys/arch/rs6000/rs6000: locore.S
src/sys/arch/sandpoint/sandpoint: locore.S

Log Message:
Declare oeacpufeat once, in powerpc/oea/cpu_subr.c, rather than in
N different locore.S files.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/amigappc/amigappc/locore.S
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/bebox/bebox/locore.S
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/evbppc/ev64260/ev64260_locore.S
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbppc/pmppc/pmppc_locore.S
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/ibmnws/ibmnws/locore.S
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/macppc/macppc/locore.S
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mvmeppc/mvmeppc/locore.S
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/ofppc/ofppc/locore.S
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/powerpc/oea/cpu_subr.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/prep/prep/locore.S
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/rs6000/rs6000/locore.S
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sandpoint/sandpoint/locore.S

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



CVS commit: src/usr.bin/who

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 26 02:45:43 UTC 2021

Modified Files:
src/usr.bin/who: utmpentry.c

Log Message:
PR/56013: Kouichi Hashikawa: Move setutent/setutxent right before the loops.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/who/utmpentry.c

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



CVS commit: src/external/bsd/nvi/usr.bin/nvi

2021-02-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Feb 26 02:54:21 UTC 2021

Modified Files:
src/external/bsd/nvi/usr.bin/nvi: Makefile

Log Message:
Misc cleanups:

- built-in regex is required only when ${USE_WIDECHAR} == "yes"

- -DUSE_WIDECHAR cpp flag should be determined by ${USE_WIDECHAR},
  not ${USE_BUILTIN_REGEX}

- reduce .if -- .endif block for clarity


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/bsd/nvi/usr.bin/nvi/Makefile

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



CVS commit: src/lib/libc/gen

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 26 03:05:01 UTC 2021

Modified Files:
src/lib/libc/gen: Makefile.inc
Added Files:
src/lib/libc/gen: endutent.3

Log Message:
PR/56012: Kouichi Hashikawa: getutent(3) man page is missing


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.207 src/lib/libc/gen/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libc/gen/endutent.3

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



CVS commit: src/distrib/sets/lists/comp

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 26 03:08:25 UTC 2021

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
Add utmp man pages


To generate a diff of this commit:
cvs rdiff -u -r1.2374 -r1.2375 src/distrib/sets/lists/comp/mi

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



CVS commit: src/lib/libc/gen

2021-02-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Feb 26 03:19:34 UTC 2021

Modified Files:
src/lib/libc/gen: Makefile.inc

Log Message:
put back line accidentally removed.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/lib/libc/gen/Makefile.inc

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



CVS commit: src/lib/libc/gen

2021-02-25 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Feb 26 04:28:15 UTC 2021

Modified Files:
src/lib/libc/gen: Makefile.inc

Log Message:
Add missing endutent.3 to MAN.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/lib/libc/gen/Makefile.inc

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



CVS commit: src/lib/libc/gen

2021-02-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Feb 26 06:39:14 UTC 2021

Modified Files:
src/lib/libc/gen: endutent.3

Log Message:
Fix xref, add missing word.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/endutent.3

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