svn commit: r322613 - head/bin/pkill

2017-08-16 Thread Lawrence Stewart
Author: lstewart Date: Thu Aug 17 06:36:21 2017 New Revision: 322613 URL: https://svnweb.freebsd.org/changeset/base/322613 Log: The r322210 change to pgrep's PID delimiting behaviour causes pgrep's default output to not include a trailing new line, which is a potential POLA violation for exi

svn commit: r322611 - head/sys/x86/x86

2017-08-16 Thread Conrad Meyer
Author: cem Date: Thu Aug 17 04:37:27 2017 New Revision: 322611 URL: https://svnweb.freebsd.org/changeset/base/322611 Log: Fix unused varable warning in !SMP case Fallout from r322588. I'm not sure why !SMP is a knob we have, but, we have it. Reported by: Michael Butler Sponsore

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

2017-08-16 Thread John Baldwin
Author: jhb Date: Wed Aug 16 23:40:32 2017 New Revision: 322601 URL: https://svnweb.freebsd.org/changeset/base/322601 Log: Mark ZFS ABD inline functions static. When built with -fno-inline-functions zfs.ko contains undefined references to these functions if they are only marked inline.

svn commit: r322600 - head/sys/crypto/aesni

2017-08-16 Thread Ryan Libby
Author: rlibby Date: Wed Aug 16 22:54:35 2017 New Revision: 322600 URL: https://svnweb.freebsd.org/changeset/base/322600 Log: aesni: quiet -Wcast-qual Reviewed by: delphij Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd

svn commit: r322596 - head/sys/sys

2017-08-16 Thread Conrad Meyer
Author: cem Date: Wed Aug 16 21:42:27 2017 New Revision: 322596 URL: https://svnweb.freebsd.org/changeset/base/322596 Log: Add SI_SUB_TASKQ after SI_SUB_INTR and move taskqueue initialization there for EARLY_AP_STARTUP This fixes a regression accidentally introduced in r322588, due to an

Re: svn commit: r322338 - head/sys/net

2017-08-16 Thread Gleb Smirnoff
On Wed, Aug 16, 2017 at 01:43:27PM -0700, Gleb Smirnoff wrote: T> S> MPASS(m->m_nextpkt == NULL); T> S> - T> S> - m_free(m); T> S> + /* if the number of clusters exceeds the number of segments T> S> +

Re: svn commit: r322338 - head/sys/net

2017-08-16 Thread Gleb Smirnoff
Hi, On Thu, Aug 10, 2017 at 03:43:23AM +, Sean Bruno wrote: S> Author: sbruno S> Date: Thu Aug 10 03:43:23 2017 S> New Revision: 322338 S> URL: https://svnweb.freebsd.org/changeset/base/322338 S> S> Log: S> Don't leak mbufs if clusers exceeds the number of segments. This would S> leak

svn commit: r322593 - head/sys/boot/efi/include

2017-08-16 Thread Warner Losh
Author: imp Date: Wed Aug 16 20:09:39 2017 New Revision: 322593 URL: https://svnweb.freebsd.org/changeset/base/322593 Log: Define proposed GUID for FreeBSD boot loader variables. Modified: head/sys/boot/efi/include/efi.h Modified: head/sys/boot/efi/include/efi.h =

Re: svn commit: r320944 - head/etc/rc.d

2017-08-16 Thread Gleb Smirnoff
Emmanuel, On Wed, Aug 16, 2017 at 04:08:50PM +0200, Emmanuel Vadot wrote: E> > It could be that using "netgraph" action instead of "ngtee" and then E> > returning packet back from netgraph to ipfw would show lower overhead. E> > However, this setup is definitely going to be less robust and more

svn commit: r322592 - head/sys/boot/efi/include

2017-08-16 Thread Warner Losh
Author: imp Date: Wed Aug 16 20:06:38 2017 New Revision: 322592 URL: https://svnweb.freebsd.org/changeset/base/322592 Log: Remove unused defines. Modified: head/sys/boot/efi/include/efi.h Modified: head/sys/boot/efi/include/efi.h ==

svn commit: r322590 - head/sys/net

2017-08-16 Thread Kristof Provost
Author: kp Date: Wed Aug 16 19:40:07 2017 New Revision: 322590 URL: https://svnweb.freebsd.org/changeset/base/322590 Log: bpf: Fix incorrect cleanup Cleaning up a bpf_if is a two stage process. We first move it to the bpf_freelist (in bpfdetach()) and only later do we actually free it (in

svn commit: r322589 - head/lib/libc/i386

2017-08-16 Thread Ed Maste
Author: emaste Date: Wed Aug 16 18:55:39 2017 New Revision: 322589 URL: https://svnweb.freebsd.org/changeset/base/322589 Log: force use of ld.bfd for linking i386 libc, even when using lld lld can successfully link most of a working i386 userland and kernel, but produces a broken libc. Fo

svn commit: r322588 - in head/sys: amd64/include i386/include x86/x86

2017-08-16 Thread Conrad Meyer
Author: cem Date: Wed Aug 16 18:48:53 2017 New Revision: 322588 URL: https://svnweb.freebsd.org/changeset/base/322588 Log: x86: Add dynamic interrupt rebalancing Add an option to dynamically rebalance interrupts across cores (hw.intrbalance); off by default. The goal is to minimize p

svn commit: r322585 - in head: . share/mk sys/conf

2017-08-16 Thread Bryan Drewery
Author: bdrewery Date: Wed Aug 16 17:54:24 2017 New Revision: 322585 URL: https://svnweb.freebsd.org/changeset/base/322585 Log: Quote ${MAKE} when passing in env in case it contains spaces. Downstream we are wrapping MAKE with a limits(1) call which interferes with these non-quoted cases.

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

2017-08-16 Thread Ed Maste
Author: emaste Date: Wed Aug 16 17:22:42 2017 New Revision: 322581 URL: https://svnweb.freebsd.org/changeset/base/322581 Log: remove debug files in delete-old* when WITHOUT_DEBUG_FILES Reported by: brd Reviewed by: bdrewery, brd MFC after:2 weeks Sponsored by: The FreeBSD Founda

svn commit: r322580 - head/sys/kern

2017-08-16 Thread Ian Lepore
Author: ian Date: Wed Aug 16 16:51:55 2017 New Revision: 322580 URL: https://svnweb.freebsd.org/changeset/base/322580 Log: Fix compile error with option DEBUG. This is fallout from some long-ago INTRNG refactoring that didn't get caught at the time because code in a debugf() statement isn't

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

2017-08-16 Thread Bruce Evans
Author: bde Date: Wed Aug 16 15:14:46 2017 New Revision: 322579 URL: https://svnweb.freebsd.org/changeset/base/322579 Log: Fix setting of the border color. Teken doesn't support syscons' escape sequence "ESC [ %d A" for this although that was used here. I will fix teken later, but use the

Re: svn commit: r320944 - head/etc/rc.d

2017-08-16 Thread Emmanuel Vadot
Hi Gleb, On Tue, 15 Aug 2017 15:49:29 -0700 Gleb Smirnoff wrote: > Emmanuel, > > On Thu, Jul 13, 2017 at 01:40:18PM +, Emmanuel Vadot wrote: > E> Author: manu > E> Date: Thu Jul 13 13:40:18 2017 > E> New Revision: 320944 > E> URL: https://svnweb.freebsd.org/changeset/base/320944 > E> >

svn commit: r322578 - head/sys/amd64/sgx

2017-08-16 Thread Ruslan Bukin
Author: br Date: Wed Aug 16 13:44:46 2017 New Revision: 322578 URL: https://svnweb.freebsd.org/changeset/base/322578 Log: Rename macro DEBUG to SGX_DEBUG. This fixes LINT kernel build. Reported by: lwhsu Sponsored by: DARPA, AFRL Modified: head/sys/amd64/sgx/sgx.c Modified: head

svn commit: r322575 - in head/sys: dev/syscons sys

2017-08-16 Thread Bruce Evans
Author: bde Date: Wed Aug 16 10:59:37 2017 New Revision: 322575 URL: https://svnweb.freebsd.org/changeset/base/322575 Log: Undeprecate the CONS_CURSORTYPE ioctl. It was "deprecated" in 2001, but it was actually extended then and it is still used (just once) in /usr/src by its primary user (

svn commit: r322574 - in head/sys: amd64/include amd64/sgx modules modules/sgx modules/sgx_linux

2017-08-16 Thread Ruslan Bukin
Author: br Date: Wed Aug 16 10:38:06 2017 New Revision: 322574 URL: https://svnweb.freebsd.org/changeset/base/322574 Log: Add support for Intel Software Guard Extensions (Intel SGX). Intel SGX allows to manage isolated compartments "Enclaves" in user VA space. Enclaves memory is part of p

svn commit: r322571 - head/sys/vm

2017-08-16 Thread Ruslan Bukin
Author: br Date: Wed Aug 16 08:49:11 2017 New Revision: 322571 URL: https://svnweb.freebsd.org/changeset/base/322571 Log: Add OBJ_PG_DTOR flag to VM object. Setting this flag allows us to skip pages removal from VM object queue during object termination and to leave that for cdev_pg_dtor