CVS commit: src/sys/arch/x86/isa

2018-09-10 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Sep 10 07:04:08 UTC 2018

Modified Files:
src/sys/arch/x86/isa: isa_machdep.c

Log Message:
Remove the last usage of xen_pirq_alloc() and pirq_establish()
outside of the x86 interrupt and xen events framework.

This allows us to finally unify the interrupt path for both Xen
and x86 as changes 'internal' to the subsystem.

This change has been kindly tested on real hardware by gson@

The change is not cosmetic and may thus affect users on various
hardware configurations - especially involving legacy hardware.

I look forward to bug reports.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/isa/isa_machdep.c

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



CVS commit: src/sys/arch

2018-09-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Sep 10 07:30:33 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: locore.S
src/sys/arch/evbarm/fdt: fdt_start.S

Log Message:
Don't use printx before setting up stack.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/fdt/fdt_start.S

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



CVS commit: [pgoyette-compat] src/sys/compat/common

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 08:41:47 UTC 2018

Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_09_mod.c
compat_10_mod.c compat_12_mod.c compat_13_mod.c compat_14_mod.c
compat_16_mod.c compat_20_mod.c compat_30_mod.c compat_40_mod.c
compat_43_mod.c compat_50_mod.c compat_60_mod.c compat_70_mod.c
compat_80_mod.c compat_sysctl_09_43.c compat_util.c files.common

Log Message:
Remove the monolithic compat and compat_sysv modules.  Now that we
don't have aliases, we need to use only the version-specific module
names when resolving dependencies.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/compat/common/compat_09_mod.c \
src/sys/compat/common/compat_10_mod.c \
src/sys/compat/common/compat_14_mod.c \
src/sys/compat/common/compat_16_mod.c \
src/sys/compat/common/compat_20_mod.c \
src/sys/compat/common/compat_43_mod.c \
src/sys/compat/common/compat_sysctl_09_43.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/compat/common/compat_12_mod.c \
src/sys/compat/common/compat_13_mod.c \
src/sys/compat/common/compat_40_mod.c
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/compat/common/compat_30_mod.c
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/compat/common/compat_50_mod.c
cvs rdiff -u -r1.1.2.15 -r1.1.2.16 src/sys/compat/common/compat_60_mod.c
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/compat/common/compat_70_mod.c \
src/sys/compat/common/compat_80_mod.c
cvs rdiff -u -r1.46.18.2 -r1.46.18.3 src/sys/compat/common/compat_util.c
cvs rdiff -u -r1.1.2.33 -r1.1.2.34 src/sys/compat/common/files.common

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



CVS commit: [pgoyette-compat] src/sys/modules

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 08:43:50 UTC 2018

Modified Files:
src/sys/modules [pgoyette-compat]: Makefile

Log Message:
Don't descend into the build directories for monolithic compat and
compat_sysv modules.

Add sub-dirs for the soon-to-arrive version-specific compat_netbsd32_xx
modules.


To generate a diff of this commit:
cvs rdiff -u -r1.202.2.25 -r1.202.2.26 src/sys/modules/Makefile

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



CVS commit: [pgoyette-compat] src/distrib/sets/lists/modules

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 08:44:50 UTC 2018

Modified Files:
src/distrib/sets/lists/modules [pgoyette-compat]: ad.arm ad.mips
md.amd64 mi

Log Message:
Update for removal of monolithic compat modules, and for introduction
of version-specific compat_netbsd32_xx modules


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.12.1 src/distrib/sets/lists/modules/ad.arm \
src/distrib/sets/lists/modules/ad.mips
cvs rdiff -u -r1.75.2.2 -r1.75.2.3 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.114.2.20 -r1.114.2.21 src/distrib/sets/lists/modules/mi

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



CVS commit: [pgoyette-compat] src/doc

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 08:49:25 UTC 2018

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Note that the compat_netbsd32 module will be split into version-specific
components.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/doc/TODO.compat-module

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



CVS commit: [pgoyette-compat] src/sys/kern

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 08:52:10 UTC 2018

Modified Files:
src/sys/kern [pgoyette-compat]: syscalls.conf

Log Message:
Add compat_80 to the list of compats


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.28.16.1 src/sys/kern/syscalls.conf

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 08:53:12 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: syscalls.conf

Log Message:
Another compat_80


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.15.16.1 src/sys/compat/netbsd32/syscalls.conf

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

2018-09-10 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Sep 10 09:48:57 UTC 2018

Modified Files:
src/sys/arch/arm/cortex: gic.c

Log Message:
Update sc_mptargets atomically, as PEs will be started up in parallel w/o 
locking here


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm/cortex/gic.c

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



CVS commit: [pgoyette-compat] src/sys

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 09:54:47 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_09.c
netbsd32_compat_10.c netbsd32_compat_12.c syscalls.master
Added Files:
src/sys/modules/compat_netbsd32_09 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_12 [pgoyette-compat]: Makefile

Log Message:
Initial cut at a compat_netbsd32_09 and compat_netbsd32_12 modules.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.86.1 src/sys/compat/netbsd32/netbsd32_compat_09.c
cvs rdiff -u -r1.25 -r1.25.16.1 src/sys/compat/netbsd32/netbsd32_compat_10.c
cvs rdiff -u -r1.33 -r1.33.36.1 src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.120.2.3 -r1.120.2.4 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_09/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_12/Makefile

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



CVS commit: [pgoyette-compat] src/sys

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 10:49:10 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_12.c
netbsd32_compat_13.c netbsd32_compat_20.c netbsd32_compat_30.c
syscalls.master
src/sys/modules [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile
Added Files:
src/sys/modules/compat_netbsd32_13 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_20 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_30 [pgoyette-compat]: Makefile

Log Message:
More compat_netbsd32_xx modules


To generate a diff of this commit:
cvs rdiff -u -r1.33.36.1 -r1.33.36.2 \
src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.26 -r1.26.28.1 src/sys/compat/netbsd32/netbsd32_compat_13.c
cvs rdiff -u -r1.36.10.1 -r1.36.10.2 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.31.16.1 -r1.31.16.2 \
src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.120.2.4 -r1.120.2.5 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r1.202.2.26 -r1.202.2.27 src/sys/modules/Makefile
cvs rdiff -u -r1.20.12.1 -r1.20.12.2 src/sys/modules/compat_netbsd32/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_13/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_20/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_30/Makefile

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

2018-09-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Sep 10 10:55:03 UTC 2018

Modified Files:
src/sys/arch/arm/cortex: gtmr.c

Log Message:
Typo in comment from Joerg's gtmr diff


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/arm/cortex/gtmr.c

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



CVS commit: [pgoyette-compat] src/sys/modules/compat_netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 10:59:50 UTC 2018

Modified Files:
src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile

Log Message:
Remove from the generic module those files which are being included
in their own version-specific modules.


To generate a diff of this commit:
cvs rdiff -u -r1.20.12.2 -r1.20.12.3 src/sys/modules/compat_netbsd32/Makefile

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



CVS commit: src/sys/arch

2018-09-10 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Mon Sep 10 11:05:12 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: cpu.c locore.S pmap.c
src/sys/arch/aarch64/include: cpu.h
src/sys/arch/arm/broadcom: bcm2835reg.h bcm283x_platform.c
bcm283x_platform.h
src/sys/arch/arm/fdt: arm_fdtvar.h cpu_fdt.c files.fdt psci_fdt.c
src/sys/arch/arm/nvidia: tegra_platform.c
src/sys/arch/arm/rockchip: rk_platform.c
src/sys/arch/arm/sunxi: sunxi_platform.c
src/sys/arch/arm/virt: virt_platform.c
Added Files:
src/sys/arch/arm/fdt: psci_fdtvar.h
Removed Files:
src/sys/arch/arm/fdt: psci_fdt.h

Log Message:
cleanup aarch64 mpstart and fdt bootstrap
 * arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and 
eliminate arm_cpu_hatch_arg.
   in mpstart, resolve own cpu index using array of cpu_mpidr[] (aarch64)
 * add support fdt enable-method "spin-table"
 * add support fdt enable-method "brcm,bcm2836-smp" (for 32bit RaspberryPi)
 * use arm_fdt_cpu_bootstrap() instead of psci_fdt_bootstrap()
 * rename "arm/fdt/psci_fdt.h" to "arm/fdt/psci_fdtvar.h" because of conflict 
of include file for needs-flag
 * add devmap for cpu spin-table of raspberrypi3/aarch64
 * no need to force hatch APs for raspberrypi3/arm32 ifndef MULTIPROCESSOR.
 * fix to work pmap_extract(kerneltext/data/bss) even if before calling 
pmap_bootstrap

idea to use cpu_mpidr[] by jmcneill@. reviewd by skrll@. thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/aarch64/cpu.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/include/cpu.h
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/arm/broadcom/bcm2835reg.h
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/broadcom/bcm283x_platform.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/broadcom/bcm283x_platform.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/fdt/arm_fdtvar.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/fdt/cpu_fdt.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/fdt/files.fdt
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/fdt/psci_fdt.c
cvs rdiff -u -r1.2 -r0 src/sys/arch/arm/fdt/psci_fdt.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/fdt/psci_fdtvar.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/nvidia/tegra_platform.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/rockchip/rk_platform.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/sunxi/sunxi_platform.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/virt/virt_platform.c

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



CVS commit: src/sys/kern

2018-09-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Sep 10 13:11:05 UTC 2018

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

Log Message:
Correctly align the size+redzone for KASAN, on amd64 it happens to be
always 8byte-aligned but on other architectures it may not be.


To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/sys/kern/subr_pool.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/printf

2018-09-10 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Sep 10 14:42:29 UTC 2018

Modified Files:
src/usr.bin/printf: printf.c

Log Message:
A truly ancient bug found by Edgar Fuss

When printf is running builtin in a sh, global vars aren't reset to
0 between invocations.   This affects "rval" which remembers state
from a previous %b \c and thereafter always exits after the first
format conversion, until we get a conversion that generates an
error (which resets the flag almost by accident)

printf %b abc\\c
abc (no \n)
printf %s%s hello world
hello   (no \n, of course, no world ...)
printf %s%s hello world
hello
printf %s%s hello world
hello
printf %d hello
printf: hello: expected numeric value
0   (no \n)
printf %s%s hello world
helloworld  (no \n, and we are back!)

This affects both /bin/sh and /bin/csh (and has for a very long time).

XXX pullup -8


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/printf/printf.c

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



CVS commit: src/tests/usr.bin/printf

2018-09-10 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Sep 10 15:02:11 UTC 2018

Modified Files:
src/tests/usr.bin/printf: printf.sh t_builtin.sh

Log Message:
Add a test where printf is run twice in the same shell, and the
first invocation uses \c in a %b arg - make sure that 2nd invocation
is not affected by that  (it was until recently, for a very long time).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/printf/printf.sh
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/printf/t_builtin.sh

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



CVS commit: src/sys/arch/aarch64

2018-09-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Sep 10 15:14:50 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
src/sys/arch/aarch64/include: pmap.h

Log Message:
Rename _pmap_alloc_pdp -> pmap_alloc_pdp, and make it public.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/include/pmap.h

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



CVS commit: [netbsd-8] src/bin/sh

2018-09-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 10 15:45:11 UTC 2018

Modified Files:
src/bin/sh [netbsd-8]: expand.c parser.c syntax.c syntax.h

Log Message:
Pull up following revision(s) via patch (requested by kre in ticket #1015):

bin/sh/expand.c: revision 1.124
bin/sh/expand.c: revision 1.127
bin/sh/parser.c: revision 1.148
bin/sh/parser.c: revision 1.149
bin/sh/syntax.c: revision 1.6
bin/sh/syntax.h: revision 1.9 (partial)

First pass at fixing some of the more arcane pattern matching
possibilities that we do not currently handle all that well.

This mostly means (for now) making sure that quoted pattern
magic characters (as well as quoted sh syntax magic chars)
are properly marked, so they remain known as being quoted,
and do not turn into pattern magic.   Also, make sure that an
unquoted \ in a pattern always quotes whatever comes next
(which, unlike in regular expressions, includes inside []
matches),

 -

Part 2 of pattern matching (glob etc) fixes.
Attempt to correctly deal with \ (both when it is a literal,
in appropriate cases, and when it appears as CTLESC when it was
detected as a quoting character during parsing).

In a pattern, in sh, no quoted character can ever be anything other
than a literal character.   This is quite different than regular
expressions, and even different than other uses of glob matching,
where shell quoting is not an issue.

In something like
ls ?\*.c
the ? is a meta-character, the * is a literal (it was quoted).  This
is nothing new, sh has handled that properly for ever.

But the same happens with
VAR='?\*.c'
and
ls $VAR
which has not always been handled correctly.   Of course, in
ls "$VAR"
nothing in VAR is a meta-character (the entire expansion is quoted)
so even the '\' must match literally (or more accurately, no matching
happens - VAR simply contains an "unusual" filename).  But if it had
been
ls *"$VAR"
then we would be looking for filenames that end with the literal 5
characters that make up $VAR.

The same kinds of things are requires of matching patterns in case
statements, and sub-strings with the % and # operators in variable
expansions.

While here, the final remnant of the ancient !! pattern matching
hack has been removed (the code that actually implemented it was
long gone, but one small piece remained, not doing any real harm,
but potentially wasting time - if someone gave a pattern which would
once have invoked that hack.)


To generate a diff of this commit:
cvs rdiff -u -r1.110.2.4 -r1.110.2.5 src/bin/sh/expand.c
cvs rdiff -u -r1.132.2.5 -r1.132.2.6 src/bin/sh/parser.c
cvs rdiff -u -r1.3.26.1 -r1.3.26.2 src/bin/sh/syntax.c
cvs rdiff -u -r1.7.2.1 -r1.7.2.2 src/bin/sh/syntax.h

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



CVS commit: [netbsd-8] src/usr.bin/find

2018-09-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 10 15:48:25 UTC 2018

Modified Files:
src/usr.bin/find [netbsd-8]: function.c

Log Message:
Pull up following revision(s) (requested by kre in ticket #1016):

usr.bin/find/function.c: revision 1.77

Inspired by PR pkg/53543

When calculating the length of the args that can be
appended in a "find  -exec something {} +"
usage, remember to allow for the arg pointers, which
form part of what is allowed in ARG_MAX.

>From a fairly empty installation of HEAD on amd64
and with a "/tmp/args" command that simply prints
its arg count, and the length of the arg strings,
with this mod I see ..

netbsd# find / -exec /tmp/args {} +
Argc 5000 Arglen 107645
Argc 5000 Arglen 151324
Argc 5000 Arglen 187725
Argc 5000 Arglen 206591
Argc 5000 Arglen 172909
Argc 5000 Arglen 186264
Argc 5000 Arglen 167906
Argc 2881 Arglen 98260

The upper limit of 5000 args is in the code.

Using the biggest of those, 5000
args, plus 206591 bytes of strings
uses 246591 bytes total (this excludes
the command name, so add a few more).

That's fairly close to the ARG_MAX
of 262144.

On another system (with longer paths) I see:
(this is just a small part of the output, using a
different version of the dummy command, and a
slightly different invocation)

Args: 4546 Len 218030
Args: 4878 Len 217991
Args: 4813 Len 218028
Args: 4803 Len 218029

There, 4878*8 + 217991 == 257015 which is about
as close as we'd want to come to the arg limit.

XXX pullup -8


To generate a diff of this commit:
cvs rdiff -u -r1.75.8.1 -r1.75.8.2 src/usr.bin/find/function.c

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



CVS commit: [netbsd-8] src

2018-09-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 10 15:52:36 UTC 2018

Modified Files:
src/distrib/sgimips/instkernel [netbsd-8]: Makefile
src/sys/arch/sgimips/conf [netbsd-8]: INSTALL32_IP2x
src/sys/arch/sgimips/hpc [netbsd-8]: wdsc.c
src/sys/arch/sgimips/sgimips [netbsd-8]: machdep.c
src/sys/arch/sgimips/stand/boot [netbsd-8]: Makefile

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

sys/arch/sgimips/conf/INSTALL32_IP2x: revision 1.10
sys/arch/sgimips/stand/boot/Makefile: revision 1.20
sys/arch/sgimips/sgimips/machdep.c: revision 1.146
sys/arch/sgimips/hpc/wdsc.c: revision 1.35
distrib/sgimips/instkernel/Makefile: revision 1.13

Disable misc options to shrink an INSTALL kernel for IP2x.

The ARC BIOS on Indy seems to have ~8MB limit.

Fixes PR port-sgimips/53378 from Naruaki Etomi.
Should be pulled up to netbsd-7 and netbsd-8.

 -

Fix build failure without options DDB and with pseudo-device ksyms.
There is a typo for ksyms (NKSYMS vs NKSYM).

Also use consistent "#if NKSYMS" rather than "#if NKSYMS > 0" etc.
and add comments after corresponding #endif for readability.

Fixes PR port-sgimips/53521 from Naruaki Etomi.
Should be pulled up to (at least) netbsd-8.

 -

Use elf2ecoff(1) rather than objcopy(1) to generat ecoff for old machines.
objcopy(1) was used instead of elf2ecoff(1) since Makefile rev 1.9:
 
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sgimips/stand/boot/Makefile#rev1.9
but it looks ELF binaries generated by recent binutils are too complicated
to convert them to ecoff for old machines by objcopy(1).

Reported by Naruaki Etomi in PR port-sgimips/53519.
Should be pulled up to at least netbsd-8.

 -

Fix wdsc(4) probe failure on HPC1.5 machines (Indigo R3k/R4k, IP6/IP10/IP12).

The alignment adjustment code was removed in rev 1.36 for common
mips bus_space changes, but the code was not bus_space related
but used for uint32_t register acccess during probe.

Reported and tested by Naruaki Etomi in PR port-sgimips/53522.
Should be pulled up to netbsd-8.

 -

Use elf2ecoff(1) rather than objcopy(1) to generate ecoff kernel.

Reported by Naruaki Etomi in PR port-sgimips/53518.

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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.8.1 src/distrib/sgimips/instkernel/Makefile
cvs rdiff -u -r1.9 -r1.9.40.1 src/sys/arch/sgimips/conf/INSTALL32_IP2x
cvs rdiff -u -r1.34 -r1.34.10.1 src/sys/arch/sgimips/hpc/wdsc.c
cvs rdiff -u -r1.144 -r1.144.6.1 src/sys/arch/sgimips/sgimips/machdep.c
cvs rdiff -u -r1.19 -r1.19.48.1 src/sys/arch/sgimips/stand/boot/Makefile

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



CVS commit: [netbsd-8] src/sys

2018-09-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 10 15:58:47 UTC 2018

Modified Files:
src/sys/netinet [netbsd-8]: in_l2tp.c
src/sys/netinet6 [netbsd-8]: in6_l2tp.c

Log Message:
Pull up following revision(s) (requested by knakahara in ticket #1018):

sys/netinet6/in6_l2tp.c: revision 1.17
sys/netinet/in_l2tp.c: revision 1.16

fix: l2tp(4) cannot receive packets after reset session without reset tunnel. 
Pointed out by k-goda@IIJ

When the following operations are done after established session, the l2tp0
cannot receive packets until done deletetunnel && tunnel "src" "dst".


ifconfig l2tp0 deletesession
ifconfig l2tp0 deletecookie
ifconfig l2tp0 session 200 100


XXX pullup-8


To generate a diff of this commit:
cvs rdiff -u -r1.2.8.6 -r1.2.8.7 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.5.8.6 -r1.5.8.7 src/sys/netinet6/in6_l2tp.c

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



CVS commit: [netbsd-8] src/doc

2018-09-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 10 16:00:10 UTC 2018

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

Log Message:
Tickets #1015 - #1018


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/doc/CHANGES-8.1

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



CVS commit: src/sys/arch/aarch64/aarch64

2018-09-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Sep 10 16:43:24 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c

Log Message:
Replace KDASSERT by panic.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/aarch64/aarch64/pmap.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/aarch64/aarch64

2018-09-10 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Mon Sep 10 17:25:15 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: copyinout.S trap.c

Log Message:
changed kcopy() to asm to avoid replacement memcpy() to kasan_memcpy() when 
defined KASAN.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/aarch64/copyinout.S
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/aarch64/trap.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/aarch64/conf

2018-09-10 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Sep 10 17:25:21 UTC 2018

Modified Files:
src/sys/arch/aarch64/conf: kern.ldscript

Log Message:
reduce the battlefield


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/conf/kern.ldscript

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



CVS commit: [netbsd-8] src/sbin/raidctl

2018-09-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 10 17:56:00 UTC 2018

Modified Files:
src/sbin/raidctl [netbsd-8]: raidctl.8 rf_configure.c rf_configure.h

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1019):

sbin/raidctl/rf_configure.h: revision 1.2
sbin/raidctl/rf_configure.c: revision 1.27
sbin/raidctl/rf_configure.c: revision 1.28
sbin/raidctl/rf_configure.c: revision 1.29
sbin/raidctl/raidctl.8: revision 1.73
sbin/raidctl/rf_configure.c: revision 1.30
sbin/raidctl/rf_configure.c: revision 1.31
sbin/raidctl/rf_configure.c: revision 1.32

support NAME= syntax for disks and spares

 -

stop using magic constants
wrap long lines
use warn{,x}
make static
knf

 -

White space and comment formatting.   NFC.

 -

With char bug[SIZE]  using sizeof(bug[0]) is kind of boring, use
sizeof(bug) instead...

 -

Avoid needless pointer calisthenics: &foo[0] -> foo

 -

Several more cleanups:
1. Don't force use of "for" when "while" works better.
2. No need to check c != '\0' when we also check (c == ' ' || c == '\t')
3. Use the size of the buffer we're using, rather than a different one
   (not really a concern, they're the same size)
4. Don't use fscanf() to read file data, use fgets() & sscanf().
5. After using a pointer as a char *, validate alignment before switching
   to int * (can only fail if kernel #define gets set stupidly)   Or #6...
6. Validate sparemap file name isn't too long for assigned space.
7. recognise that strlen() returns size_t - don't shove it into an int.
8. On out of mem, be more clear which allocation failed in warning msg.

ATF tests all pass.   But I don't think they use sparemap files.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.71.8.1 src/sbin/raidctl/raidctl.8
cvs rdiff -u -r1.26 -r1.26.8.1 src/sbin/raidctl/rf_configure.c
cvs rdiff -u -r1.1 -r1.1.92.1 src/sbin/raidctl/rf_configure.h

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



CVS commit: [netbsd-8] src/doc

2018-09-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 10 17:56:49 UTC 2018

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

Log Message:
Ticket #1019


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.23 -r1.1.2.24 src/doc/CHANGES-8.1

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

2018-09-10 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Sep 10 19:09:38 UTC 2018

Modified Files:
src/sys/arch/arm/amd: seattle_platform.c

Log Message:
psci_fdt_bootstrap -> arm_fdt_cpu_bootstrap


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/amd/seattle_platform.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/fdt

2018-09-10 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Sep 10 19:15:17 UTC 2018

Modified Files:
src/sys/arch/arm/fdt: cpu_fdt.c

Log Message:
Re-add support for cpu nodes with status = "disabled", lost in previous commit


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/fdt/cpu_fdt.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/cortex

2018-09-10 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Sep 10 19:43:58 UTC 2018

Modified Files:
src/sys/arch/arm/cortex: gic.c

Log Message:
armgic_ipi_send: use GIC interface number, not CPU index, when setting
the target(s) for an IPI.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/arm/cortex/gic.c

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



CVS commit: [pgoyette-compat] src/sys

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Sep 10 22:50:52 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_20.c
netbsd32_compat_50.c netbsd32_compat_60.c netbsd32_mod.c
netbsd32_module.c syscalls.master
src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile
src/sys/sys [pgoyette-compat]: module.h
Added Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_80.c
src/sys/modules/compat_netbsd32_50 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_60 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_80 [pgoyette-compat]: Makefile

Log Message:
More work on splitting the compat_netbsd32 module


To generate a diff of this commit:
cvs rdiff -u -r1.36.10.2 -r1.36.10.3 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.32 -r1.32.16.1 src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.3 -r1.3.2.1 src/sys/compat/netbsd32/netbsd32_compat_60.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/compat/netbsd32/netbsd32_compat_80.c
cvs rdiff -u -r1.13.16.3 -r1.13.16.4 src/sys/compat/netbsd32/netbsd32_mod.c
cvs rdiff -u -r1.6.2.3 -r1.6.2.4 src/sys/compat/netbsd32/netbsd32_module.c
cvs rdiff -u -r1.120.2.5 -r1.120.2.6 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r1.20.12.3 -r1.20.12.4 src/sys/modules/compat_netbsd32/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_50/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_60/Makefile
cvs rdiff -u -r0 -r1.1.2.1 src/sys/modules/compat_netbsd32_80/Makefile
cvs rdiff -u -r1.41.14.11 -r1.41.14.12 src/sys/sys/module.h

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 01:45:19 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: syscalls.master

Log Message:
Update for module-provided compat syscalls


To generate a diff of this commit:
cvs rdiff -u -r1.120.2.6 -r1.120.2.7 src/sys/compat/netbsd32/syscalls.master

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 01:52:00 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_10.c
netbsd32_compat_12.c netbsd32_compat_13.c netbsd32_compat_20.c
netbsd32_compat_30.c netbsd32_compat_50.c netbsd32_compat_60.c
netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c
netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c

Log Message:
Regen syscall files and fix includes for syscallvar.h


To generate a diff of this commit:
cvs rdiff -u -r1.25.16.1 -r1.25.16.2 \
src/sys/compat/netbsd32/netbsd32_compat_10.c
cvs rdiff -u -r1.33.36.2 -r1.33.36.3 \
src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.26.28.1 -r1.26.28.2 \
src/sys/compat/netbsd32/netbsd32_compat_13.c
cvs rdiff -u -r1.36.10.3 -r1.36.10.4 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.31.16.2 -r1.31.16.3 \
src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.32.16.1 -r1.32.16.2 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.3.2.1 -r1.3.2.2 src/sys/compat/netbsd32/netbsd32_compat_60.c
cvs rdiff -u -r1.134.2.3 -r1.134.2.4 \
src/sys/compat/netbsd32/netbsd32_syscall.h
cvs rdiff -u -r1.134.2.2 -r1.134.2.3 \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.132.2.3 -r1.132.2.4 \
src/sys/compat/netbsd32/netbsd32_syscalls.c
cvs rdiff -u -r1.13.2.2 -r1.13.2.3 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.132.2.2 -r1.132.2.3 \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.24.2.2 -r1.24.2.3 \
src/sys/compat/netbsd32/netbsd32_systrace_args.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/bsd/libnv/dist

2018-09-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep 11 02:20:31 UTC 2018

Modified Files:
src/sys/external/bsd/libnv/dist: nvlist.c nvlist_impl.h

Log Message:
add dead...


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/libnv/dist/nvlist.c
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/libnv/dist/nvlist_impl.h

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 02:53:56 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_09.c
netbsd32_compat_12.c netbsd32_compat_13.c netbsd32_compat_20.c
netbsd32_compat_30.c netbsd32_compat_50.c netbsd32_compat_60.c

Log Message:
Use netbsd32 syscall names in the establish/disestablish tables


To generate a diff of this commit:
cvs rdiff -u -r1.18.86.1 -r1.18.86.2 \
src/sys/compat/netbsd32/netbsd32_compat_09.c
cvs rdiff -u -r1.33.36.3 -r1.33.36.4 \
src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.26.28.2 -r1.26.28.3 \
src/sys/compat/netbsd32/netbsd32_compat_13.c
cvs rdiff -u -r1.36.10.4 -r1.36.10.5 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.31.16.3 -r1.31.16.4 \
src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.32.16.2 -r1.32.16.3 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.3.2.2 -r1.3.2.3 src/sys/compat/netbsd32/netbsd32_compat_60.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

2018-09-10 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Sep 11 03:30:40 UTC 2018

Modified Files:
src/bin/sh: jobs.h

Log Message:
Whitespace cleanup from last update.   NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/bin/sh/jobs.h

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



CVS commit: [pgoyette-compat] src/sys/modules

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 04:20:51 UTC 2018

Modified Files:
src/sys/modules [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_09 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_12 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_13 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_20 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_30 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_50 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_60 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_80 [pgoyette-compat]: Makefile

Log Message:
Add -DCOMPAT_NETBSD32 for all the version-specific modules


To generate a diff of this commit:
cvs rdiff -u -r1.202.2.27 -r1.202.2.28 src/sys/modules/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_09/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_12/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_13/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_20/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_30/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_50/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_60/Makefile
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/modules/compat_netbsd32_80/Makefile

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 04:53:42 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_09.c
netbsd32_compat_12.c netbsd32_compat_13.c netbsd32_compat_20.c
netbsd32_compat_30.c netbsd32_compat_50.c netbsd32_compat_60.c
netbsd32_mod.c netbsd32_module.c

Log Message:
Install the syscalls into the netbsd32 table, not the default/native table.


To generate a diff of this commit:
cvs rdiff -u -r1.18.86.2 -r1.18.86.3 \
src/sys/compat/netbsd32/netbsd32_compat_09.c
cvs rdiff -u -r1.33.36.4 -r1.33.36.5 \
src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.26.28.3 -r1.26.28.4 \
src/sys/compat/netbsd32/netbsd32_compat_13.c
cvs rdiff -u -r1.36.10.5 -r1.36.10.6 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.31.16.4 -r1.31.16.5 \
src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.32.16.3 -r1.32.16.4 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.3.2.3 -r1.3.2.4 src/sys/compat/netbsd32/netbsd32_compat_60.c
cvs rdiff -u -r1.13.16.4 -r1.13.16.5 src/sys/compat/netbsd32/netbsd32_mod.c
cvs rdiff -u -r1.6.2.4 -r1.6.2.5 src/sys/compat/netbsd32/netbsd32_module.c

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 05:00:42 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: files.netbsd32
netbsd32_compat_09.c netbsd32_compat_12.c netbsd32_compat_13.c
netbsd32_compat_20.c netbsd32_compat_30.c netbsd32_compat_50.c
netbsd32_compat_60.c

Log Message:
Also need to declare the emul_netbsd32 !


To generate a diff of this commit:
cvs rdiff -u -r1.39.14.1 -r1.39.14.2 src/sys/compat/netbsd32/files.netbsd32
cvs rdiff -u -r1.18.86.3 -r1.18.86.4 \
src/sys/compat/netbsd32/netbsd32_compat_09.c
cvs rdiff -u -r1.33.36.5 -r1.33.36.6 \
src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.26.28.4 -r1.26.28.5 \
src/sys/compat/netbsd32/netbsd32_compat_13.c
cvs rdiff -u -r1.36.10.6 -r1.36.10.7 \
src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.31.16.5 -r1.31.16.6 \
src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -u -r1.32.16.4 -r1.32.16.5 \
src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.3.2.4 -r1.3.2.5 src/sys/compat/netbsd32/netbsd32_compat_60.c

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



CVS commit: [pgoyette-compat] src/sys/modules/compat_netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 05:01:35 UTC 2018

Modified Files:
src/sys/modules/compat_netbsd32 [pgoyette-compat]: Makefile

Log Message:
Don't include the 60-specific code in the monolithic compat_netbsd32 module


To generate a diff of this commit:
cvs rdiff -u -r1.20.12.4 -r1.20.12.5 src/sys/modules/compat_netbsd32/Makefile

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 05:47:52 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: syscalls.master

Log Message:
Don't be overzealous with changes!  Return a few syscalls to their
original COMPAT_xx status (rather than STD)


To generate a diff of this commit:
cvs rdiff -u -r1.120.2.7 -r1.120.2.8 src/sys/compat/netbsd32/syscalls.master

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 05:48:07 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_compat_80.c
netbsd32_mqueue.c netbsd32_syscall.h netbsd32_syscallargs.h
netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/compat/netbsd32/netbsd32_compat_80.c
cvs rdiff -u -r1.6 -r1.6.18.1 src/sys/compat/netbsd32/netbsd32_mqueue.c
cvs rdiff -u -r1.134.2.4 -r1.134.2.5 \
src/sys/compat/netbsd32/netbsd32_syscall.h
cvs rdiff -u -r1.134.2.3 -r1.134.2.4 \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.132.2.4 -r1.132.2.5 \
src/sys/compat/netbsd32/netbsd32_syscalls.c
cvs rdiff -u -r1.13.2.3 -r1.13.2.4 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.132.2.3 -r1.132.2.4 \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.24.2.3 -r1.24.2.4 \
src/sys/compat/netbsd32/netbsd32_systrace_args.c

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 05:57:15 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_mqueue.c

Log Message:
Revert previous - it was wrong.


To generate a diff of this commit:
cvs rdiff -u -r1.6.18.1 -r1.6.18.2 src/sys/compat/netbsd32/netbsd32_mqueue.c

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 06:11:59 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: syscalls.master

Log Message:
More over-zealousness - what was I thinking?


To generate a diff of this commit:
cvs rdiff -u -r1.120.2.8 -r1.120.2.9 src/sys/compat/netbsd32/syscalls.master

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



CVS commit: [pgoyette-compat] src/sys/compat/netbsd32

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 06:12:18 UTC 2018

Modified Files:
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_syscall.h
netbsd32_syscallargs.h netbsd32_syscalls.c
netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c

Log Message:
And regen again


To generate a diff of this commit:
cvs rdiff -u -r1.134.2.5 -r1.134.2.6 \
src/sys/compat/netbsd32/netbsd32_syscall.h
cvs rdiff -u -r1.134.2.4 -r1.134.2.5 \
src/sys/compat/netbsd32/netbsd32_syscallargs.h
cvs rdiff -u -r1.132.2.5 -r1.132.2.6 \
src/sys/compat/netbsd32/netbsd32_syscalls.c
cvs rdiff -u -r1.13.2.4 -r1.13.2.5 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.132.2.4 -r1.132.2.5 \
src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.24.2.4 -r1.24.2.5 \
src/sys/compat/netbsd32/netbsd32_systrace_args.c

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



CVS commit: [pgoyette-compat] src/sys/modules

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 06:26:59 UTC 2018

Modified Files:
src/sys/modules/compat_netbsd32_13 [pgoyette-compat]: Makefile
src/sys/modules/compat_netbsd32_80 [pgoyette-compat]: Makefile

Log Message:
Fix some typos


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_netbsd32_13/Makefile
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/modules/compat_netbsd32_80/Makefile

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



CVS commit: [pgoyette-compat] src/distrib/sets/lists/modules

2018-09-10 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Sep 11 06:46:24 UTC 2018

Modified Files:
src/distrib/sets/lists/modules [pgoyette-compat]: ad.arm ad.mips
md.amd64

Log Message:
Fix module names - the version info comes prior to the .kmod suffix!


To generate a diff of this commit:
cvs rdiff -u -r1.10.12.1 -r1.10.12.2 src/distrib/sets/lists/modules/ad.arm \
src/distrib/sets/lists/modules/ad.mips
cvs rdiff -u -r1.75.2.3 -r1.75.2.4 src/distrib/sets/lists/modules/md.amd64

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