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 as-is by ModifyWord_Subst and
ModifyWord_SubstRegex.

It's clearer to use a separate variable for storing whether there was a
match already.


To generate a diff of this commit:
cvs rdiff -u -r1.451 -r1.452 src/usr.bin/make/var.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

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

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

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 that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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
running the cleanup phase.  Even if RUMP_SOCKETS_LIST had been set,
the code would still not have worked correctly because it ran
rump.halt via "atf_check -s exit:1", which would cause the first
successful halting of a rump processes to be treated as a failure
and abort the cleanup without halting any other rump processes still
running.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/fs/ffs/ffs_common.sh

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



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 with respect to the t_rquotad test.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/fs/nfs/t_rquotad.sh

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



CVS commit: src/libexec/httpd

2020-08-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Aug 20 07:55:10 UTC 2020

Modified Files:
src/libexec/httpd: CHANGES bozohttpd.8

Log Message:
update for recent changes.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.83 -r1.84 src/libexec/httpd/bozohttpd.8

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



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 that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/libexec/httpd/bozohttpd.c

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



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 src/sys/netinet6/nd6_nbr.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/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 src/sys/dev/nvmm/x86/nvmm_x86.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/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 0x8008. The latter
   contains extended features we must filter out. Apply the same in
   x86-vmx for symmetry.
 - x86-svm: explicitly handle extended leaves until 0x801F, and
   truncate to it.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/nvmm/x86/nvmm_x86.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/nvmm/x86/nvmm_x86.h
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/nvmm/x86/nvmm_x86_svm.c
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c

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



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 src/tests/dev/cgd/t_cgd_adiantum.c

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



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 diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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
src/external/cddl/osnet/dist/common/ctf: ctf_open.c
src/external/cddl/osnet/dist/lib/libctf/common: ctf_lib.c
src/lib/libc/tls: tls.c
src/sbin/newfs: mkfs.c
src/sys/arch/amiga/stand/bootblock/elf2bb: elf2bb.c
src/usr.sbin/acpitools/acpidump: acpi_user.c
src/usr.sbin/acpitools/amldb: amldb.c

Log Message:
mmap MAP_FAILED audit.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/ppp/usr.sbin/pppd/tdb.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/tre/dist/src/agrep.c
cvs rdiff -u -r1.8 -r1.9 src/external/cddl/osnet/dist/cmd/ztest/ztest.c
cvs rdiff -u -r1.5 -r1.6 src/external/cddl/osnet/dist/common/ctf/ctf_open.c
cvs rdiff -u -r1.7 -r1.8 \
src/external/cddl/osnet/dist/lib/libctf/common/ctf_lib.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/tls/tls.c
cvs rdiff -u -r1.129 -r1.130 src/sbin/newfs/mkfs.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/acpitools/acpidump/acpi_user.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/acpitools/amldb/amldb.c

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-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 are subject to the
copyright notices on the relevant files.



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 [netbsd-9]: bsd.x11.mk

Log Message:
Pull up following revision(s) (requested by kim in ticket #1059):

share/mk/bsd.x11.mk: revision 1.133
share/mk/bsd.x11.mk: revision 1.136
external/mit/xorg/server/xorg-server/hw/xfree86/doc/Makefile: revision 
1.8
external/mit/xorg/server/xorg-server/doc/Makefile: revision 1.6

Allow overriding the default man substitutions with X11EXTRAMANTRANSFORMS
fix various missing transforms for man page, ala PR#55422.
add method to transform both the "__foo__" and "@foo@"
version of various transforms, while upstream are converting
from the former to the latter it seems.  convert all the
common transforms to this method.

expand the grep for .pc files to look for missing @foo@

fixes to the man page genration, and ignore a few things
(thanks uwe@ - .IN lines, and stuff between tab(@) and .TE.)

xorg-server __default_font_path__ -> @default_font_path@,
and xfree86 transform xconfigdir, xkbdir, and modulepath
using new both method.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.16.1 \
src/external/mit/xorg/server/xorg-server/doc/Makefile
cvs rdiff -u -r1.7 -r1.7.16.1 \
src/external/mit/xorg/server/xorg-server/hw/xfree86/doc/Makefile
cvs rdiff -u -r1.132.2.1 -r1.132.2.2 src/share/mk/bsd.x11.mk

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

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 public domain; they are subject to the
copyright notices on the relevant files.



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 -u -r1.116 -r1.117 src/usr.bin/make/make.h

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

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 that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 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-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 -r1.1 -r1.2 src/usr.bin/make/unit-tests/cond-func-defined.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond-func-defined.mk

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



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 Message:
make(1): add test for parsing functions in .if conditions


To generate a diff of this commit:
cvs rdiff -u -r1.894 -r1.895 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.102 -r1.103 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond-func-defined.exp
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/cond-func.exp \
src/usr.bin/make/unit-tests/cond-func.mk

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-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 https://releng.netbsd.org/test-results.html.  To see the
difference, run the test with full debug information.

This test is commented out in usr.bin/make/unit-tests/Makefile, but that
doesn't stop tests/usr.bin/make/t_make.sh from running it nevertheless,
since over there, all *.mk files are considered tests, be they commented
out or not.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/usr.bin/make/unit-tests/Makefile

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-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 -r1.1 -r1.2 src/usr.bin/make/unit-tests/cond-cmp-string.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond-cmp-string.mk

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

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 commit:
cvs rdiff -u -r1.97 -r1.98 src/usr.bin/make/cond.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-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 -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/cond-token-var.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond-token-var.mk

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



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 rdiff -u -r1.371 -r1.372 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.77 -r1.78 src/sys/ufs/ufs/inode.h
cvs rdiff -u -r1.255 -r1.256 src/sys/ufs/ufs/ufs_vnops.c

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



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

N src/sys/external/isc/libsodium/dist/libsodium.sln
N src/sys/external/isc/libsodium/dist/install-sh
N src/sys/external/isc/libsodium/dist/libsodium.vcxproj
N src/sys/external/isc/libsodium/dist/configure.ac
N src/sys/external/isc/libsodium/dist/ltmain.sh
N src/sys/external/isc/libsodium/dist/LICENSE
N src/sys/external/isc/libsodium/dist/configure
N src/sys/external/isc/libsodium/dist/libsodium.pc.in
N src/sys/external/isc/libsodium/dist/ChangeLog
N src/sys/external/isc/libsodium/dist/AUTHORS
N src/sys/external/isc/libsodium/dist/libsodium-uninstalled.pc.in
N src/sys/external/isc/libsodium/dist/config.guess
N src/sys/external/isc/libsodium/dist/depcomp
N src/sys/external/isc/libsodium/dist/missing
N src/sys/external/isc/libsodium/dist/Makefile.am
N src/sys/external/isc/libsodium/dist/config.sub
N src/sys/external/isc/libsodium/dist/README.markdown
N src/sys/external/isc/libsodium/dist/compile
N src/sys/external/isc/libsodium/dist/THANKS
N src/sys/external/isc/libsodium/dist/libsodium.vcxproj.filters
N src/sys/external/isc/libsodium/dist/Makefile.in
N src/sys/external/isc/libsodium/dist/aclocal.m4
N src/sys/external/isc/libsodium/dist/autogen.sh
N src/sys/external/isc/libsodium/dist/build-aux/install-sh
N src/sys/external/isc/libsodium/dist/build-aux/ltmain.sh
N src/sys/external/isc/libsodium/dist/build-aux/config.guess
N src/sys/external/isc/libsodium/dist/build-aux/depcomp
N src/sys/external/isc/libsodium/dist/build-aux/missing
N src/sys/external/isc/libsodium/dist/build-aux/config.sub
N src/sys/external/isc/libsodium/dist/build-aux/compile
N src/sys/external/isc/libsodium/dist/build-aux/test-driver
N src/sys/external/isc/libsodium/dist/test/Makefile.am
N src/sys/external/isc/libsodium/dist/test/Makefile.in
N src/sys/external/isc/libsodium/dist/test/quirks/quirks.h
N src/sys/external/isc/libsodium/dist/test/default/scalarmult7.exp
N src/sys/external/isc/libsodium/dist/test/default/codecs.c
N src/sys/external/isc/libsodium/dist/test/default/pwhash_argon2id.exp
N src/sys/external/isc/libsodium/dist/test/default/sodium_utils2.c
N src/sys/external/isc/libsodium/dist/test/default/core4.exp
N src/sys/external/isc/libsodium/dist/test/default/verify1.c
N src/sys/external/isc/libsodium/dist/test/default/core5.exp
N src/sys/external/isc/libsodium/dist/test/default/box_easy.exp
N src/sys/external/isc/libsodium/dist/test/default/box_seal.c
N src/sys/external/isc/libsodium/dist/test/default/scalarmult6.exp
N src/sys/external/isc/libsodium/dist/test/default/hash3.exp
N src/sys/external/isc/libsodium/dist/test/default/core6.exp
N src/sys/external/isc/libsodium/dist/test/default/keygen.c
N src/sys/external/isc/libsodium/dist/test/default/kx.c
N src/sys/external/isc/libsodium/dist/test/default/keygen.exp
N src/sys/external/isc/libsodium/dist/test/default/hash2.exp
N src/sys/external/isc/libsodium/dist/test/default/metamorphic.exp
N src/sys/external/isc/libsodium/dist/test/default/scalarmult5.exp
N src/sys/external/isc/libsodium/dist/test/default/kx.exp
N src/sys/external/isc/libsodium/dist/test/default/sodium_core.c
N src/sys/external/isc/libsodium/dist/test/default/auth.c
N src/sys/external/isc/libsodium/dist/test/default/core2.exp
N src/sys/external/isc/libsodium/dist/test/default/box_seed.exp
N src/sys/external/isc/libsodium/dist/test/default/core3.c
N src/sys/external/isc/libsodium/dist/test/default/scalarmult.exp
N src/sys/external/isc/libsodium/dist/test/default/ed25519_convert.c
N src/sys/external/isc/libsodium/dist/test/default/core3.exp
N src/sys/external/isc/libsodium/dist/test/default/scalarmult2.exp
N src/sys/external/isc/libsodium/dist/test/default/secretbox_easy.exp
N src/sys/external/isc/libsodium/dist/test/default/chacha20.c
N src/sys/external/isc/libsodium/dist/test/default/pwhash_scrypt.exp
N src/sys/external/isc/libsodium/dist/test/default/stream3.c
N src/sys/external/isc/libsodium/dist/test/default/core1.exp
N src/sys/external/isc/libsodium/dist/test/default/auth7.exp
N src/sys/external/isc/libsodium/dist/test/default/pwhash_scrypt_ll.c
N src/sys/external/isc/libsodium/dist/test/default/auth3.c
N src/sys/external/isc/libsodium/dist/test/default/generichash3.c
N src/sys/external/isc/libsodium/dist/test/default/box7.c
N src/sys/external/isc/libsodium/dist/test/default/scalarmult7.c
N src/sys/external/isc/libsodium/dist/test/default/box.exp
N src/sys/external/isc/libsodium/dist/test/default/secretbox7.c
N src/sys/external/isc/libsodium/dist/test/default/core_ed25519.c
N src/sys/external/isc/libsodium/dist/test/default/box8.exp
N src/sys/external/isc/libsodium/dist/test/default/onetimeauth.exp
N src/sys/external/isc/libsodium/dist/test/default/auth6.exp
N src/sys/external/isc/libsodium/dist/test/de

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 files.sodium
src/sys/external/isc/libsodium/conf: files.libsodium
src/sys/external/isc/libsodium/include: assert.h core.h
crypto_verify_16.h errno.h limits.h randombytes.h stddef.h stdint.h
stdio.h stdlib.h string.h utils.h
src/sys/external/isc/libsodium/src: glue.c

Log Message:
[ozaki-r] libsodium glue


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/crypto/sodium/crypto_aead_chacha20poly1305.h \
src/sys/crypto/sodium/crypto_aead_xchacha20poly1305.h \
src/sys/crypto/sodium/crypto_kx.h \
src/sys/crypto/sodium/crypto_scalarmult.h \
src/sys/crypto/sodium/crypto_scalarmult_curve25519.h \
src/sys/crypto/sodium/export.h src/sys/crypto/sodium/files.sodium
cvs rdiff -u -r0 -r1.1 src/sys/external/isc/libsodium/conf/files.libsodium
cvs rdiff -u -r0 -r1.1 src/sys/external/isc/libsodium/include/assert.h \
src/sys/external/isc/libsodium/include/core.h \
src/sys/external/isc/libsodium/include/crypto_verify_16.h \
src/sys/external/isc/libsodium/include/errno.h \
src/sys/external/isc/libsodium/include/limits.h \
src/sys/external/isc/libsodium/include/randombytes.h \
src/sys/external/isc/libsodium/include/stddef.h \
src/sys/external/isc/libsodium/include/stdint.h \
src/sys/external/isc/libsodium/include/stdio.h \
src/sys/external/isc/libsodium/include/stdlib.h \
src/sys/external/isc/libsodium/include/string.h \
src/sys/external/isc/libsodium/include/utils.h
cvs rdiff -u -r0 -r1.1 src/sys/external/isc/libsodium/src/glue.c

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



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.


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

src/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c

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



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 src/sys/crypto/blake2/blake2s.c \
src/sys/crypto/blake2/blake2s.h src/sys/crypto/blake2/files.blake2s

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



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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \

src/sys/external/isc/libsodium/dist/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c

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



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
src/sys/netinet6: in6_pcb.h udp6_usrreq.c
src/sys/rump/kern/lib/libcrypto: Makefile
src/sys/rump/net: Makefile.rumpnetcomp
src/tests/net: Makefile
src/usr.sbin: Makefile

Log Message:
[ozaki-r] Changes to the kernel core for wireguard


To generate a diff of this commit:
cvs rdiff -u -r1.1274 -r1.1275 src/sys/conf/files
cvs rdiff -u -r1.42 -r1.43 src/sys/net/Makefile
cvs rdiff -u -r1.25 -r1.26 src/sys/net/files.net
cvs rdiff -u -r1.29 -r1.30 src/sys/net/if_types.h
cvs rdiff -u -r1.236 -r1.237 src/sys/netinet/in.c
cvs rdiff -u -r1.109 -r1.110 src/sys/netinet/in.h
cvs rdiff -u -r1.183 -r1.184 src/sys/netinet/in_pcb.c
cvs rdiff -u -r1.66 -r1.67 src/sys/netinet/in_pcb.h
cvs rdiff -u -r1.13 -r1.14 src/sys/netinet/in_pcb_hdr.h
cvs rdiff -u -r1.72 -r1.73 src/sys/netinet/ip_encap.c
cvs rdiff -u -r1.258 -r1.259 src/sys/netinet/udp_usrreq.c
cvs rdiff -u -r1.45 -r1.46 src/sys/netinet/udp_var.h
cvs rdiff -u -r1.50 -r1.51 src/sys/netinet6/in6_pcb.h
cvs rdiff -u -r1.147 -r1.148 src/sys/netinet6/udp6_usrreq.c
cvs rdiff -u -r1.13 -r1.14 src/sys/rump/kern/lib/libcrypto/Makefile
cvs rdiff -u -r1.20 -r1.21 src/sys/rump/net/Makefile.rumpnetcomp
cvs rdiff -u -r1.34 -r1.35 src/tests/net/Makefile
cvs rdiff -u -r1.283 -r1.284 src/usr.sbin/Makefile

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



CVS commit: src

2020-08-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Aug 20 21:28:02 UTC 2020

Modified Files:
src/distrib/sets/lists/base: mi shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi
src/distrib/sets/lists/man: mi
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
Added Files:
src/sys/net: if_wg.c if_wg.h
src/sys/rump/include/opt: wg.h
src/sys/rump/net/lib/libwireguard: Makefile WG.ioconf wg_component.c
wg_user.c wg_user.h
src/tests/net/wireguard: Makefile common.sh t_basic.sh
t_interoperability.sh t_misc.sh t_tunnel.sh
src/usr.sbin/wg-keygen: Makefile wg-keygen.8 wg-keygen.c
src/usr.sbin/wg-userspace: Makefile wg-userspace.8 wg-userspace.sh
src/usr.sbin/wgconfig: Makefile wgconfig.8 wgconfig.c

Log Message:
[ozaki-r] Add wg files


To generate a diff of this commit:
cvs rdiff -u -r1.1256 -r1.1257 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.895 -r1.896 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2343 -r1.2344 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.336 -r1.337 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.328 -r1.329 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.257 -r1.258 src/distrib/sets/lists/debug/shl.mi
cvs rdiff -u -r1.1697 -r1.1698 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.895 -r1.896 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.174 -r1.175 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r0 -r1.1 src/sys/net/if_wg.c src/sys/net/if_wg.h
cvs rdiff -u -r0 -r1.1 src/sys/rump/include/opt/wg.h
cvs rdiff -u -r0 -r1.1 src/sys/rump/net/lib/libwireguard/Makefile \
src/sys/rump/net/lib/libwireguard/WG.ioconf \
src/sys/rump/net/lib/libwireguard/wg_component.c \
src/sys/rump/net/lib/libwireguard/wg_user.c \
src/sys/rump/net/lib/libwireguard/wg_user.h
cvs rdiff -u -r0 -r1.1 src/tests/net/wireguard/Makefile \
src/tests/net/wireguard/common.sh src/tests/net/wireguard/t_basic.sh \
src/tests/net/wireguard/t_interoperability.sh \
src/tests/net/wireguard/t_misc.sh src/tests/net/wireguard/t_tunnel.sh
cvs rdiff -u -r0 -r1.1 src/usr.sbin/wg-keygen/Makefile \
src/usr.sbin/wg-keygen/wg-keygen.8 src/usr.sbin/wg-keygen/wg-keygen.c
cvs rdiff -u -r0 -r1.1 src/usr.sbin/wg-userspace/Makefile \
src/usr.sbin/wg-userspace/wg-userspace.8 \
src/usr.sbin/wg-userspace/wg-userspace.sh
cvs rdiff -u -r0 -r1.1 src/usr.sbin/wgconfig/Makefile \
src/usr.sbin/wgconfig/wgconfig.8 src/usr.sbin/wgconfig/wgconfig.c

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



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 not public domain; they are subject to the
copyright notices on the relevant files.



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 commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/isc/libsodium/include/randombytes.h
cvs rdiff -u -r1.2 -r1.3 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/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 are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/usr.sbin/wgconfig/wgconfig.c

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-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 domain; they are subject to the
copyright notices on the relevant files.



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 src/sys/rump/kern/lib/libcrypto/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-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 note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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
wg_handle_msg_data
KASSERT(cpu_softintr_p())

Instead, use kpreempt_disable/enable around softint_schedule.

XXX Not clear that softint is the right place to do this!


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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/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 domain; they are subject to the
copyright notices on the relevant files.



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 holding onto things with psrefs.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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/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 diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 src/sys/rump/kern/lib/libcrypto/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-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 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/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 -r1.2 -r1.3 src/usr.sbin/wgconfig/wgconfig.c

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-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 subject to the
copyright notices on the relevant 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: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 that diffs are not public domain; they are subject to the
copyright notices on the relevant 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: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 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/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 diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 public domain; they are subject to the
copyright notices on the relevant files.



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

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



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:
src/share/man/man4: wg.4

Log Message:
Fill out WireGuard man pages.


To generate a diff of this commit:
cvs rdiff -u -r1.1698 -r1.1699 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.706 -r1.707 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/wg.4
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/wg-keygen/wg-keygen.8
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/wgconfig/wgconfig.8

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-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 diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 diffs are not public domain; they are subject to the
copyright notices on the relevant 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: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; they are subject to the
copyright notices on the relevant 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 it's not safe to
  sleep after getting the session pointer before taking its lock.

- We could halt before getting the session pointer, but then there's
  no point in doing it under the lock.

So just halt a little earlier instead.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 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/doc

2020-08-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Aug 20 21:45:46 UTC 2020

Modified Files:
src/doc: CHANGES

Log Message:
Note WireGuard.

(ozaki-r did the vast majority of the actual implementation in 2018;
I just dusted it off and imported it.)


To generate a diff of this commit:
cvs rdiff -u -r1.2731 -r1.2732 src/doc/CHANGES

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



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 public domain; they are subject to the
copyright notices on the relevant files.



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 src/usr.sbin/wg-userspace/wg-userspace.8

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



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 that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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 not public domain; they are subject to the
copyright notices on the relevant files.



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 .. SIGRTMAX-SIGRTMIN].
As usual a leading "sig" is ignored and the strings are case independent.

Some implementations do not name the real time signals, and using
labels like RTMIN+3 can be the only way they can be manipulated,
so allow that technique (we still return the RTnn names on the inverse
translation though).

Because this is used by both kill(1) and sh(1) the kill and trap
commands both gain access to the new notation (when !SMALL).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/signalname.3 \
src/lib/libc/gen/signalnumber.c

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



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 src/usr.sbin/wgconfig/wgconfig.8

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



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 src/usr.sbin/wgconfig/wgconfig.8

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



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 src/usr.sbin/wgconfig/wgconfig.8

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-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 couple of very minor code changes that no-one should ever notice
(eg: one less wait() call in the case that there is nothing pending).


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/bin/sh/jobs.c

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-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 subshell).  This allows more reasonable use of
"trap -p" (and similar) in subshells than existed before (and in
particular, that command can be in a function now - there can also
be several related commands like
traps=$(trap -p INT; trap -p QUIT; trap -p HUP)
A side effect of all of this is that
(eval "$(trap -p)"; ...)
now allows copying caught traps into a subshell environment, if desired.

Also att the ksh93 variant (the one not picked by POSIX as it isn't
generally as useful) of "trap -p" (but call it "trap -P" which extracts
just the trap action for named signals (giving more than one is usually
undesirable).   This allows
eval "$(trap -P INT)"
to run the action for SIGINT traps, without needing to attempt to parse
the "trap -p" output.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/bin/sh/eval.c
cvs rdiff -u -r1.54 -r1.55 src/bin/sh/trap.c

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-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 reserved word recognition.
Be more accurate about when field splittng happens after
expansions (and in particular note that tilde expansions are
not subject to field splitting).   Be clear that "$@" is
not field split, it simply produces multiple fields as part
of its expansion (hence IFS is irrelevant to this), but if
used as $@ (unquoted) each field produced is potentially subject
to field splitting.   Other minor wording changes.


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

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



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 src/sys/uvm/pmap/pmap_segtab.c

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



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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/wgconfig/wgconfig.8

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

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 had probably been imported from a general-purpose
library that also supported circular lists.  These are not used by make
though.

After replacing Lst_Init(FALSE) with Lst_Init(), only a single call to
Lst_Init remained with a non-constant argument, and that was in
Lst_Concat, which was to be expected.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/usr.bin/make/arch.c
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/make/dir.c src/usr.bin/make/meta.c
cvs rdiff -u -r1.206 -r1.207 src/usr.bin/make/job.c
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/lst.c
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/make/lst.h
cvs rdiff -u -r1.304 -r1.305 src/usr.bin/make/main.c
cvs rdiff -u -r1.103 -r1.104 src/usr.bin/make/make.c
cvs rdiff -u -r1.251 -r1.252 src/usr.bin/make/parse.c
cvs rdiff -u -r1.96 -r1.97 src/usr.bin/make/suff.c
cvs rdiff -u -r1.64 -r1.65 src/usr.bin/make/targ.c

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



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 public domain; they are subject to the
copyright notices on the relevant files.



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 src/usr.bin/make/lst.c
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/make/lst.h

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

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 single flag is the same as a simple boolean
variable.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/lst.c

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



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 public domain; they are subject to the
copyright notices on the relevant files.



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 programming
mistakes (violations of invariants, illegal parameter values) and
actually interesting situations like "element not found in list".

The current code contains many branches for conditions that are neither
exercised by the unit tests nor by real-world usage.  There is no point
in keeping this unnecessary code.

The list functions will be migrated from their lenient variants to the
stricter variants in small parts, each function getting the S suffix
when it is made strict, to avoid any confusion about how strict a
particular function is.  When all functions have been migrated, they
will be renamed back to their original names.

While here, the comments of the functions are cleaned up since they
mention irrelevant implementation details in the API comments, as well
as "side effects" that are really main effects.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/usr.bin/make/compat.c
cvs rdiff -u -r1.93 -r1.94 src/usr.bin/make/dir.c src/usr.bin/make/meta.c
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/lst.c
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/make/lst.h
cvs rdiff -u -r1.104 -r1.105 src/usr.bin/make/make.c
cvs rdiff -u -r1.97 -r1.98 src/usr.bin/make/suff.c

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



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

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

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 Lst_Open, so there is no
possible assertion failure here.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/usr.bin/make/arch.c
cvs rdiff -u -r1.94 -r1.95 src/usr.bin/make/dir.c
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/lst.c
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/make/lst.h
cvs rdiff -u -r1.105 -r1.106 src/usr.bin/make/make.c
cvs rdiff -u -r1.98 -r1.99 src/usr.bin/make/suff.c
cvs rdiff -u -r1.65 -r1.66 src/usr.bin/make/targ.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

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 a null pointer
when a list is expected.

In the existing unit tests, the list passed to Lst_Open is always valid,
but that's not a guarantee for real-world usage.  Therefore, Lst_Open
has been left for now, and Lst_OpenS is only the preferred alternative
to it.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/usr.bin/make/arch.c
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/make/dir.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/lst.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/make/lst.h
cvs rdiff -u -r1.106 -r1.107 src/usr.bin/make/make.c
cvs rdiff -u -r1.99 -r1.100 src/usr.bin/make/suff.c
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/make/targ.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

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 not worth having a macro for this
purpose.  This makes it easier to read the code since the previously
implicit variable assignment is now clearly visible.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/make/lst.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

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 src/usr.bin/make/lst.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

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
List/ListNode does not make the code clearer, it is an unnecessary
abstraction.  Eliminating the implementation type means that some of the
local variables can be merged, which will make the code simpler than
before.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/make/lst.c

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



CVS commit: src/sys

2020-08-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 21 06:27:41 UTC 2020

Modified Files:
src/sys/external/isc/libsodium/conf: files.libsodium
src/sys/rump/kern/lib/libcrypto: Makefile

Log Message:
Disable -Wshadow for libsodium.

Evidently ed25519_ref10.c has a global and a local both named `d'.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/isc/libsodium/conf/files.libsodium
cvs rdiff -u -r1.16 -r1.17 src/sys/rump/kern/lib/libcrypto/Makefile

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

2020-08-20 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Aug 21 06:28:38 UTC 2020

Modified Files:
src/usr.bin/make: lst.c

Log Message:
make(1): condense the API comments in the list library

Most mentioned "side effects" were either implementation details or
rather "main effects".  The wording of similar functions has been
aligned.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/make/lst.c

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



CVS commit: src/sys

2020-08-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 21 06:30:46 UTC 2020

Modified Files:
src/sys/external/isc/libsodium/conf: files.libsodium
src/sys/rump/kern/lib/libcrypto: Makefile

Log Message:
Split flags onto separate lines, sorted, to make diffs easier.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/isc/libsodium/conf/files.libsodium
cvs rdiff -u -r1.17 -r1.18 src/sys/rump/kern/lib/libcrypto/Makefile

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



CVS commit: src/sys

2020-08-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 21 06:37:30 UTC 2020

Modified Files:
src/sys/external/isc/libsodium/conf: files.libsodium
src/sys/rump/kern/lib/libcrypto: Makefile

Log Message:
Disable libsodium HAVE_TI_MODE for now.

This may reduce performance by not taking advantage of 64x64->128
multiplications on some platforms, but let's worry about that later
and fix the build on the other platforms instead.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/isc/libsodium/conf/files.libsodium
cvs rdiff -u -r1.18 -r1.19 src/sys/rump/kern/lib/libcrypto/Makefile

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

2020-08-20 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Aug 21 06:38:30 UTC 2020

Modified Files:
src/usr.bin/make: lst.c

Log Message:
make(1): use shorter field names in Lst and LstNode

In a doubly linked list, it is commonly known that the 'prev' and 'next'
fields of the nodes are pointers to other nodes, therefore this does not
need to be repeated in the variable name.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/lst.c

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