svn commit: r309707 - head/sys/net80211

2016-12-07 Thread Adrian Chadd
Author: adrian Date: Thu Dec 8 07:57:16 2016 New Revision: 309707 URL: https://svnweb.freebsd.org/changeset/base/309707 Log: [net80211] add a field for storing a 64 bit TSC. Modified: head/sys/net80211/ieee80211_freebsd.h Modified: head/sys/net80211/ieee80211_freebsd.h =

svn commit: r309706 - head/sys/net80211

2016-12-07 Thread Adrian Chadd
Author: adrian Date: Thu Dec 8 07:56:25 2016 New Revision: 309706 URL: https://svnweb.freebsd.org/changeset/base/309706 Log: [net80211] begin fleshing out support for channel survey information to be pushed back up into net80211. Modified: head/sys/net80211/ieee80211_freebsd.h Modified: h

svn commit: r309705 - in head/sys/dev/hyperv: include utilities vmbus

2016-12-07 Thread Sepherosa Ziehau
Author: sephe Date: Thu Dec 8 05:37:39 2016 New Revision: 309705 URL: https://svnweb.freebsd.org/changeset/base/309705 Log: hyperv/timesync: Support "sent TC" to improve accuracy. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D87

svn commit: r309704 - head/sys/dev/hyperv/vmbus

2016-12-07 Thread Sepherosa Ziehau
Author: sephe Date: Thu Dec 8 05:15:00 2016 New Revision: 309704 URL: https://svnweb.freebsd.org/changeset/base/309704 Log: hyperv/vmbus: Utilize vmbus_chan_run_task() MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D8686 Modified

Re: svn commit: r309676 - in head: bin/ps lib/libkvm sys/compat/freebsd32 sys/kern sys/sys usr.bin/procstat usr.bin/top

2016-12-07 Thread Bruce Evans
On Wed, 7 Dec 2016, Eric van Gyzen wrote: Log: Export the whole thread name in kinfo_proc kinfo_proc::ki_tdname is three characters shorter than thread::td_name. Add a ki_moretdname field for these three extra characters. Add the new field to kinfo_proc32, as well. Update all in-tree con

Re: svn commit: r309658 - head/sys/vm

2016-12-07 Thread Warner Losh
On Wed, Dec 7, 2016 at 8:36 PM, Gleb Smirnoff wrote: > On Thu, Dec 08, 2016 at 01:07:06PM +1100, Bruce Evans wrote: > B> >> M> +#ifndef BURN_BRIDGES > B> >> M> +/* > B> >> M> + * Provide compatibility sysctls for the benefit of old utilities > which exit > B> >> M> + * with an error if they canno

svn commit: r309703 - in head/sys: amd64/amd64 arm64/arm64 i386/i386 vm

2016-12-07 Thread Alan Cox
Author: alc Date: Thu Dec 8 04:29:29 2016 New Revision: 309703 URL: https://svnweb.freebsd.org/changeset/base/309703 Log: Previously, vm_radix_remove() would panic if the radix trie didn't contain a vm_page_t at the specified index. However, with this change, vm_radix_remove() no longer pa

Re: svn commit: r309658 - head/sys/vm

2016-12-07 Thread Gleb Smirnoff
On Thu, Dec 08, 2016 at 01:07:06PM +1100, Bruce Evans wrote: B> >> M> +#ifndef BURN_BRIDGES B> >> M> +/* B> >> M> + * Provide compatibility sysctls for the benefit of old utilities which exit B> >> M> + * with an error if they cannot be found. B> >> M> + */ B> >> M> +SYSCTL_UINT(_vm_stats_vm, OID_

Re: svn commit: r309658 - head/sys/vm

2016-12-07 Thread Bruce Evans
On Wed, 7 Dec 2016, Warner Losh wrote: On Wed, Dec 7, 2016 at 2:26 PM, Gleb Smirnoff wrote: On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: M> Author: markj M> Date: Tue Dec 6 22:52:45 2016 M> New Revision: 309658 M> URL: https://svnweb.freebsd.org/changeset/base/309658 M> M> L

Re: svn commit: r309394 - head/sys/netpfil/pf

2016-12-07 Thread Marcel Moolenaar
> On Dec 7, 2016, at 1:08 PM, Gleb Smirnoff > wrote: > > Marcel, > > thanks for the fixes. While the problem with the first chunk > in pfsync_sendout() is obvious, the problem you are fixing in th > second chunk in the pfsync_delete_state() is not clear to me. > Ca

svn commit: r309702 - in stable/10/contrib/libarchive: libarchive tar/test

2016-12-07 Thread Martin Matuska
Author: mm Date: Thu Dec 8 01:07:00 2016 New Revision: 309702 URL: https://svnweb.freebsd.org/changeset/base/309702 Log: Partial MFC r309300: Apply fix for libarchive issue #821: "tar -P" cannot extract hardlinks through symlinks PR: 213255 Reported by: Tijl Coosemans

svn commit: r309701 - in stable/11/contrib/libarchive: libarchive tar/test

2016-12-07 Thread Martin Matuska
Author: mm Date: Thu Dec 8 01:06:09 2016 New Revision: 309701 URL: https://svnweb.freebsd.org/changeset/base/309701 Log: Partial MFC r309300: Apply fix for libarchive issue #821: "tar -P" cannot extract hardlinks through symlinks PR: 213255 Reported by: Tijl Coosemans

Re: svn commit: r309394 - head/sys/netpfil/pf

2016-12-07 Thread Marcel Moolenaar
> On Dec 7, 2016, at 1:08 PM, Gleb Smirnoff > wrote: > > Marcel, > > thanks for the fixes. While the problem with the first chunk > in pfsync_sendout() is obvious, the problem you are fixing in th > second chunk in the pfsync_delete_state() is not clear to me. > Ca

svn commit: r309700 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n

2016-12-07 Thread Mark Johnston
Author: markj Date: Wed Dec 7 23:38:18 2016 New Revision: 309700 URL: https://svnweb.freebsd.org/changeset/base/309700 Log: Use the correct path to date(1). MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n

svn commit: r309699 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid

2016-12-07 Thread Mark Johnston
Author: markj Date: Wed Dec 7 23:37:51 2016 New Revision: 309699 URL: https://svnweb.freebsd.org/changeset/base/309699 Log: Use the native data model instead of forcing ILP32 in tst.provregex3.ksh. MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/cddl/contrib/opensol

svn commit: r309698 - head/cddl/usr.sbin/dtrace/tests/tools

2016-12-07 Thread Mark Johnston
Author: markj Date: Wed Dec 7 23:36:15 2016 New Revision: 309698 URL: https://svnweb.freebsd.org/changeset/base/309698 Log: Run DTrace test scripts with "tst" set to the test script file name. MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/cddl/usr.sbin/dtrace/tests

svn commit: r309697 - in releng/9.3: . lib/libc/net sys/conf

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:35:15 2016 New Revision: 309697 URL: https://svnweb.freebsd.org/changeset/base/309697 Log: Merge r309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Approved by: so Modified: releng/9.3/UPDATING releng/9.3/lib/libc

svn commit: r309695 - head/sys/net80211

2016-12-07 Thread Andriy Voskoboinyk
Author: avos Date: Wed Dec 7 23:33:59 2016 New Revision: 309695 URL: https://svnweb.freebsd.org/changeset/base/309695 Log: net80211: remove obsolete comment. The described LOR should be fixed in r302283. Modified: head/sys/net80211/ieee80211_superg.c Modified: head/sys/net80211/ieee802

svn commit: r309696 - in releng/10.1: . lib/libc/net sys/conf

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:34:06 2016 New Revision: 309696 URL: https://svnweb.freebsd.org/changeset/base/309696 Log: Merge r309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Approved by: so Modified: releng/10.1/UPDATING releng/10.1/lib/li

svn commit: r309694 - in releng/10.2: . lib/libc/net sys/conf

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:32:42 2016 New Revision: 309694 URL: https://svnweb.freebsd.org/changeset/base/309694 Log: Merge r309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Approved by: so Modified: releng/10.2/UPDATING releng/10.2/lib/li

svn commit: r309693 - in releng/10.3: . lib/libc/net sys/conf

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:31:07 2016 New Revision: 309693 URL: https://svnweb.freebsd.org/changeset/base/309693 Log: Merge r309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Approved by: so Modified: releng/10.3/UPDATING releng/10.3/lib/li

svn commit: r309692 - in releng/11.0: . lib/libc/net sys/conf

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:29:42 2016 New Revision: 309692 URL: https://svnweb.freebsd.org/changeset/base/309692 Log: Merge r309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Approved by: so Modified: releng/11.0/UPDATING releng/11.0/lib/li

svn commit: r309690 - stable/10/lib/libc/net

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:20:26 2016 New Revision: 309690 URL: https://svnweb.freebsd.org/changeset/base/309690 Log: Merge rr309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Modified: stable/10/lib/libc/net/linkaddr.c Directory Properties: s

svn commit: r309691 - stable/9/lib/libc/net

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:20:50 2016 New Revision: 309691 URL: https://svnweb.freebsd.org/changeset/base/309691 Log: Merge rr309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Modified: stable/9/lib/libc/net/linkaddr.c Directory Properties: st

svn commit: r309689 - stable/11/lib/libc/net

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:19:46 2016 New Revision: 309689 URL: https://svnweb.freebsd.org/changeset/base/309689 Log: Merge rr309688: address regressions in SA-16:37.libc. PR: 215105 Submitted by: Modified: stable/11/lib/libc/net/linkaddr.c Directory Properties: s

svn commit: r309688 - head/lib/libc/net

2016-12-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 7 23:18:00 2016 New Revision: 309688 URL: https://svnweb.freebsd.org/changeset/base/309688 Log: Address regressions in SA-16:37.libc. PR: 215105 Submitted by: Modified: head/lib/libc/net/linkaddr.c Modified: head/lib/libc/net/linkaddr.c ==

svn commit: r309687 - head/sys/dev/usb/wlan

2016-12-07 Thread Gavin Atkinson
Author: gavin Date: Wed Dec 7 22:52:12 2016 New Revision: 309687 URL: https://svnweb.freebsd.org/changeset/base/309687 Log: Switch if_run.c to use a bitmap for debug levels rather than arbitrary values. This more closely matches other wifi drivers in the tree. The bitmap levels have been ba

Re: svn commit: r309658 - head/sys/vm

2016-12-07 Thread Gleb Smirnoff
On Wed, Dec 07, 2016 at 02:15:49PM -0800, Mark Johnston wrote: M> On Wed, Dec 07, 2016 at 01:26:47PM -0800, Gleb Smirnoff wrote: M> > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: M> > M> Author: markj M> > M> Date: Tue Dec 6 22:52:45 2016 M> > M> New Revision: 309658 M> > M> URL:

svn commit: r309686 - in head/sys: dev/ath dev/mwl dev/rtwn dev/usb/wlan net80211

2016-12-07 Thread Andriy Voskoboinyk
Author: avos Date: Wed Dec 7 22:16:07 2016 New Revision: 309686 URL: https://svnweb.freebsd.org/changeset/base/309686 Log: net80211 + drivers: convert to ieee80211_crypto_get_key_wepidx(). Proposed by: adrian Modified: head/sys/dev/ath/if_ath_keycache.c head/sys/dev/mwl/if_mwl.c he

Re: svn commit: r309658 - head/sys/vm

2016-12-07 Thread Mark Johnston
On Wed, Dec 07, 2016 at 01:26:47PM -0800, Gleb Smirnoff wrote: > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: > M> Author: markj > M> Date: Tue Dec 6 22:52:45 2016 > M> New Revision: 309658 > M> URL: https://svnweb.freebsd.org/changeset/base/309658 > M> > M> Log: > M> Provide

svn commit: r309685 - head/sys/netinet

2016-12-07 Thread Michael Tuexen
Author: tuexen Date: Wed Dec 7 22:01:09 2016 New Revision: 309685 URL: https://svnweb.freebsd.org/changeset/base/309685 Log: Silence a warning produced by newer versions of gcc. MFC after:1 week Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c =

svn commit: r309684 - head/sbin/nvmecontrol

2016-12-07 Thread Warner Losh
Author: imp Date: Wed Dec 7 21:47:14 2016 New Revision: 309684 URL: https://svnweb.freebsd.org/changeset/base/309684 Log: Fix Typo Modified: head/sbin/nvmecontrol/logpage.c Modified: head/sbin/nvmecontrol/logpage.c

Re: svn commit: r309658 - head/sys/vm

2016-12-07 Thread Warner Losh
On Wed, Dec 7, 2016 at 2:26 PM, Gleb Smirnoff wrote: > On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: > M> Author: markj > M> Date: Tue Dec 6 22:52:45 2016 > M> New Revision: 309658 > M> URL: https://svnweb.freebsd.org/changeset/base/309658 > M> > M> Log: > M> Provide dummy sysc

Re: svn commit: r309667 - head/sys/net80211

2016-12-07 Thread Adrian Chadd
gr :( -a On 6 December 2016 at 22:29, Xin LI wrote: > Author: delphij > Date: Wed Dec 7 06:29:01 2016 > New Revision: 309667 > URL: https://svnweb.freebsd.org/changeset/base/309667 > > Log: > Fix typo. > > Modified: > head/sys/net80211/ieee80211_crypto.c > > Modified: head/sys/net

Re: svn commit: r309658 - head/sys/vm

2016-12-07 Thread Gleb Smirnoff
On Tue, Dec 06, 2016 at 10:52:45PM +, Mark Johnston wrote: M> Author: markj M> Date: Tue Dec 6 22:52:45 2016 M> New Revision: 309658 M> URL: https://svnweb.freebsd.org/changeset/base/309658 M> M> Log: M> Provide dummy sysctls for v_cache_count and v_tcached. M> M> Some utilities (notab

svn commit: r309683 - head/lib/libc/net

2016-12-07 Thread Michael Tuexen
Author: tuexen Date: Wed Dec 7 21:24:49 2016 New Revision: 309683 URL: https://svnweb.freebsd.org/changeset/base/309683 Log: Fix a bug in sctp_sendmsgx(), where the sid provided by the user was hot honored. MFC after:3 days Modified: head/lib/libc/net/sctp_sys_calls.c Modified: h

Re: svn commit: r309394 - head/sys/netpfil/pf

2016-12-07 Thread Gleb Smirnoff
Marcel, thanks for the fixes. While the problem with the first chunk in pfsync_sendout() is obvious, the problem you are fixing in th second chunk in the pfsync_delete_state() is not clear to me. Can you please explain what scenario are you fixing there? On Fri, Dec 02, 2016 at 06:15:59AM +00

Re: svn commit: r309143 - head/sys/libkern

2016-12-07 Thread Gleb Smirnoff
On Fri, Nov 25, 2016 at 05:00:10PM +0100, Mateusz Guzik wrote: M> On Fri, Nov 25, 2016 at 01:49:33PM +, Fabien Thomas wrote: M> > Author: fabient M> > Date: Fri Nov 25 13:49:33 2016 M> > New Revision: 309143 M> > URL: https://svnweb.freebsd.org/changeset/base/309143 M> > M> > Log: M> > In a

svn commit: r309682 - head/sys/netinet

2016-12-07 Thread Michael Tuexen
Author: tuexen Date: Wed Dec 7 19:30:59 2016 New Revision: 309682 URL: https://svnweb.freebsd.org/changeset/base/309682 Log: Cleanup the names of SSN, SID, TSN, FSN, PPID and MID. This made a couple of bugs visible in handling SSN wrap-arounds when using DATA chunks. Now bulk transfer se

svn commit: r309681 - stable/9/release/doc/share/xml

2016-12-07 Thread Glen Barber
Author: gjb Date: Wed Dec 7 19:01:38 2016 New Revision: 309681 URL: https://svnweb.freebsd.org/changeset/base/309681 Log: Fix whitespace nit, not functional changes. Sponsored by: The FreeBSD Foundation Modified: stable/9/release/doc/share/xml/security.xml Modified: stable/9/release/do

svn commit: r309680 - in stable: 10/release/doc/share/xml 11/release/doc/share/xml 9/release/doc/share/xml

2016-12-07 Thread Glen Barber
Author: gjb Date: Wed Dec 7 18:55:55 2016 New Revision: 309680 URL: https://svnweb.freebsd.org/changeset/base/309680 Log: Document EN-16:19, EN-16:20, EN-16:21, SA-16:36, SA-16:37, SA-16:38. Sponsored by: The FreeBSD Foundation Modified: stable/10/release/doc/share/xml/errata.xml stab

svn commit: r309680 - in stable: 10/release/doc/share/xml 11/release/doc/share/xml 9/release/doc/share/xml

2016-12-07 Thread Glen Barber
Author: gjb Date: Wed Dec 7 18:55:55 2016 New Revision: 309680 URL: https://svnweb.freebsd.org/changeset/base/309680 Log: Document EN-16:19, EN-16:20, EN-16:21, SA-16:36, SA-16:37, SA-16:38. Sponsored by: The FreeBSD Foundation Modified: stable/9/release/doc/share/xml/errata.xml stabl

svn commit: r309680 - in stable: 10/release/doc/share/xml 11/release/doc/share/xml 9/release/doc/share/xml

2016-12-07 Thread Glen Barber
Author: gjb Date: Wed Dec 7 18:55:55 2016 New Revision: 309680 URL: https://svnweb.freebsd.org/changeset/base/309680 Log: Document EN-16:19, EN-16:20, EN-16:21, SA-16:36, SA-16:37, SA-16:38. Sponsored by: The FreeBSD Foundation Modified: stable/11/release/doc/share/xml/errata.xml stab

svn commit: r309679 - head/contrib/elftoolchain/readelf

2016-12-07 Thread Conrad E. Meyer
Author: cem Date: Wed Dec 7 18:33:40 2016 New Revision: 309679 URL: https://svnweb.freebsd.org/changeset/base/309679 Log: readelf(1) -S: Include zero index and match binutils' no-name Include the SHN_UNDEF (zero) index special section in extended-attribute ELF files, like GNU binutils' r

svn commit: r309678 - in head/sys: kern sys

2016-12-07 Thread Robert Watson
Author: rwatson Date: Wed Dec 7 16:12:27 2016 New Revision: 309678 URL: https://svnweb.freebsd.org/changeset/base/309678 Log: Regnerate system-call definitions following r309677 correcting a whitespace glitch in syscalls.master. Modified: head/sys/kern/init_sysent.c head/sys/kern/syscall

svn commit: r309677 - head/sys/kern

2016-12-07 Thread Robert Watson
Author: rwatson Date: Wed Dec 7 16:11:55 2016 New Revision: 309677 URL: https://svnweb.freebsd.org/changeset/base/309677 Log: Replace spaces with tabs in definition of SCTP system calls, for consistency with the remainder of the syscalls.master file. This problem does not occur in the free

svn commit: r309676 - in head: bin/ps lib/libkvm sys/compat/freebsd32 sys/kern sys/sys usr.bin/procstat usr.bin/top

2016-12-07 Thread Eric van Gyzen
Author: vangyzen Date: Wed Dec 7 15:04:22 2016 New Revision: 309676 URL: https://svnweb.freebsd.org/changeset/base/309676 Log: Export the whole thread name in kinfo_proc kinfo_proc::ki_tdname is three characters shorter than thread::td_name. Add a ki_moretdname field for these three e

Re: svn commit: r309639 - head/lib/libc/net

2016-12-07 Thread Shawn Webb
On Tue, Dec 06, 2016 at 06:50:34PM +, Gleb Smirnoff wrote: > Author: glebius > Date: Tue Dec 6 18:50:33 2016 > New Revision: 309639 > URL: https://svnweb.freebsd.org/changeset/base/309639 > > Log: > Fix possible buffer overflow(s) in link_ntoa(3). > > A specially crafted sockaddr_dl ar

svn commit: r309675 - head/sys/arm64/arm64

2016-12-07 Thread Andrew Turner
Author: andrew Date: Wed Dec 7 14:35:05 2016 New Revision: 309675 URL: https://svnweb.freebsd.org/changeset/base/309675 Log: Add ACPI support to the arm64 mp code. We use the Multiple APIC Description Table to find the CPUs to find the CPUs to start. Currently we assume PSCI, however this a

svn commit: r309674 - in head/sys: conf dev/psci

2016-12-07 Thread Andrew Turner
Author: andrew Date: Wed Dec 7 14:24:53 2016 New Revision: 309674 URL: https://svnweb.freebsd.org/changeset/base/309674 Log: Add ACPI support to the PSCI driver. This checks the Fixed ACPI Description Table to find if the hardware supports PSCI, and if so what method the kernel should use t

svn commit: r309673 - head/sys/dev/sound/pci

2016-12-07 Thread Ruslan Bukin
Author: br Date: Wed Dec 7 13:19:19 2016 New Revision: 309673 URL: https://svnweb.freebsd.org/changeset/base/309673 Log: Style fix. Sponsored by: DARPA, AFRL Modified: head/sys/dev/sound/pci/hdspe-pcm.c head/sys/dev/sound/pci/hdspe.c Modified: head/sys/dev/sound/pci/hdspe-pcm.c =

svn commit: r309670 - head/sys/dev/hyperv/vmbus

2016-12-07 Thread Sepherosa Ziehau
Author: sephe Date: Wed Dec 7 08:12:02 2016 New Revision: 309670 URL: https://svnweb.freebsd.org/changeset/base/309670 Log: hyperv/vmbus: Use pause if possible. This makes booting on Hyper-V w/ small # of vCPUs work properly. Reported by: Hongxiong Xian , Hongjiang Zhang MFC afte