CVS commit: src/usr.bin/make

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 23:24:06 UTC 2021

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

Log Message:
make: move VarEvalFlags_ToString down to the other functions

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.903 -r1.904 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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 23:19:09 UTC 2021

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

Log Message:
make: condense definition of VarPatternFlags

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.902 -r1.903 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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 23:15:52 UTC 2021

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

Log Message:
make: inline VarFlags into Var

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.901 -r1.902 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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 23:08:30 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: directive-export-impl.exp
directive-export-impl.mk

Log Message:
make: replace enum bit-set with struct bit-fields

This makes the code easier to read, especially when setting one of the
flags to false.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.900 -r1.901 src/usr.bin/make/var.c
cvs rdiff -u -r1.6 -r1.7 \
src/usr.bin/make/unit-tests/directive-export-impl.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/directive-export-impl.mk

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



CVS commit: src/external/mpl/bind/dist/lib/isc

2021-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  3 22:44:44 UTC 2021

Modified Files:
src/external/mpl/bind/dist/lib/isc: app.c

Log Message:
Don't block signals if we are not bind (because if we are not bind, we don't
sigwait(2)).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mpl/bind/dist/lib/isc/app.c

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



CVS commit: [thorpej-futex] src/distrib/sets/lists

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 22:43:42 UTC 2021

Modified Files:
src/distrib/sets/lists/base [thorpej-futex]: md.amiga md.evbarm mi
shl.mi
src/distrib/sets/lists/comp [thorpej-futex]: ad.mips mi stl.mi
src/distrib/sets/lists/debug [thorpej-futex]: mi module.md.amd64
module.md.i386 module.mi shl.mi
src/distrib/sets/lists/etc [thorpej-futex]: mi
src/distrib/sets/lists/man [thorpej-futex]: mi
src/distrib/sets/lists/modules [thorpej-futex]: md.amd64 md.i386 mi
src/distrib/sets/lists/tests [thorpej-futex]: mi
src/distrib/sets/lists/xbase [thorpej-futex]: md.evbarm mi
src/distrib/sets/lists/xcomp [thorpej-futex]: mi
src/distrib/sets/lists/xdebug [thorpej-futex]: md.evbarm mi
src/distrib/sets/lists/xetc [thorpej-futex]: mi
src/distrib/sets/lists/xfont [thorpej-futex]: mi
src/distrib/sets/lists/xserver [thorpej-futex]: mi
Added Files:
src/distrib/sets/lists/xdebug [thorpej-futex]: md.evbppc
src/distrib/sets/lists/xserver [thorpej-futex]: md.evbppc

Log Message:
Sync with HEAD.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.56.30.1 src/distrib/sets/lists/base/md.amiga
cvs rdiff -u -r1.19 -r1.19.2.1 src/distrib/sets/lists/base/md.evbarm
cvs rdiff -u -r1.1272.2.1 -r1.1272.2.2 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.910 -r1.910.2.1 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.86 -r1.86.2.1 src/distrib/sets/lists/comp/ad.mips
cvs rdiff -u -r1.2367.2.1 -r1.2367.2.2 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.7 -r1.7.2.1 src/distrib/sets/lists/comp/stl.mi
cvs rdiff -u -r1.344.2.1 -r1.344.2.2 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.4 -r1.4.2.1 src/distrib/sets/lists/debug/module.md.amd64
cvs rdiff -u -r1.2 -r1.2.2.1 src/distrib/sets/lists/debug/module.md.i386
cvs rdiff -u -r1.7 -r1.7.2.1 src/distrib/sets/lists/debug/module.mi
cvs rdiff -u -r1.269 -r1.269.2.1 src/distrib/sets/lists/debug/shl.mi
cvs rdiff -u -r1.263 -r1.263.2.1 src/distrib/sets/lists/etc/mi
cvs rdiff -u -r1.1711.2.1 -r1.1711.2.2 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.91 -r1.91.2.1 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.89 -r1.89.2.1 src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.142 -r1.142.2.1 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.993.2.1 -r1.993.2.2 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.6 -r1.6.4.1 src/distrib/sets/lists/xbase/md.evbarm
cvs rdiff -u -r1.163.2.1 -r1.163.2.2 src/distrib/sets/lists/xbase/mi
cvs rdiff -u -r1.223 -r1.223.2.1 src/distrib/sets/lists/xcomp/mi
cvs rdiff -u -r1.28 -r1.28.2.1 src/distrib/sets/lists/xdebug/md.evbarm
cvs rdiff -u -r0 -r1.1.2.2 src/distrib/sets/lists/xdebug/md.evbppc
cvs rdiff -u -r1.39.2.1 -r1.39.2.2 src/distrib/sets/lists/xdebug/mi
cvs rdiff -u -r1.39 -r1.39.2.1 src/distrib/sets/lists/xetc/mi
cvs rdiff -u -r1.45 -r1.45.2.1 src/distrib/sets/lists/xfont/mi
cvs rdiff -u -r0 -r1.4.2.2 src/distrib/sets/lists/xserver/md.evbppc
cvs rdiff -u -r1.46 -r1.46.2.1 src/distrib/sets/lists/xserver/mi

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



CVS commit: [thorpej-futex] src/tests/lib/libc/sys

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 22:34:59 UTC 2021

Modified Files:
src/tests/lib/libc/sys [thorpej-futex]: t_ptrace_signal_wait.h
t_sendrecv.c t_syscall.c

Log Message:
Sync with HEAD.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.2.1 src/tests/lib/libc/sys/t_ptrace_signal_wait.h
cvs rdiff -u -r1.6 -r1.6.8.1 src/tests/lib/libc/sys/t_sendrecv.c
cvs rdiff -u -r1.3 -r1.3.10.1 src/tests/lib/libc/sys/t_syscall.c

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



CVS commit: src/external/mpl/bind/dist/lib/isc

2021-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  3 22:20:26 UTC 2021

Modified Files:
src/external/mpl/bind/dist/lib/isc: timer.c
src/external/mpl/bind/dist/lib/isc/netmgr: netmgr.c
src/external/mpl/bind/dist/lib/isc/unix: socket.c

Log Message:
prefixing lwp names with isc- adds no useful information and causes
truncation of the useful part.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/mpl/bind/dist/lib/isc/timer.c
cvs rdiff -u -r1.4 -r1.5 src/external/mpl/bind/dist/lib/isc/netmgr/netmgr.c
cvs rdiff -u -r1.20 -r1.21 src/external/mpl/bind/dist/lib/isc/unix/socket.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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 22:06:23 UTC 2021

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

Log Message:
make: remove unused Expr.varFlags

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.899 -r1.900 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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 22:02:59 UTC 2021

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: directive-export-impl.exp
directive-unexport-env.exp var-eval-short.exp var-op-append.exp
vardebug.exp varmod-assign.exp varmod-defined.exp
varmod-indirect.exp varmod-match-escape.exp varname-empty.exp
varname.exp

Log Message:
make: remove VarFlags from debug logging

Before the introduction of ExprDefined, VarFlags contained whether the
expression was defined or not, which was useful to know since the final
value of the expression depends on this information.  The other VarFlags
do not influence the evaluation, so there is no point logging them.


To generate a diff of this commit:
cvs rdiff -u -r1.898 -r1.899 src/usr.bin/make/var.c
cvs rdiff -u -r1.5 -r1.6 \
src/usr.bin/make/unit-tests/directive-export-impl.exp \
src/usr.bin/make/unit-tests/varmod-defined.exp
cvs rdiff -u -r1.6 -r1.7 \
src/usr.bin/make/unit-tests/directive-unexport-env.exp \
src/usr.bin/make/unit-tests/var-op-append.exp
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/var-eval-short.exp \
src/usr.bin/make/unit-tests/varmod-match-escape.exp
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/unit-tests/vardebug.exp
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/make/unit-tests/varmod-assign.exp
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/make/unit-tests/varmod-indirect.exp \
src/usr.bin/make/unit-tests/varname.exp
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/make/unit-tests/varname-empty.exp

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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 21:55:27 UTC 2021

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

Log Message:
make: simplify access to the name of an expression during evaluation

During the evaluation, the flags of the variable don't change, except
for VFL_IN_USE, but in such a case make exits immediately anyway.

Logging the variable flags does not provide any useful information, so
it will be removed soon.  Logging the variable flags made sense when the
definedness of the expression was still encoded in the variable flags,
instead of in the separate ExprDefined.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.897 -r1.898 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: [thorpej-futex] src/sys/kern

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 21:52:20 UTC 2021

Modified Files:
src/sys/kern [thorpej-futex]: sys_futex.c

Log Message:
futex_func_wait(): If TIMER_ABSTIME, sanity check that the deadline
provided by the caller is not ridiculous.


To generate a diff of this commit:
cvs rdiff -u -r1.11.2.1 -r1.11.2.2 src/sys/kern/sys_futex.c

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



CVS commit: [thorpej-cfargs] src/sys

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 21:45:01 UTC 2021

Modified Files:
src/sys/arch/aarch64/aarch64 [thorpej-cfargs]: aarch64_machdep.c
efi_machdep.c locore.S pmapboot.c vm_machdep.c
src/sys/arch/aarch64/include [thorpej-cfargs]: asan.h cpu.h pmap.h
types.h vmparam.h
src/sys/arch/alpha/alpha [thorpej-cfargs]: pmap.c
src/sys/arch/alpha/include [thorpej-cfargs]: lock.h
src/sys/arch/amd64/include [thorpej-cfargs]: types.h
src/sys/arch/amiga/include [thorpej-cfargs]: types.h
src/sys/arch/arm/arm32 [thorpej-cfargs]: arm32_kvminit.c pmap.c
vm_machdep.c
src/sys/arch/arm/cortex [thorpej-cfargs]: gic.c gicv3.c
src/sys/arch/arm/include [thorpej-cfargs]: cpu.h
src/sys/arch/arm/omap [thorpej-cfargs]: ti_iic.c
src/sys/arch/arm/pic [thorpej-cfargs]: pic.c pic_splfuncs.c picvar.h
src/sys/arch/atari/include [thorpej-cfargs]: intr.h types.h
src/sys/arch/bebox/include [thorpej-cfargs]: types.h
src/sys/arch/cats/include [thorpej-cfargs]: types.h
src/sys/arch/cesfic/cesfic [thorpej-cfargs]: isr.c
src/sys/arch/cesfic/include [thorpej-cfargs]: types.h
src/sys/arch/emips/include [thorpej-cfargs]: types.h
src/sys/arch/evbarm/bcm53xx [thorpej-cfargs]: bcm53xx_machdep.c
src/sys/arch/evbarm/beagle [thorpej-cfargs]: beagle_machdep.c
src/sys/arch/evbarm/conf [thorpej-cfargs]: Makefile.evbarm.inc
std.generic std.rpi
src/sys/arch/evbarm/include [thorpej-cfargs]: types.h
src/sys/arch/evbarm/rpi [thorpej-cfargs]: vcio.h
src/sys/arch/evbarm/zynq [thorpej-cfargs]: zynq_machdep.c
src/sys/arch/evbppc/conf [thorpej-cfargs]: Makefile.virtex.inc
Makefile.walnut.inc files.obs405 files.walnut
src/sys/arch/evbppc/evbppc [thorpej-cfargs]: evbppc_machdep.c
src/sys/arch/evbppc/explora [thorpej-cfargs]: machdep.c
src/sys/arch/evbppc/include [thorpej-cfargs]: obs200.h obs266.h
obs600.h
src/sys/arch/evbppc/obs405 [thorpej-cfargs]: obs200_autoconf.c
obs200_machdep.c obs266_autoconf.c obs266_machdep.c
obs600_autoconf.c obs600_machdep.c
src/sys/arch/evbppc/virtex [thorpej-cfargs]: autoconf.c consinit.c
design_gsrd2.c machdep.c
src/sys/arch/evbppc/virtex/dev [thorpej-cfargs]: if_temac.c tft_ll.c
src/sys/arch/evbppc/walnut [thorpej-cfargs]: autoconf.c consinit.c
machdep.c
src/sys/arch/hpcsh/include [thorpej-cfargs]: types.h
src/sys/arch/hppa/include [thorpej-cfargs]: types.h
src/sys/arch/i386/include [thorpej-cfargs]: types.h
src/sys/arch/ia64/include [thorpej-cfargs]: types.h
src/sys/arch/landisk/include [thorpej-cfargs]: types.h
src/sys/arch/luna68k/include [thorpej-cfargs]: types.h
src/sys/arch/luna68k/luna68k [thorpej-cfargs]: isr.c locore.s
src/sys/arch/m68k/include [thorpej-cfargs]: types.h
src/sys/arch/mac68k/include [thorpej-cfargs]: types.h
src/sys/arch/mac68k/mac68k [thorpej-cfargs]: intr.c
src/sys/arch/macppc/conf [thorpej-cfargs]: POWERMAC_G5
src/sys/arch/mips/cavium/dev [thorpej-cfargs]: octeon_fpa.c
src/sys/arch/mips/conf [thorpej-cfargs]: files.mips
src/sys/arch/mips/include [thorpej-cfargs]: Makefile Makefile.inc
cdefs.h cpu.h db_machdep.h frame.h types.h
src/sys/arch/mips/mips [thorpej-cfargs]: mips_machdep.c
mips_stacktrace.c trap.c
src/sys/arch/mvme68k/include [thorpej-cfargs]: types.h
src/sys/arch/mvme68k/mvme68k [thorpej-cfargs]: isr.c locore.s
src/sys/arch/mvmeppc/include [thorpej-cfargs]: types.h
src/sys/arch/netwinder/include [thorpej-cfargs]: types.h
src/sys/arch/news68k/include [thorpej-cfargs]: types.h
src/sys/arch/newsmips/include [thorpej-cfargs]: types.h
src/sys/arch/next68k/include [thorpej-cfargs]: types.h
src/sys/arch/next68k/next68k [thorpej-cfargs]: isr.c
src/sys/arch/or1k/include [thorpej-cfargs]: types.h
src/sys/arch/powerpc/booke [thorpej-cfargs]: booke_machdep.c
src/sys/arch/powerpc/ibm4xx [thorpej-cfargs]: cpu.c ibm4xx_autoconf.c
ibm4xx_machdep.c pmap.c
src/sys/arch/powerpc/ibm4xx/dev [thorpej-cfargs]: emacreg.h if_emac.c
src/sys/arch/powerpc/ibm4xx/openbios [thorpej-cfargs]: locore.S
openbios.c
src/sys/arch/powerpc/include [thorpej-cfargs]: types.h
src/sys/arch/powerpc/include/ibm4xx [thorpej-cfargs]: cpu.h dcr4xx.h
openbios.h tlb.h
src/sys/arch/powerpc/oea [thorpej-cfargs]: cpu_subr.c ofwoea_machdep.c
src/sys/arch/powerpc/pic [thorpej-cfargs]: intr.c picvar.h
src/sys/arch/powerpc/powerpc [thorpej-cfargs]: db_interface.c
src/sys/arch/prep/include [thorpej-cfargs]: types.h
src/sys/arch/riscv

CVS commit: src/doc

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 21:36:03 UTC 2021

Modified Files:
src/doc: BRANCHES

Log Message:
Document thorpej-cfargs branch.


To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357 src/doc/BRANCHES

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



CVS commit: [thorpej-cfargs] src/sys

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 21:21:08 UTC 2021

Modified Files:
src/sys/arch/arm/acpi [thorpej-cfargs]: acpi_platform.c
src/sys/arch/arm/altera [thorpej-cfargs]: cycv_platform.c
src/sys/arch/arm/amlogic [thorpej-cfargs]: meson_platform.c
src/sys/arch/arm/broadcom [thorpej-cfargs]: bcm283x_platform.c
src/sys/arch/arm/fdt [thorpej-cfargs]: arm_platform.c
src/sys/arch/arm/nvidia [thorpej-cfargs]: tegra_platform.c
src/sys/arch/arm/nxp [thorpej-cfargs]: imx6_platform.c
src/sys/arch/arm/rockchip [thorpej-cfargs]: rk_platform.c
src/sys/arch/arm/samsung [thorpej-cfargs]: exynos_platform.c
src/sys/arch/arm/sunxi [thorpej-cfargs]: sunxi_platform.c
src/sys/arch/arm/ti [thorpej-cfargs]: omap3_platform.c
src/sys/arch/arm/vexpress [thorpej-cfargs]: vexpress_platform.c
src/sys/arch/arm/virt [thorpej-cfargs]: virt_platform.c
src/sys/arch/arm/xilinx [thorpej-cfargs]: zynq_platform.c
src/sys/dev/fdt [thorpej-cfargs]: fdtbus.c fdtvar.h
src/sys/dev/ofw [thorpej-cfargs]: ofw_subr.c openfirm.h

Log Message:
- FDT device enumeration now sets the device handle using CFARG_DEVHANDLE.
- fdtbus_device_register() is now obsolete, so G/C it.
- of_device_register() is now obsolete, so G/C it.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.24.2.1 src/sys/arch/arm/acpi/acpi_platform.c
cvs rdiff -u -r1.17 -r1.17.2.1 src/sys/arch/arm/altera/cycv_platform.c
cvs rdiff -u -r1.19 -r1.19.2.1 src/sys/arch/arm/amlogic/meson_platform.c
cvs rdiff -u -r1.47 -r1.47.2.1 src/sys/arch/arm/broadcom/bcm283x_platform.c
cvs rdiff -u -r1.4 -r1.4.2.1 src/sys/arch/arm/fdt/arm_platform.c
cvs rdiff -u -r1.26 -r1.26.2.1 src/sys/arch/arm/nvidia/tegra_platform.c
cvs rdiff -u -r1.5 -r1.5.2.1 src/sys/arch/arm/nxp/imx6_platform.c
cvs rdiff -u -r1.11 -r1.11.2.1 src/sys/arch/arm/rockchip/rk_platform.c
cvs rdiff -u -r1.37 -r1.37.2.1 src/sys/arch/arm/samsung/exynos_platform.c
cvs rdiff -u -r1.42 -r1.42.2.1 src/sys/arch/arm/sunxi/sunxi_platform.c
cvs rdiff -u -r1.6 -r1.6.2.1 src/sys/arch/arm/ti/omap3_platform.c
cvs rdiff -u -r1.21 -r1.21.2.1 src/sys/arch/arm/vexpress/vexpress_platform.c
cvs rdiff -u -r1.13 -r1.13.2.1 src/sys/arch/arm/virt/virt_platform.c
cvs rdiff -u -r1.4 -r1.4.2.1 src/sys/arch/arm/xilinx/zynq_platform.c
cvs rdiff -u -r1.40.2.3 -r1.40.2.4 src/sys/dev/fdt/fdtbus.c
cvs rdiff -u -r1.69 -r1.69.2.1 src/sys/dev/fdt/fdtvar.h
cvs rdiff -u -r1.57 -r1.57.2.1 src/sys/dev/ofw/ofw_subr.c
cvs rdiff -u -r1.46 -r1.46.2.1 src/sys/dev/ofw/openfirm.h

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



CVS commit: src/external/bsd/top/dist/machine

2021-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  3 19:25:38 UTC 2021

Modified Files:
src/external/bsd/top/dist/machine: m_netbsd.c

Log Message:
- Bump field width for state to accommodate > 9 CPUs
- When star formatting to adjust the width, count the trailing number of
  digits starting backwards instead of using strcspn because the lwp name
  might contain other digits like wm0TxRx/10.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/top/dist/machine/m_netbsd.c

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



CVS commit: src/doc

2021-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  3 17:46:07 UTC 2021

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new acpica


To generate a diff of this commit:
cvs rdiff -u -r1.1787 -r1.1788 src/doc/3RDPARTY
cvs rdiff -u -r1.2790 -r1.2791 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/sys/external/bsd/acpica/dist

2021-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  3 17:45:04 UTC 2021

Modified Files:
src/sys/external/bsd/acpica/dist/common: dmtables.c dmtbdump.c
dmtbinfo.c
src/sys/external/bsd/acpica/dist/compiler: aslanalyze.c aslcompile.c
aslcompiler.h aslcompiler.l aslerror.c aslfileio.c aslfiles.c
aslload.c asllookup.c aslopcodes.c aslopt.c asloptions.c
aslpredef.c aslprepkg.c aslsupport.l asltree.c aslutils.c
aslwalks.c aslxref.c dtcompile.c dtcompilerparser.y dtfield.c
dtparser.y dtsubtable.c dttable.c dtutils.c prparser.y prutils.c
src/sys/external/bsd/acpica/dist/debugger: dbcmds.c dbdisply.c dbexec.c
dbinput.c dbmethod.c dbnames.c dbtest.c dbutils.c
src/sys/external/bsd/acpica/dist/disassembler: dmbuffer.c dmcstyle.c
dmresrc.c dmresrcl.c dmresrcl2.c dmwalk.c
src/sys/external/bsd/acpica/dist/dispatcher: dscontrol.c dsopcode.c
dspkginit.c dsutils.c
src/sys/external/bsd/acpica/dist/events: evregion.c evrgnini.c
evxface.c
src/sys/external/bsd/acpica/dist/executer: exconfig.c exdebug.c
exdump.c
src/sys/external/bsd/acpica/dist/hardware: hwesleep.c hwregs.c
hwsleep.c hwxfsleep.c
src/sys/external/bsd/acpica/dist/include: acapps.h acdebug.h acdisasm.h
acexcep.h acglobal.h acinterp.h aclocal.h acmacros.h acnamesp.h
acoutput.h acpiosxf.h acpixf.h acresrc.h actables.h actbl1.h
actypes.h acutils.h amlresrc.h
src/sys/external/bsd/acpica/dist/include/platform: acgcc.h acnetbsd.h
src/sys/external/bsd/acpica/dist/namespace: nsaccess.c nsdump.c
nseval.c nsinit.c nsrepair2.c nsxfeval.c nsxfname.c
src/sys/external/bsd/acpica/dist/os_specific/service_layers:
oslinuxtbl.c
src/sys/external/bsd/acpica/dist/parser: psopcode.c psopinfo.c
src/sys/external/bsd/acpica/dist/resources: rsdump.c rsdumpinfo.c
rsutils.c rsxface.c
src/sys/external/bsd/acpica/dist/tables: tbdata.c tbfadt.c tbinstal.c
tbutils.c tbxface.c tbxfload.c tbxfroot.c
src/sys/external/bsd/acpica/dist/tools/acpidump: apfiles.c
src/sys/external/bsd/acpica/dist/tools/acpixtract: acpixtract.c
src/sys/external/bsd/acpica/dist/utilities: utcache.c utdebug.c
utdecode.c utdelete.c uteval.c utglobal.c utmisc.c utmutex.c
utnonansi.c utobject.c utosi.c utprint.c uttrack.c utuuid.c

Log Message:
Merge local changes with acpica-20210331


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/acpica/dist/common/dmtables.c
cvs rdiff -u -r1.12 -r1.13 src/sys/external/bsd/acpica/dist/common/dmtbdump.c
cvs rdiff -u -r1.18 -r1.19 src/sys/external/bsd/acpica/dist/common/dmtbinfo.c
cvs rdiff -u -r1.14 -r1.15 \
src/sys/external/bsd/acpica/dist/compiler/aslanalyze.c \
src/sys/external/bsd/acpica/dist/compiler/aslprepkg.c \
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c \
src/sys/external/bsd/acpica/dist/compiler/dttable.c
cvs rdiff -u -r1.19 -r1.20 \
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c
cvs rdiff -u -r1.17 -r1.18 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h
cvs rdiff -u -r1.18 -r1.19 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l
cvs rdiff -u -r1.16 -r1.17 \
src/sys/external/bsd/acpica/dist/compiler/aslerror.c \
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c \
src/sys/external/bsd/acpica/dist/compiler/dtcompile.c \
src/sys/external/bsd/acpica/dist/compiler/dtfield.c
cvs rdiff -u -r1.11 -r1.12 \
src/sys/external/bsd/acpica/dist/compiler/aslfileio.c
cvs rdiff -u -r1.20 -r1.21 \
src/sys/external/bsd/acpica/dist/compiler/aslload.c \
src/sys/external/bsd/acpica/dist/compiler/aslxref.c
cvs rdiff -u -r1.13 -r1.14 \
src/sys/external/bsd/acpica/dist/compiler/asllookup.c \
src/sys/external/bsd/acpica/dist/compiler/aslopcodes.c \
src/sys/external/bsd/acpica/dist/compiler/asloptions.c \
src/sys/external/bsd/acpica/dist/compiler/aslpredef.c \
src/sys/external/bsd/acpica/dist/compiler/prutils.c
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/acpica/dist/compiler/aslopt.c
cvs rdiff -u -r1.15 -r1.16 \
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l \
src/sys/external/bsd/acpica/dist/compiler/asltree.c \
src/sys/external/bsd/acpica/dist/compiler/dtparser.y \
src/sys/external/bsd/acpica/dist/compiler/dtutils.c \
src/sys/external/bsd/acpica/dist/compiler/prparser.y
cvs rdiff -u -r1.27 -r1.28 \
src/sys/external/bsd/acpica/dist/compiler/aslutils.c
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/bsd/acpica/dist/compiler/dtcompilerparser.y
cvs rdiff -u -r1.12 -r1.13 \
src/sys/external/bsd/acpica/dist/compiler/dtsubtable.c
cvs rdiff -u -r1.14 -r1.15 src/sys/external/bsd/acpica/dist/debugger/dbcmds.c \
src/sys/extern

CVS import: src/sys/external/bsd/acpica/dist

2021-04-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr  3 17:43:43 UTC 2021

Update of /cvsroot/src/sys/external/bsd/acpica/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv19872

Log Message:
31 March 2021. Summary of changes for version 20210331:

This release is available at https://acpica.org/downloads, and
includes all ACPI 6.4 support

1) ACPICA kernel-resident subsystem:
ACPI 6.4: iASL: deprecate DDBHandleObj keyword
Always create namespace nodes using AcpiNsCreateNode(). ACPICA is
allocating an object using kmalloc(), but then frees it using
kmem_cache_free(<"Acpi-Namespace" kmem_cache>). This is wrong.
Fixed a race condition in generic serial bus operation region
handler. Fixed by Hans de Goede.

2) iASL Compiler/Disassembler and ACPICA tools:

ACPI 6.4: NFIT: add Location Cookie field
ACPI 6.4: HMAT: add new fields/flags
ACPI 6.4: Add new flags in SRAT
ACPI 6.4: add SDEV secure access components
ACPI 6.4: add Csi2Bus resource template
ACPI 6.4: add support for PHAT table
ACPI 6.4: add support for PMTT table
Add disassembly support for the IVRS table. Compilation of the
table is not yet complete.  Fixed a potential infinite loop due to
type mismatch. The for-loop is using a UINT8 counter and comparing
the upper limit against a UINT32 AslGbl_ExpectedMessagesIndex
maximum. In the case where AslGbl_ExpectedMessagesIndex is > 255
the counter i will wrap around to zero and the loop will never
exit. I suspect the AslGbl_ExpectedMessagesIndex is never that
high, but fixing this does future proof the code and cleans up
static analysis warnings.Colin King.

iASL/TableCompiler: update it with IORT table E.b revision changes.
From shamiali2008.
iASL/TableCompiler: Add compilation support for the VIOT table.
Signed-off-by: Jean-Philippe Brucker.
iASL/TableCompiler: Add compilation support for CEDT table.
 Also, update the CEDT template.

Status:

Vendor Tag: intel
Release Tags:   acpica-20210331

U src/sys/external/bsd/acpica/dist/changes.txt
U src/sys/external/bsd/acpica/dist/Makefile
U src/sys/external/bsd/acpica/dist/generate/lint/files.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/lint.bat
U src/sys/external/bsd/acpica/dist/generate/lint/lset.bat
U src/sys/external/bsd/acpica/dist/generate/lint/options.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/readme.txt
U src/sys/external/bsd/acpica/dist/generate/lint/std16.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/std32.lnt
U src/sys/external/bsd/acpica/dist/generate/lint/std64.lnt
U src/sys/external/bsd/acpica/dist/generate/release/build.sh
U src/sys/external/bsd/acpica/dist/generate/release/release.sh
U src/sys/external/bsd/acpica/dist/generate/unix/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/Makefile.common
U src/sys/external/bsd/acpica/dist/generate/unix/Makefile.config
U src/sys/external/bsd/acpica/dist/generate/unix/Makefile.rules
U src/sys/external/bsd/acpica/dist/generate/unix/readme.txt
U src/sys/external/bsd/acpica/dist/generate/unix/acpibin/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/acpidump/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/acpiexamples/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/acpiexec/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/acpihelp/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/acpisrc/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/acpixtract/Makefile
U src/sys/external/bsd/acpica/dist/generate/unix/iasl/Makefile
U src/sys/external/bsd/acpica/dist/common/acfileio.c
U src/sys/external/bsd/acpica/dist/common/acgetline.c
U src/sys/external/bsd/acpica/dist/common/adfile.c
U src/sys/external/bsd/acpica/dist/common/adisasm.c
U src/sys/external/bsd/acpica/dist/common/adwalk.c
U src/sys/external/bsd/acpica/dist/common/ahids.c
U src/sys/external/bsd/acpica/dist/common/ahpredef.c
U src/sys/external/bsd/acpica/dist/common/ahtable.c
U src/sys/external/bsd/acpica/dist/common/ahuuids.c
U src/sys/external/bsd/acpica/dist/common/cmfsize.c
U src/sys/external/bsd/acpica/dist/common/dmextern.c
U src/sys/external/bsd/acpica/dist/common/dmrestag.c
U src/sys/external/bsd/acpica/dist/common/dmswitch.c
U src/sys/external/bsd/acpica/dist/common/dmtable.c
C src/sys/external/bsd/acpica/dist/common/dmtables.c
C src/sys/external/bsd/acpica/dist/common/dmtbdump.c
U src/sys/external/bsd/acpica/dist/common/dmtbdump1.c
U src/sys/external/bsd/acpica/dist/common/dmtbdump2.c
U src/sys/external/bsd/acpica/dist/common/dmtbdump3.c
C src/sys/external/bsd/acpica/dist/common/dmtbinfo.c
U src/sys/external/bsd/acpica/dist/common/dmtbinfo1.c
U src/sys/external/bsd/acpica/dist/common/dmtbinfo2.c
U src/sys/external/bsd/acpica/dist/common/dmtbinfo3.c
U src/sys/external/bsd/acpica/dist/common/getopt.c
U src/sys/external/bsd/acpica/dist/tests/misc/badcode.asl
U src/sys/external/bsd/acpica/dist/tests/misc/converterSample.asl
U src/sys/external/bsd/acpica/dist/tests/misc/grammar.asl
U src/sys/external/bsd/acpica/

CVS commit: src/sys/arch/sparc64/doc

2021-04-03 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Sat Apr  3 17:02:32 UTC 2021

Modified Files:
src/sys/arch/sparc64/doc: TODO

Log Message:
update TODO after cpu_idle() has been improved (sun4v only for now)


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/sparc64/doc/TODO

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



CVS commit: src/sys/arch/sparc64

2021-04-03 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Sat Apr  3 17:01:24 UTC 2021

Modified Files:
src/sys/arch/sparc64/include: cpu.h
src/sys/arch/sparc64/sparc64: cpu.c genassym.cf locore.s

Log Message:
Improve cpu_idle() by allowing a platform specific implementaion (same logic as 
the sparc implementation) - currently only used by sun4v


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/sys/arch/sparc64/include/cpu.h
cvs rdiff -u -r1.138 -r1.139 src/sys/arch/sparc64/sparc64/cpu.c
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/sparc64/sparc64/genassym.cf
cvs rdiff -u -r1.426 -r1.427 src/sys/arch/sparc64/sparc64/locore.s

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



CVS commit: [thorpej-cfargs] src/sys/dev/acpi

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 16:10:39 UTC 2021

Modified Files:
src/sys/dev/acpi [thorpej-cfargs]: acpi.c

Log Message:
Pass CFARG_DEVHANDLE to config_found(), rather than setting the device
handle in acpi_device_register().


To generate a diff of this commit:
cvs rdiff -u -r1.290.2.2 -r1.290.2.3 src/sys/dev/acpi/acpi.c

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



CVS commit: [thorpej-cfargs] src/sys

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 16:09:44 UTC 2021

Modified Files:
src/sys/kern [thorpej-cfargs]: subr_autoconf.c
src/sys/sys [thorpej-cfargs]: device.h

Log Message:
Add CFARG_DEVHANDLE, allowing direct configuration using e.g. ACPI or
OpenFirmware / FDT to associate the handle with the device_t.


To generate a diff of this commit:
cvs rdiff -u -r1.277.2.9 -r1.277.2.10 src/sys/kern/subr_autoconf.c
cvs rdiff -u -r1.167.2.6 -r1.167.2.7 src/sys/sys/device.h

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



CVS commit: [thorpej-cfargs] src/sys/kern

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 15:37:07 UTC 2021

Modified Files:
src/sys/kern [thorpej-cfargs]: subr_autoconf.c

Log Message:
- Give config_devalloc() the tagged variadic argument treatment.
- Only extract the values from the variadic argument list if we're
  going to use them locally.  If not, just pass them along (using
  va_copy() if necessary).  This serves to future-proof the intermediaries
  as new cfarg_t tag values are added in the future.


To generate a diff of this commit:
cvs rdiff -u -r1.277.2.8 -r1.277.2.9 src/sys/kern/subr_autoconf.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/alpha/alpha

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 15:29:02 UTC 2021

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

Log Message:
Slight tweak to last: Our IPL gets raised to IPL_SCHED by simply *trying*
to acquire the pmap activation lock, regardless of whether or not that was
successful.  So, in addition to remember if we acquired it, also remember
if we tried, and drop back to IPL_VM if so.


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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 15:22:23 UTC 2021

Modified Files:
src/usr.bin/make: make.h

Log Message:
make: revert accidental change from the previous commit

The definition of MAKE_GNUC_PREREQ was not supposed to be changed.  This
change only slipped accidentally, the test for __STDC_VERSION__ was only
supposed to be for UNCONST.


To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 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/sys

2021-04-03 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 14:56:14 UTC 2021

Modified Files:
src/sys/arch/alpha/alpha: pmap.c
src/sys/arch/alpha/include: lock.h
src/sys/kern: kern_mutex.c

Log Message:
Fix an IPI deadlock scenario that resulted in a TLB shootdown timeout
panic reported by John Klos on port-alpha:

- pmap_tlb_shootnow(): If we acquire a pmap's activation lock, we will
  have raised the IPL on the current CPU to IPL_SCHED until we drop
  the tlb_lock (due to how nested spin mutexes work).  As such, when
  we release the activation lock, forcibly lower our IPL back to IPL_VM
  so that we can receive and process IPIs while waiting for other CPUs
  to process the shootdowns.
- mutex_vector_enter(): Invoke SPINLOCK_SPIN_HOOK while spinning to acquire
  a spin mutex.  This is a nop on most platforms, but it's important on
  the Alpha.  Without this, IPIs (and thus TLB shootdowns) cannot be
  processed if trying to acquire an IPL_SCHED spin mutex such as those
  used by the scheduler.

...and while we're poking around in here:

- Rework the Alpha SPINLOCK_SPIN_HOOK to only check curcpu()->ci_ipis
  if the current CPU's IPL is >= IPL_CLOCK (thus ensuring that preemption
  is disabled and thus guaranteeing that curcpu() is stable).  (Alpha does
  not yet support kernel preemption, but this is now one less thing that
  would need to be fixed.)


To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 src/sys/arch/alpha/alpha/pmap.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/alpha/include/lock.h
cvs rdiff -u -r1.96 -r1.97 src/sys/kern/kern_mutex.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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 14:39:02 UTC 2021

Modified Files:
src/usr.bin/make: hash.c job.c make.h nonints.h str.c var.c

Log Message:
make: backport to C90

In the past few months I had accidentally used C99 features in the make
code.  According to tools/README, tools that are used in the build
system should restrict themselves to C90.

This allows make to build with GCC's options "-pedantic
-Wno-system-headers -Dinline= -Wno-error=cast-qual".

I didn't notice anyone actively complaining though, I just wanted to see
how much work this backporting would be.  The identifier __func__ is
still used, as in other tools.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/usr.bin/make/hash.c
cvs rdiff -u -r1.421 -r1.422 src/usr.bin/make/job.c
cvs rdiff -u -r1.257 -r1.258 src/usr.bin/make/make.h
cvs rdiff -u -r1.207 -r1.208 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/make/str.c
cvs rdiff -u -r1.896 -r1.897 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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 14:31:44 UTC 2021

Modified Files:
src/usr.bin/make: parse.c var.c

Log Message:
make: rename function parameters to match boolean constants

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.553 -r1.554 src/usr.bin/make/parse.c
cvs rdiff -u -r1.895 -r1.896 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.sbin/makefs

2021-04-03 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr  3 14:10:56 UTC 2021

Modified Files:
src/usr.sbin/makefs: makefs.8 makefs.c makefs.h walk.c

Log Message:
Add a -L option to follow all symbolic links.  Useful if you have symlinks
in a makefs directory tree but want to refer to the actual file.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/usr.sbin/makefs/makefs.8
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/makefs/makefs.c
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/makefs/makefs.h
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/makefs/walk.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/mtree

2021-04-03 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr  3 13:37:18 UTC 2021

Modified Files:
src/usr.sbin/mtree: compare.c

Log Message:
Deal with the case when a device gets recreated (eg when mtree is called by
MAKEDEV) and the stat buffer contains information about the original device
before checking/setting the owner/group/mode of the new device file.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/usr.sbin/mtree/compare.c

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



CVS commit: src/sys

2021-04-03 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr  3 12:57:21 UTC 2021

Modified Files:
src/sys/compat/common: kern_time_50.c
src/sys/kern: kern_time.c

Log Message:
Centralise the setitimer() timer type validation in dosetitimer() as is
done with dogetitimer().


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/compat/common/kern_time_50.c
cvs rdiff -u -r1.210 -r1.211 src/sys/kern/kern_time.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

2021-04-03 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr  3 12:06:53 UTC 2021

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

Log Message:
Print the "preposterous TOD clock time" message only if the RTC is
before very late 2020 (1/1/2021 minus a few leap days) instead of
late 1994.  Someone(TM) should remember to adjust this in somewhat
less than 26 years.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/kern/kern_todr.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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 12:01:00 UTC 2021

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

Log Message:
make: use standard %H in strftime instead of %k

The conversion specifier %k is neither in C99 nor in C90.

These timestamps are only used in the debug output.


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 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/sys/kern

2021-04-03 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr  3 11:19:11 UTC 2021

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

Log Message:
CTASSERT that NSIG <= 128.  There are many hard-coded assumptions that
there are <= 4 x 32bit signal mask bits.


To generate a diff of this commit:
cvs rdiff -u -r1.396 -r1.397 src/sys/kern/kern_sig.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

2021-04-03 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Apr  3 11:08:40 UTC 2021

Modified Files:
src/usr.bin/make: arch.c buf.h compat.c cond.c dir.c dir.h for.c hash.c
hash.h job.c job.h lst.h main.c make.c make.h meta.c meta.h
metachar.h nonints.h parse.c str.c suff.c targ.c test-variants.sh
var.c
src/usr.bin/make/unit-tests: Makefile varmod-match-escape.mk

Log Message:
make: use C99 bool type instead of defining its own

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/usr.bin/make/arch.c
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/make/buf.h
cvs rdiff -u -r1.224 -r1.225 src/usr.bin/make/compat.c
cvs rdiff -u -r1.259 -r1.260 src/usr.bin/make/cond.c
cvs rdiff -u -r1.270 -r1.271 src/usr.bin/make/dir.c
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/make/dir.h
cvs rdiff -u -r1.141 -r1.142 src/usr.bin/make/for.c
cvs rdiff -u -r1.61 -r1.62 src/usr.bin/make/hash.c
cvs rdiff -u -r1.38 -r1.39 src/usr.bin/make/hash.h
cvs rdiff -u -r1.420 -r1.421 src/usr.bin/make/job.c
cvs rdiff -u -r1.72 -r1.73 src/usr.bin/make/job.h
cvs rdiff -u -r1.97 -r1.98 src/usr.bin/make/lst.h
cvs rdiff -u -r1.533 -r1.534 src/usr.bin/make/main.c
cvs rdiff -u -r1.242 -r1.243 src/usr.bin/make/make.c
cvs rdiff -u -r1.256 -r1.257 src/usr.bin/make/make.h
cvs rdiff -u -r1.179 -r1.180 src/usr.bin/make/meta.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/meta.h \
src/usr.bin/make/test-variants.sh
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/metachar.h
cvs rdiff -u -r1.206 -r1.207 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.552 -r1.553 src/usr.bin/make/parse.c
cvs rdiff -u -r1.81 -r1.82 src/usr.bin/make/str.c
cvs rdiff -u -r1.348 -r1.349 src/usr.bin/make/suff.c
cvs rdiff -u -r1.166 -r1.167 src/usr.bin/make/targ.c
cvs rdiff -u -r1.894 -r1.895 src/usr.bin/make/var.c
cvs rdiff -u -r1.273 -r1.274 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/varmod-match-escape.mk

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



CVS commit: src/lib/librumpuser

2021-04-03 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr  3 07:38:11 UTC 2021

Modified Files:
src/lib/librumpuser: rumpuser_port.h

Log Message:
For MIPS N32, register_t needs to be uint64_t as "long" isn't
big enough.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/lib/librumpuser/rumpuser_port.h

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