svn commit: r303737 - head/sys/dev/hyperv/storvsc

2016-08-03 Thread Sepherosa Ziehau
Author: sephe Date: Thu Aug 4 05:05:35 2016 New Revision: 303737 URL: https://svnweb.freebsd.org/changeset/base/303737 Log: hyperv/storvsc: Claim SPC-3 conformance, thus enable UNMAP support The Hyper-V on pre-win10 systems will only report SPC-2 conformance, but it actually conforms to

Re: svn commit: r303733 - head/contrib/libpcap

2016-08-03 Thread Bruce Evans
On Wed, 3 Aug 2016, Jung-uk Kim wrote: Log: Support nanosecond time stamps for pcap_dispatch(3) and pcap_loop(3). Modified: head/contrib/libpcap/pcap-bpf.c Modified: head/contrib/libpcap/pcap-bpf.c == ---

svn commit: r303736 - head/sys/mips/conf

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Thu Aug 4 01:49:18 2016 New Revision: 303736 URL: https://svnweb.freebsd.org/changeset/base/303736 Log: Add in tap/tun for openvpn-on-mips experiments. (FWIW, it does work.) Modified: head/sys/mips/conf/std.AR933X Modified: head/sys/mips/conf/std.AR933X

svn commit: r303735 - head/usr.bin/indent

2016-08-03 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 3 22:08:07 2016 New Revision: 303735 URL: https://svnweb.freebsd.org/changeset/base/303735 Log: indent(1): add new -sac and -U options. Add -sac (space after cast) and -nsac options. These control whether space character is put after a cast operator or not.

svn commit: r303734 - head/contrib/libpcap

2016-08-03 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 3 20:21:58 2016 New Revision: 303734 URL: https://svnweb.freebsd.org/changeset/base/303734 Log: Fix a style(9) bug. Modified: head/contrib/libpcap/pcap-bpf.c Modified: head/contrib/libpcap/pcap-bpf.c

Re: svn commit: r303733 - head/contrib/libpcap

2016-08-03 Thread Jung-uk Kim
On 08/03/16 04:08 PM, Jung-uk Kim wrote: > Author: jkim > Date: Wed Aug 3 20:08:39 2016 > New Revision: 303733 > URL: https://svnweb.freebsd.org/changeset/base/303733 > > Log: > Support nanosecond time stamps for pcap_dispatch(3) and pcap_loop(3). > > Modified: >

svn commit: r303733 - head/contrib/libpcap

2016-08-03 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 3 20:08:39 2016 New Revision: 303733 URL: https://svnweb.freebsd.org/changeset/base/303733 Log: Support nanosecond time stamps for pcap_dispatch(3) and pcap_loop(3). Modified: head/contrib/libpcap/pcap-bpf.c Modified: head/contrib/libpcap/pcap-bpf.c

svn commit: r303732 - head/sys/mips/conf

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Wed Aug 3 19:23:22 2016 New Revision: 303732 URL: https://svnweb.freebsd.org/changeset/base/303732 Log: [ar934x] shuffle AR93XX_BASE -> std.AR934X Added: head/sys/mips/conf/std.AR934X - copied, changed from r303731, head/sys/mips/conf/AR934X_BASE Deleted:

svn commit: r303731 - head/sys/mips/conf

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Wed Aug 3 19:18:53 2016 New Revision: 303731 URL: https://svnweb.freebsd.org/changeset/base/303731 Log: [ar9330] ok, fine, I'll finally undo the 2011-era mistake of _BASE config files. Repeated prodding by: imp Added: head/sys/mips/conf/std.AR933X - copied,

svn commit: r303730 - head/sys/mips/conf

2016-08-03 Thread Adrian Chadd
Author: adrian Date: Wed Aug 3 19:13:09 2016 New Revision: 303730 URL: https://svnweb.freebsd.org/changeset/base/303730 Log: [ar9330] add in module support for ipfw nat. This actually does work, and works pretty well. Modified: head/sys/mips/conf/AR933X_BASE Modified:

svn commit: r303729 - head/sys/kern

2016-08-03 Thread Bryan Drewery
Author: bdrewery Date: Wed Aug 3 18:48:56 2016 New Revision: 303729 URL: https://svnweb.freebsd.org/changeset/base/303729 Log: Correct some comments. Sponsored by: EMC / Isilon Storage Division MFC after:3 days Modified: head/sys/kern/syscalls.master Modified:

svn commit: r303728 - head/sys/arm/allwinner

2016-08-03 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 3 18:45:56 2016 New Revision: 303728 URL: https://svnweb.freebsd.org/changeset/base/303728 Log: We need aw_nmi to be attached which needs GIC so attach a bit later. Also the GPIOC doesn't need to be attach early Reviewed by: andrew MFC after:1 week

svn commit: r303727 - head/bin/uuidgen

2016-08-03 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Aug 3 18:04:08 2016 New Revision: 303727 URL: https://svnweb.freebsd.org/changeset/base/303727 Log: uuid_to_string(3) is allocating memory and can fail on that. Check if any error accrued. Modified: head/bin/uuidgen/uuidgen.c Modified: head/bin/uuidgen/uuidgen.c

svn commit: r303725 - head/sbin/geom/class/eli

2016-08-03 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Aug 3 18:02:10 2016 New Revision: 303725 URL: https://svnweb.freebsd.org/changeset/base/303725 Log: Fix misleading description of the -b option in the geli init command. Reviewed by: bjk, wblock Differential Revision:

svn commit: r303723 - head/sys/boot/efi/boot1

2016-08-03 Thread Mark Johnston
Author: markj Date: Wed Aug 3 17:17:01 2016 New Revision: 303723 URL: https://svnweb.freebsd.org/changeset/base/303723 Log: Fix a few cosmetic issues in boot1.efi. - Use ANSI function signatures. - Remove unneeded checks for a NULL boot module. - Use nitems(). MFC after:1

svn commit: r303721 - in head: share/man/man9 sys/dev/pci

2016-08-03 Thread John Baldwin
Author: jhb Date: Wed Aug 3 17:09:12 2016 New Revision: 303721 URL: https://svnweb.freebsd.org/changeset/base/303721 Log: Permit the name of the /dev/iov entry to be set by the driver. The PCI_IOV option creates character devices in /dev/iov for each PF device driver that registers

svn commit: r303720 - head/sys/dev/hwpmc

2016-08-03 Thread John Baldwin
Author: jhb Date: Wed Aug 3 16:52:00 2016 New Revision: 303720 URL: https://svnweb.freebsd.org/changeset/base/303720 Log: Apply the fix from r232612 to fixed function counters. Reviewed by: emaste MFC after:1 month Differential Revision:https://reviews.freebsd.org/D7397

Re: svn commit: r303716 - head/crypto/openssh

2016-08-03 Thread Glen Barber
On Wed, Aug 03, 2016 at 04:08:22PM +, Dag-Erling Smørgrav wrote: > Author: des > Date: Wed Aug 3 16:08:21 2016 > New Revision: 303716 > URL: https://svnweb.freebsd.org/changeset/base/303716 > > Log: > Remove DSA from default cipher list and disable SSH1. > > Upstream did this a long

svn commit: r303719 - head/etc/rc.d

2016-08-03 Thread Dag-Erling Smørgrav
Author: des Date: Wed Aug 3 16:34:20 2016 New Revision: 303719 URL: https://svnweb.freebsd.org/changeset/base/303719 Log: Disable DSA again. MFC after:3 days Modified: head/etc/rc.d/sshd Modified: head/etc/rc.d/sshd

svn commit: r303718 - head/usr.bin/indent

2016-08-03 Thread Pedro F. Giffuni
Author: pfg Date: Wed Aug 3 16:33:34 2016 New Revision: 303718 URL: https://svnweb.freebsd.org/changeset/base/303718 Log: indent(1): accept offsetof(3) as a keyword. Reference: https://github.com/pstef/freebsd_indent/commit/c470e5e2c974aa38450ca4762b93829f7a7bfa4d Differential

Re: svn commit: r303716 - head/crypto/openssh

2016-08-03 Thread Dag-Erling Smørgrav
Benjamin Kaduk writes: > Which branch(es) are MFC targets? It will be merged to stable/11 before the release and documented in the release notes. > (Does POLA no longer apply to them?) Things change over time. Such is the nature of software (and of life). POLA does not mean

Re: svn commit: r303716 - head/crypto/openssh

2016-08-03 Thread Benjamin Kaduk
On Wed, Aug 3, 2016 at 11:08 AM, Dag-Erling Smørgrav wrote: > Author: des > Date: Wed Aug 3 16:08:21 2016 > New Revision: 303716 > URL: https://svnweb.freebsd.org/changeset/base/303716 > > Log: > Remove DSA from default cipher list and disable SSH1. > > Upstream did this a

svn commit: r303716 - head/crypto/openssh

2016-08-03 Thread Dag-Erling Smørgrav
Author: des Date: Wed Aug 3 16:08:21 2016 New Revision: 303716 URL: https://svnweb.freebsd.org/changeset/base/303716 Log: Remove DSA from default cipher list and disable SSH1. Upstream did this a long time ago, but we kept DSA and SSH1 in FreeBSD for reasons which boil down to POLA.

svn commit: r303713 - head/sys/amd64/vmm

2016-08-03 Thread John Baldwin
Author: jhb Date: Wed Aug 3 15:20:10 2016 New Revision: 303713 URL: https://svnweb.freebsd.org/changeset/base/303713 Log: Correct assertion on vcpuid argument to vm_gpa_hold(). PR: 208168 Submitted by: Dave Cameron Reviewed by: grehan MFC after:

Re: svn commit: r303710 - head/sys/fs/nfsclient

2016-08-03 Thread Bruce Evans
On Wed, 3 Aug 2016, Konstantin Belousov wrote: Log: Remove unneeded (recursing) Giant acquisition around vprintf(9). Reviewed by: rmacklem Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/fs/nfsclient/nfs_clsubs.c Modified:

Re: svn commit: r303712 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2016-08-03 Thread Konstantin Belousov
On Wed, Aug 03, 2016 at 01:51:53PM +, Konstantin Belousov wrote: > Merge i386 and amd64 variants of mp_watchdog.c into x86/, there is no > difference between files. May be, the file should be deleted. ___ svn-src-head@freebsd.org mailing list

svn commit: r303712 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2016-08-03 Thread Konstantin Belousov
Author: kib Date: Wed Aug 3 13:51:53 2016 New Revision: 303712 URL: https://svnweb.freebsd.org/changeset/base/303712 Log: Merge i386 and amd64 variants of mp_watchdog.c into x86/, there is no difference between files. For pc98, put x86/mp_x86.c into the same place as used by i386 file

svn commit: r303710 - head/sys/fs/nfsclient

2016-08-03 Thread Konstantin Belousov
Author: kib Date: Wed Aug 3 11:49:17 2016 New Revision: 303710 URL: https://svnweb.freebsd.org/changeset/base/303710 Log: Remove unneeded (recursing) Giant acquisition around vprintf(9). Reviewed by: rmacklem Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r303707 - head/sys/kern

2016-08-03 Thread Mateusz Guzik
Author: mjg Date: Wed Aug 3 09:15:10 2016 New Revision: 303707 URL: https://svnweb.freebsd.org/changeset/base/303707 Log: locks: fix sx compilation on mips after r303643 The kernel.h header is required for the SYSINIT macro, which apparently was present on amd64 by accident.

svn commit: r303706 - head/lib/libc/gen

2016-08-03 Thread Andrey A. Chernov
Author: ache Date: Wed Aug 3 09:09:34 2016 New Revision: 303706 URL: https://svnweb.freebsd.org/changeset/base/303706 Log: Although the code amount is not big, move POSIX error processing into two sepatate functions to make glob(3) code less obscure and more simple. There is no needs to

svn commit: r303705 - head/sys/fs/pseudofs

2016-08-03 Thread Konstantin Belousov
Author: kib Date: Wed Aug 3 08:57:15 2016 New Revision: 303705 URL: https://svnweb.freebsd.org/changeset/base/303705 Log: Remove Giant asserts. Update comment. Owning Giant in the init/uninit is accidental due to the moment where VFS modules initialization is performed, and is not

svn commit: r303704 - head/sys/fs/pseudofs

2016-08-03 Thread Konstantin Belousov
Author: kib Date: Wed Aug 3 08:53:29 2016 New Revision: 303704 URL: https://svnweb.freebsd.org/changeset/base/303704 Log: Some style changes. Fix a typo in comment. Approved by: des (pseudofs maintainer) Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r303703 - head/sys/vm

2016-08-03 Thread Konstantin Belousov
Author: kib Date: Wed Aug 3 07:11:19 2016 New Revision: 303703 URL: https://svnweb.freebsd.org/changeset/base/303703 Log: Explain why swapgeom_close_ev() is delegated. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/vm/swap_pager.c Modified:

svn commit: r303702 - head/sys/kern

2016-08-03 Thread Konstantin Belousov
Author: kib Date: Wed Aug 3 07:10:09 2016 New Revision: 303702 URL: https://svnweb.freebsd.org/changeset/base/303702 Log: Remove mention of the Giant from the fork_return() description. Making emphasis on this lock in the core function comment is confusing for the modern kernel.

svn commit: r303700 - head/sys/kern

2016-08-03 Thread Ed Schouten
Author: ed Date: Wed Aug 3 06:35:58 2016 New Revision: 303700 URL: https://svnweb.freebsd.org/changeset/base/303700 Log: Re-add traling slash that was removed in r303699. I must have accidentally pressed some random key in vim. Modified: head/sys/kern/syscalls.master Modified:

svn commit: r303701 - in head/sys: compat/freebsd32 kern sys

2016-08-03 Thread Ed Schouten
Author: ed Date: Wed Aug 3 06:36:45 2016 New Revision: 303701 URL: https://svnweb.freebsd.org/changeset/base/303701 Log: Regenerate system call tables for r303699 and r303700. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h

svn commit: r303699 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2016-08-03 Thread Ed Schouten
Author: ed Date: Wed Aug 3 06:33:04 2016 New Revision: 303699 URL: https://svnweb.freebsd.org/changeset/base/303699 Log: mprotect(): Change prototype to comply to POSIX. Our mprotect() function seems to take a "const void *" address to the pages whose permissions need to be adjusted.