svn commit: r345362 - head/contrib/elftoolchain/strings

2019-03-21 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Mar 21 06:20:33 2019 New Revision: 345362 URL: https://svnweb.freebsd.org/changeset/base/345362 Log: Fix powerpc and arm builds after r345361. Reported by: jenkins Modified: head/contrib/elftoolchain/strings/strings.c Modified:

svn commit: r345366 - head/sys/netpfil/pf

2019-03-21 Thread Kristof Provost
Author: kp Date: Thu Mar 21 08:09:52 2019 New Revision: 345366 URL: https://svnweb.freebsd.org/changeset/base/345366 Log: pf: Ensure that IP addresses match in ICMP error packets States in pf(4) let ICMP and ICMP6 packets pass if they have a packet in their payload that matches an

svn commit: r345364 - head/contrib/elftoolchain/strings

2019-03-21 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Mar 21 06:31:14 2019 New Revision: 345364 URL: https://svnweb.freebsd.org/changeset/base/345364 Log: In case of ENCODING_8BIT the EOF code will be pass to putchar. EOF check should be done before (uint8_t)c > 127 test. Reported by: cem Modified:

svn commit: r345363 - head/sbin/camcontrol

2019-03-21 Thread Warner Losh
Author: imp Date: Thu Mar 21 06:27:58 2019 New Revision: 345363 URL: https://svnweb.freebsd.org/changeset/base/345363 Log: Make WD and WDC aliases for HGST. HGST was bought by WDC. Over the years, it has sold different drives branded as HGST, WD or WDC. All of them need the HGST

svn commit: r345367 - head/tests/sys/netpfil/pf

2019-03-21 Thread Kristof Provost
Author: kp Date: Thu Mar 21 08:15:46 2019 New Revision: 345367 URL: https://svnweb.freebsd.org/changeset/base/345367 Log: pf tests: Move Sniffer to its own file Make it easier to re-use the sniffer class in other test support scripts. Added: head/tests/sys/netpfil/pf/sniffer.py

svn commit: r345365 - head/bin/date

2019-03-21 Thread Warner Losh
Author: imp Date: Thu Mar 21 06:47:23 2019 New Revision: 345365 URL: https://svnweb.freebsd.org/changeset/base/345365 Log: Remove -n flag, fix setting date / time r342139 bork setting the date. This fixes it by simply removing the -n flag. Differential Revision:

svn commit: r345372 - head/sys/dev/sdhci

2019-03-21 Thread Bjoern A. Zeeb
Author: bz Date: Thu Mar 21 10:50:36 2019 New Revision: 345372 URL: https://svnweb.freebsd.org/changeset/base/345372 Log: Whitespace cleanup in sdhci.c No functional changes. Replace whitespace by tabs, indent with 4 spaces, coalesce multi-line shorter than 80 characters, MFC

svn commit: r345370 - head/sys/dev/sdhci

2019-03-21 Thread Bjoern A. Zeeb
Author: bz Date: Thu Mar 21 10:23:02 2019 New Revision: 345370 URL: https://svnweb.freebsd.org/changeset/base/345370 Log: Align struct sdhci_slot MMCCAM members. Whitespace only, no functional change. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

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

2019-03-21 Thread Marcin Wojtas
Author: mw Date: Thu Mar 21 10:51:36 2019 New Revision: 345373 URL: https://svnweb.freebsd.org/changeset/base/345373 Log: Add bus_release_resource() method to nexus on arm64 The nexus module was missing method for releasing bus resources. As a result, it couldn't be released and the

svn commit: r345369 - head/sys/dev/uart

2019-03-21 Thread Colin Percival
Author: cperciva Date: Thu Mar 21 08:54:34 2019 New Revision: 345369 URL: https://svnweb.freebsd.org/changeset/base/345369 Log: Recognize the Amazon PCI serial device found in a1.* EC2 instances as an NS8250 UART. This is the same as the UART found in EC2 "bare metal" instances, except

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Bruce Evans
On Wed, 20 Mar 2019, Mark Johnston wrote: On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: Author: markj Date: Thu Mar 21 02:52:22 2019 New Revision: 345359 URL: https://svnweb.freebsd.org/changeset/base/345359 Log: Don't attempt to measure TSC skew when running as a VM

svn commit: r345368 - head/share/man/man4

2019-03-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 21 08:51:32 2019 New Revision: 345368 URL: https://svnweb.freebsd.org/changeset/base/345368 Log: Attach the vmci(4) man page to the build. Looks like it's been missed by mistake. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified:

svn commit: r345371 - head/sys/dev/ena

2019-03-21 Thread Marcin Wojtas
Author: mw Date: Thu Mar 21 10:46:10 2019 New Revision: 345371 URL: https://svnweb.freebsd.org/changeset/base/345371 Log: Prevent double activation of admin interrupt in ENA The resource is already being activated in the bus_alloc_resource(), because the flag RF_ACTIVE is being passed.

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

2019-03-21 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 21 16:15:29 2019 New Revision: 345381 URL: https://svnweb.freebsd.org/changeset/base/345381 Log: Always create ipfw(4) hooks as long as module is loaded. Now enabling ipfw(4) with sysctls controls only linkage of hooks to default heads. When module is loaded

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread John Baldwin
On 3/20/19 7:52 PM, Mark Johnston wrote: > Author: markj > Date: Thu Mar 21 02:52:22 2019 > New Revision: 345359 > URL: https://svnweb.freebsd.org/changeset/base/345359 > > Log: > Don't attempt to measure TSC skew when running as a VM guest. > > It simply doesn't work in general since

svn commit: r345379 - head/release/arm64

2019-03-21 Thread Glen Barber
Author: gjb Date: Thu Mar 21 14:17:55 2019 New Revision: 345379 URL: https://svnweb.freebsd.org/changeset/base/345379 Log: Bump the IMAGE_SIZE for arm64 SoC images to prevent failures due to full filesystem. This makes the size of the arm64 SoC images consistent with armv6 and armv7.

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

2019-03-21 Thread Conrad Meyer
Author: cem Date: Thu Mar 21 14:45:08 2019 New Revision: 345380 URL: https://svnweb.freebsd.org/changeset/base/345380 Log: arc4random: Adjust example code to use uniform() API PR: 236678 Reported by: Andras Farkas Modified: head/lib/libc/gen/arc4random.3 Modified:

Re: svn commit: r345365 - head/bin/date

2019-03-21 Thread Ian Lepore
On Thu, 2019-03-21 at 06:47 +, Warner Losh wrote: > Author: imp > Date: Thu Mar 21 06:47:23 2019 > New Revision: 345365 > URL: https://svnweb.freebsd.org/changeset/base/345365 > > Log: > Remove -n flag, fix setting date / time > IMO, the -n flag should still be accepted, but ignored, to

svn commit: r345376 - head/sys/fs/nullfs

2019-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 13:30:48 2019 New Revision: 345376 URL: https://svnweb.freebsd.org/changeset/base/345376 Log: nullfs: fix unmounts when filesystem is active. If vflush() did not completely flushed the mount vnodes queue, either retry for forced unmounts, or give up for

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Bruce Evans
On Thu, 21 Mar 2019, Bruce Evans wrote: On Wed, 20 Mar 2019, Mark Johnston wrote: On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: Author: markj Date: Thu Mar 21 02:52:22 2019 New Revision: 345359 URL: https://svnweb.freebsd.org/changeset/base/345359 Log: Don't attempt to

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Warner Losh
On Thu, Mar 21, 2019 at 1:32 PM Mark Johnston wrote: > On Thu, Mar 21, 2019 at 10:44:49PM +1100, Bruce Evans wrote: > > On Wed, 20 Mar 2019, Mark Johnston wrote: > > > > > On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: > > >>> Author: markj > > >>> Date: Thu Mar 21 02:52:22

Re: svn commit: r345380 - head/lib/libc/gen

2019-03-21 Thread Bruce Evans
On Thu, 21 Mar 2019, Conrad Meyer wrote: Log: arc4random: Adjust example code to use uniform() API This changes the example from correct to broken. I see 4 bugs: 1. The log message says that the example uses uniform(), but it actually uses arc4random_uniform(). PR:236678

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Mark Johnston
On Thu, Mar 21, 2019 at 10:44:49PM +1100, Bruce Evans wrote: > On Wed, 20 Mar 2019, Mark Johnston wrote: > > > On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: > >>> Author: markj > >>> Date: Thu Mar 21 02:52:22 2019 > >>> New Revision: 345359 > >>> URL:

svn commit: r345384 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Mark Johnston
Author: markj Date: Thu Mar 21 20:07:50 2019 New Revision: 345384 URL: https://svnweb.freebsd.org/changeset/base/345384 Log: Use an explicit comparison with VM_GUEST_NO. Reported by: jhb MFC with: r345359 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r345385 - head/sys/dev/smartpqi

2019-03-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 21 21:14:25 2019 New Revision: 345385 URL: https://svnweb.freebsd.org/changeset/base/345385 Log: Fix smartpqi(4) malloc tag and description to match the driver name. No functional changes. Reviewed by: sbruno MFC after:2 weeks Sponsored by: Klara Inc.

svn commit: r345387 - in head/share: examples/etc mk

2019-03-21 Thread Jung-uk Kim
Author: jkim Date: Thu Mar 21 21:43:23 2019 New Revision: 345387 URL: https://svnweb.freebsd.org/changeset/base/345387 Log: Catch up with Clang 7.0. MFC after:3 days Modified: head/share/examples/etc/make.conf head/share/mk/bsd.cpu.mk Modified: head/share/examples/etc/make.conf

svn commit: r345388 - in head/share: examples/etc mk

2019-03-21 Thread Jung-uk Kim
Author: jkim Date: Thu Mar 21 21:45:02 2019 New Revision: 345388 URL: https://svnweb.freebsd.org/changeset/base/345388 Log: Catch up with Clang 8.0. Modified: head/share/examples/etc/make.conf head/share/mk/bsd.cpu.mk Modified: head/share/examples/etc/make.conf

svn commit: r345382 - in head/sys: amd64/amd64 i386/i386 vm

2019-03-21 Thread Mark Johnston
Author: markj Date: Thu Mar 21 19:52:50 2019 New Revision: 345382 URL: https://svnweb.freebsd.org/changeset/base/345382 Log: Disallow preemptive creation of wired superpage mappings. There are some unusual cases where a process may cause an mlock()ed range of memory to be unmapped. If

Re: svn commit: r345365 - head/bin/date

2019-03-21 Thread Warner Losh
On Thu, Mar 21, 2019 at 9:24 AM Ian Lepore wrote: > On Thu, 2019-03-21 at 06:47 +, Warner Losh wrote: > > Author: imp > > Date: Thu Mar 21 06:47:23 2019 > > New Revision: 345365 > > URL: https://svnweb.freebsd.org/changeset/base/345365 > > > > Log: > > Remove -n flag, fix setting date /

svn commit: r345402 - head/sys/powerpc/aim

2019-03-21 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 22 01:43:31 2019 New Revision: 345402 URL: https://svnweb.freebsd.org/changeset/base/345402 Log: powerpc64: Handle the modern (2.05+) implementaiton of tlbie By happenstance gcc4 puts 'vpn' into r0 in all uses of TLBIE(), but modern gcc does not. Also, the

svn commit: r345401 - head/libexec/rc/rc.d

2019-03-21 Thread Cy Schubert
Author: cy Date: Fri Mar 22 01:42:27 2019 New Revision: 345401 URL: https://svnweb.freebsd.org/changeset/base/345401 Log: From r345400, connect ippool to the build/install. PR: 218433 MFC after:2 weeks X-MFC with: r345400 Modified: head/libexec/rc/rc.d/Makefile

svn commit: r345403 - head/tools/build/mk

2019-03-21 Thread Cy Schubert
Author: cy Date: Fri Mar 22 01:43:55 2019 New Revision: 345403 URL: https://svnweb.freebsd.org/changeset/base/345403 Log: From r345400, remove the ippool rc script when ipfilter is not wanted by the user. PR: 218433 MFC after:2 weeks X-MFC with: r345400 Modified:

svn commit: r345400 - in head/libexec/rc: . rc.d

2019-03-21 Thread Cy Schubert
Author: cy Date: Fri Mar 22 01:30:51 2019 New Revision: 345400 URL: https://svnweb.freebsd.org/changeset/base/345400 Log: Add rc.d support for ippool(8). I've been using ippool at my site for approximately two years. It's about time this was committed. PR: 218433 MFC

Re: svn commit: r345365 - head/bin/date

2019-03-21 Thread Rodney W. Grimes
> On Thu, Mar 21, 2019 at 9:24 AM Ian Lepore wrote: > > > On Thu, 2019-03-21 at 06:47 +, Warner Losh wrote: > > > Author: imp > > > Date: Thu Mar 21 06:47:23 2019 > > > New Revision: 345365 > > > URL: https://svnweb.freebsd.org/changeset/base/345365 > > > > > > Log: > > > Remove -n flag,

Re: svn commit: r345400 - in head/libexec/rc: . rc.d

2019-03-21 Thread Rodney W. Grimes
> Author: cy > Date: Fri Mar 22 01:30:51 2019 > New Revision: 345400 > URL: https://svnweb.freebsd.org/changeset/base/345400 > > Log: > Add rc.d support for ippool(8). > > I've been using ippool at my site for approximately two years. It's > about time this was committed. > > PR: