CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 05:28:41 UTC 2020 Modified Files: src/usr.bin/make: lst.c Log Message: make(1): remove unnecessary type duplication in list implementation Having both the interface types Lst/LstNode and the implementation types

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 05:19:48 UTC 2020 Modified Files: src/usr.bin/make: lst.c Log Message: make(1): extract creation of a list node into a separate function To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 04:57:56 UTC 2020 Modified Files: src/usr.bin/make: lst.c Log Message: make(1): remove unnecessary macro PAlloc The ptype parameter was never used, which made it redundant. The remaining text is so simple that it's

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 04:42:03 UTC 2020 Modified Files: src/usr.bin/make: arch.c dir.c lst.c lst.h make.c suff.c targ.c Log Message: make(1): use stricter list API for sequential access In several places, it just doesn't make sense to have

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 04:09:12 UTC 2020 Modified Files: src/usr.bin/make: arch.c dir.c lst.c lst.h make.c suff.c targ.c Log Message: make(1): assert correct usage of the Lst_Open API All calls to Lst_Next are properly protected by

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 21 03:44:58 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.8 Log Message: Mark up a few missed equal signs as literal. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/wgconfig/wgconfig.8

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 03:36:03 UTC 2020 Modified Files: src/usr.bin/make: compat.c dir.c lst.c lst.h make.c meta.c suff.c Log Message: make(1): make list library code stricter Up to now, the list library didn't distinguish between

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 21 03:13:30 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.8 Log Message: Markup fixes. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/wgconfig/wgconfig.8 Please note that diffs are not

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 03:03:45 UTC 2020 Modified Files: src/usr.bin/make: lst.c Log Message: make(1): don't use bitfields in list processing There is no need to squeeze unrelated fields of the struct into a single object. A bitset with a

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 02:56:26 UTC 2020 Modified Files: src/usr.bin/make: lst.c lst.h Log Message: make(1): properly clean up the remaining code mentioning circular lists To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Fri Aug 21 02:45:34 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.8 Log Message: Fix synopsis. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/wgconfig/wgconfig.8 Please note that diffs are not

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Aug 21 02:20:48 UTC 2020 Modified Files: src/usr.bin/make: arch.c dir.c job.c lst.c lst.h main.c make.c meta.c parse.c suff.c targ.c Log Message: make(1): remove unused code for circular lists The list library

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 21 01:36:05 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.8 Log Message: Fix markup around optional command name. Avoids emboldened brackets. I remain fuzzy on how grouping in roff works, or doesn't work.

CVS commit: src/sys/uvm/pmap

2020-08-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 20 23:36:45 UTC 2020 Modified Files: src/sys/uvm/pmap: pmap_segtab.c Log Message: fix hpcmips and evbppc builds (wrong type in panic()). To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:19:34 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Man page enhancements. Better describe the command search procedure. Document "trap -P" Describe what works as a function name. More accurate description of

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:09:56 UTC 2020 Modified Files: src/bin/sh: eval.c trap.c Log Message: Be less conservative about when we do clear_traps() when we have traps_invalid (that is, when we actually nuke the parent shell's caught traps in a

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:03:17 UTC 2020 Modified Files: src/bin/sh: jobs.c Log Message: Add lots of comments explaining what is happening in here. Also enhance some of the DEBUG mode trace output (nothing visible in a normal shell build). A

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 23:03:08 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.8 Log Message: Add missing description for wgconfig `set private-key' command. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 23:01:20 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.8 Log Message: Mark up argument as such and write out wgconfig command correctly. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 22:58:06 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.8 Log Message: Tweak markup so the square brackets don't become bold. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/lib/libc/gen

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 22:56:56 UTC 2020 Modified Files: src/lib/libc/gen: signalname.3 signalnumber.c Log Message: When not compiling -DSMALL permit use of names RTMIN[+n] and RTMAX[-n] (where n is a decimal integer in the range [0 ..

CVS commit: src/share/man/man4

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 22:20:50 UTC 2020 Modified Files: src/share/man/man4: wg.4 Log Message: Slightly less indentation. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/wg.4 Please note that diffs are

CVS commit: src/share/man/man4

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 22:19:57 UTC 2020 Modified Files: src/share/man/man4: wg.4 Log Message: Fix self-xref. Indent example displays. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/wg.4 Please note

CVS commit: src/usr.sbin/wg-userspace

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 22:17:17 UTC 2020 Modified Files: src/usr.sbin/wg-userspace: wg-userspace.8 Log Message: Fix up wg-userspace(8) man page. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/doc

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:59:55 UTC 2020 Modified Files: src/doc: 3RDPARTY Log Message: 3RDPARTY janitorial service To generate a diff of this commit: cvs rdiff -u -r1.1742 -r1.1743 src/doc/3RDPARTY Please note that diffs are not

CVS commit: src/doc

2020-08-20 Thread Taylor R Campbell
e. @@ -273,3 +273,4 @@ Changes from NetBSD 9.0 to NetBSD 10.0: kernel: Add getrandom system call. [riastradh 20200813] kernel: Disable COMPAT_LINUX by default [jdolecek 20200816] mips: Port crash(8) to mips. [mrg 20200816] + wg(4): Add support for WireGuard. [ozaki-r 20200820]

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:35:33 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Sprinkle const. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/net/if_wg.c Please note that diffs are not public domain;

CVS commit: src

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:36:00 UTC 2020 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: Makefile src/usr.sbin/wg-keygen: wg-keygen.8 src/usr.sbin/wgconfig: wgconfig.8 Added Files:

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:35:44 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Avoid callout_halt under lock. - We could pass the lock in, except we hold another lock too. - We could halt before taking the other lock, but

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:36:21 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Mark KASSERT-only variable as __diagused. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/net/if_wg.c Please note that

CVS commit: src/sys/arch/amd64/conf

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:36:11 UTC 2020 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: Add wg(4) to amd64/ALL. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/arch/amd64/conf/ALL Please note that

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:34:32 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Take advantage of prop_dictionary_util(3). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/net/if_wg.c Please note that

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:34:23 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Split up wg_process_peer_tasks into bite-size functions. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/net/if_wg.c

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:35:24 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Use container_of rather than casts via void *. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/net/if_wg.c Please note

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:34:03 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Update for proplib API changes. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/net/if_wg.c Please note that diffs are not

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:35:13 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Use be32enc, rather than possibly unaligned uint32_t cast and htonl. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:33:53 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Use SYSCTL_SETUP for net.wireguard subtree. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/net/if_wg.c Please note that

CVS commit: src/sys/rump/kern/lib/libcrypto

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:33:43 UTC 2020 Modified Files: src/sys/rump/kern/lib/libcrypto: Makefile Log Message: Missed a spot -- add sys/crypto/blake2 to .PATH here. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:31:47 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Fix in-kernel debug build. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/net/if_wg.c Please note that diffs are not public

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:34:13 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Fix race in wg_worker kthread destruction. Also allow the thread to migrate between CPUs -- just not while we're in the middle of processing and

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:35:01 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/net/if_wg.c Please note that diffs are not public domain; they are

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:34:51 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.c Log Message: Update wgconfig(8) for proplib API changes. Also check type tags before conversion. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:34:42 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Use consttime_memequal, not memcmp, to compare secrets for equality. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:31:37 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Implement sliding window for wireguard replay detection. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/net/if_wg.c Please

CVS commit: src/sys/rump/kern/lib/libcrypto

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:30:32 UTC 2020 Modified Files: src/sys/rump/kern/lib/libcrypto: Makefile Log Message: Fix vestiges of libb2. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:31:16 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Don't falsely assert cpu_softintr_p(). Will fail in the following stack trace: wg_worker (kthread) wg_receive_packets wg_handle_packet

CVS commit: src/usr.sbin/wgconfig

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:31:26 UTC 2020 Modified Files: src/usr.sbin/wgconfig: wgconfig.c Log Message: Make `wgconfig --help' and variations work. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:29:44 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: [ozaki-r] Fix bugs found by maxv's audits To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/net/if_wg.c Please note that diffs

CVS commit: src/sys/net

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:31:06 UTC 2020 Modified Files: src/sys/net: if_wg.c Log Message: Convert wg(4) to if_stat. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/net/if_wg.c Please note that diffs are not public

CVS commit: src/sys

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:30:56 UTC 2020 Modified Files: src/sys/external/isc/libsodium/include: randombytes.h src/sys/net: if_wg.c Log Message: Use cprng_strong, not cprng_fast, for ephemeral key. To generate a diff of this

CVS commit: src/usr.sbin

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:30:46 UTC 2020 Modified Files: src/usr.sbin: Makefile Log Message: Descend into wg-userspace. To generate a diff of this commit: cvs rdiff -u -r1.284 -r1.285 src/usr.sbin/Makefile Please note that diffs are

CVS commit: src

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:21:33 UTC 2020 Modified Files: src/sys/conf: files src/sys/net: Makefile files.net if_types.h src/sys/netinet: in.c in.h in_pcb.c in_pcb.h in_pcb_hdr.h ip_encap.c udp_usrreq.c udp_var.h

CVS commit: src/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:20:47 UTC 2020 Modified Files: src/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10: ed25519_ref10.c Log Message: Split ge25519_scalarmult up in order to reduce stack usage.

CVS commit: src/sys/crypto/blake2

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:21:05 UTC 2020 Added Files: src/sys/crypto/blake2: blake2s.c blake2s.h files.blake2s Log Message: Import small BLAKE2s implementation. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1

CVS commit: src/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:20:37 UTC 2020 Modified Files: src/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10: ed25519_ref10.c Log Message: Reuse temporaries in ge25519_scalarmult to reduce stack usage.

CVS commit: src/sys

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:20:17 UTC 2020 Added Files: src/sys/crypto/sodium: crypto_aead_chacha20poly1305.h crypto_aead_xchacha20poly1305.h crypto_kx.h crypto_scalarmult.h crypto_scalarmult_curve25519.h export.h

CVS import: src/sys/external/isc/libsodium/dist

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 21:17:06 UTC 2020 Update of /cvsroot/src/sys/external/isc/libsodium/dist In directory ivanova.netbsd.org:/tmp/cvs-serv9899 Log Message: libsodium 1.0.16 Status: Vendor Tag: LIBSODIUM Release Tags: libsodium-1-0-16

CVS commit: src/sys/ufs

2020-08-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Aug 20 20:28:13 UTC 2020 Modified Files: src/sys/ufs/ffs: ffs_vfsops.c src/sys/ufs/ufs: inode.h ufs_vnops.c Log Message: Don't cache id's for vnodes that have ACLs. ok chs@ To generate a diff of this commit: cvs

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

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 19:43:42 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-token-var.exp cond-token-var.mk Log Message: make(1): add test for variable expressions in conditions To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 18:47:57 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): move complicated boolean expression out of the function call It's easier to inspect in a debugger this way. To generate a diff of this

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

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 18:43:19 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-cmp-string.exp cond-cmp-string.mk Log Message: make(1): add test for string literals in comparisons To generate a diff of this commit: cvs rdiff -u

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

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 18:05:57 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: Makefile Log Message: make(1): enable debug logging for archive test This test succeeds locally on NetBSD 8.0 but not in the official test runs on

CVS commit: src

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 17:45:47 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile cond-func-defined.exp Added Files: src/usr.bin/make/unit-tests: cond-func.exp cond-func.mk Log

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

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 17:23:44 UTC 2020 Modified Files: src/usr.bin/make/unit-tests: cond-func-defined.exp cond-func-defined.mk Log Message: make(1): add test for the function defined(...) To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 17:13:06 UTC 2020 Modified Files: src/usr.bin/make: make.h Log Message: make(1): remove unused function declarations To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/usr.bin/make/make.h Please

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 17:11:47 UTC 2020 Modified Files: src/usr.bin/make: cond.c Log Message: make(1): fix type of string length variables To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/usr.bin/make/cond.c Please note

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 17:06:26 UTC 2020 Modified Files: src/usr.bin/make: cond.c make.h Log Message: make(1): fix wrong or outdated comments To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/usr.bin/make/cond.c cvs rdiff

CVS commit: [netbsd-9] src/doc

2020-08-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Aug 20 16:16:33 UTC 2020 Modified Files: src/doc [netbsd-9]: CHANGES-9.1 Log Message: Ticket #1059 To generate a diff of this commit: cvs rdiff -u -r1.1.2.99 -r1.1.2.100 src/doc/CHANGES-9.1 Please note that diffs are not

CVS commit: [netbsd-9] src

2020-08-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Aug 20 16:15:44 UTC 2020 Modified Files: src/external/mit/xorg/server/xorg-server/doc [netbsd-9]: Makefile src/external/mit/xorg/server/xorg-server/hw/xfree86/doc [netbsd-9]: Makefile src/share/mk

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 16:15:50 UTC 2020 Modified Files: src/bin/sh: trap.c Log Message: Whitespace. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/bin/sh/trap.c Please note that diffs are not public domain; they

CVS commit: src

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 15:54:12 UTC 2020 Modified Files: src/external/bsd/ppp/usr.sbin/pppd: tdb.c src/external/bsd/tre/dist/src: agrep.c src/external/cddl/osnet/dist/cmd/ztest: ztest.c

CVS commit: src/tests/fs/nfs

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 13:58:30 UTC 2020 Modified Files: src/tests/fs/nfs: t_rquotad.sh Log Message: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/fs/nfs/t_rquotad.sh Please note that

CVS commit: src/tests/dev/cgd

2020-08-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Aug 20 13:33:54 UTC 2020 Modified Files: src/tests/dev/cgd: t_cgd_adiantum.c Log Message: clang can't handle __aligned on anonymous structure initializers. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev/nvmm/x86

2020-08-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 20 11:09:56 UTC 2020 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86.c nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: nvmm-x86: improve the CPUID emulation - x86-svm: explicitly handle 0x8007 and

CVS commit: src/sys/dev/nvmm/x86

2020-08-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 20 11:07:43 UTC 2020 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86.c Log Message: nvmm-x86: advertise the SERIALIZE instruction, available on future CPUs To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/netinet6

2020-08-20 Thread Roy Marples
Module Name:src Committed By: roy Date: Thu Aug 20 11:01:02 UTC 2020 Modified Files: src/sys/netinet6: nd6.h nd6_nbr.c Log Message: Sprinkle some const To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/netinet6/nd6.h cvs rdiff -u -r1.179 -r1.180

CVS commit: src/libexec/httpd

2020-08-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 20 07:56:27 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: compare mmap return again MAP_FAILED not -1 or 0. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119

CVS commit: src/libexec/httpd

2020-08-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 20 07:57:01 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: call this bozohttpd/20200820 To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/libexec/httpd/bozohttpd.c Please note

CVS commit: src/libexec/httpd

2020-08-20 Thread matthew green
/CHANGES:1.40 Thu Feb 28 09:16:42 2019 +++ src/libexec/httpd/CHANGES Thu Aug 20 07:55:10 2020 @@ -1,4 +1,10 @@ -$NetBSD: CHANGES,v 1.40 2019/02/28 09:16:42 mrg Exp $ +$NetBSD: CHANGES,v 1.41 2020/08/20 07:55:10 mrg Exp $ + +changes in bozohttpd 20200820: + o make this work on sun2 by reducing mmap window

CVS commit: src/tests/fs/nfs

2020-08-20 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Aug 20 07:32:40 UTC 2020 Modified Files: src/tests/fs/nfs: t_rquotad.sh Log Message: Add cleanup of possible leftover rump processes, replacing the non-working cleanup code just removed from ffs_common.sh. Fixes PR bin/48892

CVS commit: src/tests/fs/ffs

2020-08-20 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Aug 20 07:23:20 UTC 2020 Modified Files: src/tests/fs/ffs: ffs_common.sh Log Message: Remove non-functional cleanup code from test_case() and test_case_root(). It had no effect because RUMP_SOCKETS_LIST is not set in the shell

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 07:15:52 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): make a few comments more precise To generate a diff of this commit: cvs rdiff -u -r1.453 -r1.454 src/usr.bin/make/var.c Please note

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 07:09:06 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): use more descriptive variable name in ModifyWords To generate a diff of this commit: cvs rdiff -u -r1.452 -r1.453 src/usr.bin/make/var.c

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 07:01:39 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): remove VARP_SUB_MATCHED This flag didn't really belong to the other flags. The other flags are set during parsing and are then left

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 06:48:18 UTC 2020 Modified Files: src/usr.bin/make: var.c Log Message: make(1): consistently access args->pflags in ModifyWord_Subst It was confusing that some accesses were via pflags and some via args->pflags. To

CVS commit: src/usr.bin/make

2020-08-20 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Aug 20 06:35:14 UTC 2020 Modified Files: src/usr.bin/make: make_malloc.c make_malloc.h var.c Log Message: make(1): remove unreached code from bmake_strndup The "at most" branch was never taken since all call sites in var.c