CVS commit: src
Module Name:src Committed By: jruoho Date: Sat Jun 27 06:57:44 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/tests/sbin/ifconfig: Makefile Added Files: src/tests/sbin/ifconfig: t_capabilities.sh Log Message: Add a basic test for enabling/disabling network interface capabilities. To generate a diff of this commit: cvs rdiff -u -r1.856 -r1.857 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.6 -r1.7 src/tests/sbin/ifconfig/Makefile cvs rdiff -u -r0 -r1.1 src/tests/sbin/ifconfig/t_capabilities.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/modules/arch
Module Name:src Committed By: rin Date: Sat Jun 27 06:50:00 UTC 2020 Modified Files: src/sys/modules/arch: archdirs.mk Added Files: src/sys/modules/arch/powerpc/powerpc-ibm4xx: Makefile bsd.powerpc-ibm4xx.mk Removed Files: src/sys/modules/arch/powerpc/powerpc-4xx: Makefile bsd.powerpc-4xx.mk Log Message: Rename module directory for ibm4xx from /stand/powerpc-4xx to /stand/powerpc-ibm4xx to match with what we set in evbppc_machdep.c: https://nxr.netbsd.org/xref/src/sys/arch/evbppc/evbppc/evbppc_machdep.c#86 (And we use ibm4xx not 4xx for directory in sys/arch/powerpc.) Note that we had never enabled MODULAR for ibm4xx yet; kernel with MODULAR option was unable to build. This should be why this discrepancy had never been found until today... To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/modules/arch/archdirs.mk cvs rdiff -u -r1.1 -r0 src/sys/modules/arch/powerpc/powerpc-4xx/Makefile cvs rdiff -u -r1.3 -r0 \ src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/powerpc/powerpc-ibm4xx/Makefile \ src/sys/modules/arch/powerpc/powerpc-ibm4xx/bsd.powerpc-ibm4xx.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/modules
Module Name:src Committed By: rin Date: Sat Jun 27 05:39:07 UTC 2020 Modified Files: src/distrib/sets/lists/modules: mi Log Message: Remove stale comments. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 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: src
Module Name:src Committed By: jruoho Date: Sat Jun 27 05:20:34 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/usr.bin: Makefile Added Files: src/tests/usr.bin/ztest: Makefile t_ztest.sh Log Message: Add a test case for PR kern/53767. To generate a diff of this commit: cvs rdiff -u -r1.855 -r1.856 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.168 -r1.169 src/etc/mtree/NetBSD.dist.tests cvs rdiff -u -r1.31 -r1.32 src/tests/usr.bin/Makefile cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/ztest/Makefile \ src/tests/usr.bin/ztest/t_ztest.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: jruoho Date: Sat Jun 27 05:07:08 UTC 2020 Modified Files: src/distrib/sets/lists/tests: mi src/tests/sbin/ifconfig: Makefile Added Files: src/tests/sbin/ifconfig: t_woptions.sh Log Message: Add test cases for different 802.11 options. These include cases for PR kern/35045, PR kern/45745, and PR kern/55424. To generate a diff of this commit: cvs rdiff -u -r1.854 -r1.855 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.5 -r1.6 src/tests/sbin/ifconfig/Makefile cvs rdiff -u -r0 -r1.1 src/tests/sbin/ifconfig/t_woptions.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/powerpc/fpu
Module Name:src Committed By: rin Date: Sat Jun 27 04:31:06 UTC 2020 Modified Files: src/sys/arch/powerpc/fpu: fpu_emu.c Log Message: fpu_dumpfpn(): Add KASSERT to check argument != NULL. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/powerpc/fpu/fpu_emu.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/powerpc/fpu
Module Name:src Committed By: rin Date: Sat Jun 27 04:29:27 UTC 2020 Modified Files: src/sys/arch/powerpc/fpu: fpu_sqrt.c Log Message: Return +INF without exception for +INF, as required by the architecture. Also, avoid NULL dereference for fpu_dumpfpn() aka DUMPFPN(). Taken from (remaining part of) FreeBSD Revision 343078: https://svnweb.freebsd.org/base?view=revision&revision=343078 To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/fpu/fpu_sqrt.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/powerpc/fpu
Module Name:src Committed By: rin Date: Sat Jun 27 04:24:08 UTC 2020 Modified Files: src/sys/arch/powerpc/fpu: fpu_explode.c Log Message: Remove extra newline in DPRINTF(). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/fpu/fpu_explode.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/powerpc/fpu
Module Name:src Committed By: rin Date: Sat Jun 27 04:18:57 UTC 2020 Modified Files: src/sys/arch/powerpc/fpu: fpu_emu.c Log Message: fpu_dumpfpn(): Add missing \n in printf() format. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/fpu/fpu_emu.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/powerpc/fpu
Module Name:src Committed By: rin Date: Sat Jun 27 04:17:51 UTC 2020 Modified Files: src/sys/arch/powerpc/fpu: fpu_sqrt.c Log Message: Fix typo in DPRINTF. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/fpu/fpu_sqrt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/sbin/ifconfig
Module Name:src Committed By: jruoho Date: Sat Jun 27 04:15:17 UTC 2020 Modified Files: src/tests/sbin/ifconfig: t_repeated_scan.sh t_repeated_updown.sh Log Message: Use atf_pass to avoid test failure in case there are no suitable interfaces. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/sbin/ifconfig/t_repeated_scan.sh cvs rdiff -u -r1.2 -r1.3 src/tests/sbin/ifconfig/t_repeated_updown.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/powerpc/fpu
Module Name:src Committed By: rin Date: Sat Jun 27 03:25:28 UTC 2020 Modified Files: src/sys/arch/powerpc/fpu: fpu_sqrt.c Log Message: Set FPSCR[VXSQRT] for non-zero negative operand. Taken from (a part of) FreeBSD Revision 343078: https://svnweb.freebsd.org/base?view=revision&revision=343078 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/fpu/fpu_sqrt.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/powerpc/fpu
Module Name:src Committed By: rin Date: Sat Jun 27 03:07:57 UTC 2020 Modified Files: src/sys/arch/powerpc/fpu: fpu_add.c fpu_compare.c fpu_div.c fpu_emu.c fpu_explode.c fpu_implode.c fpu_mul.c fpu_sqrt.c fpu_subr.c Log Message: Sort headers. No functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/powerpc/fpu/fpu_add.c \ src/sys/arch/powerpc/fpu/fpu_compare.c src/sys/arch/powerpc/fpu/fpu_div.c \ src/sys/arch/powerpc/fpu/fpu_mul.c src/sys/arch/powerpc/fpu/fpu_subr.c cvs rdiff -u -r1.19 -r1.20 src/sys/arch/powerpc/fpu/fpu_emu.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/fpu/fpu_explode.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/powerpc/fpu/fpu_implode.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/fpu/fpu_sqrt.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/powerpc/include
Module Name:src Committed By: rin Date: Sat Jun 27 02:51:23 UTC 2020 Modified Files: src/sys/arch/powerpc/include: vmparam.h Log Message: Restrict {MIN,MAX}_PAGE_SIZE for MODULAR || _MODULE, which makes non-MODULAR kernel a little bit efficient. They are also exposed to userland for jemalloc. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/include/vmparam.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/mips/cavium/dev
Module Name:src Committed By: simonb Date: Sat Jun 27 02:49:42 UTC 2020 Added Files: src/sys/arch/mips/cavium/dev: octeon_uartvar.h Log Message: Add new file containing a couple of UART prototypes. Missing file pointed out by rin@. Thanks! To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/mips/cavium/dev/octeon_uartvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/powerpc/include
Module Name:src Committed By: rin Date: Sat Jun 27 02:40:24 UTC 2020 Modified Files: src/sys/arch/powerpc/include: pmap.h Log Message: Fix MODULAR support for ibm4xx by providing __nothing as VM_MDPAGE_INIT(). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/powerpc/include/pmap.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: rin Date: Sat Jun 27 01:26:32 UTC 2020 Modified Files: src/sys/kern: kern_timeout.c Log Message: Stop allocating struct cpu_info in BSS; No need to db_read_bytes() against cpu_info, just ci_data.cpu_callout is enough. Save 1408 bytes of BSS for, e.g., aarch64. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/kern/kern_timeout.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
Module Name:src Committed By: rin Date: Sat Jun 27 00:46:37 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Fix typo in name of evcnt(4) counter. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 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
Module Name:src Committed By: rin Date: Sat Jun 27 00:43:39 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: db_trace.c Log Message: Fix build failure due to -Werror=stack-usage. Use db_read_bytes() against particular member of structure in use, by which we can avoid to have whole structure in the stack. Now, stack usage shrinks: 4240 --> 1296 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/aarch64/db_trace.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
Module Name:src Committed By: uwe Date: Fri Jun 26 22:05:05 UTC 2020 Modified Files: src/usr.bin/printf: printf.1 Log Message: Drop redundant quoting in the nested printf example. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.bin/printf/printf.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/printf
Module Name:src Committed By: uwe Date: Fri Jun 26 21:03:56 UTC 2020 Modified Files: src/usr.bin/printf: printf.1 Log Message: Use ASCII single quote. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/usr.bin/printf/printf.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/printf
Module Name:src Committed By: uwe Date: Fri Jun 26 20:16:56 UTC 2020 Modified Files: src/usr.bin/printf: printf.1 Log Message: Try to improve markup to get a nicer PostScript output. While here edit slightly for consistency: get the octal character ranges in order, use \num to refer to octal everywhere, etc. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/printf/printf.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: roy Date: Fri Jun 26 15:53:59 UTC 2020 Modified Files: src/sys/net: rtsock_shared.c Log Message: Adjust prior to enforce minimum socket length includes sa_family Not that the code strictly needs it, but if the macro is ever used elsewhere then it makes sense as every sockaddr must have it. The rest of the structure is dictated by the family and in some cases, truncated on purpose so this is fine. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/net/rtsock_shared.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/logger
Module Name:src Committed By: wiz Date: Fri Jun 26 15:46:28 UTC 2020 Modified Files: src/usr.bin/logger: logger.1 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/logger/logger.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/cddl/dtracetoolkit/dist/Man/man1m
Module Name:src Committed By: wiz Date: Fri Jun 26 15:45:18 UTC 2020 Modified Files: src/external/cddl/dtracetoolkit/dist/Man/man1m: dtruss.1m opensnoop.1m Log Message: Sort options and their descriptions. Replace tab with space in table. Make non-standard section subsections. Comment out Xr to procsystime(1) which does not exist on NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m cvs rdiff -u -r1.4 -r1.5 \ src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ofw
Module Name:src Committed By: martin Date: Fri Jun 26 10:14:32 UTC 2020 Modified Files: src/sys/dev/ofw: ofw_subr.c Log Message: Remove !cold KASSERT - it does not compile on all kernels, and it is not the right thing to test for anyway. XXX should we panic instead? Are "compatible" strings this long happening in real devices? To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/ofw/ofw_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: martin Date: Fri Jun 26 10:06:57 UTC 2020 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: Avoid creating a full temporary softc struct on the stack. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/adm1026.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/broadcom
Module Name:src Committed By: skrll Date: Fri Jun 26 08:42:01 UTC 2020 Modified Files: src/sys/arch/arm/broadcom: bcm283x_platform.c Log Message: Avoid large stack usage with kmem_alloc - we're in device_register so there is no problem doing this. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/arm/broadcom/bcm283x_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/arm32
Module Name:src Committed By: skrll Date: Fri Jun 26 08:42:27 UTC 2020 Modified Files: src/sys/arch/arm/arm32: arm32_kvminit.c Log Message: Avoid unbounded stack usage warning To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/arch/arm/arm32/arm32_kvminit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests
Module Name:src Committed By: jruoho Date: Fri Jun 26 07:50:12 UTC 2020 Modified Files: src/tests/dev/audio: audiotest.c src/tests/fs/nullfs: t_basic.c src/tests/fs/tmpfs: t_renamerace.c src/tests/kernel: t_extattrctl.c src/tests/lib/libc/sys: t_mmap.c t_pipe.c src/tests/usr.bin/awk: t_awk.sh Log Message: Reference PRs consistently. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/dev/audio/audiotest.c cvs rdiff -u -r1.4 -r1.5 src/tests/fs/nullfs/t_basic.c cvs rdiff -u -r1.14 -r1.15 src/tests/fs/tmpfs/t_renamerace.c cvs rdiff -u -r1.1 -r1.2 src/tests/kernel/t_extattrctl.c cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libc/sys/t_mmap.c cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/sys/t_pipe.c cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/awk/t_awk.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.