CVS commit: src/libexec/ld.elf_so/arch/sparc64
Module Name:src Committed By: martin Date: Mon Jul 24 08:08:34 UTC 2017 Modified Files: src/libexec/ld.elf_so/arch/sparc64: mdreloc.c Log Message: Fix thinko in previous: even if the address is an unsigned value and we have verified the range before, we still need to mask the bit pattern to the target instruction field. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/libexec/ld.elf_so/arch/sparc64/mdreloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS import: src/sys/arch/evbmips
Module Name:src Committed By: mrg Date: Mon Jul 24 08:56:29 UTC 2017 Update of /cvsroot/src/sys/arch/evbmips In directory ivanova.netbsd.org:/tmp/cvs-serv26314 Log Message: import most of the sbmips port into evbmips. the renames are: - TODO -> evbmips/sbmips/TODO - sbmips -> evbmips/sbmips - stand -> evbmips/stand - conf/files* -> evbmips/conf/files* - conf/GENERIC* -> evbmips/conf/SBMIPS* this is not yet ported and will need to be updated, but it's a first step, and it doesn't handle any include/* issues that need to be dealt with. Status: Vendor Tag: NetBSD Release Tags: NetBSD-2017-07-22 N src/sys/arch/evbmips/sbmips/TODO N src/sys/arch/evbmips/sbmips/disksubr.c N src/sys/arch/evbmips/sbmips/autoconf.c N src/sys/arch/evbmips/sbmips/console.c N src/sys/arch/evbmips/sbmips/machdep.c N src/sys/arch/evbmips/sbmips/locore_machdep.S N src/sys/arch/evbmips/sbmips/rtc.c N src/sys/arch/evbmips/sbmips/sb1250_icu.c N src/sys/arch/evbmips/sbmips/systemsw.c N src/sys/arch/evbmips/sbmips/zbbus.c N src/sys/arch/evbmips/sbmips/cpu.c N src/sys/arch/evbmips/conf/SBMIPS N src/sys/arch/evbmips/conf/SBMIPS64 N src/sys/arch/evbmips/conf/SBMIPS64.MP N src/sys/arch/evbmips/conf/files.sbmips N src/sys/arch/evbmips/conf/std.sbmips N src/sys/arch/evbmips/conf/SBMIPS.MP N src/sys/arch/evbmips/stand/sbmips/Makefile N src/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs N src/sys/arch/evbmips/stand/sbmips/Makefile.bootxx N src/sys/arch/evbmips/stand/sbmips/Makefile.inc N src/sys/arch/evbmips/stand/sbmips/boot/Makefile N src/sys/arch/evbmips/stand/sbmips/boot/filesystem.c N src/sys/arch/evbmips/stand/sbmips/boot/version N src/sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile N src/sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile N src/sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile N src/sys/arch/evbmips/stand/sbmips/common/bbinfo.h N src/sys/arch/evbmips/stand/sbmips/common/blkdev.c N src/sys/arch/evbmips/stand/sbmips/common/blkdev.h N src/sys/arch/evbmips/stand/sbmips/common/boot.c N src/sys/arch/evbmips/stand/sbmips/common/boot.ldscript N src/sys/arch/evbmips/stand/sbmips/common/booted_dev.c N src/sys/arch/evbmips/stand/sbmips/common/bootxx.c N src/sys/arch/evbmips/stand/sbmips/common/cfe.c N src/sys/arch/evbmips/stand/sbmips/common/cfe_api.c N src/sys/arch/evbmips/stand/sbmips/common/cfe_api.h N src/sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h N src/sys/arch/evbmips/stand/sbmips/common/cfe_error.h N src/sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h N src/sys/arch/evbmips/stand/sbmips/common/checksize.sh N src/sys/arch/evbmips/stand/sbmips/common/common.h N src/sys/arch/evbmips/stand/sbmips/common/panic_putstr.c N src/sys/arch/evbmips/stand/sbmips/common/putstr.c N src/sys/arch/evbmips/stand/sbmips/common/start.S N src/sys/arch/evbmips/stand/sbmips/netboot/Makefile N src/sys/arch/evbmips/stand/sbmips/netboot/conf.c N src/sys/arch/evbmips/stand/sbmips/netboot/dev_net.c N src/sys/arch/evbmips/stand/sbmips/netboot/getsecs.c N src/sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c N src/sys/arch/evbmips/stand/sbmips/netboot/version N src/sys/arch/evbmips/stand/sbmips/netboot/devopen.c No conflicts created by this import
CVS import: src/sys/arch/evbmips
Module Name:src Committed By: mrg Date: Mon Jul 24 09:21:50 UTC 2017 Update of /cvsroot/src/sys/arch/evbmips In directory ivanova.netbsd.org:/tmp/cvs-serv11701 Log Message: sbmips->evbmips merge: import all the all the header files except intr.h and disklabel.h that are needed. both of these will need some special attention. Status: Vendor Tag: NetBSD Release Tags: NetBSD-2017-07-22 N src/sys/arch/evbmips/sbmips/autoconf.h N src/sys/arch/evbmips/sbmips/cpuvar.h N src/sys/arch/evbmips/sbmips/leds.h N src/sys/arch/evbmips/sbmips/swarm.h N src/sys/arch/evbmips/sbmips/systemsw.h N src/sys/arch/evbmips/include/loadfile_machdep.h No conflicts created by this import
CVS commit: src/sys/arch
Module Name:src Committed By: mrg Date: Mon Jul 24 09:56:46 UTC 2017 Modified Files: src/sys/arch/evbmips/conf: SBMIPS SBMIPS.MP SBMIPS64 SBMIPS64.MP files.sbmips std.sbmips src/sys/arch/evbmips/include: param.h pci_machdep.h src/sys/arch/evbmips/sbmips: cpu.c machdep.c rtc.c sb1250_icu.c systemsw.c zbbus.c src/sys/arch/mips/conf: files.sibyte src/sys/arch/mips/include: pmap.h src/sys/arch/mips/sibyte/dev: sbbuswatch.c sbmac.c sbscn.c sbsmbus.c sbtimer.c sbwdog.c src/sys/arch/mips/sibyte/pci: sbbrz_pci.c Log Message: mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully sans disksubr.c. intr.h does not need any additional fixes now, only disklabel.h. also test-built some other mips kernels. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/arch/evbmips/conf/SBMIPS \ src/sys/arch/evbmips/conf/SBMIPS.MP src/sys/arch/evbmips/conf/SBMIPS64 \ src/sys/arch/evbmips/conf/SBMIPS64.MP \ src/sys/arch/evbmips/conf/files.sbmips \ src/sys/arch/evbmips/conf/std.sbmips cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/include/param.h cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/include/pci_machdep.h cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/arch/evbmips/sbmips/cpu.c \ src/sys/arch/evbmips/sbmips/machdep.c src/sys/arch/evbmips/sbmips/rtc.c \ src/sys/arch/evbmips/sbmips/sb1250_icu.c \ src/sys/arch/evbmips/sbmips/systemsw.c \ src/sys/arch/evbmips/sbmips/zbbus.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/conf/files.sibyte cvs rdiff -u -r1.69 -r1.70 src/sys/arch/mips/include/pmap.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/sibyte/dev/sbbuswatch.c cvs rdiff -u -r1.48 -r1.49 src/sys/arch/mips/sibyte/dev/sbmac.c cvs rdiff -u -r1.42 -r1.43 src/sys/arch/mips/sibyte/dev/sbscn.c cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mips/sibyte/dev/sbsmbus.c cvs rdiff -u -r1.20 -r1.21 src/sys/arch/mips/sibyte/dev/sbtimer.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/sibyte/dev/sbwdog.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/sibyte/pci/sbbrz_pci.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/evbmips/include
Module Name:src Committed By: mrg Date: Mon Jul 24 10:04:09 UTC 2017 Modified Files: src/sys/arch/evbmips/include: disklabel.h Log Message: ugly hack -- for SB1, use the contents of sbmips/include/disklabel.h. with this, i can build the 32 bit little endian SBMIPS kernel in the evbmips directory. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/include/disklabel.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/evbmips/stand/sbmips
Module Name:src Committed By: mrg Date: Mon Jul 24 10:34:55 UTC 2017 Modified Files: src/sys/arch/evbmips/stand/sbmips: Makefile.bootprogs Makefile.inc src/sys/arch/evbmips/stand/sbmips/common: blkdev.c boot.c booted_dev.c src/sys/arch/evbmips/stand/sbmips/netboot: getsecs.c if_cfe.c Log Message: port this to build under evbmips. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs \ src/sys/arch/evbmips/stand/sbmips/Makefile.inc cvs rdiff -u -r1.1.1.1 -r1.2 \ src/sys/arch/evbmips/stand/sbmips/common/blkdev.c \ src/sys/arch/evbmips/stand/sbmips/common/boot.c \ src/sys/arch/evbmips/stand/sbmips/common/booted_dev.c cvs rdiff -u -r1.1.1.1 -r1.2 \ src/sys/arch/evbmips/stand/sbmips/netboot/getsecs.c \ src/sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Mon Jul 24 12:34:46 UTC 2017 Modified Files: src/bin/sh: alias.c Log Message: PR bin/52348 Silence nuisance testing environments - avoid << of a negative number (a signed char -- in a hash function, the result is irrelevant, as long as it is repeatable). To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/bin/sh/alias.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Mon Jul 24 12:35:37 UTC 2017 Modified Files: src/bin/sh: options.c Log Message: PR standards/52406 Absent other information, the shell should be interactive if reading from stdin, and stdin and stderr are ttys, not stdin and stdout. So sayeth the great lord posix. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/bin/sh/options.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Mon Jul 24 12:35:12 UTC 2017 Modified Files: src/bin/sh: error.c Log Message: PR bin/52348 Avoid a reference after free (detected by asan) - harmless here, but easy to fix. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/bin/sh/error.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Mon Jul 24 12:36:02 UTC 2017 Modified Files: src/bin/sh: sh.1 Log Message: Document the times builtin command, reported as lost in space by rudolf at eq.cz on tech-userlevel (July 15, 2017.) Also correct a typo, de-correct some entirely proper English so the doc remains written in American instead. And note that interactive mode is set when stdin & stderr are terminals, not stding and stdout. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/bin/sh/sh.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Mon Jul 24 13:21:14 UTC 2017 Modified Files: src/bin/sh: arith_token.c arith_tokens.h arithmetic.c sh.1 Log Message: Add support for ++ and -- (pre & post) and ',' to arithmetic. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/bin/sh/arith_token.c cvs rdiff -u -r1.2 -r1.3 src/bin/sh/arith_tokens.h cvs rdiff -u -r1.3 -r1.4 src/bin/sh/arithmetic.c cvs rdiff -u -r1.160 -r1.161 src/bin/sh/sh.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Mon Jul 24 13:36:15 UTC 2017 Modified Files: src/bin/sh: var.c Log Message: NFC: DEBUG mode only change - add a little more tracing. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/bin/sh/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Mon Jul 24 14:17:12 UTC 2017 Modified Files: src/bin/sh: jobs.c option.list sh.1 Log Message: Implement the "pipefail" option (same semantics as in other shells) to cause (when set, which it is not by default) the exit status of a pipe to be 0 iff all commands in the pipe exited with status 0, and otherwise, the status of the rightmost command to exit with a non-0 status. In the doc, while describing this, also reword some of the text about commands in general, how they are structured, and when they are executed. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/bin/sh/jobs.c cvs rdiff -u -r1.5 -r1.6 src/bin/sh/option.list cvs rdiff -u -r1.161 -r1.162 src/bin/sh/sh.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libm
Module Name:src Committed By: he Date: Mon Jul 24 18:13:36 UTC 2017 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: Swap around the two last args to the check for expected fegetround(), so the error message makes sense. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libm/t_fe_round.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/lib/libm
Module Name:src Committed By: he Date: Mon Jul 24 18:14:46 UTC 2017 Modified Files: src/tests/lib/libm: t_fe_round.c Log Message: Add a test checking nearbyint(), using the same table as used by the existing lrint() test. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libm/t_fe_round.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: skrll Date: Mon Jul 24 19:22:32 UTC 2017 Modified Files: src/sys/sys: extent.h Log Message: Use __BIT(3) for bit values. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/sys/extent.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
Module Name:src Committed By: joerg Date: Mon Jul 24 19:37:41 UTC 2017 Modified Files: src/sys/arch/arm/cortex: a9_mpsubr.S src/sys/arch/evbarm/conf: mk.sunxi Log Message: Replace assembler flags with .arch* annotation. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/arm/cortex/a9_mpsubr.S cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/mk.sunxi 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: skrll Date: Mon Jul 24 19:56:07 UTC 2017 Modified Files: src/sys/kern: subr_extent.c src/sys/sys: extent.h Log Message: Add a condition variable (ex_flwanted) to struct extent so that ex_flags becomes an invariant. Remove strange locking for ex_flags as a result. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/kern/subr_extent.c cvs rdiff -u -r1.20 -r1.21 src/sys/sys/extent.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/kern
Module Name:src Committed By: snj Date: Tue Jul 25 01:29:23 UTC 2017 Modified Files: src/sys/kern [netbsd-8]: vnode_if.src Log Message: Pull up following revision(s) (requested by hannken in ticket #130): sys/kern/vnode_if.src: revision 1.77 As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here. Fixes PR kern/52364: System hangs not much before showing the login prompt To generate a diff of this commit: cvs rdiff -u -r1.75.2.1 -r1.75.2.2 src/sys/kern/vnode_if.src Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys
Module Name:src Committed By: snj Date: Tue Jul 25 01:29:56 UTC 2017 Modified Files: src/sys/kern [netbsd-8]: vnode_if.c src/sys/rump/include/rump [netbsd-8]: rumpvnode_if.h src/sys/rump/librump/rumpvfs [netbsd-8]: rumpvnode_if.c src/sys/sys [netbsd-8]: vnode_if.h Log Message: regen for ticket 130 To generate a diff of this commit: cvs rdiff -u -r1.104.2.1 -r1.104.2.2 src/sys/kern/vnode_if.c cvs rdiff -u -r1.28.2.1 -r1.28.2.2 src/sys/rump/include/rump/rumpvnode_if.h cvs rdiff -u -r1.28.2.1 -r1.28.2.2 \ src/sys/rump/librump/rumpvfs/rumpvnode_if.c cvs rdiff -u -r1.99.2.1 -r1.99.2.2 src/sys/sys/vnode_if.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sbin/route
Module Name:src Committed By: snj Date: Tue Jul 25 01:34:23 UTC 2017 Modified Files: src/sbin/route [netbsd-8]: rtutil.c Log Message: Pull up following revision(s) (requested by manu in ticket #131): sbin/route/rtutil.c: revision 1.10 Fix route and netstat -r output when built with -DSMALL A missing \n caused the routing table to be printed all in one line if -DSMALL was used. To generate a diff of this commit: cvs rdiff -u -r1.8.8.1 -r1.8.8.2 src/sbin/route/rtutil.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch
Module Name:src Committed By: snj Date: Tue Jul 25 01:35:53 UTC 2017 Modified Files: src/sys/arch/arm/sunxi [netbsd-8]: sunxi_platform.c src/sys/arch/evbarm/conf [netbsd-8]: SUNXI Log Message: Pull up following revision(s) (requested by jmcneill in ticket #132): sys/arch/arm/sunxi/sunxi_platform.c: revision 1.5 sys/arch/evbarm/conf/SUNXI: revision 1.17 Add support for Allwinner H2+ as found in the Orange Pi Zero. -- Build sun8i-h2-plus-orangepi-zero.dts To generate a diff of this commit: cvs rdiff -u -r1.5.4.2 -r1.5.4.3 src/sys/arch/arm/sunxi/sunxi_platform.c cvs rdiff -u -r1.17.4.2 -r1.17.4.3 src/sys/arch/evbarm/conf/SUNXI Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/libexec/ld.elf_so
Module Name:src Committed By: snj Date: Tue Jul 25 01:36:58 UTC 2017 Modified Files: src/libexec/ld.elf_so [netbsd-8]: tls.c Log Message: Pull up following revision(s) (requested by joerg in ticket #133): libexec/ld.elf_so/tls.c: revision 1.11 Fix two bugs related to promotion of DSO TLS blocks into the static thread allocation: (1) Set the DTV vector up whenever an offset into the static allocation is assigned, even if the block itself is not initialized. This has been seen in libstdc++. (2) Do not free a DTV block if it is part of the static thread allocation. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10.8.1 src/libexec/ld.elf_so/tls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/lib/libunwind
Module Name:src Committed By: snj Date: Tue Jul 25 01:38:42 UTC 2017 Modified Files: src/sys/lib/libunwind [netbsd-8]: Registers.hpp Log Message: Pull up following revision(s) (requested by joerg in ticket #134): sys/lib/libunwind/Registers.hpp: revision 1.20 GCC 5.3 likes to emit unwind data with float registers, i.e. register halfs. Compensate. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.19.12.1 src/sys/lib/libunwind/Registers.hpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev/usb
Module Name:src Committed By: snj Date: Tue Jul 25 01:39:42 UTC 2017 Modified Files: src/sys/dev/usb [netbsd-8]: uhci.c Log Message: Pull up following revision(s) (requested by skrll in ticket #136): sys/dev/usb/uhci.c: revision 1.276 Only call uhci_free_stds if there are TDs to free. In uhci_alloc_std_chain ensure we fill the TD array correctly and note the number of allocated TDs so that uhci_free_stds will do the right thing Fixes a problem seen by anon To generate a diff of this commit: cvs rdiff -u -r1.275 -r1.275.2.1 src/sys/dev/usb/uhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/share/mk
Module Name:src Committed By: snj Date: Tue Jul 25 01:41:29 UTC 2017 Modified Files: src/share/mk [netbsd-8]: bsd.man.mk Log Message: Pull up following revision(s) (requested by jmcneill in ticket #137): share/mk/bsd.man.mk: revision 1.119 Latest mandoc no longer supports multiple -O options. Instead it expects option values to be separated by commas. PR toolchain/52402 To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.118.8.1 src/share/mk/bsd.man.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src
Module Name:src Committed By: snj Date: Tue Jul 25 01:43:37 UTC 2017 Modified Files: src/usr.bin/systat [netbsd-8]: iostat.c vmstat.c src/usr.bin/vmstat [netbsd-8]: drvstats.c drvstats.h vmstat.c src/usr.sbin/iostat [netbsd-8]: iostat.c Log Message: Pull up following revision(s) (requested by mlelstv in ticket #138): usr.bin/systat/iostat.c: revision 1.38 usr.bin/systat/vmstat.c: revision 1.82 usr.bin/vmstat/drvstats.c: revision 1.11 usr.bin/vmstat/drvstats.h: revision 1.5 usr.bin/vmstat/vmstat.c: revision 1.217 usr.sbin/iostat/iostat.c: revision 1.65 Use I/O timestamps to compute disk statistics for better precision. Disk statistics are collected in a fixed size array, that got corrupted when a disk was detached. Adapt by skipping entries of detached disks and detect reused disknames at the array end. -- Use I/O timestamps to compute disk statistics for better precisison. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.37.38.1 src/usr.bin/systat/iostat.c cvs rdiff -u -r1.81 -r1.81.8.1 src/usr.bin/systat/vmstat.c cvs rdiff -u -r1.10 -r1.10.4.1 src/usr.bin/vmstat/drvstats.c cvs rdiff -u -r1.4 -r1.4.4.1 src/usr.bin/vmstat/drvstats.h cvs rdiff -u -r1.216 -r1.216.6.1 src/usr.bin/vmstat/vmstat.c cvs rdiff -u -r1.64 -r1.64.4.1 src/usr.sbin/iostat/iostat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys
Module Name:src Committed By: snj Date: Tue Jul 25 01:49:13 UTC 2017 Modified Files: src/sys/arch/arm/sunxi [netbsd-8]: sunxi_mmc.c src/sys/dev/sdmmc [netbsd-8]: ld_sdmmc.c sdmmc_mem.c sdmmcreg.h sdmmcvar.h Log Message: Pull up following revision(s) (requested by jmcneill in ticket #139): sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.2 sys/dev/sdmmc/ld_sdmmc.c: revision 1.31 sys/dev/sdmmc/sdmmc_mem.c: revision 1.61 sys/dev/sdmmc/sdmmcreg.h: revision 1.32 sys/dev/sdmmc/sdmmcvar.h: revision 1.28 Add support for eMMC 4.5's optional cache feature. If a cache is present, and the host controller reports the SMC_CAPS_POLLING capability (needed to flush cache at shutdown), it will be automatically enabled and used. -- Add SMC_CAPS_POLLING support. To generate a diff of this commit: cvs rdiff -u -r1.3.4.2 -r1.3.4.3 src/sys/arch/arm/sunxi/sunxi_mmc.c cvs rdiff -u -r1.26.4.3 -r1.26.4.4 src/sys/dev/sdmmc/ld_sdmmc.c cvs rdiff -u -r1.56.4.2 -r1.56.4.3 src/sys/dev/sdmmc/sdmmc_mem.c cvs rdiff -u -r1.29.6.1 -r1.29.6.2 src/sys/dev/sdmmc/sdmmcreg.h cvs rdiff -u -r1.23.6.2 -r1.23.6.3 src/sys/dev/sdmmc/sdmmcvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys
Module Name:src Committed By: snj Date: Tue Jul 25 01:55:21 UTC 2017 Modified Files: src/sys/kern [netbsd-8]: uipc_domain.c src/sys/net [netbsd-8]: rtsock.c src/sys/sys [netbsd-8]: socket.h Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #140): sys/kern/uipc_domain.c: 1.97-1.99 sys/net/rtsock.c: 1.225-1.227 sys/sys/socket.h: 1.123 Restore the original length of a sockaddr for netmask route(8) passes a sockaddr for netmask that is truncated with its prefixlen. However the kernel basically doesn't expect such format and may read beyond the data. So restore the original length of the the data at the beginning of the kernel for the rest components. Failures of ATF tests such as route_flags_blackhole6 should be fixed. -- Avoid DIAGNOSTIC warning with previous fix and simplify it (don't require memory alloc/free). -- put the code that returns the sizeof the socket by family in one place. -- don't warn about AF_LINK sockets with sa_len less than the size of the sockaddr -- don't print diagnostic for AF_LINK To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.96.10.1 src/sys/kern/uipc_domain.c cvs rdiff -u -r1.213.2.1 -r1.213.2.2 src/sys/net/rtsock.c cvs rdiff -u -r1.122 -r1.122.2.1 src/sys/sys/socket.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/conf
Module Name:src Committed By: snj Date: Tue Jul 25 01:58:09 UTC 2017 Modified Files: src/sys/conf [netbsd-8]: Makefile.kern.inc Added Files: src/sys/conf [netbsd-8]: dts.mk Log Message: Pull up following revision(s) (requested by jmcneill in ticket #141): sys/conf/dts.mk: 1.1-1.2 sys/conf/Makefile.kern.inc: revision 1.260 Move the dts rule to a separate file and add dependencies handling. -- do dts depend processing in two passes, one for /include/ and one for #include To generate a diff of this commit: cvs rdiff -u -r1.256.8.2 -r1.256.8.3 src/sys/conf/Makefile.kern.inc cvs rdiff -u -r0 -r1.2.4.2 src/sys/conf/dts.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/usr.bin/mkubootimage
Module Name:src Committed By: snj Date: Tue Jul 25 02:00:33 UTC 2017 Modified Files: src/usr.bin/mkubootimage [netbsd-8]: mkubootimage.1 mkubootimage.c uboot.h Log Message: Pull up following revision(s) (requested by jmcneill in ticket #142): usr.bin/mkubootimage/mkubootimage.1: 1.9-1.10 usr.bin/mkubootimage/mkubootimage.c: 1.20 usr.bin/mkubootimage/uboot.h: 1.7 Add support for "kernel_noload" image types. This type is the same as the "kernel" type, except it can run from any load address. -- Remove unnecessary macros. Use standard headers. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.8.8.1 src/usr.bin/mkubootimage/mkubootimage.1 cvs rdiff -u -r1.18.8.1 -r1.18.8.2 src/usr.bin/mkubootimage/mkubootimage.c cvs rdiff -u -r1.6 -r1.6.8.1 src/usr.bin/mkubootimage/uboot.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch/arm/sunxi
Module Name:src Committed By: snj Date: Tue Jul 25 02:03:17 UTC 2017 Modified Files: src/sys/arch/arm/sunxi [netbsd-8]: files.sunxi sun8i_h3_ccu.c sunxi_ccu.c sunxi_ccu.h sunxi_mmc.c sunxi_mmc.h Added Files: src/sys/arch/arm/sunxi [netbsd-8]: sunxi_ccu_phase.c Log Message: Pull up following revision(s) (requested by jmcneill in ticket #143): sys/arch/arm/sunxi/files.sunxi: revision 1.12 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.8 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.6 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.7 sys/arch/arm/sunxi/sunxi_ccu_phase.c: revision 1.1 sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.3 sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.2 Add SDMMC[012] sample/output clock phase controls. -- Add support for eMMC DDR52 transfer mode. To generate a diff of this commit: cvs rdiff -u -r1.12.4.2 -r1.12.4.3 src/sys/arch/arm/sunxi/files.sunxi cvs rdiff -u -r1.8.4.2 -r1.8.4.3 src/sys/arch/arm/sunxi/sun8i_h3_ccu.c cvs rdiff -u -r1.6.4.2 -r1.6.4.3 src/sys/arch/arm/sunxi/sunxi_ccu.c cvs rdiff -u -r1.7.4.2 -r1.7.4.3 src/sys/arch/arm/sunxi/sunxi_ccu.h cvs rdiff -u -r0 -r1.1.4.2 src/sys/arch/arm/sunxi/sunxi_ccu_phase.c cvs rdiff -u -r1.3.4.3 -r1.3.4.4 src/sys/arch/arm/sunxi/sunxi_mmc.c cvs rdiff -u -r1.2.4.2 -r1.2.4.3 src/sys/arch/arm/sunxi/sunxi_mmc.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/fs/union
Module Name:src Committed By: snj Date: Tue Jul 25 02:04:43 UTC 2017 Modified Files: src/sys/fs/union [netbsd-8]: union.h union_subr.c Log Message: Pull up following revision(s) (requested by hannken in ticket #145): sys/fs/union/union.h: revision 1.29 sys/fs/union/union_subr.c: revision 1.76 Make union_newlower() ans union_newupper() local to union_subr.c, expand and remove union_updatevp() and take care to transfer the vnode lock from the union vnode to its new upper vnode without breaking the fstrans state. Add assertions that un_lowervp and un_uppervp never change from non-NULL to non-NULL. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.28.10.1 src/sys/fs/union/union.h cvs rdiff -u -r1.75 -r1.75.2.1 src/sys/fs/union/union_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/tests/lib/libc/arch/sh3
Module Name:src Committed By: snj Date: Tue Jul 25 02:06:10 UTC 2017 Modified Files: src/tests/lib/libc/arch/sh3 [netbsd-8]: return_one.S Log Message: Pull up following revision(s) (requested by uwe in ticket #148): tests/lib/libc/arch/sh3/return_one.S: revision 1.2 Don't execute random garbage. Fixes mprotect_mremap_exec test. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.1.34.1 src/tests/lib/libc/arch/sh3/return_one.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/net
Module Name:src Committed By: snj Date: Tue Jul 25 02:07:12 UTC 2017 Modified Files: src/sys/net [netbsd-8]: if_pppoe.c Log Message: Pull up following revision(s) (requested by knakahara in ticket #149): sys/net/if_pppoe.c: revision 1.126 fix panic when PPPOE_DEBUG enabled. implemented by s-yamaguchi@IIJ, thanks. To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.125.6.1 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev/ic
Module Name:src Committed By: snj Date: Tue Jul 25 02:08:31 UTC 2017 Modified Files: src/sys/dev/ic [netbsd-8]: rt2860.c Log Message: Pull up following revision(s) (requested by maya in ticket #150): sys/dev/ic/rt2860.c: revision 1.27 Use kmem_free for kmem_alloc'd memory Fixes diagnostic crash on detach, tested by Riccardo Mottola To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.26.2.1 src/sys/dev/ic/rt2860.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch/evbarm/fdt
Module Name:src Committed By: snj Date: Tue Jul 25 02:09:33 UTC 2017 Modified Files: src/sys/arch/evbarm/fdt [netbsd-8]: fdt_machdep.c Log Message: Pull up following revision(s) (requested by jmcneill in ticket #151): sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.11 Fix reserved memory handling. To generate a diff of this commit: cvs rdiff -u -r1.4.2.3 -r1.4.2.4 src/sys/arch/evbarm/fdt/fdt_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src
Module Name:src Committed By: snj Date: Tue Jul 25 02:11:14 UTC 2017 Modified Files: src/sys/arch/sparc/conf [netbsd-8]: files.sparc src/sys/arch/sparc/sparc [netbsd-8]: db_interface.c src/usr.sbin/crash [netbsd-8]: Makefile Added Files: src/sys/arch/sparc/sparc [netbsd-8]: db_machdep.c Log Message: Pull up following revision(s) (requested by nakayama in ticket #152): usr.sbin/crash/Makefile: revision 1.37 sys/arch/sparc/conf/files.sparc: revision 1.157 sys/arch/sparc/sparc/db_interface.c: revision 1.94 sys/arch/sparc/sparc/db_machdep.c: revision 1.1 Move the ddb registers and empty command table used for crash(8) into db_machdep.c like other archs. -- sparc has db_machdep.c now. To generate a diff of this commit: cvs rdiff -u -r1.156 -r1.156.10.1 src/sys/arch/sparc/conf/files.sparc cvs rdiff -u -r1.93 -r1.93.8.1 src/sys/arch/sparc/sparc/db_interface.c cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/sparc/sparc/db_machdep.c cvs rdiff -u -r1.36 -r1.36.4.1 src/usr.sbin/crash/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev/pci
Module Name:src Committed By: snj Date: Tue Jul 25 02:12:35 UTC 2017 Modified Files: src/sys/dev/pci [netbsd-8]: aceride.c pciide_acer_reg.h Log Message: Pull up following revision(s) (requested by nakayama in ticket #153): sys/dev/pci/aceride.c: revision 1.37 sys/dev/pci/pciide_acer_reg.h: revision 1.13 Apply workaround from FreeBSD to fix read data corruption observed on Fire V100 and mSATA-SSD with mSATA to IDE adapter. The patch is from port-sparc64@. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.36.22.1 src/sys/dev/pci/aceride.c cvs rdiff -u -r1.12 -r1.12.56.1 src/sys/dev/pci/pciide_acer_reg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/arch/pmax
Module Name:src Committed By: snj Date: Tue Jul 25 02:15:20 UTC 2017 Modified Files: src/sys/arch/pmax/conf [netbsd-8]: files.pmax src/sys/arch/pmax/include [netbsd-8]: bus.h Log Message: Apply patch (requested by flxd in ticket #154): Revert pmax switch to common MIPS bus_space and bus_dma. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.118.8.1 src/sys/arch/pmax/conf/files.pmax cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/pmax/include/bus.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/net/npf
Module Name:src Committed By: snj Date: Tue Jul 25 02:17:16 UTC 2017 Modified Files: src/sys/net/npf [netbsd-8]: npf_os.c Log Message: Pull up following revision(s) (requested by pgoyette in ticket #155): sys/net/npf/npf_os.c: revision 1.7 The npf module depends on some stuff from the bpf module, so set the required modules list accordingly. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/net/npf/npf_os.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/libexec/ld.elf_so/arch/sparc64
Module Name:src Committed By: snj Date: Tue Jul 25 02:19:04 UTC 2017 Modified Files: src/libexec/ld.elf_so/arch/sparc64 [netbsd-8]: mdreloc.c Log Message: Pull up following revision(s) (requested by martin in ticket #156): libexec/ld.elf_so/arch/sparc64/mdreloc.c: 1.62, 1.63 Simplify and fix the offset calculation when doing a %pc relative branch from the PLT slot to the target. -- Fix thinko in previous: even if the address is an unsigned value and we have verified the range before, we still need to mask the bit pattern to the target instruction field. To generate a diff of this commit: cvs rdiff -u -r1.59.6.1 -r1.59.6.2 \ src/libexec/ld.elf_so/arch/sparc64/mdreloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/lib/libc/compiler_rt
Module Name:src Committed By: snj Date: Tue Jul 25 02:21:27 UTC 2017 Modified Files: src/lib/libc/compiler_rt [netbsd-8]: Makefile.inc Log Message: Pull up following revision(s) (requested by martin in ticket #157): lib/libc/compiler_rt/Makefile.inc: revision 1.35 Do not use IEEE 754 specific functions for VAX To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.33.2.1 src/lib/libc/compiler_rt/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/doc
Module Name:src Committed By: snj Date: Tue Jul 25 02:23:33 UTC 2017 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: tickets 130-134, 136-143, 145, 148-157 To generate a diff of this commit: cvs rdiff -u -r1.1.2.31 -r1.1.2.32 src/doc/CHANGES-8.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4/man4.pmax
Module Name:src Committed By: ryoon Date: Tue Jul 25 03:51:41 UTC 2017 Modified Files: src/share/man/man4/man4.pmax: autoconf.4 ibus.4 intro.4 sii.4 Log Message: Fix pmax/ cross references To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.pmax/autoconf.4 cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.pmax/ibus.4 cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/man4.pmax/intro.4 cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/man4.pmax/sii.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: martin Date: Tue Jul 25 04:36:33 UTC 2017 Modified Files: src/sys/sys: extent.h Log Message: Stupid old C versions do not know "bool" - include stdbool.h to the rescue. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/sys/extent.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/librump/rumpkern
Module Name:src Committed By: ozaki-r Date: Tue Jul 25 05:01:25 UTC 2017 Modified Files: src/sys/rump/librump/rumpkern: Makefile.rumpkern Log Message: Add localcount to rump kernels To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/rump/librump/rumpkern/Makefile.rumpkern 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: msaitoh Date: Tue Jul 25 06:00:17 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c if_wmvar.h Log Message: Use new nvm.{acquire,release}() for semaphore. Almost the same except the following: - 8257[12]: Don't directly access SPI but use EERD register. - 82575-I354: If the size of SPI ROM >= 32K words, use direct SPI access instead of EERD register access. - Add wm_nvm_eec_clock_raise() and wm_nvm_eec_clock_lower() and use them for Microwire/SPI bus control. Same as Linux and FreeBSD. - Redude timeout value for 80003 in wm_get_swfw_semaphore(). Same as Linux and FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.529 -r1.530 src/sys/dev/pci/if_wm.c cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/if_wmvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/binutils/usr.sbin/mdsetimage
Module Name:src Committed By: mrg Date: Tue Jul 25 06:43:03 UTC 2017 Modified Files: src/external/gpl3/binutils/usr.sbin/mdsetimage: bin_bfd.c Log Message: initialise some stack variables to zero so that later checking ensures they are considered "unfound" instead of some random value. part 1 in fixing the CI20 kernel build. this one actually will cause the build to fail, but it's outputting broken objects right now anyway. part 2 coming up in the CI20 configuration itself. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/external/gpl3/binutils/usr.sbin/mdsetimage/bin_bfd.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/evbmips/conf
Module Name:src Committed By: mrg Date: Tue Jul 25 06:44:22 UTC 2017 Modified Files: src/sys/arch/evbmips/conf: CI20 Log Message: don't set NEED_MDSETIMAGE when we don't enable the md_root. move the option in with the commented md_root options. part 2 of the CI20 kernel build fix. now evbmips builds completes sanely for me. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbmips/conf/CI20 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.