svn commit: r306839 - in head/sys/contrib/ncsw: inc user/env

2016-10-07 Thread Justin Hibbits
Author: jhibbits Date: Sat Oct 8 05:26:45 2016 New Revision: 306839 URL: https://svnweb.freebsd.org/changeset/base/306839 Log: Minor optimizations to dTSEC glue code Don't call pmap_kextract() multiple times, it wastes CPU cycles, which in a high performance environment can be very expe

svn commit: r306838 - head/sys/powerpc/mpc85xx

2016-10-07 Thread Justin Hibbits
Author: jhibbits Date: Sat Oct 8 01:18:01 2016 New Revision: 306838 URL: https://svnweb.freebsd.org/changeset/base/306838 Log: Adjust copyright date. No real work was done on it until 2016. Modified: head/sys/powerpc/mpc85xx/fsl_diu.c Modified: head/sys/powerpc/mpc85xx/fsl_diu.c ==

svn commit: r306837 - in head/sys: dev/iwm dev/otus dev/usb/wlan net80211

2016-10-07 Thread Adrian Chadd
Author: adrian Date: Sat Oct 8 01:12:29 2016 New Revision: 306837 URL: https://svnweb.freebsd.org/changeset/base/306837 Log: [net80211] extend the ieee80211_rx_stats struct to include more information. There are a variety of more interesting RX statistics that we should keep track of but

svn commit: r306836 - head/sbin/ifconfig

2016-10-07 Thread Adrian Chadd
Author: adrian Date: Sat Oct 8 01:00:31 2016 New Revision: 306836 URL: https://svnweb.freebsd.org/changeset/base/306836 Log: [ifconfig] correctly display RSSI. Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c =

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread Marcel Moolenaar
On October 7, 2016 at 5:13:10 PM, Julian Elischer (jul...@freebsd.org) wrote: On 7/10/2016 4:29 PM, Marcel Moolenaar wrote: On October 7, 2016 at 4:18:31 PM, Julian Elischer (jul...@freebsd.org) wrote: On 7/10/2016 4:12 PM, Marcel Moolenaar wrote: On October 7, 2016 at 3:18:10 PM, John Baldwin (j..

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread Julian Elischer
On 7/10/2016 4:29 PM, Marcel Moolenaar wrote: On October 7, 2016 at 4:18:31 PM, Julian Elischer (jul...@freebsd.org ) wrote: On 7/10/2016 4:12 PM, Marcel Moolenaar wrote: On October 7, 2016 at 3:18:10 PM, John Baldwin (j...@freebsd.org ) wrote

svn commit: r306834 - stable/11/sys/boot/geli

2016-10-07 Thread Allan Jude
Author: allanjude Date: Sat Oct 8 00:01:07 2016 New Revision: 306834 URL: https://svnweb.freebsd.org/changeset/base/306834 Log: MFC: r306677 GELIBoot may attempt to read past the end of the disk PR: 213196 Relnotes: yes Sponsored by: ScaleEngine Inc. Modified: sta

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread Marcel Moolenaar
On October 7, 2016 at 4:18:31 PM, Julian Elischer (jul...@freebsd.org) wrote: On 7/10/2016 4:12 PM, Marcel Moolenaar wrote: On October 7, 2016 at 3:18:10 PM, John Baldwin (j...@freebsd.org) wrote: On Friday, October 07, 2016 01:16:59 PM Marcel Moolenaar wrote:  > On October 7, 2016 at 11:02:44 AM,

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread Julian Elischer
On 7/10/2016 4:12 PM, Marcel Moolenaar wrote: On October 7, 2016 at 3:18:10 PM, John Baldwin (j...@freebsd.org ) wrote: On Friday, October 07, 2016 01:16:59 PM Marcel Moolenaar wrote: > On October 7, 2016 at 11:02:44 AM, John Baldwin (j...@freebsd.org) wrote: > On Frid

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread Marcel Moolenaar
On October 7, 2016 at 3:18:10 PM, John Baldwin (j...@freebsd.org) wrote: On Friday, October 07, 2016 01:16:59 PM Marcel Moolenaar wrote:  > On October 7, 2016 at 11:02:44 AM, John Baldwin (j...@freebsd.org) wrote:  > On Friday, October 07, 2016 03:42:21 PM Marcel Moolenaar wrote:  > *snip*  >  > >

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread John Baldwin
On Friday, October 07, 2016 01:16:59 PM Marcel Moolenaar wrote: > On October 7, 2016 at 11:02:44 AM, John Baldwin (j...@freebsd.org) wrote: > On Friday, October 07, 2016 03:42:21 PM Marcel Moolenaar wrote: > *snip* > > > Author: marcel > > Date: Fri Oct 7 15:42:20 2016 > > New Revision: 306811

svn commit: r306830 - head/usr.sbin/arp

2016-10-07 Thread Eric van Gyzen
Author: vangyzen Date: Fri Oct 7 22:17:25 2016 New Revision: 306830 URL: https://svnweb.freebsd.org/changeset/base/306830 Log: Additional cleanup of the arp(4) man page after r306652 Submitted by: David A. Bright Requested by: wblock Reviewed by: wblock MFC after:23 days Spon

svn commit: r306829 - in head/sys: netinet netinet6

2016-10-07 Thread Mark Johnston
Author: markj Date: Fri Oct 7 21:10:53 2016 New Revision: 306829 URL: https://svnweb.freebsd.org/changeset/base/306829 Log: Lock the ND prefix list and add refcounting for prefixes. This change extends the nd6 lock to protect the ND prefix list as well as the list of advertising routers

svn commit: r306827 - head/usr.sbin/pmcstat

2016-10-07 Thread Stephen J. Kiernan
Author: stevek Date: Fri Oct 7 21:03:12 2016 New Revision: 306827 URL: https://svnweb.freebsd.org/changeset/base/306827 Log: Just remove freeing memory in pmcstat_cleanup, since we only clean up when we are exiting anyway. Add NULL checks for all malloc and strdup returns. Reviewed

svn commit: r306828 - head/sys/netinet6

2016-10-07 Thread Mark Johnston
Author: markj Date: Fri Oct 7 21:03:18 2016 New Revision: 306828 URL: https://svnweb.freebsd.org/changeset/base/306828 Log: Reduce the number of conditional statements in nd6_prefix_onlink(). MFC after:1 week Modified: head/sys/netinet6/nd6_rtr.c Modified: head/sys/netinet6/nd6_rtr

svn commit: r306826 - head/sys/netinet6

2016-10-07 Thread Mark Johnston
Author: markj Date: Fri Oct 7 21:02:30 2016 New Revision: 306826 URL: https://svnweb.freebsd.org/changeset/base/306826 Log: Combine several checks in nd6_prefix_offlink() into one. MFC after:1 week Modified: head/sys/netinet6/nd6_rtr.c Modified: head/sys/netinet6/nd6_rtr.c

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread Marcel Moolenaar
On October 7, 2016 at 11:02:44 AM, John Baldwin (j...@freebsd.org) wrote: On Friday, October 07, 2016 03:42:21 PM Marcel Moolenaar wrote:  *snip* > Author: marcel  > Date: Fri Oct 7 15:42:20 2016  > New Revision: 306811  > URL: https://svnweb.freebsd.org/changeset/base/306811  >  > Added:  > head/

svn commit: r306825 - head/usr.sbin/portsnap/portsnap

2016-10-07 Thread Ed Maste
Author: emaste Date: Fri Oct 7 20:01:59 2016 New Revision: 306825 URL: https://svnweb.freebsd.org/changeset/base/306825 Log: portsnap: use lam on the known good hash list This change is equivalent to the approach committed in r306417, but if sed has a bug it could be exploited by the unt

svn commit: r306824 - stable/10/sys/dev/hwpmc

2016-10-07 Thread Julian Elischer
Author: julian Date: Fri Oct 7 19:28:45 2016 New Revision: 306824 URL: https://svnweb.freebsd.org/changeset/base/306824 Log: MFH: r259647 o Remove assertions on ipa_version as sometimes the version detection using cpuid can be quirky (this is the case of VMWare without the vPMC

svn commit: r306823 - head/tools/tools/cxgbetool

2016-10-07 Thread Navdeep Parhar
Author: np Date: Fri Oct 7 19:13:29 2016 New Revision: 306823 URL: https://svnweb.freebsd.org/changeset/base/306823 Log: cxgbetool: Add a loadcfg subcommand to allow a user to upload a firmware configuration file to the card. Modified: head/tools/tools/cxgbetool/cxgbetool.8 head/tools/to

svn commit: r306822 - head/usr.sbin/makefs

2016-10-07 Thread Ed Maste
Author: emaste Date: Fri Oct 7 19:12:15 2016 New Revision: 306822 URL: https://svnweb.freebsd.org/changeset/base/306822 Log: makefs: diff reduction with NetBSD Obtained from:NetBSD usr.sbin/makefs/cd9660.c 1.33 Modified: head/usr.sbin/makefs/cd9660.c Modified: head/usr.sbin/mak

svn commit: r306821 - head/sys/dev/cxgbe

2016-10-07 Thread Navdeep Parhar
Author: np Date: Fri Oct 7 19:02:39 2016 New Revision: 306821 URL: https://svnweb.freebsd.org/changeset/base/306821 Log: cxgbe(4): Add an ioctl to copy a firmware config file to the card's flash. Modified: head/sys/dev/cxgbe/t4_ioctl.h head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/c

svn commit: r306820 - head/usr.bin/cmp

2016-10-07 Thread Mariusz Zaborski
Author: oshogbo Date: Fri Oct 7 19:02:13 2016 New Revision: 306820 URL: https://svnweb.freebsd.org/changeset/base/306820 Log: Restrict stdin if it's not in use. Reviewed by: emaste, cem Differential Revision:https://reviews.freebsd.org/D8184 Modified: head/usr.bin/cmp/cmp.c

svn commit: r306819 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-10-07 Thread Andriy Gapon
Author: avg Date: Fri Oct 7 18:56:24 2016 New Revision: 306819 URL: https://svnweb.freebsd.org/changeset/base/306819 Log: MFC r306292: fix vnode lock assertion for extended attributes directory Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory Propertie

svn commit: r306818 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-10-07 Thread Andriy Gapon
Author: avg Date: Fri Oct 7 18:56:20 2016 New Revision: 306818 URL: https://svnweb.freebsd.org/changeset/base/306818 Log: MFC r306292: fix vnode lock assertion for extended attributes directory Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory Propertie

svn commit: r306817 - stable/10/sys/dev/amdsbwd

2016-10-07 Thread Andriy Gapon
Author: avg Date: Fri Oct 7 18:53:28 2016 New Revision: 306817 URL: https://svnweb.freebsd.org/changeset/base/306817 Log: MFC r306291: the rest of changes intended to be committed in r306290 Modified: stable/10/sys/dev/amdsbwd/amd_chipset.h Directory Properties: stable/10/ (props changed

svn commit: r306816 - stable/11/sys/dev/amdsbwd

2016-10-07 Thread Andriy Gapon
Author: avg Date: Fri Oct 7 18:53:17 2016 New Revision: 306816 URL: https://svnweb.freebsd.org/changeset/base/306816 Log: MFC r306291: the rest of changes intended to be committed in r306290 Modified: stable/11/sys/dev/amdsbwd/amd_chipset.h Directory Properties: stable/11/ (props changed

svn commit: r306815 - in stable/10: share/man/man4 sys/dev/amdsbwd sys/pci

2016-10-07 Thread Andriy Gapon
Author: avg Date: Fri Oct 7 18:51:04 2016 New Revision: 306815 URL: https://svnweb.freebsd.org/changeset/base/306815 Log: MFC r306218,306290: amdsbwd, intpm: unify bits specific to AMD chipsets Added: stable/10/sys/dev/amdsbwd/amd_chipset.h - copied, changed from r306218, head/sys/dev/a

svn commit: r306814 - in stable/11: share/man/man4 sys/dev/amdsbwd sys/dev/intpm

2016-10-07 Thread Andriy Gapon
Author: avg Date: Fri Oct 7 18:50:50 2016 New Revision: 306814 URL: https://svnweb.freebsd.org/changeset/base/306814 Log: MFC r306218,306290: amdsbwd, intpm: unify bits specific to AMD chipsets Added: stable/11/sys/dev/amdsbwd/amd_chipset.h - copied, changed from r306218, head/sys/dev/a

Re: svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread John Baldwin
On Friday, October 07, 2016 03:42:21 PM Marcel Moolenaar wrote: > Author: marcel > Date: Fri Oct 7 15:42:20 2016 > New Revision: 306811 > URL: https://svnweb.freebsd.org/changeset/base/306811 > > Log: > In order to allow mkimg(1) (and other tools) to become a build tool > that can be compiled

svn commit: r306813 - in head/usr.bin: cmp col elfdump kdump tee tr

2016-10-07 Thread Mariusz Zaborski
Author: oshogbo Date: Fri Oct 7 17:56:57 2016 New Revision: 306813 URL: https://svnweb.freebsd.org/changeset/base/306813 Log: Remove the duplicated code using Capsicum helpers. Reviewed by: cem, ed, bapt, emaste Differential Revision https://reviews.freebsd.org/D8140 Modified: head/u

svn commit: r306812 - head/sys/boot/common

2016-10-07 Thread Andrew Turner
Author: andrew Date: Fri Oct 7 16:17:51 2016 New Revision: 306812 URL: https://svnweb.freebsd.org/changeset/base/306812 Log: The bootloader self relocation code was slightly wrong for the R_AARCH64_RELATIVE relocation found on arm64. It would try to add the contents of the memory location b

svn commit: r306811 - in head: etc/mtree include sys/sys sys/sys/disk

2016-10-07 Thread Marcel Moolenaar
Author: marcel Date: Fri Oct 7 15:42:20 2016 New Revision: 306811 URL: https://svnweb.freebsd.org/changeset/base/306811 Log: In order to allow mkimg(1) (and other tools) to become a build tool that can be compiled on various OSes (including on older versions of FreeBSD), make it possible to

svn commit: r306809 - stable/10/sys/fs/nfs

2016-10-07 Thread Ed Maste
Author: emaste Date: Fri Oct 7 14:46:34 2016 New Revision: 306809 URL: https://svnweb.freebsd.org/changeset/base/306809 Log: MFC r299199: Add nid_namelen bounds check to nfssvc system call This is only allowed by root and only used by the nfs daemon, which should not provide an incorrect

svn commit: r306808 - head/sbin/init

2016-10-07 Thread Konstantin Belousov
Author: kib Date: Fri Oct 7 13:43:38 2016 New Revision: 306808 URL: https://svnweb.freebsd.org/changeset/base/306808 Log: Add verbosity around failed reboot(2) call. Sponsored by: The FreeBSD Foundation MFC after:3 weeks Modified: head/sbin/init/init.c Modified: head/sbin/init/in

svn commit: r306807 - head/sbin/init

2016-10-07 Thread Konstantin Belousov
Author: kib Date: Fri Oct 7 13:41:28 2016 New Revision: 306807 URL: https://svnweb.freebsd.org/changeset/base/306807 Log: When making a pause after detecting hard kill of the single-user shell, ensure that we do sleep for at least the specified time, in presence of signals. Interrupted

svn commit: r306806 - head/usr.bin/dtc

2016-10-07 Thread Ed Maste
Author: emaste Date: Fri Oct 7 12:57:35 2016 New Revision: 306806 URL: https://svnweb.freebsd.org/changeset/base/306806 Log: Improvements to BSD-licensed DTC. - Numerous crash and bug fixes - Improved warning and error messages - Permit multiple labels on nodes and properties - Fix n

svn commit: r306805 - stable/10/sys/kern

2016-10-07 Thread Konstantin Belousov
Author: kib Date: Fri Oct 7 11:50:59 2016 New Revision: 306805 URL: https://svnweb.freebsd.org/changeset/base/306805 Log: MFC r306674: Style. Modified: stable/10/sys/kern/imgact_elf.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/imgact_elf.c ==

svn commit: r306804 - stable/11/sys/kern

2016-10-07 Thread Konstantin Belousov
Author: kib Date: Fri Oct 7 11:47:18 2016 New Revision: 306804 URL: https://svnweb.freebsd.org/changeset/base/306804 Log: MFC r306674: Style. Modified: stable/11/sys/kern/imgact_elf.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/kern/imgact_elf.c ==

svn commit: r306803 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern sys

2016-10-07 Thread Konstantin Belousov
Author: kib Date: Fri Oct 7 11:38:28 2016 New Revision: 306803 URL: https://svnweb.freebsd.org/changeset/base/306803 Log: Limit scope of the optimization in r306608 to dounmount() caller only. Other uses of cache_purgevfs() do rely on the cache purge for correct operations, when paths are i

svn commit: r306802 - stable/10/sys/netinet

2016-10-07 Thread Jonathan T. Looney
Author: jtl Date: Fri Oct 7 10:47:32 2016 New Revision: 306802 URL: https://svnweb.freebsd.org/changeset/base/306802 Log: MFC r296454: Some cleanup in tcp_respond() in preparation for another change: - Reorder variables by size - Move initializer closer to where it is used - Rem