svn commit: r323602 - head/share/misc

2017-09-14 Thread Craig Leres
Author: leres (ports committer) Date: Fri Sep 15 00:08:36 2017 New Revision: 323602 URL: https://svnweb.freebsd.org/changeset/base/323602 Log: Add myself (leres) as a ports committer with ler and matthew as mentors. Reviewed by: matthew (mentor) Approved by: matthew (mentor)

svn commit: r323600 - head/sys/dev/cxgbe/crypto

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 21:06:08 2017 New Revision: 323600 URL: https://svnweb.freebsd.org/changeset/base/323600 Log: Fix some incorrect sysctl pointers for some error stats. The bad_session, sglist_error, and process_error sysctl nodes were returning the value of the pad_error node

svn commit: r323599 - head/usr.sbin/tcpdrop

2017-09-14 Thread Michael Tuexen
Author: tuexen Date: Thu Sep 14 20:42:19 2017 New Revision: 323599 URL: https://svnweb.freebsd.org/changeset/base/323599 Log: Bump date missed in r323596. Trim trailing whitespace. Sponsored by: Netflix, Inc. Modified: head/usr.sbin/tcpdrop/tcpdrop.8 Modified:

Re: svn commit: r323290 - head/sys/vm

2017-09-14 Thread Mark Johnston
On Thu, Sep 14, 2017 at 09:51:17PM +0200, Andreas Tobler wrote: > Hi Mark, > > On 07.09.17 23:43, Mark Johnston wrote: > > Author: markj > > Date: Thu Sep 7 21:43:39 2017 > > New Revision: 323290 > > URL: https://svnweb.freebsd.org/changeset/base/323290 > > > > Log: > >Speed up

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

2017-09-14 Thread Gleb Smirnoff
Steven, I don't want to MFC that, since that will hurt performance on stable/11 due to ACCEPT_LOCK(). On Thu, Sep 14, 2017 at 08:31:57AM +0100, Steven Hartland wrote: S> Is this something that will be MFC'ed to 11 or is this 12 / CURRENT only? S> S> On 13/09/2017 23:11, Gleb Smirnoff wrote:

Re: svn commit: r323290 - head/sys/vm

2017-09-14 Thread Andreas Tobler
Hi Mark, On 07.09.17 23:43, Mark Johnston wrote: Author: markj Date: Thu Sep 7 21:43:39 2017 New Revision: 323290 URL: https://svnweb.freebsd.org/changeset/base/323290 Log: Speed up vm_page_array initialization. We currently initialize the vm_page array in three passes: one to zero

svn commit: r323598 - head/lib/libedit

2017-09-14 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 14 19:50:07 2017 New Revision: 323598 URL: https://svnweb.freebsd.org/changeset/base/323598 Log: libedit: raise the warning level to 3. NetBSD has the warning level to 5 but that actually triggers -Wcast-qual. Modified: head/lib/libedit/Makefile Modified:

svn commit: r323597 - head/lib/libc/net

2017-09-14 Thread Konstantin Belousov
Author: kib Date: Thu Sep 14 19:18:24 2017 New Revision: 323597 URL: https://svnweb.freebsd.org/changeset/base/323597 Log: Silently handle freeaddrinfo(NULL) for compatibility with code which works on other OSes. Also avoid unnecessary NULL check, free(NULL) is valid. Reviewed by:

svn commit: r323596 - head/usr.sbin/tcpdrop

2017-09-14 Thread Michael Tuexen
Author: tuexen Date: Thu Sep 14 18:50:40 2017 New Revision: 323596 URL: https://svnweb.freebsd.org/changeset/base/323596 Log: Add a description how tcpdrop handles the case of specifying the -s and the -S option. Sponsored by: Netflix, Inc. Modified:

svn commit: r323594 - head/sys/kern

2017-09-14 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 14 18:05:54 2017 New Revision: 323594 URL: https://svnweb.freebsd.org/changeset/base/323594 Log: Fix locking in soisconnected(). When a newborn socket moves from incomplete queue to complete one, we need to obtain the listening socket lock after the child,

svn commit: r323593 - in head/sys: arm64/arm64 arm64/include conf

2017-09-14 Thread Andrew Turner
Author: andrew Date: Thu Sep 14 17:29:51 2017 New Revision: 323593 URL: https://svnweb.freebsd.org/changeset/base/323593 Log: Add support for handling undefined instructions in userspace and the kernel. We can register callbacks to perform the required operation on the saved registers

svn commit: r323589 - head/sys/boot/i386/libi386

2017-09-14 Thread Toomas Soome
Author: tsoome Date: Thu Sep 14 16:42:29 2017 New Revision: 323589 URL: https://svnweb.freebsd.org/changeset/base/323589 Log: loader: biosmem.c cstyle cleanup No functional changes, just cleanup. Reviewed by: allanjude, imp Differential Revision:

svn commit: r323588 - head/contrib/elftoolchain/readelf

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 16:41:24 2017 New Revision: 323588 URL: https://svnweb.freebsd.org/changeset/base/323588 Log: Recognize NT_PTLWPINFO and NT_ARM_VFP in FreeBSD ELF cores. Reviewed by: emaste MFC after:1 month Differential Revision:

svn commit: r323587 - head/sys/contrib/octeon-sdk

2017-09-14 Thread Ed Maste
Author: emaste Date: Thu Sep 14 16:41:22 2017 New Revision: 323587 URL: https://svnweb.freebsd.org/changeset/base/323587 Log: octeon sdk: initialize variable to quiet Clang warning Clang complains "variable 'dummy' is uninitialized when used here". Reported by: Clang MFC after:

Re: svn commit: r323580 - in head/sys/arm: arm include

2017-09-14 Thread Andrew Turner
> On 14 Sep 2017, at 15:54, John Baldwin wrote: > > On Thursday, September 14, 2017 02:30:44 PM John Baldwin wrote: >> Author: jhb >> Date: Thu Sep 14 14:30:43 2017 >> New Revision: 323580 >> URL: https://svnweb.freebsd.org/changeset/base/323580 >> >> Log: >> Add AT_HWCAP

Re: svn commit: r323580 - in head/sys/arm: arm include

2017-09-14 Thread John Baldwin
On Thursday, September 14, 2017 02:30:44 PM John Baldwin wrote: > Author: jhb > Date: Thu Sep 14 14:30:43 2017 > New Revision: 323580 > URL: https://svnweb.freebsd.org/changeset/base/323580 > > Log: > Add AT_HWCAP flags for VFP settings for FreeBSD/arm. > > These flags match the meaning

svn commit: r323586 - in head/sys/dev: amdsmn amdtemp intpm ioat ntb/ntb_hw

2017-09-14 Thread Conrad Meyer
Author: cem Date: Thu Sep 14 15:34:45 2017 New Revision: 323586 URL: https://svnweb.freebsd.org/changeset/base/323586 Log: Add PNP metadata to a few drivers An eventual devd(8) or other component should be able to scan buses and automatically load drivers that match device ids described

svn commit: r323585 - head/sys/x86/include

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 15:34:29 2017 New Revision: 323585 URL: https://svnweb.freebsd.org/changeset/base/323585 Log: Add AT_EHDRFLAGS and AT_HWCAP on amd64. x86 has two separate (but identical) list of AT_* constants and the earlier commit to add AT_HWCAP only updated the i386

svn commit: r323584 - in head: sys/arm/arm sys/sys usr.bin/gcore

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 15:07:48 2017 New Revision: 323584 URL: https://svnweb.freebsd.org/changeset/base/323584 Log: Add a NT_ARM_VFP ELF core note to hold VFP registers for each thread. The core note matches the format and layout of NT_ARM_VFP on Linux. Debuggers use the AT_HWCAP

svn commit: r323583 - in head/sys/arm: arm include

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 15:06:29 2017 New Revision: 323583 URL: https://svnweb.freebsd.org/changeset/base/323583 Log: Export get/set_vfpcontext from machdep.c. Should have been part of the previous commit to add ptrace operations for VFP registers. MFC after:1 month

svn commit: r323582 - in head: lib/libc/sys sys/arm/arm sys/arm/include sys/conf

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 15:03:43 2017 New Revision: 323582 URL: https://svnweb.freebsd.org/changeset/base/323582 Log: Add ptrace operations to fetch and store VFP registers. Reviewed by: mmel, kib MFC after:1 month Differential Revision:

svn commit: r323581 - head/sys/arm/arm

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 14:36:56 2017 New Revision: 323581 URL: https://svnweb.freebsd.org/changeset/base/323581 Log: Only mess with VFP state on the CPU for curthread for get/set_vfpcontext. Future changes will use these functions to fetch and store VFP state for threads other than

svn commit: r323580 - in head/sys/arm: arm include

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 14:30:43 2017 New Revision: 323580 URL: https://svnweb.freebsd.org/changeset/base/323580 Log: Add AT_HWCAP flags for VFP settings for FreeBSD/arm. These flags match the meaning and value of flags in Linux, though Linux has many more flags. Reviewed by:

svn commit: r323579 - in head/sys: arm/include arm64/include kern mips/include powerpc/include riscv/include sparc64/include sys x86/include

2017-09-14 Thread John Baldwin
Author: jhb Date: Thu Sep 14 14:26:55 2017 New Revision: 323579 URL: https://svnweb.freebsd.org/changeset/base/323579 Log: Add AT_HWCAP and AT_EHDRFLAGS on all platforms. A new 'u_long *sv_hwcap' field is added to 'struct sysentvec'. A process ABI can set this field to point to a value

svn commit: r323578 - in head/sys: cddl/compat/opensolaris/kern kern

2017-09-14 Thread Andriy Gapon
Author: avg Date: Thu Sep 14 08:47:06 2017 New Revision: 323578 URL: https://svnweb.freebsd.org/changeset/base/323578 Log: dounmount: do not release the mount point's reference on the covered vnode As long as mnt_ref is not zero there can be a consumer that might try to access

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

2017-09-14 Thread Steven Hartland
Is this something that will be MFC'ed to 11 or is this 12 / CURRENT only? On 13/09/2017 23:11, Gleb Smirnoff wrote: Author: glebius Date: Wed Sep 13 22:11:05 2017 New Revision: 323566 URL: https://svnweb.freebsd.org/changeset/base/323566 Log: Use soref() in sendfile(2) instead fhold() to