CVS commit: src/sys

2020-11-11 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu Nov 12 07:44:01 UTC 2020

Modified Files:
src/sys/conf: param.c
src/sys/kern: init_main.c
src/sys/sys: param.h

Log Message:
Set a better default for MAXFILES on larger RAM machines if not
otherwise specified the kernel config file.  Arbitary numbers are
20,000 files for 16GB RAM or more and 10,000 files for 1GB RAM or
more.

TODO: Adjust this and other values totally dynamically.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/conf/param.c
cvs rdiff -u -r1.532 -r1.533 src/sys/kern/init_main.c
cvs rdiff -u -r1.678 -r1.679 src/sys/sys/param.h

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



CVS commit: src/external/cddl/osnet/dev/dtrace/aarch64

2020-11-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Nov 12 02:15:56 UTC 2020

Modified Files:
src/external/cddl/osnet/dev/dtrace/aarch64: dtrace_subr.c

Log Message:
One more catch up with ``aarch64 is not mips'' change.
Fix evbarm-aarch64 build.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.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/arm/arm

2020-11-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Nov 12 01:03:22 UTC 2020

Modified Files:
src/sys/arch/arm/arm: cpu_exec.c

Log Message:
If neither COMPAT_NETBSD32 nor MODULAR is defined, there's
no chance for lwp to be running under COMPAT_NETBSD32.

Suggested by mrg.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/arm/cpu_exec.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/powerpc/booke/pci

2020-11-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Nov 12 00:44:22 UTC 2020

Modified Files:
src/sys/arch/powerpc/booke/pci: pq3pci.c

Log Message:
pq3pci_msi_claim(): remove KASSERT that is valid when allocating MSI
vectors, while apparently invalid when freeing them.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/powerpc/booke/pci/pq3pci.c

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



CVS commit: src/usr.bin/make/unit-tests

2020-11-11 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Nov 12 00:40:55 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: varmod-defined.mk varmod-loop.exp
varmod-loop.mk

Log Message:
make(1): fix tests varmod-defined and varmod-loop regarding dollars

Some derived versions of NetBSD's make set .MAKE.SAVE_DOLLARS to no.  In
these versions, running the tests would fail.  Therefore better set
.MAKE.SAVE_DOLLARS to yes explicitly as far as necessary.

Suggested by sjg.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/varmod-defined.mk
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/varmod-loop.exp
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/varmod-loop.mk

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



CVS commit: src/sys/arch/powerpc/booke/pci

2020-11-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Nov 12 00:37:51 UTC 2020

Modified Files:
src/sys/arch/powerpc/booke/pci: pq3pci.c

Log Message:
Oops, forget to commit local change necessary to support nvme(4) on RB800;
provide pci_intr_setattr(9) (no-op).


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/powerpc/booke/pci/pq3pci.c

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



CVS commit: src/usr.bin/make/unit-tests

2020-11-11 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Thu Nov 12 00:29:55 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: varmod-ifelse.exp varmod-ifelse.mk

Log Message:
make(1): add test for unhandled parse error in :? variable modifier


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/varmod-ifelse.exp
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/varmod-ifelse.mk

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



CVS commit: src/games/warp

2020-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov 11 20:04:02 UTC 2020

Modified Files:
src/games/warp: Makefile

Log Message:
Comment out debugging build (it still randomly crashes though) pointed out
by wiz


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/games/warp/Makefile

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



CVS commit: src/etc/mtree

2020-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov 11 19:56:09 UTC 2020

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
Add /var/games/warp


To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229 src/etc/mtree/NetBSD.dist.base

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/base

2020-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov 11 19:56:59 UTC 2020

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

Log Message:
Add /var/games/warp


To generate a diff of this commit:
cvs rdiff -u -r1.1270 -r1.1271 src/distrib/sets/lists/base/mi

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



CVS commit: src/games/warp

2020-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov 11 19:55:33 UTC 2020

Modified Files:
src/games/warp: config.h config.h.SH config.sh init.c intrp.c score.c
score.h sig.c term.c util.h warp.c

Log Message:
use strchr, strrchr, random, more lint removal, savefile in /var/games/warp
not /usr/share/games/warp...


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/games/warp/config.h src/games/warp/sig.c \
src/games/warp/util.h
cvs rdiff -u -r1.2 -r1.3 src/games/warp/config.h.SH
cvs rdiff -u -r1.1 -r1.2 src/games/warp/config.sh
cvs rdiff -u -r1.3 -r1.4 src/games/warp/init.c src/games/warp/score.h
cvs rdiff -u -r1.5 -r1.6 src/games/warp/intrp.c src/games/warp/score.c
cvs rdiff -u -r1.6 -r1.7 src/games/warp/term.c src/games/warp/warp.c

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



CVS commit: src/games/warp

2020-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov 11 19:54:54 UTC 2020

Modified Files:
src/games/warp: Makefile

Log Message:
no need for -lcompat


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/games/warp/Makefile

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



CVS commit: src/sys/net

2020-11-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Nov 11 18:08:35 UTC 2020

Modified Files:
src/sys/net: if_wg.c

Log Message:
wg: Sprinkle #ifdef INET6.  Avoid unconditional use of ip6 structs.

Fixes no-INET6 build.

Based on patch from Brad Spencer:

https://mail-index.NetBSD.org/current-users/2020/11/11/msg039883.html


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/net/if_wg.c

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



CVS commit: src/games/warp

2020-11-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov 11 17:11:19 UTC 2020

Modified Files:
src/games/warp: Makefile config.h intrp.c score.c term.c term.h warp.h

Log Message:
- use termios
- enable setgid games
- enable savedir


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/games/warp/Makefile
cvs rdiff -u -r1.3 -r1.4 src/games/warp/config.h
cvs rdiff -u -r1.4 -r1.5 src/games/warp/intrp.c src/games/warp/score.c \
src/games/warp/term.h src/games/warp/warp.h
cvs rdiff -u -r1.5 -r1.6 src/games/warp/term.c

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



CVS commit: src/games/warp

2020-11-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Wed Nov 11 11:54:42 UTC 2020

Modified Files:
src/games/warp: warp.c

Log Message:
Fix the old leftover license note

Larry Wall: "I outgrew commercial-free licensing about 30 years ago."


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/games/warp/warp.c

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