CVS commit: src/doc

2021-08-30 Thread Jared D. McNeill
0. [christos 20210819] evbarm: Support marvell-based machines in big-endian mode. Currently, only KUROBOX_PRO has been tested. [rin 20210830] + evbarm: Add support for Apple M1. [jmcneill 20210830]

CVS commit: src/doc

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 23:27:13 UTC 2021 Modified Files: src/doc: CHANGES Log Message: evbarm: Add support for Apple M1. To generate a diff of this commit: cvs rdiff -u -r1.2825 -r1.2826 src/doc/CHANGES Please note that diffs are not

CVS commit: src/sys/arch

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 23:26:26 UTC 2021 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 files.generic64 Added Files: src/sys/arch/arm/apple: apple_dart.c apple_intc.c apple_pcie.c apple_platform.c apple_wdog.c

CVS commit: src/sys/arch

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 23:26:26 UTC 2021 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 files.generic64 Added Files: src/sys/arch/arm/apple: apple_dart.c apple_intc.c apple_pcie.c apple_platform.c apple_wdog.c

CVS commit: src/sys/arch

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 23:20:00 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: trap.c vectors.S src/sys/arch/aarch64/include: machdep.h src/sys/arch/arm/fdt: arm_fdt.c arm_fdtvar.h fdt_intr.h Log Message: Add FIQ

CVS commit: src/sys/arch

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 23:20:00 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: trap.c vectors.S src/sys/arch/aarch64/include: machdep.h src/sys/arch/arm/fdt: arm_fdt.c arm_fdtvar.h fdt_intr.h Log Message: Add FIQ

CVS commit: src/sys/arch/arm/fdt

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 23:16:17 UTC 2021 Modified Files: src/sys/arch/arm/fdt: cpu_fdt.c Log Message: Inspect #address-cells to determine if the cpu-release-addr requires a 32- or 64-bit write. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/arm/fdt

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 23:16:17 UTC 2021 Modified Files: src/sys/arch/arm/fdt: cpu_fdt.c Log Message: Inspect #address-cells to determine if the cpu-release-addr requires a 32- or 64-bit write. To generate a diff of this commit: cvs

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 23:14:14 UTC 2021 Modified Files: src/tests/usr.bin/grep: t_grep.sh Log Message: tests/grep: fix typo in test description To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/grep/t_grep.sh

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 23:14:14 UTC 2021 Modified Files: src/tests/usr.bin/grep: t_grep.sh Log Message: tests/grep: fix typo in test description To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/grep/t_grep.sh

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 23:10:58 UTC 2021 Modified Files: src/tests/usr.bin/grep: t_grep.sh Log Message: tests/grep: demonstrate word search bug in usr.bin/grep By default, MKBSDGREP is "no", therefore GNU Grep is installed as /usr/bin/grep

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 23:10:58 UTC 2021 Modified Files: src/tests/usr.bin/grep: t_grep.sh Log Message: tests/grep: demonstrate word search bug in usr.bin/grep By default, MKBSDGREP is "no", therefore GNU Grep is installed as /usr/bin/grep

CVS commit: src/sys/arch

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:57:33 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/arm/include: cputypes.h Log Message: Identify Apple M1 "Icestorm" and "Firestorm" CPU types. To generate a diff of this

CVS commit: src/sys/arch

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:57:33 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/arm/include: cputypes.h Log Message: Identify Apple M1 "Icestorm" and "Firestorm" CPU types. To generate a diff of this

CVS commit: src/sys/arch/arm

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:56:26 UTC 2021 Modified Files: src/sys/arch/arm/arm32: bus_dma.c src/sys/arch/arm/include: bus_defs.h Log Message: Add storage for an iommu cookie in bus_dmamap_t and store untranslated CPU address in

CVS commit: src/sys/arch/arm

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:56:26 UTC 2021 Modified Files: src/sys/arch/arm/arm32: bus_dma.c src/sys/arch/arm/include: bus_defs.h Log Message: Add storage for an iommu cookie in bus_dmamap_t and store untranslated CPU address in

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:54:40 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: vm_machdep.c Log Message: Interrupts may not be enabled yet when cpu_lwp_fork is called during boot, so remove incorrect KASSERT. To generate a diff

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:54:40 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: vm_machdep.c Log Message: Interrupts may not be enabled yet when cpu_lwp_fork is called during boot, so remove incorrect KASSERT. To generate a diff

CVS commit: src/sys/arch/arm/cortex

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:53:37 UTC 2021 Modified Files: src/sys/arch/arm/cortex: gtmr.c Log Message: - Add an isb before cnt[pv]_ctl read - cntk_ctl is 64-bits - Do not toggle CNTCTL_IMASK in intr handler, as this may be needed

CVS commit: src/sys/arch/arm/cortex

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:53:37 UTC 2021 Modified Files: src/sys/arch/arm/cortex: gtmr.c Log Message: - Add an isb before cnt[pv]_ctl read - cntk_ctl is 64-bits - Do not toggle CNTCTL_IMASK in intr handler, as this may be needed

CVS commit: src/sys/dev/fdt

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:49:42 UTC 2021 Modified Files: src/sys/dev/fdt: dwc3_fdt.c Log Message: Until we have proper FDT iommu support, refuse to attach when an iommu is required. To generate a diff of this commit: cvs rdiff -u -r1.16

CVS commit: src/sys/dev/fdt

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:49:42 UTC 2021 Modified Files: src/sys/dev/fdt: dwc3_fdt.c Log Message: Until we have proper FDT iommu support, refuse to attach when an iommu is required. To generate a diff of this commit: cvs rdiff -u -r1.16

CVS commit: src/sys/dev/pci

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:49:03 UTC 2021 Modified Files: src/sys/dev/pci: pciconf.c Log Message: If an allocation cannot be satisfied by the prefetchable range, retry with the non-prefetchable range. To generate a diff of this commit:

CVS commit: src/sys/dev/pci

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:49:03 UTC 2021 Modified Files: src/sys/dev/pci: pciconf.c Log Message: If an allocation cannot be satisfied by the prefetchable range, retry with the non-prefetchable range. To generate a diff of this commit:

CVS commit: src/sys/dev/pci

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:48:16 UTC 2021 Modified Files: src/sys/dev/pci: if_bge.c Log Message: bge_txeof/bge_rxeof may be called with no pending descriptors, so skip bus_dmamap_sync with len=0 To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:48:16 UTC 2021 Modified Files: src/sys/dev/pci: if_bge.c Log Message: bge_txeof/bge_rxeof may be called with no pending descriptors, so skip bus_dmamap_sync with len=0 To generate a diff of this commit: cvs

CVS commit: src/sys

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:47:25 UTC 2021 Modified Files: src/sys/arch/arm/fdt: arm_simplefb.c src/sys/dev/fdt: simplefb.c src/sys/dev/wsfb: genfb.c Log Message: Add 10-bit pixel format support. To generate a diff of this

CVS commit: src/sys

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:47:25 UTC 2021 Modified Files: src/sys/arch/arm/fdt: arm_simplefb.c src/sys/dev/fdt: simplefb.c src/sys/dev/wsfb: genfb.c Log Message: Add 10-bit pixel format support. To generate a diff of this

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:32:06 UTC 2021 Modified Files: src/sys/arch/aarch64/include: hypervisor.h Log Message: Add definition for HCR_E2H bit To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:32:06 UTC 2021 Modified Files: src/sys/arch/aarch64/include: hypervisor.h Log Message: Add definition for HCR_E2H bit To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:31:20 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore_el2.S Log Message: If we start in EL2 mode and the CPU supports EL2 host mode, don't bother dropping to EL1 and just run the kernel in EL2

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:31:20 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore_el2.S Log Message: If we start in EL2 mode and the CPU supports EL2 host mode, don't bother dropping to EL1 and just run the kernel in EL2

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:28:50 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: Ensure that all memory accesses prior to executing WFI have been completed by adding a DSB SY before stopping execution and

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:28:50 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: Ensure that all memory accesses prior to executing WFI have been completed by adding a DSB SY before stopping execution and

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:24:39 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Add instruction barrier after write to mair_el1 To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

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

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:24:39 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Add instruction barrier after write to mair_el1 To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 22:17:32 UTC 2021 Modified Files: src/tests/usr.bin/grep: t_grep.sh Log Message: tests/grep: test word search with UTF-8 locale To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 22:17:32 UTC 2021 Modified Files: src/tests/usr.bin/grep: t_grep.sh Log Message: tests/grep: test word search with UTF-8 locale To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 21:35:23 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: lint: extract parse_function_attribute from decldef No functional change. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 21:35:23 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: lint: extract parse_function_attribute from decldef No functional change. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 21:23:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c emit.exp-ln src/tests/usr.bin/xlint/lint2: read.exp read.ln Log Message: tests/lint: test writing and reading .ln files The test case for

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

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 21:23:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c emit.exp-ln src/tests/usr.bin/xlint/lint2: read.exp read.ln Log Message: tests/lint: test writing and reading .ln files The test case for

CVS commit: src/sys/dev/pci

2021-08-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Aug 30 20:52:10 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: regen. To generate a diff of this commit: cvs rdiff -u -r1.1417 -r1.1418 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1416

CVS commit: src/sys/dev/pci

2021-08-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Aug 30 20:51:27 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs Log Message: add RDC R6022 PCI-Host bridge. To generate a diff of this commit: cvs rdiff -u -r1.1430 -r1.1431 src/sys/dev/pci/pcidevs Please note that diffs

CVS commit: src/sys/dev/pci

2021-08-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Aug 30 20:51:27 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs Log Message: add RDC R6022 PCI-Host bridge. To generate a diff of this commit: cvs rdiff -u -r1.1430 -r1.1431 src/sys/dev/pci/pcidevs Please note that diffs

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

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 20:22:52 UTC 2021 Modified Files: src/sys/arch/sun2/conf: INSTALL Log Message: The INSTALL kernel needs to be small too To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/sun2/conf/INSTALL

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

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 20:22:52 UTC 2021 Modified Files: src/sys/arch/sun2/conf: INSTALL Log Message: The INSTALL kernel needs to be small too To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/sun2/conf/INSTALL

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 20:20:20 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: lint: remove redundant call to strchr in decldef This time, the branches for varargs, printflike and scanflike in the big switch statement

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 20:20:20 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: lint: remove redundant call to strchr in decldef This time, the branches for varargs, printflike and scanflike in the big switch statement

CVS commit: src/tests/usr.bin/xlint/lint2

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 20:11:56 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: read.exp read.ln Log Message: tests/lint: test reading of varargs, printflike, scanflike To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/tests/usr.bin/xlint/lint2

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 20:11:56 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: read.exp read.ln Log Message: tests/lint: test reading of varargs, printflike, scanflike To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/pci

2021-08-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Aug 30 20:09:22 UTC 2021 Modified Files: src/sys/dev/pci: if_vte.c Log Message: Restore original MDC speed control register value after MAC reset, if it wasn't default. Fixes PR port-i386/53494. ok riastradh To generate a

CVS commit: src/sys/dev/pci

2021-08-30 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Aug 30 20:09:22 UTC 2021 Modified Files: src/sys/dev/pci: if_vte.c Log Message: Restore original MDC speed control register value after MAC reset, if it wasn't default. Fixes PR port-i386/53494. ok riastradh To generate a

CVS commit: src

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 19:48:21 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: emit.c emit.exp-ln msg_280.c msg_280.exp msg_283.c msg_283.exp src/usr.bin/xlint/lint1: emit1.c Log Message: tests/lint: test

CVS commit: src

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 19:07:57 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: read.exp read.ln src/usr.bin/xlint/lint2: read.c Log Message: lint: revert "remove redundant call to strchr" from yesterday This "refactoring"

CVS commit: src

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 19:07:57 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint2: read.exp read.ln src/usr.bin/xlint/lint2: read.c Log Message: lint: revert "remove redundant call to strchr" from yesterday This "refactoring"

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

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 19:01:06 UTC 2021 Modified Files: src/sys/arch/sun2/conf: Makefile.sun2 Log Message: Only use the ldscript for the RAMDISK kernel for now. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

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

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 19:01:06 UTC 2021 Modified Files: src/sys/arch/sun2/conf: Makefile.sun2 Log Message: Only use the ldscript for the RAMDISK kernel for now. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

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

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 18:59:57 UTC 2021 Modified Files: src/sys/arch/sun2/conf: Makefile.sun2 RAMDISK Added Files: src/sys/arch/sun2/conf: kern.ldscript Log Message: use -ffunction-sections -fdata-sections --gc-sections with an

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

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 18:59:57 UTC 2021 Modified Files: src/sys/arch/sun2/conf: Makefile.sun2 RAMDISK Added Files: src/sys/arch/sun2/conf: kern.ldscript Log Message: use -ffunction-sections -fdata-sections --gc-sections with an

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 18:33:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_259.c msg_259.exp Log Message: tests/lint: test passing sizeof(int) to parameter type 'unsigned int' Seen in usr.sbin/inetd/inetd.c, which calls

CVS commit: src/tests/usr.bin/xlint/lint1

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 18:33:37 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_259.c msg_259.exp Log Message: tests/lint: test passing sizeof(int) to parameter type 'unsigned int' Seen in usr.sbin/inetd/inetd.c, which calls

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 18:21:11 UTC 2021 Modified Files: src/usr.sbin/inetd: Makefile inetd.c parse_v2.c Log Message: inetd: raise WARNS from 5 to 6 The necessary fixes include: * explicit integer conversions, to get rid of mixed signedness

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 18:21:11 UTC 2021 Modified Files: src/usr.sbin/inetd: Makefile inetd.c parse_v2.c Log Message: inetd: raise WARNS from 5 to 6 The necessary fixes include: * explicit integer conversions, to get rid of mixed signedness

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 18:03:52 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: Move the character one back so that we don't increment twice To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 18:03:52 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: Move the character one back so that we don't increment twice To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 17:32:23 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.c inetd.h ipsec.c ipsec.h parse_v2.c Log Message: inetd: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 17:32:23 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.c inetd.h ipsec.c ipsec.h parse_v2.c Log Message: inetd: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130

CVS commit: src

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 17:08:13 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: directive-for-if.exp directive-for-if.mk Log Message:

CVS commit: src

2021-08-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Aug 30 17:08:13 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: directive-for-if.exp directive-for-if.mk Log Message:

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Aug 30 16:10:34 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.8 Log Message: Wording and formatting improvements. New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Aug 30 16:10:34 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.8 Log Message: Wording and formatting improvements. New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 14:57:04 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: Skip the current character before parsing the number of arguments. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/usr.bin/xlint/lint2

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 14:57:04 UTC 2021 Modified Files: src/usr.bin/xlint/lint2: read.c Log Message: Skip the current character before parsing the number of arguments. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/lib/libc/stdlib

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 13:12:16 UTC 2021 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Remove lint workarounds To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/lib/libc/stdlib/jemalloc.c Please note that

CVS commit: src/lib/libc/stdlib

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 13:12:16 UTC 2021 Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Remove lint workarounds To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/lib/libc/stdlib/jemalloc.c Please note that

CVS commit: src/common/lib/libc/gmon

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 12:52:32 UTC 2021 Modified Files: src/common/lib/libc/gmon: mcount.c Log Message: remove lint exclusion To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/common/lib/libc/gmon/mcount.c Please note

CVS commit: src/common/lib/libc/gmon

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 12:52:32 UTC 2021 Modified Files: src/common/lib/libc/gmon: mcount.c Log Message: remove lint exclusion To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/common/lib/libc/gmon/mcount.c Please note

Re: CVS commit: src

2021-08-30 Thread Christos Zoulas
In article , Tom Ivar Helbekkmo wrote: >Christos Zoulas writes: > >> Module Name: src >> Committed By:christos >> Date:Sun Aug 29 09:54:18 UTC 2021 >> >> Modified Files: >> src/distrib/sets/lists/debug: mi >> src/distrib/sets/lists/tests: mi >>

re: CVS commit: src/sys/arch/evbarm/conf

2021-08-30 Thread matthew green
hi. nice work on BE marvell :) "Rin Okuyama" writes: > Module Name: src > Committed By: rin > Date: Mon Aug 30 00:12:15 UTC 2021 > > Modified Files: > src/sys/arch/evbarm/conf: MARVELL_NAS > > Log Message: > Enable FFS_EI and DISKLABEL_EI as this SoC supports both endians now.

CVS commit: src/lib/libedit

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 09:18:17 UTC 2021 Added Files: src/lib/libedit: ChangeLog Log Message: Add a changes file To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/lib/libedit/ChangeLog Please note that diffs are not public

CVS commit: src/lib/libedit

2021-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 30 09:18:17 UTC 2021 Added Files: src/lib/libedit: ChangeLog Log Message: Add a changes file To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/lib/libedit/ChangeLog Please note that diffs are not public

re: CVS commit: src

2021-08-30 Thread matthew green
"Roland Illig" writes: > Module Name: src > Committed By: rillig > Date: Sun Aug 29 09:29:32 UTC 2021 > > Modified Files: > src/tests/usr.bin/xlint/lint1: msg_220.c msg_220.exp > src/usr.bin/xlint/common: lint.h > src/usr.bin/xlint/lint1: lex.c > > Log Message: > lint:

CVS commit: src/sys/dev/pci

2021-08-30 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Aug 30 08:53:47 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: regen. To generate a diff of this commit: cvs rdiff -u -r1.1416 -r1.1417 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1415 -r1.1416

CVS commit: src/sys/dev/pci

2021-08-30 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Aug 30 08:53:29 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs Log Message: add a bunch of nvidia devices. To generate a diff of this commit: cvs rdiff -u -r1.1429 -r1.1430 src/sys/dev/pci/pcidevs Please note that diffs

CVS commit: src/sys/dev/pci

2021-08-30 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Aug 30 08:53:29 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs Log Message: add a bunch of nvidia devices. To generate a diff of this commit: cvs rdiff -u -r1.1429 -r1.1430 src/sys/dev/pci/pcidevs Please note that diffs

CVS commit: src/sys/altq

2021-08-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 30 08:40:32 UTC 2021 Modified Files: src/sys/altq: altq_hfsc.c altq_priq.c Log Message: sys/altq: Memset zero before copyout. Just in case of uninitialized padding which would lead to kernel stack disclosure. If the

CVS commit: src/sys/altq

2021-08-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 30 08:40:32 UTC 2021 Modified Files: src/sys/altq: altq_hfsc.c altq_priq.c Log Message: sys/altq: Memset zero before copyout. Just in case of uninitialized padding which would lead to kernel stack disclosure. If the

CVS commit: src/sys/compat/sys

2021-08-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 30 08:40:00 UTC 2021 Modified Files: src/sys/compat/sys: mount.h Log Message: sys/compat: Don't clobber f_oflags with zero. Mistake was introduced in previous refactoring. To generate a diff of this commit: cvs

CVS commit: src/sys/compat/sys

2021-08-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 30 08:40:00 UTC 2021 Modified Files: src/sys/compat/sys: mount.h Log Message: sys/compat: Don't clobber f_oflags with zero. Mistake was introduced in previous refactoring. To generate a diff of this commit: cvs

CVS commit: src/sys/compat/netbsd32

2021-08-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 30 08:39:24 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_nfssvc.c Log Message: compat_netbsd32: Copy out 32-bit version in nfssvc32_nsd_out. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/compat/netbsd32

2021-08-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 30 08:39:24 UTC 2021 Modified Files: src/sys/compat/netbsd32: netbsd32_nfssvc.c Log Message: compat_netbsd32: Copy out 32-bit version in nfssvc32_nsd_out. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 30 08:21:12 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.c Log Message: Fix reverted logic when parsing server program. Compare pointer with NULL not 0. To generate a diff of this commit: cvs rdiff -u -r1.128

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 30 08:21:12 UTC 2021 Modified Files: src/usr.sbin/inetd: inetd.c Log Message: Fix reverted logic when parsing server program. Compare pointer with NULL not 0. To generate a diff of this commit: cvs rdiff -u -r1.128

Re: CVS commit: src

2021-08-30 Thread Roland Illig
Tom Ivar Helbekkmo wrote: > Christos Zoulas writes: > >> Module Name:  src >> Committed By: christos >> Date:   Sun Aug 29 09:54:18 UTC 2021 >> >> Modified Files: >>   src/distrib/sets/lists/debug: mi >>   src/distrib/sets/lists/tests: mi >>   src/etc/mtree: NetBSD.dist.tests >>  

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Tom Ivar Helbekkmo
Module Name:src Committed By: tih Date: Mon Aug 30 06:27:49 UTC 2021 Modified Files: src/usr.sbin/inetd: parse_v2.c Log Message: Summary: char is unsigned on arm, so use int when -1 indicates error hex_to_bits() returns -1 on error, so declare it int, and do the same for

CVS commit: src/usr.sbin/inetd

2021-08-30 Thread Tom Ivar Helbekkmo
Module Name:src Committed By: tih Date: Mon Aug 30 06:27:49 UTC 2021 Modified Files: src/usr.sbin/inetd: parse_v2.c Log Message: Summary: char is unsigned on arm, so use int when -1 indicates error hex_to_bits() returns -1 on error, so declare it int, and do the same for

Re: CVS commit: src

2021-08-30 Thread Tom Ivar Helbekkmo
Christos Zoulas writes: > Module Name: src > Committed By: christos > Date: Sun Aug 29 09:54:18 UTC 2021 > > Modified Files: > src/distrib/sets/lists/debug: mi > src/distrib/sets/lists/tests: mi > src/etc/mtree: NetBSD.dist.tests > src/tests/usr.sbin: Makefile >