svn commit: r349639 - head

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 09:06:39 2019 New Revision: 349639 URL: https://svnweb.freebsd.org/changeset/base/349639 Log: Also remove lib32 version of libprivateifconfig after r344530. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

svn commit: r349640 - head

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 09:08:17 2019 New Revision: 349640 URL: https://svnweb.freebsd.org/changeset/base/349640 Log: Also remove lib32 version of libcasper.so.0. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

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

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 09:14:39 2019 New Revision: 349641 URL: https://svnweb.freebsd.org/changeset/base/349641 Log: Also remove lib32 versions of libradius. MFC after:1 week Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsolet

svn commit: r349642 - stable/12/sbin/ipfw

2019-07-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 3 09:43:26 2019 New Revision: 349642 URL: https://svnweb.freebsd.org/changeset/base/349642 Log: MFC r349364: Restore ipfw(8)'s compact output support broken after r331668. Also modify it a bit. Now -c option omits only 'from any to any' part and works for

svn commit: r349643 - stable/12/sys/netpfil/ipfw

2019-07-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 3 09:45:02 2019 New Revision: 349643 URL: https://svnweb.freebsd.org/changeset/base/349643 Log: MFC r349365: Mark default rule with IPFW_RULE_NOOPT flag, so it can be showed in compact form. Modified: stable/12/sys/netpfil/ipfw/ip_fw2.c Directory Properties:

svn commit: r349644 - stable/12/sys/netpfil/ipfw

2019-07-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 3 09:46:30 2019 New Revision: 349644 URL: https://svnweb.freebsd.org/changeset/base/349644 Log: MFC r349366: Follow the RFC 3128 and drop short TCP fragments with offset = 1. Modified: stable/12/sys/netpfil/ipfw/ip_fw2.c Directory Properties: stable/12/ (prop

svn commit: r349645 - in head/sys/compat/linuxkpi/common: include/linux src

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 09:48:20 2019 New Revision: 349645 URL: https://svnweb.freebsd.org/changeset/base/349645 Log: Remove dead code added after r348743 in the LinuxKPI. The LINUXKPI_VERSION macro is not defined for any compiled LinuxKPI code which basically means __GFP_NOTWIRED

svn commit: r349646 - stable/11/sbin/ipfw

2019-07-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 3 09:48:22 2019 New Revision: 349646 URL: https://svnweb.freebsd.org/changeset/base/349646 Log: MFC r349364: Restore ipfw(8)'s compact output support broken after r331668. Also modify it a bit. Now -c option omits only 'from any to any' part and works for

svn commit: r349647 - stable/11/sys/netpfil/ipfw

2019-07-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 3 09:49:47 2019 New Revision: 349647 URL: https://svnweb.freebsd.org/changeset/base/349647 Log: MFC r349365: Mark default rule with IPFW_RULE_NOOPT flag, so it can be showed in compact form. Modified: stable/11/sys/netpfil/ipfw/ip_fw2.c Directory Properties:

svn commit: r349648 - stable/11/sys/netpfil/ipfw

2019-07-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 3 09:51:59 2019 New Revision: 349648 URL: https://svnweb.freebsd.org/changeset/base/349648 Log: MFC r349366: Follow the RFC 3128 and drop short TCP fragments with offset = 1. Modified: stable/11/sys/netpfil/ipfw/ip_fw2.c Directory Properties: stable/11/ (prop

svn commit: r349649 - head/sys/dev/cxgbe/tom

2019-07-03 Thread John Baldwin
Author: jhb Date: Wed Jul 3 16:06:11 2019 New Revision: 349649 URL: https://svnweb.freebsd.org/changeset/base/349649 Log: Use unmapped (M_NOMAP) mbufs for zero-copy AIO writes via TOE. Previously the TOE code used its own custom unmapped mbufs via EXT_FLAG_VENDOR1. The old version alway

Re: svn commit: r349640 - head

2019-07-03 Thread John Baldwin
On 7/3/19 2:08 AM, Tijl Coosemans wrote: > Author: tijl > Date: Wed Jul 3 09:08:17 2019 > New Revision: 349640 > URL: https://svnweb.freebsd.org/changeset/base/349640 > > Log: > Also remove lib32 version of libcasper.so.0. > > Modified: > head/ObsoleteFiles.inc > > Modified: head/ObsoleteFi

Re: svn commit: r349641 - head/tools/build/mk

2019-07-03 Thread John Baldwin
On 7/3/19 2:14 AM, Tijl Coosemans wrote: > Author: tijl > Date: Wed Jul 3 09:14:39 2019 > New Revision: 349641 > URL: https://svnweb.freebsd.org/changeset/base/349641 > > Log: > Also remove lib32 versions of libradius. > > MFC after: 1 week I do wonder if we shouldn't try to make OLD_LIB

svn commit: r349650 - in stable: 11/lib/libsqlite3 12/lib/libsqlite3

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 16:23:06 2019 New Revision: 349650 URL: https://svnweb.freebsd.org/changeset/base/349650 Log: MFC r342972: Disable FTS3, FTS4, and RTREE in bundled and private sqlite3. Suggested by: delphij@ Reviewed by: delphij@ (for secteam@) Differential Revision:

svn commit: r349650 - in stable: 11/lib/libsqlite3 12/lib/libsqlite3

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 16:23:06 2019 New Revision: 349650 URL: https://svnweb.freebsd.org/changeset/base/349650 Log: MFC r342972: Disable FTS3, FTS4, and RTREE in bundled and private sqlite3. Suggested by: delphij@ Reviewed by: delphij@ (for secteam@) Differential Revision:

svn commit: r349651 - in stable/12/libexec/rc: . rc.d

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 16:43:40 2019 New Revision: 349651 URL: https://svnweb.freebsd.org/changeset/base/349651 Log: MFC r349153: Allow the hostapd program to be specified. This allows users to use hostapd from ports instead of the one in base. The default is the hostapd in base.

svn commit: r349652 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 16:48:46 2019 New Revision: 349652 URL: https://svnweb.freebsd.org/changeset/base/349652 Log: MFC r349331: Clean out duplicate definitions of TCP macros also found in netinet/tcp.h. Modified: stable/11/sys/contrib/ipfilter/netinet/ip_compat.h Directory Propert

svn commit: r349652 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 16:48:46 2019 New Revision: 349652 URL: https://svnweb.freebsd.org/changeset/base/349652 Log: MFC r349331: Clean out duplicate definitions of TCP macros also found in netinet/tcp.h. Modified: stable/12/sys/contrib/ipfilter/netinet/ip_compat.h Directory Propert

svn commit: r349653 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 16:53:59 2019 New Revision: 349653 URL: https://svnweb.freebsd.org/changeset/base/349653 Log: MFC r349362: The definition of icmptypes in ip_compt.h is dead code as it already use the icmptypes in ip_icmp.h. Modified: stable/12/sys/contrib/ipfilter/netinet/i

svn commit: r349653 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 16:53:59 2019 New Revision: 349653 URL: https://svnweb.freebsd.org/changeset/base/349653 Log: MFC r349362: The definition of icmptypes in ip_compt.h is dead code as it already use the icmptypes in ip_icmp.h. Modified: stable/11/sys/contrib/ipfilter/netinet/i

svn commit: r349654 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 17:04:44 2019 New Revision: 349654 URL: https://svnweb.freebsd.org/changeset/base/349654 Log: MFC r349399-349400,349567-349568: Prompted by r349366, ipfilter is also does not conform to RFC 3128 by dropping TCP fragments with offset = 1. In addition to dro

svn commit: r349654 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 17:04:44 2019 New Revision: 349654 URL: https://svnweb.freebsd.org/changeset/base/349654 Log: MFC r349399-349400,349567-349568: Prompted by r349366, ipfilter is also does not conform to RFC 3128 by dropping TCP fragments with offset = 1. In addition to dro

svn commit: r349655 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 17:09:41 2019 New Revision: 349655 URL: https://svnweb.freebsd.org/changeset/base/349655 Log: MFC r349401: While working on PR/238796 I discovered an unused variable in frdest, the next hop structure. It is likely this contributes to PR/238796 though other fa

svn commit: r349655 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 17:09:41 2019 New Revision: 349655 URL: https://svnweb.freebsd.org/changeset/base/349655 Log: MFC r349401: While working on PR/238796 I discovered an unused variable in frdest, the next hop structure. It is likely this contributes to PR/238796 though other fa

svn commit: r349656 - head/usr.sbin/bhyve

2019-07-03 Thread Sean Chittenden
Author: seanc (ports committer) Date: Wed Jul 3 17:24:24 2019 New Revision: 349656 URL: https://svnweb.freebsd.org/changeset/base/349656 Log: bhyve/audio: don't leak resources on failed initialization. Coverity CID: 1402793 Approved by: markj, jhb, bhyve Differential Revision:

svn commit: r349657 - stable/12/sys/dev/nand

2019-07-03 Thread Ed Maste
Author: emaste Date: Wed Jul 3 17:34:26 2019 New Revision: 349657 URL: https://svnweb.freebsd.org/changeset/base/349657 Log: MFC r349268: nandsim: correct test to avoid out-of-bounds access Previously nandsim_chip_status returned EINVAL iff both of user-provided chip->ctrl_num and chip->

svn commit: r349658 - stable/11/sys/dev/nand

2019-07-03 Thread Ed Maste
Author: emaste Date: Wed Jul 3 17:35:23 2019 New Revision: 349658 URL: https://svnweb.freebsd.org/changeset/base/349658 Log: MFC r349268: nandsim: correct test to avoid out-of-bounds access Previously nandsim_chip_status returned EINVAL iff both of user-provided chip->ctrl_num and chip->

svn commit: r349659 - in stable: 10/contrib/ipfilter/man 11/contrib/ipfilter/man 12/contrib/ipfilter/man

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 18:11:22 2019 New Revision: 349659 URL: https://svnweb.freebsd.org/changeset/base/349659 Log: MFC r349448: Fix a typo. PR/238816 initially addressed updates to usage() however it has now become a shopping list of fixes to ipmon man pages and usage().

svn commit: r349659 - in stable: 10/contrib/ipfilter/man 11/contrib/ipfilter/man 12/contrib/ipfilter/man

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 18:11:22 2019 New Revision: 349659 URL: https://svnweb.freebsd.org/changeset/base/349659 Log: MFC r349448: Fix a typo. PR/238816 initially addressed updates to usage() however it has now become a shopping list of fixes to ipmon man pages and usage().

svn commit: r349659 - in stable: 10/contrib/ipfilter/man 11/contrib/ipfilter/man 12/contrib/ipfilter/man

2019-07-03 Thread Cy Schubert
Author: cy Date: Wed Jul 3 18:11:22 2019 New Revision: 349659 URL: https://svnweb.freebsd.org/changeset/base/349659 Log: MFC r349448: Fix a typo. PR/238816 initially addressed updates to usage() however it has now become a shopping list of fixes to ipmon man pages and usage().

svn commit: r349660 - stable/12/sys/fs/cuse

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:14:00 2019 New Revision: 349660 URL: https://svnweb.freebsd.org/changeset/base/349660 Log: MFC r349367: Fix for deadlock situation in cuse(3) The final server unref should be done by the server thread to prevent deadlock in the client cdevpriv destru

svn commit: r349661 - stable/11/sys/fs/cuse

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:15:00 2019 New Revision: 349661 URL: https://svnweb.freebsd.org/changeset/base/349661 Log: MFC r349367: Fix for deadlock situation in cuse(3) The final server unref should be done by the server thread to prevent deadlock in the client cdevpriv destru

svn commit: r349662 - stable/12/sys/fs/cuse

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:16:10 2019 New Revision: 349662 URL: https://svnweb.freebsd.org/changeset/base/349662 Log: MFC r349368: Free all allocated unit IDs in cuse(3) after the client character devices have been destroyed to avoid creating character devices with identical name

svn commit: r349663 - stable/11/sys/fs/cuse

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:16:52 2019 New Revision: 349663 URL: https://svnweb.freebsd.org/changeset/base/349663 Log: MFC r349368: Free all allocated unit IDs in cuse(3) after the client character devices have been destroyed to avoid creating character devices with identical name

svn commit: r349664 - stable/12/usr.sbin/usbdump

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:18:05 2019 New Revision: 349664 URL: https://svnweb.freebsd.org/changeset/base/349664 Log: MFC r349370: Fix parsing of corrupt data in usbdump(8). Check that the transfer type array lookup is within bounds to avoid segfault. PR: 238801 Sp

svn commit: r349665 - stable/11/usr.sbin/usbdump

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:18:42 2019 New Revision: 349665 URL: https://svnweb.freebsd.org/changeset/base/349665 Log: MFC r349370: Fix parsing of corrupt data in usbdump(8). Check that the transfer type array lookup is within bounds to avoid segfault. PR: 238801 Sp

svn commit: r349666 - stable/10/usr.sbin/usbdump

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:19:29 2019 New Revision: 349666 URL: https://svnweb.freebsd.org/changeset/base/349666 Log: MFC r349370: Fix parsing of corrupt data in usbdump(8). Check that the transfer type array lookup is within bounds to avoid segfault. PR: 238801 Sp

svn commit: r349667 - stable/12/lib/libusb

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:23:36 2019 New Revision: 349667 URL: https://svnweb.freebsd.org/changeset/base/349667 Log: MFC r349409 and r349410: Fix support for LIBUSB_HOTPLUG_ENUMERATE in libusb. Currently all devices are enumerated regardless of of the LIBUSB_HOTPLUG_ENUMERATE fl

svn commit: r349668 - stable/11/lib/libusb

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:25:05 2019 New Revision: 349668 URL: https://svnweb.freebsd.org/changeset/base/349668 Log: MFC r349409 and r349410: Fix support for LIBUSB_HOTPLUG_ENUMERATE in libusb. Currently all devices are enumerated regardless of of the LIBUSB_HOTPLUG_ENUMERATE fl

svn commit: r349669 - stable/10/lib/libusb

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:26:07 2019 New Revision: 349669 URL: https://svnweb.freebsd.org/changeset/base/349669 Log: MFC r349409 and r349410: Fix support for LIBUSB_HOTPLUG_ENUMERATE in libusb. Currently all devices are enumerated regardless of of the LIBUSB_HOTPLUG_ENUMERATE fl

svn commit: r349670 - stable/12/sys/dev/pci

2019-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jul 3 18:29:18 2019 New Revision: 349670 URL: https://svnweb.freebsd.org/changeset/base/349670 Log: MFC r349522: Need to apply the PCIM_BAR_MEM_BASE mask to the physical memory address before returning it to the user. Some of the least significant bits have spec

svn commit: r349671 - head/sys/vm

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 18:46:39 2019 New Revision: 349671 URL: https://svnweb.freebsd.org/changeset/base/349671 Log: Cache the next queue element when traversing a page queue. When QUEUE_MACRO_DEBUG_TRASH is configured, removing a queue element invalidates its queue linkage pointe

svn commit: r349672 - stable/12/sys/powerpc/powerpc

2019-07-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 3 18:53:04 2019 New Revision: 349672 URL: https://svnweb.freebsd.org/changeset/base/349672 Log: MFC r344958,r344960,r344961 r344958: powerpc: Print data address register on alignment exceptions r344960: powerpc: Print trap frame address for fatal traps r3

svn commit: r349673 - in stable/12/sys/powerpc: include powerpc

2019-07-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 3 19:01:41 2019 New Revision: 349673 URL: https://svnweb.freebsd.org/changeset/base/349673 Log: MFC r345829,345831,349402 r345829: powerpc: Apply r178139 from sparc64 to powerpc's fpu_sqrt r345831: powerpc: Allow emulating optional FPU instructions on CPUs

svn commit: r349674 - stable/12/sys/powerpc/cpufreq

2019-07-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 3 19:07:42 2019 New Revision: 349674 URL: https://svnweb.freebsd.org/changeset/base/349674 Log: MFC r344915: powerpc: Fix cpufreq statement scoping The second statements on the lines are not guarded by the `if' condition. This triggers a warning with n

svn commit: r349675 - stable/12/sys/cddl/dev/dtrace/powerpc

2019-07-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 3 19:21:03 2019 New Revision: 349675 URL: https://svnweb.freebsd.org/changeset/base/349675 Log: MFC r346173,r347943 r346173: powerpc/dtrace: Fix dtrace powerpc asm, and simplify stack walking r347943: powerpc/dtrace: Actually fix stack traces Modified: s

svn commit: r349676 - stable/12/lib/libc/gen

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:22:25 2019 New Revision: 349676 URL: https://svnweb.freebsd.org/changeset/base/349676 Log: MFC r349297: Remove redundand 'else' and 'return'. Modified: stable/12/lib/libc/gen/libc_dlopen.c Directory Properties: stable/12/ (props changed) Modified: stable

svn commit: r349677 - in head: sys/kern tools/test/callout_free

2019-07-03 Thread Eric van Gyzen
Author: vangyzen Date: Wed Jul 3 19:22:44 2019 New Revision: 349677 URL: https://svnweb.freebsd.org/changeset/base/349677 Log: Save the last callout function executed on each CPU Save the last callout function pointer (and its argument) executed on each CPU for inspection by a debugger.

svn commit: r349678 - stable/11/lib/libc/gen

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:23:20 2019 New Revision: 349678 URL: https://svnweb.freebsd.org/changeset/base/349678 Log: MFC r349297: Remove redundand 'else' and 'return'. Modified: stable/11/lib/libc/gen/libc_dlopen.c Directory Properties: stable/11/ (props changed) Modified: stable

svn commit: r349679 - in stable/12/lib: libc/gen libc/include libthr/thread

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:24:50 2019 New Revision: 349679 URL: https://svnweb.freebsd.org/changeset/base/349679 Log: MFC r349299: Add libc stub for pthread_getthreadid_np(3). PR: 238650 Modified: stable/12/lib/libc/gen/Symbol.map stable/12/lib/libc/gen/_pthread_stubs.c stab

svn commit: r349680 - stable/12/sys/powerpc/booke

2019-07-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 3 19:25:57 2019 New Revision: 349680 URL: https://svnweb.freebsd.org/changeset/base/349680 Log: MFC r347167,r348079 Book-E pmap r347167: powerpc/booke: Use #ifdef __powerpc64__ instead of hw_direct_map in places r348079: powerpc/booke: Use wrtee inst

svn commit: r349681 - stable/12/sys/amd64/amd64

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:27:34 2019 New Revision: 349681 URL: https://svnweb.freebsd.org/changeset/base/349681 Log: MFC r349427: amd64 pmap: Fix pkru handling in pmap_remove(). Modified: stable/12/sys/amd64/amd64/pmap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r349682 - stable/12/lib/libc/sys

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:28:47 2019 New Revision: 349682 URL: https://svnweb.freebsd.org/changeset/base/349682 Log: MFC r349511: Typo. Modified: stable/12/lib/libc/sys/procctl.2 Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libc/sys/procctl.2 =

svn commit: r349683 - stable/12/usr.bin/proccontrol

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:29:53 2019 New Revision: 349683 URL: https://svnweb.freebsd.org/changeset/base/349683 Log: MFC r349512: Mention proccontrol(1) -m kpti. Modified: stable/12/usr.bin/proccontrol/proccontrol.1 Directory Properties: stable/12/ (props changed) Modified: stabl

svn commit: r349684 - stable/12/sys/kern

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:31:11 2019 New Revision: 349684 URL: https://svnweb.freebsd.org/changeset/base/349684 Log: MFC r349519: Style. Modified: stable/12/sys/kern/kern_umtx.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/kern/kern_umtx.c

svn commit: r349685 - stable/11/sys/kern

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:31:47 2019 New Revision: 349685 URL: https://svnweb.freebsd.org/changeset/base/349685 Log: MFC r349519: Style. Modified: stable/11/sys/kern/kern_umtx.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/kern/kern_umtx.c

svn commit: r349686 - in stable/12/sys/powerpc: aim include powerpc

2019-07-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 3 19:32:25 2019 New Revision: 349686 URL: https://svnweb.freebsd.org/changeset/base/349686 Log: MFC r346777: powerpc: Add POWER8NVL definition The POWER8NVL (POWER8 NVLink) architecturally behaves identically to the POWER8, with a different PVR identif

svn commit: r349687 - stable/12/sys/kern

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:34:17 2019 New Revision: 349687 URL: https://svnweb.freebsd.org/changeset/base/349687 Log: MFC r349320, r349324: coredump: avoid writing to core files not owned by the effective user. PR: 68905 admbugs: 358 Modified: stable/12/sys/kern/kern_sig.

svn commit: r349688 - in stable/11/lib: libc/gen libc/include libthr/thread

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:42:36 2019 New Revision: 349688 URL: https://svnweb.freebsd.org/changeset/base/349688 Log: MFC r349299: Add libc stub for pthread_getthreadid_np(3). PR: 238650 Modified: stable/11/lib/libc/gen/Symbol.map stable/11/lib/libc/gen/_pthread_stubs.c stab

svn commit: r349689 - stable/11/sys/kern

2019-07-03 Thread Konstantin Belousov
Author: kib Date: Wed Jul 3 19:46:05 2019 New Revision: 349689 URL: https://svnweb.freebsd.org/changeset/base/349689 Log: MFC r349320, r349324: coredump: avoid writing to core files not owned by the effective user. PR: 68905 admbugs: 358 Modified: stable/11/sys/kern/kern_sig.

svn commit: r349690 - stable/12/usr.sbin/bhyve

2019-07-03 Thread Eric van Gyzen
Author: vangyzen Date: Wed Jul 3 19:50:22 2019 New Revision: 349690 URL: https://svnweb.freebsd.org/changeset/base/349690 Log: MFC r349278 bhyve: Fix vtscsi maximum segment config The seg_max value reported to the guest should be two less than the host's maximum, in order to leave r

svn commit: r349691 - stable/12/sys/dev/virtio/scsi

2019-07-03 Thread Eric van Gyzen
Author: vangyzen Date: Wed Jul 3 19:52:24 2019 New Revision: 349691 URL: https://svnweb.freebsd.org/changeset/base/349691 Log: MFC r349285 VirtIO SCSI: validate seg_max on attach Until head r349278 (stable/12 r349690), bhyve presented a seg_max to the guest that was too large. Det

svn commit: r349692 - stable/12/usr.sbin/bhyve

2019-07-03 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jul 3 19:54:37 2019 New Revision: 349692 URL: https://svnweb.freebsd.org/changeset/base/349692 Log: MFC r348834 bhyve: vtnet: simplify thread synchronization On vtnet device reset it is necessary to wait for threads to stop TX and RX processing. However,

svn commit: r349693 - stable/11/sys/dev/virtio/scsi

2019-07-03 Thread Eric van Gyzen
Author: vangyzen Date: Wed Jul 3 19:54:56 2019 New Revision: 349693 URL: https://svnweb.freebsd.org/changeset/base/349693 Log: MFC r349285 VirtIO SCSI: validate seg_max on attach Until head r349278 (stable/12 r349690), bhyve presented a seg_max to the guest that was too large. Det

svn commit: r349694 - stable/12/usr.sbin/bhyve

2019-07-03 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jul 3 19:56:05 2019 New Revision: 349694 URL: https://svnweb.freebsd.org/changeset/base/349694 Log: MFC r348929 bhyve: virtio: introduce vq_kick_enable() and vq_kick_disable() The VirtIO standard supports two schemes for notification suppression: a notifi

svn commit: r349695 - stable/12/usr.sbin/bhyve

2019-07-03 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jul 3 19:57:23 2019 New Revision: 349695 URL: https://svnweb.freebsd.org/changeset/base/349695 Log: MFC r349019 bhyve: move common code to net_utils.c Both virtio_net and e82545 network frontends have code to validate and generate MAC addresses. These fun

svn commit: r349696 - stable/12/usr.sbin/bhyve

2019-07-03 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jul 3 19:59:48 2019 New Revision: 349696 URL: https://svnweb.freebsd.org/changeset/base/349696 Log: MFC r349175 bhyve: vtnet: fix locking on receive The vsc_rx_ready and the RX virtqueue is protected by the rx_mtx lock. However, pci_vtnet_ping_rxq() (curr

svn commit: r349697 - head/sys/vm

2019-07-03 Thread Ed Maste
Author: emaste Date: Wed Jul 3 19:59:56 2019 New Revision: 349697 URL: https://svnweb.freebsd.org/changeset/base/349697 Log: correct pmap_ts_referenced return type pmap_ts_referenced returns a count, not a boolean, and is supposed to have int as the return type not boolean_t. This w

svn commit: r349698 - stable/11/usr.sbin/bhyve

2019-07-03 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jul 3 20:05:25 2019 New Revision: 349698 URL: https://svnweb.freebsd.org/changeset/base/349698 Log: MFC r348834 bhyve: vtnet: simplify thread synchronization On vtnet device reset it is necessary to wait for threads to stop TX and RX processing. However,

svn commit: r349699 - stable/12/sys/fs/smbfs

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:14:43 2019 New Revision: 349699 URL: https://svnweb.freebsd.org/changeset/base/349699 Log: MFC r349334: Remove a lingering use of splbio(). Modified: stable/12/sys/fs/smbfs/smbfs_io.c Directory Properties: stable/12/ (props changed) Modified: stable/12

svn commit: r349700 - stable/12/sys/ufs/ffs

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:15:09 2019 New Revision: 349700 URL: https://svnweb.freebsd.org/changeset/base/349700 Log: MFC r349419: Remove references to splbio in ffs_softdep.c. Modified: stable/12/sys/ufs/ffs/ffs_softdep.c Directory Properties: stable/12/ (props changed) Modifie

svn commit: r349701 - in stable/12/sys: amd64/sgx dev/drm2/ttm vm

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:17:26 2019 New Revision: 349701 URL: https://svnweb.freebsd.org/changeset/base/349701 Log: MFC r349432: Add a return value to vm_page_remove(). Modified: stable/12/sys/amd64/sgx/sgx.c stable/12/sys/dev/drm2/ttm/ttm_bo_vm.c stable/12/sys/vm/device_pager.

svn commit: r349703 - stable/12/sys/vm

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:18:49 2019 New Revision: 349703 URL: https://svnweb.freebsd.org/changeset/base/349703 Log: MFC r349218: Group vm_page_activate()'s definition with other related functions. Modified: stable/12/sys/vm/vm_page.c Directory Properties: stable/12/ (props chan

svn commit: r349702 - stable/12

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:18:05 2019 New Revision: 349702 URL: https://svnweb.freebsd.org/changeset/base/349702 Log: Add mergeinfo missed in r349701. Modified: Directory Properties: stable/12/ (props changed) ___ svn-src-all@freebsd.org ma

svn commit: r349704 - stable/11/usr.sbin/bhyve

2019-07-03 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Jul 3 20:22:36 2019 New Revision: 349704 URL: https://svnweb.freebsd.org/changeset/base/349704 Log: MFC r348929 bhyve: virtio: introduce vq_kick_enable() and vq_kick_disable() The VirtIO standard supports two schemes for notification suppression: a notifi

svn commit: r349705 - stable/12/contrib/elftoolchain/elfcopy

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:52:07 2019 New Revision: 349705 URL: https://svnweb.freebsd.org/changeset/base/349705 Log: MFC r349423 elfcopy: Provide a size hint when creating the section string table. Modified: stable/12/contrib/elftoolchain/elfcopy/sections.c Directory Properties: s

svn commit: r349706 - head

2019-07-03 Thread Tijl Coosemans
Author: tijl Date: Wed Jul 3 20:52:10 2019 New Revision: 349706 URL: https://svnweb.freebsd.org/changeset/base/349706 Log: Fix path of lib32 libcasper. Reported by: jhb MFC after:1 week Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ===

Re: svn commit: r349640 - head

2019-07-03 Thread Tijl Coosemans
On Wed, 3 Jul 2019 09:11:53 -0700 John Baldwin wrote: > On 7/3/19 2:08 AM, Tijl Coosemans wrote: >> Author: tijl >> Date: Wed Jul 3 09:08:17 2019 >> New Revision: 349640 >> URL: https://svnweb.freebsd.org/changeset/base/349640 >> >> Log: >> Also remove lib32 version of libcasper.so.0. >> >> M

svn commit: r349707 - stable/12/contrib/elftoolchain/libelftc

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:53:05 2019 New Revision: 349707 URL: https://svnweb.freebsd.org/changeset/base/349707 Log: MFC r349420 libelftc: Micro-optimize string table insertion. Modified: stable/12/contrib/elftoolchain/libelftc/elftc_string_table.c Directory Properties: stable/12/

svn commit: r349708 - stable/12/contrib/elftoolchain/libelftc

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:54:36 2019 New Revision: 349708 URL: https://svnweb.freebsd.org/changeset/base/349708 Log: MFC r349421: libelftc: Consistently use size_t for string table offsets and sizes. Modified: stable/12/contrib/elftoolchain/libelftc/elftc_string_table.c stable/12/

svn commit: r349709 - stable/12/contrib/elftoolchain/libelftc

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:54:52 2019 New Revision: 349709 URL: https://svnweb.freebsd.org/changeset/base/349709 Log: MFC r349422: libelftc: Fix the documented prototype for elftc_string_table_destroy(). Modified: stable/12/contrib/elftoolchain/libelftc/elftc_string_table_create.3 Di

svn commit: r349710 - stable/12/contrib/elftoolchain/libdwarf

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 20:55:08 2019 New Revision: 349710 URL: https://svnweb.freebsd.org/changeset/base/349710 Log: MFC r349424: libdwarf: Use the cached strtab pointer when reading string attributes. Modified: stable/12/contrib/elftoolchain/libdwarf/libdwarf_attr.c Directory Prope

Re: svn commit: r349641 - head/tools/build/mk

2019-07-03 Thread Tijl Coosemans
On Wed, 3 Jul 2019 09:14:48 -0700 John Baldwin wrote: > On 7/3/19 2:14 AM, Tijl Coosemans wrote: >> Author: tijl >> Date: Wed Jul 3 09:14:39 2019 >> New Revision: 349641 >> URL: https://svnweb.freebsd.org/changeset/base/349641 >> >> Log: >> Also remove lib32 versions of libradius. >> >> M

svn commit: r349711 - head/sys/dev/iwm

2019-07-03 Thread Mark Johnston
Author: markj Date: Wed Jul 3 21:05:40 2019 New Revision: 349711 URL: https://svnweb.freebsd.org/changeset/base/349711 Log: iwm: Drain callouts after stopping the device during detach. Otherwise there is a window where they may be rescheduled. This typically manifested as a page fault s

svn commit: r349712 - stable/12/sys/kern

2019-07-03 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 3 21:30:18 2019 New Revision: 349712 URL: https://svnweb.freebsd.org/changeset/base/349712 Log: MFC r348299 kern/CTF: link_elf_ctf_get() on big endian platforms Check the CTF magic number in big endian platforms. This lets DTrace FBT handle types corr

svn commit: r349713 - head/sys/vm

2019-07-03 Thread Doug Moore
Author: dougm Date: Wed Jul 3 22:41:54 2019 New Revision: 349713 URL: https://svnweb.freebsd.org/changeset/base/349713 Log: Eliminate a goto and a label in vm_map_wire_locked by inserting an 'else'. Reviewed by: alc Approved by: kib, markj (mentors, implicit) Differential Revision: htt

svn commit: r349714 - head/sys/dev/proto

2019-07-03 Thread Marcel Moolenaar
Author: marcel Date: Thu Jul 4 02:51:34 2019 New Revision: 349714 URL: https://svnweb.freebsd.org/changeset/base/349714 Log: Lock busdma operations and serialize detach against open/close Use sx to allow M_WAITOK allocations (suggested by markj). admbugs: 782 Reviewed by: markj Mo

svn commit: r349715 - in stable: 11/sbin/ipf/ipmon 11/tools/build/mk 12/sbin/ipf/ipmon 12/tools/build/mk

2019-07-03 Thread Cy Schubert
Author: cy Date: Thu Jul 4 03:04:41 2019 New Revision: 349715 URL: https://svnweb.freebsd.org/changeset/base/349715 Log: MFC r349449, r349452: Add the ipmon.5 man page and link ipmon.conf.5 to it. PR/238816 initially addressed updates to usage() however the PR has morphed into a sho

svn commit: r349715 - in stable: 11/sbin/ipf/ipmon 11/tools/build/mk 12/sbin/ipf/ipmon 12/tools/build/mk

2019-07-03 Thread Cy Schubert
Author: cy Date: Thu Jul 4 03:04:41 2019 New Revision: 349715 URL: https://svnweb.freebsd.org/changeset/base/349715 Log: MFC r349449, r349452: Add the ipmon.5 man page and link ipmon.conf.5 to it. PR/238816 initially addressed updates to usage() however the PR has morphed into a sho

svn commit: r349716 - in stable: 11/contrib/ipfilter/tools 12/contrib/ipfilter/tools

2019-07-03 Thread Cy Schubert
Author: cy Date: Thu Jul 4 03:08:14 2019 New Revision: 349716 URL: https://svnweb.freebsd.org/changeset/base/349716 Log: MFC r349450-349451: Update usage() to refect the current state of ipmon. PR: 238816 Modified: stable/11/contrib/ipfilter/tools/ipmon.c Directory Properties:

svn commit: r349716 - in stable: 11/contrib/ipfilter/tools 12/contrib/ipfilter/tools

2019-07-03 Thread Cy Schubert
Author: cy Date: Thu Jul 4 03:08:14 2019 New Revision: 349716 URL: https://svnweb.freebsd.org/changeset/base/349716 Log: MFC r349450-349451: Update usage() to refect the current state of ipmon. PR: 238816 Modified: stable/12/contrib/ipfilter/tools/ipmon.c Directory Properties: