CVS commit: src/sys/dev/i2c
Module Name:src Committed By: skrll Date: Fri Apr 16 07:02:09 UTC 2021 Modified Files: src/sys/dev/i2c: i2cvar.h Log Message: spello in comment To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/i2c/i2cvar.h 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: msaitoh Date: Fri Apr 16 07:45:42 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile src/usr.sbin/makemandb: nostem.txt Log Message: - Remove obsolete cltom(9) and mtocl(9). - Add missing manual page's link of m_adj. To generate a diff of this commit: cvs rdiff -u -r1.2379 -r1.2380 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.456 -r1.457 src/share/man/man9/Makefile cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/makemandb/nostem.txt Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: ryo Date: Fri Apr 16 08:07:02 UTC 2021 Modified Files: src/sys/dev/pci: if_aq.c Log Message: when the packet size was just n*MCLBYTES, there was an inconsistency in the length of mbuf. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/if_aq.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/pci
Module Name:src Committed By: ryo Date: Fri Apr 16 08:09:40 UTC 2021 Modified Files: src/sys/dev/pci: if_aq.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/if_aq.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/scsipi
Module Name:src Committed By: reinoud Date: Fri Apr 16 12:58:54 UTC 2021 Modified Files: src/sys/dev/scsipi: cd.c Log Message: Limit buffer size for device capabilities requests as a work-around for PR kern/56109. To generate a diff of this commit: cvs rdiff -u -r1.350 -r1.351 src/sys/dev/scsipi/cd.c 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
Module Name:src Committed By: christos Date: Fri Apr 16 13:02:47 UTC 2021 Modified Files: src/external/bsd/top/dist/machine: m_netbsd.c Log Message: go back to right-aligning the titles for CPU and WCPU. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 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/usr.bin/printf
Module Name:src Committed By: christos Date: Fri Apr 16 15:10:18 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: Change octal and hex parsing to not use strtoul so that they don't handle '-'. From Martijn van Duren. Also add a warning if the conversion fails (like the gnu printf does) To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.bin/printf/printf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/misc
Module Name:src Committed By: pgoyette Date: Fri Apr 16 15:53:56 UTC 2021 Modified Files: src/share/misc: acronyms acronyms.comp Log Message: Add a couple definitions for RPG To generate a diff of this commit: cvs rdiff -u -r1.308 -r1.309 src/share/misc/acronyms cvs rdiff -u -r1.322 -r1.323 src/share/misc/acronyms.comp 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
Module Name:src Committed By: rillig Date: Fri Apr 16 16:10:01 UTC 2021 Modified Files: src/usr.bin/make: job.c Log Message: make: align name of jobs_table_dump to the other functions To generate a diff of this commit: cvs rdiff -u -r1.427 -r1.428 src/usr.bin/make/job.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
Module Name:src Committed By: rillig Date: Fri Apr 16 16:49:28 UTC 2021 Modified Files: src/usr.bin/make: job.c src/usr.bin/make/unit-tests: sh-jobs.mk Log Message: make: use distinct wording for writing to the shell commands file The word 'write' now means to write to the file that holds the shell commands to be run later. The word 'print' is now used exclusively for handling the output of the child commands and printing them to make's stdout. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.428 -r1.429 src/usr.bin/make/job.c cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/sh-jobs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc
Module Name:src Committed By: martin Date: Fri Apr 16 17:03:59 UTC 2021 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc [netbsd-9]: modes.inc Log Message: Pull up following revision(s) (requested by mrg in ticket #1246): crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc: revision 1.6 Restore r1.3 of modes.inc: we are using this directory for the -m32 compat builds on sparc64, where the sparcv9 instructions and the GHASH asm code are usefull. To generate a diff of this commit: cvs rdiff -u -r0 -r1.3.16.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/modes.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/doc
Module Name:src Committed By: martin Date: Fri Apr 16 17:04:59 UTC 2021 Modified Files: src/doc [netbsd-9]: CHANGES-9.2 Log Message: Ticket #1246 To generate a diff of this commit: cvs rdiff -u -r1.1.2.65 -r1.1.2.66 src/doc/CHANGES-9.2 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: christos Date: Fri Apr 16 18:31:28 UTC 2021 Modified Files: src/usr.bin/printf: printf.c Log Message: make value an int to avoid all the casts and conversion warnings. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/usr.bin/printf/printf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/shlock
Module Name:src Committed By: christos Date: Fri Apr 16 22:41:12 UTC 2021 Modified Files: src/usr.bin/shlock: shlock.c Log Message: PR/56112: Justin Parrott: Don't unlink a lock file without locking it, because you can have races when multiple processes try to unlink it. Check the link count to see if we have won the race. While here: - use snprintf - use warn - use size_t/ssize_t - use loops instead of goto - KNF To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/shlock/shlock.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/shlock
Module Name:src Committed By: christos Date: Sat Apr 17 00:02:19 UTC 2021 Modified Files: src/usr.bin/shlock: shlock.c Log Message: appease gcc-9 To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/shlock/shlock.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
Module Name:src Committed By: mrg Date: Sat Apr 17 00:05:31 UTC 2021 Modified Files: src/sys/kern: subr_evcnt.c Log Message: avoid an error in the recent sys/evcnt.h change to drop the 0 array size from evcnt_sysctl:ev_strings that clang does not like. the previous "struct xevcnt_sysctl" was well defined as the evcnt_sysctl with array length of 0 could be placed as the anywhere in other structures, but with [] it must remain last and xevcnt_sysctl then places a char array afterwards. avoid this entirely by removing struct xevcnt_sysctl, combining the string array + struct evcnt_sysctl size manually for the allocation, and moving all "ev_string" accesses to be via the new [] array. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/kern/subr_evcnt.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/cardbus
Module Name:src Committed By: mrg Date: Sat Apr 17 01:19:48 UTC 2021 Modified Files: src/sys/dev/cardbus: cardslot.c cardslotvar.h Log Message: convert cardslot event thread from wakeup/tsleep to mutex/condvar. this avoids a strange hang at reboot i am seeing on an old pentium4-m laptop, that was introduced with kern_mutex.c 1.91/92, though i can not really explain why that matters (in the waiting thread, a pointer that should be NULL remains non NULL.) thanks to jmcneill@ for some helpful review commentary here. don't panic() if either "cardbus" or "pcmcia" didn't attach and a card is inserted. this can happen for various reasons, including some regression in netbsd (-current, and -9, at least) that suggests using PCI_BUS_FIXUP (though it still fails to attach the card i have.) both found with GCC 10 testing, though both also occur with GCC 7 in the netbsd-9 tree as well. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/dev/cardbus/cardslot.c cvs rdiff -u -r1.16 -r1.17 src/sys/dev/cardbus/cardslotvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: mrg Date: Sat Apr 17 01:53:58 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/dev/usb: usbhist.h src/sys/sys: biohist.h kernhist.h src/sys/uvm: uvm_map.c uvm_pdaemon.c uvm_stat.h src/sys/uvm/pmap: pmap.c Log Message: remove KERNHIST_INIT_STATIC(). it stradles the line between usable early in boot and broken early in boot by requiring a partly static structure with another structure that must be present by the time any uses are performed. theoretically platform code could allocate a chunk while seting up memory and assign it here, giving a dynamic sizing for the entry list, but the reality is that all users have a statically allocated entry list as well. the existing KERNHIST_LINK_STATIC() is used in conjunction with KERNHIST_INITIALIZER() instead. this stops a NULL pointer deref when the _LOG() macro is called before the storage is linked in, which happens with GCC 10 on OCTEON with UVMHIST enabled, crashing in very early kernel init. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/aarch64/aarch64/pmap.c cvs rdiff -u -r1.6 -r1.7 src/sys/dev/usb/usbhist.h cvs rdiff -u -r1.2 -r1.3 src/sys/sys/biohist.h cvs rdiff -u -r1.25 -r1.26 src/sys/sys/kernhist.h cvs rdiff -u -r1.386 -r1.387 src/sys/uvm/uvm_map.c cvs rdiff -u -r1.131 -r1.132 src/sys/uvm/uvm_pdaemon.c cvs rdiff -u -r1.54 -r1.55 src/sys/uvm/uvm_stat.h cvs rdiff -u -r1.61 -r1.62 src/sys/uvm/pmap/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc
Module Name:src Committed By: mrg Date: Sat Apr 17 01:59:41 UTC 2021 Modified Files: src/external/gpl3/gcc: README.gcc10 Log Message: various updates, thanks to those who provided feedback. - powerpc ports work - m68k ports work, x68k has a new caveat - hppa works - mips64eb vs UVMHIST has been fix - i386 reboot problem fixed (cardbus issue, not GCC related) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/README.gcc10 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/netbsd32
Module Name:src Committed By: simonb Date: Sat Apr 17 03:57:42 UTC 2021 Modified Files: src/sys/compat/netbsd32: files.netbsd32 Log Message: Compile in compat32 syscall names all the time, as we do for native syscall names. Needed for dtrace. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/compat/netbsd32/files.netbsd32 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: mrg Date: Sat Apr 17 04:07:16 UTC 2021 Modified Files: src/external/gpl3/gcc: README.gcc10 src/share/mk: bsd.own.mk Log Message: switch alpha, ia64, sparc*, riscv*, amd64 and vax to GCC 10 default. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/README.gcc10 cvs rdiff -u -r1.1239 -r1.1240 src/share/mk/bsd.own.mk 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: mrg Date: Sat Apr 17 04:08:32 UTC 2021 Modified Files: src: UPDATING Log Message: add a note about potential GCC 9->10 build failures To generate a diff of this commit: cvs rdiff -u -r1.317 -r1.318 src/UPDATING Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: mrg Date: Sat Apr 17 04:11:52 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: note GCC 10 and the ports that switched. To generate a diff of this commit: cvs rdiff -u -r1.1794 -r1.1795 src/doc/3RDPARTY cvs rdiff -u -r1.2795 -r1.2796 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/common/lib/libc/string
Module Name:src Committed By: simonb Date: Sat Apr 17 05:57:11 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Disable the larger/faster code path. While the optimised code path was indeed quicker, it nonetheless failed to actually fill all the requested memory with the specified value much of the time if a non-aligned start address was used. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/string/memset2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/common/lib/libc/string
Module Name:src Committed By: simonb Date: Sat Apr 17 06:02:35 UTC 2021 Modified Files: src/common/lib/libc/string: memset2.c Log Message: Cast the fill value to unsigned char so that the "fill" value used for full-word fills isn't garbage. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/string/memset2.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/w
Module Name:src Committed By: maya Date: Sat Apr 17 06:14:15 UTC 2021 Modified Files: src/usr.bin/w: pr_time.c w.c Log Message: Remove SCCS workarounds. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.bin/w/pr_time.c cvs rdiff -u -r1.90 -r1.91 src/usr.bin/w/w.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.