svn commit: r320932 - head/contrib/libarchive/libarchive

2017-07-12 Thread Martin Matuska
Author: mm Date: Thu Jul 13 04:46:00 2017 New Revision: 320932 URL: https://svnweb.freebsd.org/changeset/base/320932 Log: Fix libarchive mismerge of r320927 in libarchive_entry.h MFC after:1 week X-MFC-with: 320927 Reported by: Ngie Cooper Modified:

svn commit: r320931 - head/contrib/libarchive/libarchive

2017-07-12 Thread Martin Matuska
Author: mm Date: Thu Jul 13 04:42:29 2017 New Revision: 320931 URL: https://svnweb.freebsd.org/changeset/base/320931 Log: Fix libarchive mismerge of r320927 MFC after:1 week X-MFC-with: 320927 Reported by: Ngie Cooper Modified:

svn commit: r320930 - in head: etc/mtree usr.bin/hexdump usr.bin/hexdump/tests

2017-07-12 Thread Kyle Evans
Author: kevans Date: Thu Jul 13 03:52:54 2017 New Revision: 320930 URL: https://svnweb.freebsd.org/changeset/base/320930 Log: Add some basic tests for hexdump(1)'s various output flags. Formatting tests are omitted for this initial run as there are still some bugs to work out there.

svn commit: r320929 - head/sys/dev/usb/controller

2017-07-12 Thread Ian Lepore
Author: ian Date: Thu Jul 13 02:20:07 2017 New Revision: 320929 URL: https://svnweb.freebsd.org/changeset/base/320929 Log: Put an #ifdef notyet wrapper around a function that's not being used yet, to avoid compile warnings. Modified: head/sys/dev/usb/controller/ehci_imx.c Modified:

svn commit: r320928 - in head/sys: arm/freescale/imx dev/usb/controller

2017-07-12 Thread Ian Lepore
Author: ian Date: Thu Jul 13 02:16:15 2017 New Revision: 320928 URL: https://svnweb.freebsd.org/changeset/base/320928 Log: Support the "disable-over-current" property for imx ehci controllers. It turns out that this is more than a power optization. The OTG port won't work on boards that

Re: svn commit: r320927 - in head: contrib/libarchive contrib/libarchive/libarchive contrib/libarchive/libarchive/test usr.bin/bsdcat usr.bin/cpio usr.bin/tar

2017-07-12 Thread Ngie Cooper
On Wed, Jul 12, 2017 at 5:28 PM, Martin Matuska wrote: > Author: mm > Date: Thu Jul 13 00:28:36 2017 > New Revision: 320927 > URL: https://svnweb.freebsd.org/changeset/base/320927 > > Log: > MFV r320924: > Bump libarchive to 3.3.2 > > Vendor changes: > PR #901: don't

svn commit: r320927 - in head: contrib/libarchive contrib/libarchive/libarchive contrib/libarchive/libarchive/test usr.bin/bsdcat usr.bin/cpio usr.bin/tar

2017-07-12 Thread Martin Matuska
Author: mm Date: Thu Jul 13 00:28:36 2017 New Revision: 320927 URL: https://svnweb.freebsd.org/changeset/base/320927 Log: MFV r320924: Bump libarchive to 3.3.2 Vendor changes: PR #901: don't depend on stdin in a testcase MFC after:1 week Modified:

svn commit: r320926 - vendor/libarchive/3.3.2

2017-07-12 Thread Martin Matuska
Author: mm Date: Thu Jul 13 00:20:37 2017 New Revision: 320926 URL: https://svnweb.freebsd.org/changeset/base/320926 Log: Re-tag 3.3.2 Replaced: vendor/libarchive/3.3.2/ - copied from r320925, vendor/libarchive/dist/ ___

svn commit: r320925 - in vendor/libarchive/3.3.2: . build libarchive libarchive/test

2017-07-12 Thread Martin Matuska
Author: mm Date: Thu Jul 13 00:17:40 2017 New Revision: 320925 URL: https://svnweb.freebsd.org/changeset/base/320925 Log: Tag libarchive 3.3.2 Added: vendor/libarchive/3.3.2/ - copied from r320923, vendor/libarchive/dist/ Replaced: vendor/libarchive/3.3.2/CMakeLists.txt - copied

svn commit: r320924 - in vendor/libarchive/dist: . build libarchive libarchive/test

2017-07-12 Thread Martin Matuska
Author: mm Date: Thu Jul 13 00:16:51 2017 New Revision: 320924 URL: https://svnweb.freebsd.org/changeset/base/320924 Log: Update vendor/libarchive to git 98a695399e8e7420635a5448aecde8b0a82fb83a Release 3.3.2 Vendor changes: PR #901: don't depend on stdin in a testcase Modified:

Re: svn commit: r320908 - head/sys/kern

2017-07-12 Thread Ryan Libby
On Wed, Jul 12, 2017 at 3:20 PM, John Baldwin wrote: > On Wednesday, July 12, 2017 01:09:39 AM Ryan Libby wrote: >> On Wed, Jul 12, 2017 at 12:43 AM, Roman Divacky wrote: >> > Clang knows about %b modifier and can do some semantic analysis on it. >> >

Re: svn commit: r320916 - head/sys/dev/ixgbe

2017-07-12 Thread Ngie Cooper
On Wed, Jul 12, 2017 at 10:35 AM, Sean Bruno wrote: > Author: sbruno > Date: Wed Jul 12 17:35:32 2017 > New Revision: 320916 > URL: https://svnweb.freebsd.org/changeset/base/320916 > > Log: > Reset unsupported SFP tuneable back to original entry name. > > Reported by:

Re: svn commit: r320918 - head/sbin/savecore

2017-07-12 Thread Mark Johnston
On Wed, Jul 12, 2017 at 02:23:52PM -0700, John Baldwin wrote: > On Wednesday, July 12, 2017 06:29:25 PM Mark Johnston wrote: > > Author: markj > > Date: Wed Jul 12 18:29:25 2017 > > New Revision: 320918 > > URL: https://svnweb.freebsd.org/changeset/base/320918 > > > > Log: > > Add a newline

Re: svn commit: r320908 - head/sys/kern

2017-07-12 Thread John Baldwin
On Wednesday, July 12, 2017 01:09:39 AM Ryan Libby wrote: > On Wed, Jul 12, 2017 at 12:43 AM, Roman Divacky wrote: > > Clang knows about %b modifier and can do some semantic analysis on it. > > Currently it type checks the first arg to be an int and the second to be > > a

Re: svn commit: r320918 - head/sbin/savecore

2017-07-12 Thread John Baldwin
On Wednesday, July 12, 2017 06:29:25 PM Mark Johnston wrote: > Author: markj > Date: Wed Jul 12 18:29:25 2017 > New Revision: 320918 > URL: https://svnweb.freebsd.org/changeset/base/320918 > > Log: > Add a newline after the version string. > > MFC after: 3 days I think the version string

svn commit: r320923 - in stable/10: share/man/man4 share/man/man4/man4.i386 sys/dev/digi sys/dev/ie sys/dev/mcd sys/dev/scd sys/dev/si sys/dev/wl sys/i386/isa usr.sbin/sicontrol usr.sbin/wlconfig

2017-07-12 Thread John Baldwin
Author: jhb Date: Wed Jul 12 22:16:54 2017 New Revision: 320923 URL: https://svnweb.freebsd.org/changeset/base/320923 Log: Add deprecation notices for various device drivers removed in 12.0. This is a direct commit to stable/10 since these files have already been removed in head.

svn commit: r320922 - releng/11.1/sys/dev/sdhci

2017-07-12 Thread Marius Strobl
Author: marius Date: Wed Jul 12 21:46:16 2017 New Revision: 320922 URL: https://svnweb.freebsd.org/changeset/base/320922 Log: MF11: r320898; MFC: r320577, r320620 Retry up to 2 ms to enable bus power as at least with some Intel SDHCI/eMMC controllers the first attempt after a D3 to D0

svn commit: r320921 - in stable/11: share/man/man4 share/man/man4/man4.i386 sys/dev/digi sys/dev/ie sys/dev/mcd sys/dev/scd sys/dev/si sys/dev/wl sys/i386/isa usr.sbin/sicontrol usr.sbin/wlconfig

2017-07-12 Thread John Baldwin
Author: jhb Date: Wed Jul 12 20:10:53 2017 New Revision: 320921 URL: https://svnweb.freebsd.org/changeset/base/320921 Log: Add deprecation notices for various device drivers removed in 12.0. This is a direct commit to stable/11 since these files have already been removed in head.

Re: svn commit: r320452 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-07-12 Thread Peter Wemm
On Tuesday, July 11, 2017 11:55:47 PM Peter Wemm wrote: > On Tuesday, July 11, 2017 11:08:15 PM Peter Wemm wrote: > > On Wednesday, June 28, 2017 01:59:20 PM Andriy Gapon wrote: > > > A side bonus of this change is that now a vdev zio has a pointer > > > to its corresponding bio while the zio

svn commit: r320919 - head/sys/conf

2017-07-12 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 12 19:01:25 2017 New Revision: 320919 URL: https://svnweb.freebsd.org/changeset/base/320919 Log: META_MODE: Fix not writing .meta files in the kernel build. This was a regression in r320220 due to improper porting of the same logic from share/mk/bsd.dep.mk

svn commit: r320918 - head/sbin/savecore

2017-07-12 Thread Mark Johnston
Author: markj Date: Wed Jul 12 18:29:25 2017 New Revision: 320918 URL: https://svnweb.freebsd.org/changeset/base/320918 Log: Add a newline after the version string. MFC after:3 days Modified: head/sbin/savecore/savecore.c Modified: head/sbin/savecore/savecore.c

svn commit: r320917 - stable/11/sys/dev/ixgbe

2017-07-12 Thread Sean Bruno
Author: sbruno Date: Wed Jul 12 17:51:00 2017 New Revision: 320917 URL: https://svnweb.freebsd.org/changeset/base/320917 Log: MFC r320916 Reset unsupported SFP tuneable back to original entry name. Reported by: olivier@ Modified: stable/11/sys/dev/ixgbe/if_ix.c Directory

svn commit: r320916 - head/sys/dev/ixgbe

2017-07-12 Thread Sean Bruno
Author: sbruno Date: Wed Jul 12 17:35:32 2017 New Revision: 320916 URL: https://svnweb.freebsd.org/changeset/base/320916 Log: Reset unsupported SFP tuneable back to original entry name. Reported by: olivier@ Modified: head/sys/dev/ixgbe/if_ix.c Modified: head/sys/dev/ixgbe/if_ix.c

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Sean Bruno
Just so that its clear, this will be changed back to the original string shortly. sean On 07/12/17 11:16, Mike Tancsa wrote: > Hi Eric, > For stable users, can the loader.conf variable not be the original one > ? Especially for servers that are physically remote, a sysadmin might > expect

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Mike Tancsa
Hi Eric, For stable users, can the loader.conf variable not be the original one ? Especially for servers that are physically remote, a sysadmin might expect (wrongly or not) for the name not the change in a stable branch. If the box is remote, they would not be able to see the new dmesg

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Eric Joyner
Olivier, There is a message about it in dmesg, right? For the error code, there's not much we can do there aside from adding a new unsupported SFP+ code to errno.h, which doesn't seem appropriate. On Wed, Jul 12, 2017 at 9:27 AM Olivier Cochard-Labbé wrote: > On Wed, Jul

Re: svn commit: r320900 - in head/sys: fs/cd9660 fs/ext2fs fs/fifofs fs/msdosfs fs/nandfs fs/nfsclient fs/smbfs fs/tmpfs ufs/ufs

2017-07-12 Thread John Baldwin
On Wednesday, July 12, 2017 08:08:42 PM Bruce Evans wrote: > On Tue, 11 Jul 2017, John Baldwin wrote: > > > Log: > > Consistently use vop_stdpathconf() for default pathconf values. > > > > Update filesystems not currently using vop_stdpathconf() in pathconf > > VOPs to use vop_stdpathconf()

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Olivier Cochard-Labbé
On Wed, Jul 12, 2017 at 5:39 PM, Eric Joyner wrote: > I think it may have been silently renamed to "allow_unsupported_sfp" > instead of "unsupported_sfp". Could you try changing the name of that > tunable in your config? > > ​Thanks Eric! Replacing this previous line into my

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Eric Joyner
I think it may have been silently renamed to "allow_unsupported_sfp" instead of "unsupported_sfp". Could you try changing the name of that tunable in your config? On Wed, Jul 12, 2017 at 7:58 AM Olivier Cochard-Labbé wrote: > On Wed, Jul 12, 2017 at 4:34 PM, Sean Bruno

Re: svn commit: r320901 - in head/sys: amd64/amd64 isa x86/isa

2017-07-12 Thread Bruce Evans
On Wed, 12 Jul 2017, Ian Lepore wrote: Log: Protect access to the AT realtime clock with its own mutex. The mutex protecting access to the registered realtime clock should not be overloaded to protect access to the atrtc hardware, which might not even be the registered rtc. More

svn commit: r320915 - releng/10.3/crypto/heimdal/lib/krb5

2017-07-12 Thread Xin LI
Author: delphij Date: Wed Jul 12 15:16:01 2017 New Revision: 320915 URL: https://svnweb.freebsd.org/changeset/base/320915 Log: Add the missed Heimdal patch, freebsd-update bits are not affected. Noticed by: gordon Approved by: so Modified:

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Olivier Cochard-Labbé
On Wed, Jul 12, 2017 at 4:34 PM, Sean Bruno wrote: > Huh ... is there anything in your console boot messages that would seem > to indicate an error on attach? > > ​Good catch, I didn't notice it before: "device_attach: ix0 attach returned 5". dmeg before this commit: ix0:

svn commit: r320914 - head/contrib/netbsd-tests/lib/libc/gen

2017-07-12 Thread Alan Somers
Author: asomers Date: Wed Jul 12 14:51:32 2017 New Revision: 320914 URL: https://svnweb.freebsd.org/changeset/base/320914 Log: Remove an extraneous strlen from t_setdomainname.c Reported by: Coverity CID: 1377568 MFC after:15 days X-MFC-With: 320737 Sponsored by:

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Sean Bruno
On 07/12/17 06:35, Olivier Cochard-Labbé wrote: > On Tue, Jul 11, 2017 at 11:25 PM, Eric Joyner > wrote: > > Author: erj > Date: Tue Jul 11 21:25:07 2017 > New Revision: 320897 > URL: https://svnweb.freebsd.org/changeset/base/320897 >

Re: svn commit: r320897 - in stable/11/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-12 Thread Olivier Cochard-Labbé
On Tue, Jul 11, 2017 at 11:25 PM, Eric Joyner wrote: > Author: erj > Date: Tue Jul 11 21:25:07 2017 > New Revision: 320897 > URL: https://svnweb.freebsd.org/changeset/base/320897 > > Log: > MFC r316541, r316544, and r320688 from HEAD to stable/11. > > ​Hi Eric, I've got a

Re: svn commit: r320803 - head/sbin/mount

2017-07-12 Thread Bruce Evans
On Tue, 11 Jul 2017, John Baldwin wrote: On Tuesday, July 11, 2017 02:35:15 PM Ian Lepore wrote: I think the docs on this are pretty clear... under -u it says: The set of options is determined by applying the options specified in the argument to -o and finally applying the -r or -w

svn commit: r320913 - stable/10/release

2017-07-12 Thread Glen Barber
Author: gjb Date: Wed Jul 12 11:40:09 2017 New Revision: 320913 URL: https://svnweb.freebsd.org/changeset/base/320913 Log: MFC r300761, r300762: r300761: Disconnect the AZURE target from the CLOUDWARE list. Microsoft has graciously overtaken publication of FreeBSD on Azure

Re: svn commit: r320900 - in head/sys: fs/cd9660 fs/ext2fs fs/fifofs fs/msdosfs fs/nandfs fs/nfsclient fs/smbfs fs/tmpfs ufs/ufs

2017-07-12 Thread Bruce Evans
On Tue, 11 Jul 2017, John Baldwin wrote: Log: Consistently use vop_stdpathconf() for default pathconf values. Update filesystems not currently using vop_stdpathconf() in pathconf VOPs to use vop_stdpathconf() for any configuration variables that do not have filesystem-specific values.

Re: svn commit: r320908 - head/sys/kern

2017-07-12 Thread Ryan Libby
On Wed, Jul 12, 2017 at 12:43 AM, Roman Divacky wrote: > Clang knows about %b modifier and can do some semantic analysis on it. > Currently it type checks the first arg to be an int and the second to be > a char*. > > Do you think it would be worth modifying the checks to

svn commit: r320911 - in releng/11.0: . crypto/heimdal/lib/krb5 sys/conf

2017-07-12 Thread Xin LI
) @@ -16,7 +16,11 @@ from older versions of FreeBSD, try WITHOUT_CLANG and the tip of head, and then rebuild without this option. The bootstrap process from older version of current across the gcc/clang cutover is a bit fragile. -20170427p10 FreeBSD-SA-17:04.ipfilter +20170712 p11

svn commit: r320912 - in releng/10.3: . sys/cam/ata sys/conf sys/dev/hyperv/include sys/dev/hyperv/storvsc sys/dev/hyperv/utilities sys/dev/hyperv/vmbus sys/sys sys/x86/x86

2017-07-12 Thread Xin LI
process from older version of current is a bit fragile. +20170712 p20 FreeBSD-SA-17:05.heimdal + FreeBSD-EN-17:06.hyperv + + Fix heimdal KDC-REP service name validation vulnerability [SA-17:05] + + Boot compatibility improvements with Azure VMs. [EN-17

svn commit: r320910 - releng/11.1/crypto/heimdal/lib/krb5

2017-07-12 Thread Xin LI
Author: delphij Date: Wed Jul 12 08:07:16 2017 New Revision: 320910 URL: https://svnweb.freebsd.org/changeset/base/320910 Log: MFS r320907: MFC r320906: MFV r320905: Import upstream fix for CVE-2017-11103. In _krb5_extract_ticket() the KDC-REP service name must be obtained from

Re: svn commit: r320908 - head/sys/kern

2017-07-12 Thread Roman Divacky
Clang knows about %b modifier and can do some semantic analysis on it. Currently it type checks the first arg to be an int and the second to be a char*. Do you think it would be worth modifying the checks to include this new functionality? Do you think you would like to take a stab at it?

svn commit: r320909 - releng/11.1/sys/vm

2017-07-12 Thread Konstantin Belousov
Author: kib Date: Wed Jul 12 07:31:28 2017 New Revision: 320909 URL: https://svnweb.freebsd.org/changeset/base/320909 Log: MFS r320889: Restore layout of struct vm_map_entry. Approved by: re (delphij) Modified: releng/11.1/sys/vm/vm_map.h Directory Properties: releng/11.1/ (props

svn commit: r320908 - head/sys/kern

2017-07-12 Thread Ryan Libby
Author: rlibby Date: Wed Jul 12 07:30:14 2017 New Revision: 320908 URL: https://svnweb.freebsd.org/changeset/base/320908 Log: kvprintf %b enhancements Make the %b formatter accept number formatting flags. It will now accept alternate form, precision, and length modifiers. It also now

svn commit: r320907 - in stable: 10/crypto/heimdal/lib/krb5 11/crypto/heimdal/lib/krb5

2017-07-12 Thread Xin LI
Author: delphij Date: Wed Jul 12 07:26:07 2017 New Revision: 320907 URL: https://svnweb.freebsd.org/changeset/base/320907 Log: MFC r320906: MFV r320905: Import upstream fix for CVE-2017-11103. In _krb5_extract_ticket() the KDC-REP service name must be obtained from encrypted version

svn commit: r320907 - in stable: 10/crypto/heimdal/lib/krb5 11/crypto/heimdal/lib/krb5

2017-07-12 Thread Xin LI
Author: delphij Date: Wed Jul 12 07:26:07 2017 New Revision: 320907 URL: https://svnweb.freebsd.org/changeset/base/320907 Log: MFC r320906: MFV r320905: Import upstream fix for CVE-2017-11103. In _krb5_extract_ticket() the KDC-REP service name must be obtained from encrypted version

svn commit: r320906 - head/crypto/heimdal/lib/krb5

2017-07-12 Thread Xin LI
Author: delphij Date: Wed Jul 12 07:19:06 2017 New Revision: 320906 URL: https://svnweb.freebsd.org/changeset/base/320906 Log: MFV r320905: Import upstream fix for CVE-2017-11103. In _krb5_extract_ticket() the KDC-REP service name must be obtained from encrypted version stored in

svn commit: r320905 - vendor-crypto/heimdal/dist/lib/krb5

2017-07-12 Thread Xin LI
Author: delphij Date: Wed Jul 12 07:13:56 2017 New Revision: 320905 URL: https://svnweb.freebsd.org/changeset/base/320905 Log: Import upstream fix for CVE-2017-11103: CVE-2017-11103: Orpheus' Lyre KDC-REP service name validation In _krb5_extract_ticket() the KDC-REP service

svn commit: r320904 - releng/11.1/sys/vm

2017-07-12 Thread Konstantin Belousov
Author: kib Date: Wed Jul 12 07:00:56 2017 New Revision: 320904 URL: https://svnweb.freebsd.org/changeset/base/320904 Log: MFC r320843 MFS r320903: Fix loop termination in vm_map_find_min(). Approved by: re (delphij) Modified: releng/11.1/sys/vm/vm_map.c Directory Properties:

Re: svn commit: r320452 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-07-12 Thread Peter Wemm
On Tuesday, July 11, 2017 11:08:15 PM Peter Wemm wrote: > On Wednesday, June 28, 2017 01:59:20 PM Andriy Gapon wrote: > > A side bonus of this change is that now a vdev zio has a pointer > > to its corresponding bio while the zio is active. > fault virtual address = 0x28 > > db> where >

svn commit: r320903 - stable/11/sys/vm

2017-07-12 Thread Konstantin Belousov
Author: kib Date: Wed Jul 12 06:49:32 2017 New Revision: 320903 URL: https://svnweb.freebsd.org/changeset/base/320903 Log: MFC r320843: Fix loop termination in vm_map_find_min(). Modified: stable/11/sys/vm/vm_map.c Directory Properties: stable/11/ (props changed) Modified:

Re: svn commit: r320452 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-07-12 Thread Peter Wemm
On Wednesday, June 28, 2017 01:59:20 PM Andriy Gapon wrote: > A side bonus of this change is that now a vdev zio has a pointer > to its corresponding bio while the zio is active. > @@ -1094,6 +1088,15 @@ sendreq: > static void > vdev_geom_io_done(zio_t *zio) > { > + struct bio *bp =