svn commit: r326086 - head/sys/netpfil/ipfw

2017-11-21 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 22 05:49:21 2017 New Revision: 326086 URL: https://svnweb.freebsd.org/changeset/base/326086 Log: Add ipfw_add_protected_rule() function that creates rule with 65535 number in the reserved set 31. Use this function to create default rule. Obtained from:

svn commit: r326085 - head/lib/libc/sys

2017-11-21 Thread Warner Losh
Author: imp Date: Wed Nov 22 05:27:18 2017 New Revision: 326085 URL: https://svnweb.freebsd.org/changeset/base/326085 Log: Add a reference to getfsstat in statfs. Sponsored by: Netflix Modified: head/lib/libc/sys/statfs.2 Modified: head/lib/libc/sys/statfs.2

svn commit: r326084 - head/usr.bin/patch

2017-11-21 Thread Kyle Evans
Author: kevans Date: Wed Nov 22 03:44:19 2017 New Revision: 326084 URL: https://svnweb.freebsd.org/changeset/base/326084 Log: patch(1): don't assume a match if we run out of context to check Patches with very little context (-U0 and -U1) could get misapplied if the file to be patched

svn commit: r326083 - head/sys/cddl/dev/profile

2017-11-21 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 22 01:53:59 2017 New Revision: 326083 URL: https://svnweb.freebsd.org/changeset/base/326083 Log: PowerPC has 12 artificial frames for the profiler It may need to be different between AIM and Book-E, this was tested only on Book-E (64- and 32-bit) MFC

svn commit: r326082 - head/usr.sbin/freebsd-update

2017-11-21 Thread Ed Maste
Author: emaste Date: Wed Nov 22 01:50:23 2017 New Revision: 326082 URL: https://svnweb.freebsd.org/changeset/base/326082 Log: freebsd-update: do not duplicate patchlist entries PR: 221079 Submitted by: Masachika ISHIZUKA Submitted by: o...@j.email.ne.jp Reviewed by:

Re: svn commit: r325239 - head/sys/dev/ena

2017-11-21 Thread Gleb Smirnoff
Hi Martin and Michal, On Tue, Oct 31, 2017 at 04:31:23PM +, Marcin Wojtas wrote: M> Author: mw M> Date: Tue Oct 31 16:31:23 2017 M> New Revision: 325239 M> URL: https://svnweb.freebsd.org/changeset/base/325239 M> M> Log: M> Rework counting of hardware statistics in ENA driver M> M>

svn commit: r326080 - in head/sys: dev/bhnd dev/bhnd/bhndb dev/bhnd/cores/pci dev/bhnd/cores/pcie2 mips/broadcom

2017-11-21 Thread Landon J. Fuller
Author: landonf Date: Tue Nov 21 23:25:22 2017 New Revision: 326080 URL: https://svnweb.freebsd.org/changeset/base/326080 Log: bhnd(4): Add support for querying DMA address translation parameters BHND Wi-Fi chipsets and SoCs share a common DMA engine, operating within backplane address

svn commit: r326079 - in head/sys: dev/bhnd dev/bhnd/bcma dev/bhnd/bhndb dev/bhnd/cores/chipc dev/bhnd/cores/pci dev/bhnd/cores/usb dev/bhnd/siba mips/broadcom mips/include mips/mips

2017-11-21 Thread Landon J. Fuller
Author: landonf Date: Tue Nov 21 23:15:20 2017 New Revision: 326079 URL: https://svnweb.freebsd.org/changeset/base/326079 Log: bhnd(4): implement MIPS and PCI(e) interrupt support On BHND MIPS SoCs, this replaces the use of hard-coded MIPS IRQ#s in the common bhnd(4) core drivers; we now

Re: svn commit: r326073 - head/usr.bin/systat

2017-11-21 Thread Bruce Evans
On Tue, 21 Nov 2017, Konstantin Belousov wrote: Log: systat: use and correctly display 64bit counters. Following struct vmtotal changes, make systat use and correctly display 64-bit counters. Switch to humanize_number(3) to overcome homegrown arithmetics limits in pretty printing large

svn commit: r326075 - head/sys/contrib/cloudabi

2017-11-21 Thread Ed Schouten
Author: ed Date: Tue Nov 21 20:46:21 2017 New Revision: 326075 URL: https://svnweb.freebsd.org/changeset/base/326075 Log: Import the latest CloudABI definitions, v0.18. In addition to some small style fixes to the ARMv6 vDSO, this release includes a new vDSO that can be used for the

svn commit: r326074 - head/etc/periodic/daily

2017-11-21 Thread Ed Maste
Author: emaste Date: Tue Nov 21 20:31:54 2017 New Revision: 326074 URL: https://svnweb.freebsd.org/changeset/base/326074 Log: filter all passwords (not only changed) from periodic passwd backup The periodic 200.backup-passwd script outputs any differences it finds in master.passwd,

Re: svn commit: r326036 - head/sys/cam/scsi

2017-11-21 Thread Ronald Klop
Out of curiosity, What is the use case which this improves? Does happen in daily usage or mostly in testing? Regards, Ronald. On Mon, 20 Nov 2017 23:27:34 +0100, Alan Somers wrote: Author: asomers Date: Mon Nov 20 22:27:33 2017 New Revision: 326036 URL:

Re: svn commit: r326031 - head/sys/fs/msdosfs

2017-11-21 Thread Bruce Evans
On Tue, 21 Nov 2017, Bruce Evans wrote: On Tue, 21 Nov 2017, Bruce Evans wrote: On Mon, 20 Nov 2017, Conrad Meyer wrote: Log: msdosfs(5): Reflect READONLY attribute in file mode ... This undoes only a small part of READONLY changes in r254627 (which are small part of of r253627). I think

svn commit: r326073 - head/usr.bin/systat

2017-11-21 Thread Konstantin Belousov
Author: kib Date: Tue Nov 21 19:55:32 2017 New Revision: 326073 URL: https://svnweb.freebsd.org/changeset/base/326073 Log: systat: use and correctly display 64bit counters. Following struct vmtotal changes, make systat use and correctly display 64-bit counters. Switch to

svn commit: r326072 - head/stand

2017-11-21 Thread Warner Losh
Author: imp Date: Tue Nov 21 19:23:20 2017 New Revision: 326072 URL: https://svnweb.freebsd.org/changeset/base/326072 Log: Unbreak riscv build in universe. riscv doesn't have -msoft-float. For the moment, just don't add anything. There's no /boot/loader or other bootstrap contained in

svn commit: r326071 - head

2017-11-21 Thread Warner Losh
Author: imp Date: Tue Nov 21 19:23:12 2017 New Revision: 326071 URL: https://svnweb.freebsd.org/changeset/base/326071 Log: Use TARGET_ARCH=riscv64 when TARGET=riscv The supported targets are riscv64 and riscv64sf. Use the former when building with a bare TARGET=riscv and it is the more

svn commit: r326070 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-11-21 Thread Andriy Gapon
Author: avg Date: Tue Nov 21 18:28:14 2017 New Revision: 326070 URL: https://svnweb.freebsd.org/changeset/base/326070 Log: zfs_write: fix problem with writes appearing to succeed when over quota The problem happens when the writes have offsets and sizes aligned with a filesystem's

svn commit: r326069 - in head/stand/i386: gptzfsboot libi386

2017-11-21 Thread Warner Losh
Author: imp Date: Tue Nov 21 18:03:47 2017 New Revision: 326069 URL: https://svnweb.freebsd.org/changeset/base/326069 Log: Fix gptzfsboot for cases with GELI. HAVE_GPT isn't currently a thing, but HAVE_GELI is. Replace the former with the latter and remove util.o from the build list

svn commit: r326068 - head/release/tools

2017-11-21 Thread Glen Barber
Author: gjb Date: Tue Nov 21 18:02:18 2017 New Revision: 326068 URL: https://svnweb.freebsd.org/changeset/base/326068 Log: Remove /etc/resolv.conf from virtual machine images, which is copied from the build host. It is renamed to /etc/resolv.conf.bak on boot, so never used anyway.

svn commit: r326067 - head/sys/cddl/compat/opensolaris/kern

2017-11-21 Thread Andriy Gapon
Author: avg Date: Tue Nov 21 18:01:43 2017 New Revision: 326067 URL: https://svnweb.freebsd.org/changeset/base/326067 Log: make illumos uiocopy use vn_io_fault_uiomove uiocopy() is currently unused, its purpose is copy data from a uio without modifying the uio. It was in use before the

Re: svn commit: r326066 - in head/sys: arm64/conf conf dev/efidev modules/efirt

2017-11-21 Thread Ian Lepore
On Tue, 2017-11-21 at 17:23 +, Andrew Turner wrote: > Author: andrew > Date: Tue Nov 21 17:23:16 2017 > New Revision: 326066 > URL: https://svnweb.freebsd.org/changeset/base/326066 > > Log: >   Add a driver for the EFI RTC. This uses the EFI Runtime Services to query >   the system time. >   

svn commit: r326066 - in head/sys: arm64/conf conf dev/efidev modules/efirt

2017-11-21 Thread Andrew Turner
Author: andrew Date: Tue Nov 21 17:23:16 2017 New Revision: 326066 URL: https://svnweb.freebsd.org/changeset/base/326066 Log: Add a driver for the EFI RTC. This uses the EFI Runtime Services to query the system time. As we seem to only read this time on boot, and this is the only source

Re: svn commit: r326037 - head/share/mk

2017-11-21 Thread Warner Losh
On Tue, Nov 21, 2017 at 5:44 AM, Bruce Evans wrote: > On Mon, 20 Nov 2017, Warner Losh wrote: > > Author: imp >> Date: Mon Nov 20 22:41:22 2017 >> New Revision: 326037 >> URL: https://svnweb.freebsd.org/changeset/base/326037 >> >> Log: >> Add -mno-avx2 for clang as well as

svn commit: r326065 - head/sys/cam

2017-11-21 Thread Alan Somers
Author: asomers Date: Tue Nov 21 16:38:30 2017 New Revision: 326065 URL: https://svnweb.freebsd.org/changeset/base/326065 Log: Fix uninitialized variable from 326034 Reported by: Coverity CID: 1382887 MFC after:20 days X-MFC-With: 326034 Sponsored by: Spectra Logic

svn commit: r326064 - in head/lib/libproc: . tests

2017-11-21 Thread Mark Johnston
Author: markj Date: Tue Nov 21 16:03:21 2017 New Revision: 326064 URL: https://svnweb.freebsd.org/changeset/base/326064 Log: Refine symtab sorting in libproc. Add some rules to more closely match what illumos does when an address resolves to multiple symbols: - prefer non-local symbols

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

2017-11-21 Thread Mark Johnston
Author: markj Date: Tue Nov 21 16:00:18 2017 New Revision: 326063 URL: https://svnweb.freebsd.org/changeset/base/326063 Log: Annotate usdt/tst.eliminate.ksh as EXFAIL. It appears to depend on some behaviour specific to the Sun link editor. MFC after:1 week Modified:

Re: svn commit: r313019 - in head/sys: dev/e1000 dev/vnic net

2017-11-21 Thread Ed Maste
On 31 January 2017 at 11:12, Stephen J. Kiernan wrote: > Author: stevek > Date: Tue Jan 31 16:12:31 2017 > New Revision: 313019 > URL: https://svnweb.freebsd.org/changeset/base/313019 > > Log: > Add the folowing set accessor functions for recently-added members of ifnet >

Re: svn commit: r316336 - head/sys/dev/vnic

2017-11-21 Thread Ed Maste
On 31 March 2017 at 14:04, Zbigniew Bodek wrote: > Author: zbb > Date: Fri Mar 31 18:04:34 2017 > New Revision: 316336 > URL: https://svnweb.freebsd.org/changeset/base/316336 > > Log: > Rework BGX detection to support both new and old firmware Should this be merged to

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

2017-11-21 Thread Mark Johnston
Author: markj Date: Tue Nov 21 15:03:38 2017 New Revision: 326061 URL: https://svnweb.freebsd.org/changeset/base/326061 Log: Don't assume that we can resolve "main" in the ksh executable. MFC after:1 week Modified:

svn commit: r326060 - in head: share/man/man9 sys/kern sys/sys

2017-11-21 Thread Mark Johnston
Author: markj Date: Tue Nov 21 14:59:23 2017 New Revision: 326060 URL: https://svnweb.freebsd.org/changeset/base/326060 Log: Clean up the SYSINIT_FLAGS definitions for rwlock(9) and rmlock(9). Avoid duplication in their macro definitions, and document them. No functional change intended.

svn commit: r326058 - head/sys/dev/iser

2017-11-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 21 13:56:30 2017 New Revision: 326058 URL: https://svnweb.freebsd.org/changeset/base/326058 Log: Make sure all initialized mutexes are destroyed in the iser module, else WITNESS will panic. Prefix all mutex names with "iser_" to prevent future WITNESS issues.

svn commit: r326057 - head/usr.sbin/vidcontrol

2017-11-21 Thread Ed Maste
Author: emaste Date: Tue Nov 21 13:55:10 2017 New Revision: 326057 URL: https://svnweb.freebsd.org/changeset/base/326057 Log: vidcontrol: correct history size error message `vidcontrol -h 0` is acceptable, so be explicit that it's less than zero that is not allowed. Reported by:

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

2017-11-21 Thread Andrew Turner
Author: andrew Date: Tue Nov 21 13:19:38 2017 New Revision: 326056 URL: https://svnweb.freebsd.org/changeset/base/326056 Log: When fpcurthread is not the current thread it may be non-NULL. In this case another thread has had the VFP unit enabled and will have its state in the VFP registers

svn commit: r326055 - head/sys/vm

2017-11-21 Thread Mark Johnston
Author: markj Date: Tue Nov 21 13:17:40 2017 New Revision: 326055 URL: https://svnweb.freebsd.org/changeset/base/326055 Log: Allow for fictitious physical pages in vm_page_scan_contig(). Some drm2 drivers will set PG_FICTITIOUS in physical pages in order to satisfy the OBJT_MGTDEVICE

Re: svn commit: r326037 - head/share/mk

2017-11-21 Thread Bruce Evans
On Mon, 20 Nov 2017, Warner Losh wrote: Author: imp Date: Mon Nov 20 22:41:22 2017 New Revision: 326037 URL: https://svnweb.freebsd.org/changeset/base/326037 Log: Add -mno-avx2 for clang as well as -mno-avx. We don't want either of them when asking for no SIMD. Is this needed. For SSE,

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

2017-11-21 Thread Bruce Evans
On Mon, 20 Nov 2017, Ed Maste wrote: Hi Bruce, notes on a few of the points you raised (I'll look at others later): On 19 November 2017 at 04:07, Bruce Evans wrote: The vendor version is in libc/string. It has been ANSIfied, but the libkern version has large churning

Re: svn commit: r326031 - head/sys/fs/msdosfs

2017-11-21 Thread Bruce Evans
On Tue, 21 Nov 2017, Bruce Evans wrote: On Mon, 20 Nov 2017, Conrad Meyer wrote: Log: msdosfs(5): Reflect READONLY attribute in file mode ... This undoes only a small part of READONLY changes in r254627 (which are small part of of r253627). I think r254627 got the READONLY semantics wrong,

Re: svn commit: r326031 - head/sys/fs/msdosfs

2017-11-21 Thread Bruce Evans
On Mon, 20 Nov 2017, Conrad Meyer wrote: Log: msdosfs(5): Reflect READONLY attribute in file mode Msdosfs allows setting READONLY by clearing the owner write bit of the file mode. (While here, correct the misspelling of S_IWUSR as VWRITE. No functional change.) In msdosfs_getattr,

svn commit: r326052 - head/usr.bin/gzip

2017-11-21 Thread Xin LI
+ 2009, 2010, 2011, 2015, 2017 Matthew R. Green. All rights reserved."); __FBSDID("$FreeBSD$"); #endif /* not lint */ @@ -158,7 +159,7 @@ static suffixes_t suffixes[] = { #define NUM_SUFFIXES (nitems(suffixes)) #define SUFFIX_MAXLEN 30 -static const char gzip_version[] = &qu