CVS commit: src

2020-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 15:36:51 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: deptgt-end-fail.exp deptgt-end-fail.mk

Log Message:
make(1): add test for missing "Stop" after error in .END


To generate a diff of this commit:
cvs rdiff -u -r1.975 -r1.976 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.221 -r1.222 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/deptgt-end-fail.exp \
src/usr.bin/make/unit-tests/deptgt-end-fail.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 15:59:18 UTC 2020

Modified Files:
src/usr.bin/make: compat.c
src/usr.bin/make/unit-tests: deptgt-end-fail.exp

Log Message:
make(1): fix missing "Stop." after failed .END node in -k mode


To generate a diff of this commit:
cvs rdiff -u -r1.187 -r1.188 src/usr.bin/make/compat.c
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/deptgt-end-fail.exp

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



CVS commit: src/sys/sys

2020-11-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Nov 24 16:17:04 UTC 2020

Modified Files:
src/sys/sys: device.h param.h

Log Message:
PR/55816: Martin Husemann: widen cfunit to 24 bits so that it fits the
largest minor number which is 20 bits. Welcome to 2x2x19.


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/sys/device.h
cvs rdiff -u -r1.679 -r1.680 src/sys/sys/param.h

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



CVS commit: src/usr.bin/make

2020-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 16:28:44 UTC 2020

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

Log Message:
make(1): move documentation about the result of Compat_Make


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/usr.bin/make/compat.c

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



CVS commit: src/sys/fs/ptyfs

2020-11-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Nov 24 16:38:31 UTC 2020

Modified Files:
src/sys/fs/ptyfs: ptyfs_vnops.c

Log Message:
PR/55821: tar can not extract base.tgz anymore (./dev/pts and mounted ptyfs)
Allow chown/chmod at the root of ptyfs.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/fs/ptyfs/ptyfs_vnops.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 17:42:31 UTC 2020

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

Log Message:
make(1): document the enum GNodeMade

Given only the state names and their individual documentation, it is
hard to see the full picture.  To make this easier, provide typical
examples of the ways that a GNode takes through these states.


To generate a diff of this commit:
cvs rdiff -u -r1.189 -r1.190 src/usr.bin/make/compat.c
cvs rdiff -u -r1.215 -r1.216 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

2020-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 17:59:42 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/usr.bin/make/unit-tests: Makefile deptgt-end-fail.mk
Added Files:
src/usr.bin/make/unit-tests: deptgt-end-fail-indirect.exp
deptgt-end-fail-indirect.mk

Log Message:
make(1): add test for error in dependency of .END node in -k mode


To generate a diff of this commit:
cvs rdiff -u -r1.976 -r1.977 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.222 -r1.223 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 \
src/usr.bin/make/unit-tests/deptgt-end-fail-indirect.exp \
src/usr.bin/make/unit-tests/deptgt-end-fail-indirect.mk
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/deptgt-end-fail.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 18:17:45 UTC 2020

Modified Files:
src/usr.bin/make: compat.c job.c make.h
src/usr.bin/make/unit-tests: deptgt-end-fail-indirect.exp

Log Message:
make(1): fix error handling for dependency of .END in -k mode

Fix one bug, find 4 new ones.  All these bugs have been around since
2005-05-08, when dependencies on the .BEGIN, .END and .INTERRUPT nodes
were implemented.  Before that, checking gn->made == ERROR was
appropriate, but adding the dependencies made ABORTED a new possible
error value from Compat_Make.


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/usr.bin/make/compat.c
cvs rdiff -u -r1.328 -r1.329 src/usr.bin/make/job.c
cvs rdiff -u -r1.216 -r1.217 src/usr.bin/make/make.h
cvs rdiff -u -r1.1 -r1.2 \
src/usr.bin/make/unit-tests/deptgt-end-fail-indirect.exp

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



CVS commit: src

2020-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 19:02:59 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: deptgt-begin-fail-indirect.exp
deptgt-begin-fail-indirect.mk deptgt-begin-fail.exp
deptgt-begin-fail.mk

Log Message:
make(1): add test for bug in error handling of .BEGIN in -k mode


To generate a diff of this commit:
cvs rdiff -u -r1.977 -r1.978 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.223 -r1.224 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 \
src/usr.bin/make/unit-tests/deptgt-begin-fail-indirect.exp \
src/usr.bin/make/unit-tests/deptgt-begin-fail-indirect.mk \
src/usr.bin/make/unit-tests/deptgt-begin-fail.exp \
src/usr.bin/make/unit-tests/deptgt-begin-fail.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 19:04:42 UTC 2020

Modified Files:
src/usr.bin/make: compat.c
src/usr.bin/make/unit-tests: deptgt-begin-fail-indirect.exp

Log Message:
make(1): fix error handling for .BEGIN dependency in -k mode


To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/usr.bin/make/compat.c
cvs rdiff -u -r1.1 -r1.2 \
src/usr.bin/make/unit-tests/deptgt-begin-fail-indirect.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

2020-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 19:33:13 UTC 2020

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

Log Message:
make(1): add high-level API for GNode.made

Having an enum whose constants must be ordered in a certain way may be
unexpected to casual readers.  Hide this implementation detail in
separate functions.


To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 src/usr.bin/make/make.c
cvs rdiff -u -r1.217 -r1.218 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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 19:46:29 UTC 2020

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

Log Message:
make(1): indent list functions with tabs instead of spaces


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/make/lst.c
cvs rdiff -u -r1.85 -r1.86 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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 19:52:06 UTC 2020

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

Log Message:
make(1): fix indentation for short expressions in main.c


To generate a diff of this commit:
cvs rdiff -u -r1.478 -r1.479 src/usr.bin/make/main.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 20:17:17 UTC 2020

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

Log Message:
make(1): indent make.h with tabs instead of spaces


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 21:42:28 UTC 2020

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

Log Message:
make(1): rename local variable in ApplyModifier_Assign


To generate a diff of this commit:
cvs rdiff -u -r1.695 -r1.696 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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 22:32:18 UTC 2020

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

Log Message:
make(1): inline Lst_ForEachUntil in MakeBuildChild

This prepares for removing the void pointers from the function
signature.


To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 src/usr.bin/make/make.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 22:45:24 UTC 2020

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

Log Message:
make(1): inline Lst_ForEachUntil in MakeStartJobs


To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/usr.bin/make/make.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 22:50:38 UTC 2020

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

Log Message:
make(1): remove void pointers from MakeBuildChild


To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 src/usr.bin/make/make.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 22:55:24 UTC 2020

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

Log Message:
make(1): inline Lst_ForEachUntil in Make_Update


To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.215 src/usr.bin/make/make.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 22:58:54 UTC 2020

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

Log Message:
make(1): remove void pointers from MakeBuildParent


To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 src/usr.bin/make/make.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-11-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Nov 24 23:13:09 UTC 2020

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

Log Message:
make(1): indent some functions in make.c with tabs instead of spaces


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

2020-11-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Nov 24 23:31:56 UTC 2020

Modified Files:
src/sys/arch/arm/cortex: gicv3.c gicv3.h
src/sys/arch/arm/fdt: gicv3_fdt.c

Log Message:
Improve detection of NS vs S views of priorities.

For PMR, write a 0 to bit7 and see if it sticks. This is only possible from
NS EL1 if we have a non-secure view of ICC_PMR_EL1.

For int priorities (GICD/GICR interfaces and LPIs), assume that the
GICD_CTLR.DS bit is telling us the truth.

RK3399 is special here when using the vendor bootloader, so keep the
auto-detection from the previous commit but limit the scope to only run
on RK3399 SOCs.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/arm/cortex/gicv3.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/cortex/gicv3.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/fdt/gicv3_fdt.c

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



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

2020-11-24 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Wed Nov 25 00:32:18 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: Makefile

Log Message:
access(2) does not work for root, so skip objdir-writable


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

2020-11-24 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Wed Nov 25 00:50:44 UTC 2020

Modified Files:
src/usr.bin/make: main.c make.1
src/usr.bin/make/unit-tests: Makefile opt-debug-graph1.exp
suff-main-several.exp suff-transform-debug.exp

Log Message:
Add .MAKE.UID and .MAKE.GID


To generate a diff of this commit:
cvs rdiff -u -r1.479 -r1.480 src/usr.bin/make/main.c
cvs rdiff -u -r1.292 -r1.293 src/usr.bin/make/make.1
cvs rdiff -u -r1.225 -r1.226 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/opt-debug-graph1.exp
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/suff-main-several.exp \
src/usr.bin/make/unit-tests/suff-transform-debug.exp

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/imx/fdt

2020-11-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Nov 25 05:18:39 UTC 2020

Modified Files:
src/sys/arch/arm/imx/fdt: imx_ccm_div.c

Log Message:
`best_diff' should be kept to a positive number


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/imx/fdt/imx_ccm_div.c

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