svn commit: r335695 - stable/11

2018-06-26 Thread Eitan Adler
Author: eadler Date: Wed Jun 27 04:58:39 2018 New Revision: 335695 URL: https://svnweb.freebsd.org/changeset/base/335695 Log: MFC r302776, r302799: mail(1): Bring some fixes from other BSDs. - Use varargs properly - Use pid_t - Better handling of error conditions on forked jobs.

svn commit: r335694 - stable/10/usr.bin/mail

2018-06-26 Thread Eitan Adler
Author: eadler Date: Wed Jun 27 04:56:01 2018 New Revision: 335694 URL: https://svnweb.freebsd.org/changeset/base/335694 Log: MFC r302776, r302799: mail(1): Bring some fixes from other BSDs. - Use varargs properly - Use pid_t - Better handling of error conditions on forked jobs.

svn commit: r335693 - stable/11/usr.bin/mail

2018-06-26 Thread Eitan Adler
Author: eadler Date: Wed Jun 27 04:37:22 2018 New Revision: 335693 URL: https://svnweb.freebsd.org/changeset/base/335693 Log: MFC r302776, r302799: mail(1): Bring some fixes from other BSDs. - Use varargs properly - Use pid_t - Better handling of error conditions on forked jobs.

svn commit: r335692 - in head/sys: kern sys

2018-06-26 Thread Warner Losh
Author: imp Date: Wed Jun 27 04:11:19 2018 New Revision: 335692 URL: https://svnweb.freebsd.org/changeset/base/335692 Log: Remove devctl_safe_quote since it's now unused. Sponsored by: Netflix Differential Review: https://reviews.freebsd.org/D16026 Modified: head/sys/kern/subr_bus.c

svn commit: r335689 - in head/sys: kern sys

2018-06-26 Thread Warner Losh
Author: imp Date: Wed Jun 27 04:10:48 2018 New Revision: 335689 URL: https://svnweb.freebsd.org/changeset/base/335689 Log: Create new devctl_safe_quote_sb to copy a source string into a struct sbuf to make it safe. Callers are expected to add the " " around it, if needed. Sponsored by:

svn commit: r335690 - head/sys/kern

2018-06-26 Thread Warner Losh
Author: imp Date: Wed Jun 27 04:11:09 2018 New Revision: 335690 URL: https://svnweb.freebsd.org/changeset/base/335690 Log: Fix devctl generation for core files. We have a problem with vn_fullpath_global when the file exists. Work around it by printing the full path if the core file name

svn commit: r335691 - head/sys/dev/pccard

2018-06-26 Thread Warner Losh
Author: imp Date: Wed Jun 27 04:11:14 2018 New Revision: 335691 URL: https://svnweb.freebsd.org/changeset/base/335691 Log: pccard: recode to use devctl_safe_quote_sb instead of devctl_safe_quote. Sponsored by: Netflix Differential Review: https://reviews.freebsd.org/D16026 Modified:

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

2018-06-26 Thread Marcelo Araujo
Author: araujo Date: Wed Jun 27 03:58:02 2018 New Revision: 335688 URL: https://svnweb.freebsd.org/changeset/base/335688 Log: MFC r333622, r334019, r334084 r333622: vq_getchain() can return -1 if some descriptor(s) are invalid and prints a diagnostic message. So we do a sanity checking

svn commit: r335687 - head/share/misc

2018-06-26 Thread Martin Wilke
Author: miwi Date: Wed Jun 27 03:50:11 2018 New Revision: 335687 URL: https://svnweb.freebsd.org/changeset/base/335687 Log: - Added myself to committers-src.dot Approved by: araujo (mentor) Differential Revision:https://reviews.freebsd.org/D16030 Modified:

svn commit: r335686 - stable/11/usr.bin/rctl

2018-06-26 Thread Eitan Adler
Author: eadler Date: Wed Jun 27 03:29:36 2018 New Revision: 335686 URL: https://svnweb.freebsd.org/changeset/base/335686 Log: MFC r334208: rctl:correct use of "vmem" instead of "vmemoryuse" PR: 228482 Modified: stable/11/usr.bin/rctl/rctl.8 Directory Properties: stable/11/

svn commit: r335685 - head/usr.bin/top

2018-06-26 Thread Daichi GOTO
Author: daichi Date: Wed Jun 27 02:55:30 2018 New Revision: 335685 URL: https://svnweb.freebsd.org/changeset/base/335685 Log: top(1): increased the maximum length of command shown by "-a" Reviewed by: eadler Approved by: gnn (mentor) Differential Revision:

svn commit: r335684 - head/sys/dev/cxgbe

2018-06-26 Thread Navdeep Parhar
Author: np Date: Wed Jun 27 01:51:17 2018 New Revision: 335684 URL: https://svnweb.freebsd.org/changeset/base/335684 Log: cxgbe(4): Do not leak the filters in the hashfilter table on module unload. MFC after:1 week Sponsored by: Chelsio Communications Modified:

svn commit: r335683 - head/usr.sbin/powerd

2018-06-26 Thread Eitan Adler
Author: eadler Date: Wed Jun 27 01:28:09 2018 New Revision: 335683 URL: https://svnweb.freebsd.org/changeset/base/335683 Log: powerd: correct ifdef check for ppc Reviewed by: jhibbits Modified: head/usr.sbin/powerd/powerd.c Modified: head/usr.sbin/powerd/powerd.c

svn commit: r335682 - head/sys/modules

2018-06-26 Thread Stephen J. Kiernan
Author: stevek Date: Tue Jun 26 23:28:03 2018 New Revision: 335682 URL: https://svnweb.freebsd.org/changeset/base/335682 Log: Partial revert of r335399 and r335400: Unhook the MAC/veriexec, fingerprint handlers, and veriexec modules from the kernel modules Makefile. Reviewed by: sjg

svn commit: r335681 - head/sbin/veriexecctl

2018-06-26 Thread Stephen J. Kiernan
Author: stevek Date: Tue Jun 26 23:19:55 2018 New Revision: 335681 URL: https://svnweb.freebsd.org/changeset/base/335681 Log: Revert r335402 While useful as an example, veriexecctl, as it is, has very little practical use, since there is nothing ensuring the integrity of the manifest of

svn commit: r335680 - head/usr.sbin/cxgbetool

2018-06-26 Thread Navdeep Parhar
Author: np Date: Tue Jun 26 21:56:06 2018 New Revision: 335680 URL: https://svnweb.freebsd.org/changeset/base/335680 Log: cxgbetool(8): Reject invalid VLAN values. Submitted by: Krishnamraju Eraparaju @ Chelsio MFC after:1 week Sponsored by: Chelsio Communications Modified:

svn commit: r335679 - head/tests/sys/audit

2018-06-26 Thread Alan Somers
Author: asomers Date: Tue Jun 26 20:26:57 2018 New Revision: 335679 URL: https://svnweb.freebsd.org/changeset/base/335679 Log: audit(4): add tests for the process-control audit class Tested syscalls include rfork(2), chdir(2), fchdir(2), chroot(2), getresuid(2), getresgid(2),

svn commit: r335678 - head/lib/libcasper/services/cap_pwd

2018-06-26 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Jun 26 19:57:47 2018 New Revision: 335678 URL: https://svnweb.freebsd.org/changeset/base/335678 Log: [libcasper] Use explicit_bzero instead of memset to clear pwd struct Submitted by: David Carlier Differential Revision:

svn commit: r335677 - head/tests/sys/audit

2018-06-26 Thread Alan Somers
Author: asomers Date: Tue Jun 26 19:26:07 2018 New Revision: 335677 URL: https://svnweb.freebsd.org/changeset/base/335677 Log: audit(4): add tests for pipe, posix_openpt, shm_open, and shm_unlink Submitted by: aniketp MFC after:2 weeks Sponsored by: Google, Inc. (GSoC 2018)

svn commit: r335676 - head/sys/modules

2018-06-26 Thread Ed Maste
Author: emaste Date: Tue Jun 26 19:13:49 2018 New Revision: 335676 URL: https://svnweb.freebsd.org/changeset/base/335676 Log: Correct linprocfs/linsysfs arch check in r335672 Pointy hat to:emaste Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r335675 - head/contrib/file/magic/Magdir

2018-06-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jun 26 18:53:52 2018 New Revision: 335675 URL: https://svnweb.freebsd.org/changeset/base/335675 Log: Fix file(1) dumpdate reporting for dump(8) files Magic file for dump(8) had this dump and previous dump dates reversed. Fix order for all three flavours of the

svn commit: r335674 - head/sys/vm

2018-06-26 Thread Alan Cox
Author: alc Date: Tue Jun 26 18:29:56 2018 New Revision: 335674 URL: https://svnweb.freebsd.org/changeset/base/335674 Log: Update the physical page selection strategy used by vm_page_import() so that it does not cause rapid fragmentation of the free physical memory. Reviewed by: jeff,

svn commit: r335673 - in head: etc/defaults etc/rc.d lib/geom/eli share/man/man5

2018-06-26 Thread Ben Woods
Author: woodsb02 (ports committer) Date: Tue Jun 26 18:07:16 2018 New Revision: 335673 URL: https://svnweb.freebsd.org/changeset/base/335673 Log: geli attach multiple providers Allow attaching of multiple geli providers at once if they use same passphrase and keyfiles. This is

svn commit: r335672 - head/sys/modules

2018-06-26 Thread Ed Maste
Author: emaste Date: Tue Jun 26 16:50:41 2018 New Revision: 335672 URL: https://svnweb.freebsd.org/changeset/base/335672 Log: Build linprocfs and linsysfs also on arm64 Sponsored by: Turing Robotic Industries Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r335671 - head/share/man/man9

2018-06-26 Thread Conrad Meyer
Author: cem Date: Tue Jun 26 16:20:19 2018 New Revision: 335671 URL: https://svnweb.freebsd.org/changeset/base/335671 Log: atomic.9: Add missing MLINK for testandclear, thread_fence routines Missed in r299912, r326982. X-MFC-With: r299912, r326982 Sponsored by: Dell EMC Isilon

Re: svn commit: r335629 - in head: share/man/man4 sys/dev/vt/hw/vga

2018-06-26 Thread Ian Lepore
On Tue, 2018-06-26 at 08:55 -0700, Rodney W. Grimes wrote: > > > > On Tue, Jun 26, 2018 at 05:21:27AM +, Alexey Dokuchaev wrote: > > > > > > On Mon, Jun 25, 2018 at 08:43:51AM -0700, Rodney W. Grimes wrote: > > > > > > > > > > > > > > New Revision: 335629 > > > > > URL:

svn commit: r335670 - in stable: 10 11

2018-06-26 Thread Glen Barber
Author: gjb Date: Tue Jun 26 16:16:08 2018 New Revision: 335670 URL: https://svnweb.freebsd.org/changeset/base/335670 Log: MFC r325107, r335665: r325107 (eadler, partial): Update the updating URL in UPDATING. r335665: Use the 'Updating from Source' Handbook section in UPDATING.

svn commit: r335670 - in stable: 10 11

2018-06-26 Thread Glen Barber
Author: gjb Date: Tue Jun 26 16:16:08 2018 New Revision: 335670 URL: https://svnweb.freebsd.org/changeset/base/335670 Log: MFC r325107, r335665: r325107 (eadler, partial): Update the updating URL in UPDATING. r335665: Use the 'Updating from Source' Handbook section in UPDATING.

svn commit: r335669 - head/lib/libusb

2018-06-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 26 16:00:16 2018 New Revision: 335669 URL: https://svnweb.freebsd.org/changeset/base/335669 Log: Improve the userspace USB string reading function in LibUSB. Some USB devices does not allow a partial descriptor readout. Found by: bz @ MFC

Re: svn commit: r335629 - in head: share/man/man4 sys/dev/vt/hw/vga

2018-06-26 Thread Rodney W. Grimes
> On Tue, Jun 26, 2018 at 05:21:27AM +, Alexey Dokuchaev wrote: > > On Mon, Jun 25, 2018 at 08:43:51AM -0700, Rodney W. Grimes wrote: > > > > New Revision: 335629 > > > > URL: https://svnweb.freebsd.org/changeset/base/335629 > > > > > > > > Log: > > > > vt: add option to ignore NO_VGA flag

svn commit: r335668 - head/sys/x86/xen

2018-06-26 Thread Roger Pau Monné
Author: royger Date: Tue Jun 26 15:00:54 2018 New Revision: 335668 URL: https://svnweb.freebsd.org/changeset/base/335668 Log: xen: obtain vCPU ID from CPUID The Xen vCPU ID can be fetched from the cpuid instead of inferring it from the ACPI ID. Sponsored by: Citrix Systems R

svn commit: r335667 - stable/11/release/doc/en_US.ISO8859-1/errata

2018-06-26 Thread Glen Barber
Author: gjb Date: Tue Jun 26 14:48:23 2018 New Revision: 335667 URL: https://svnweb.freebsd.org/changeset/base/335667 Log: Add an errata note that the URL in UPDATING for source-based upgrades is incorrect. PR: 229345 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r335666 - head/sys/x86/xen

2018-06-26 Thread Roger Pau Monné
Author: royger Date: Tue Jun 26 14:39:27 2018 New Revision: 335666 URL: https://svnweb.freebsd.org/changeset/base/335666 Log: xen: limit the number of hypercall pages to 1 The interface already guarantees that the number of hypercall pages is always going to be 1, see the comment in

svn commit: r335665 - head

2018-06-26 Thread Glen Barber
Author: gjb Date: Tue Jun 26 14:30:33 2018 New Revision: 335665 URL: https://svnweb.freebsd.org/changeset/base/335665 Log: Use the 'Updating from Source' Handbook section in UPDATING. PR: 229345 (related) Sponsored by: The FreeBSD Foundation Modified: head/UPDATING

svn commit: r335664 - head/sys/dev/xen/netback

2018-06-26 Thread Roger Pau Monné
Author: royger Date: Tue Jun 26 14:07:11 2018 New Revision: 335664 URL: https://svnweb.freebsd.org/changeset/base/335664 Log: xen-netback: fix LOR lock order reversal: (sleepable after non-sleepable) 1st 0xfe00357ff538 xnb_softc (xen netback softc lock) @

svn commit: r335663 - stable/11/release/doc/en_US.ISO8859-1/errata

2018-06-26 Thread Glen Barber
Author: gjb Date: Tue Jun 26 14:01:03 2018 New Revision: 335663 URL: https://svnweb.freebsd.org/changeset/base/335663 Log: Document that a few device drivers were omitted from the 11.2 hardware page. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r335662 - stable/11/release/doc/en_US.ISO8859-1/hardware

2018-06-26 Thread Glen Barber
Author: gjb Date: Tue Jun 26 13:53:33 2018 New Revision: 335662 URL: https://svnweb.freebsd.org/changeset/base/335662 Log: Add a few missing drivers to the 11-STABLE hardware page. Submitted by: Grzegorz Junka list1 _@t_ gjunka.com Sponsored by: The FreeBSD Foundation Modified:

svn commit: r335661 - stable/11/release/doc/en_US.ISO8859-1/errata

2018-06-26 Thread Glen Barber
Author: gjb Date: Tue Jun 26 13:29:49 2018 New Revision: 335661 URL: https://svnweb.freebsd.org/changeset/base/335661 Log: Document an issue with emulators/virtualbox-ose reported in Bugzilla 228535. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r335660 - head/share/man/man9

2018-06-26 Thread Mark Johnston
Author: markj Date: Tue Jun 26 09:30:14 2018 New Revision: 335660 URL: https://svnweb.freebsd.org/changeset/base/335660 Log: Add missing MLINK. MFC after:3 days Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile

Re: svn commit: r334329 - head/sys/arm64/arm64

2018-06-26 Thread Patryk Duda
Could you provide some details about firmware? I would like to reproduce it on our ThunderX2. 2018-06-25 17:28 GMT+02:00 Andrew Turner : > I’ve not seen this on the ThunderX2 I have access to with the latest > firmware. You’ll need to find out why the kernel is trying to access the > memory,

svn commit: r335659 - in stable/11/sys: dev/uart kern sys x86/acpica

2018-06-26 Thread Andriy Gapon
Author: avg Date: Tue Jun 26 09:04:24 2018 New Revision: 335659 URL: https://svnweb.freebsd.org/changeset/base/335659 Log: MFC r334340: add support for console resuming, implement it for uart, use on x86 Modified: stable/11/sys/dev/uart/uart_tty.c stable/11/sys/kern/kern_cons.c

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

2018-06-26 Thread Andriy Gapon
Author: avg Date: Tue Jun 26 08:56:34 2018 New Revision: 335658 URL: https://svnweb.freebsd.org/changeset/base/335658 Log: MFC r333268: for bus suspend, detach and shutdown iterate children in reverse order Modified: stable/11/sys/kern/subr_bus.c Directory Properties: stable/11/ (props

svn commit: r335657 - in stable/11/sys: amd64/include dev/acpica i386/include x86/x86

2018-06-26 Thread Andriy Gapon
Author: avg Date: Tue Jun 26 08:35:58 2018 New Revision: 335657 URL: https://svnweb.freebsd.org/changeset/base/335657 Log: MFC r334204,r334338: re-synchronize TSC-s on SMP systems after resume Modified: stable/11/sys/amd64/include/clock.h stable/11/sys/dev/acpica/acpi.c

svn commit: r335656 - in stable/11/sys: dev/acpica kern sys

2018-06-26 Thread Andriy Gapon
Author: avg Date: Tue Jun 26 08:31:08 2018 New Revision: 335656 URL: https://svnweb.freebsd.org/changeset/base/335656 Log: MFC r333994: stop and restart kernel event timers in the suspend / resume cycle Modified: stable/11/sys/dev/acpica/acpi.c stable/11/sys/kern/kern_clocksource.c

Re: svn commit: r335629 - in head: share/man/man4 sys/dev/vt/hw/vga

2018-06-26 Thread Roger Pau Monné
On Tue, Jun 26, 2018 at 05:21:27AM +, Alexey Dokuchaev wrote: > On Mon, Jun 25, 2018 at 08:43:51AM -0700, Rodney W. Grimes wrote: > > > New Revision: 335629 > > > URL: https://svnweb.freebsd.org/changeset/base/335629 > > > > > > Log: > > > vt: add option to ignore NO_VGA flag in ACPI > > >

svn commit: r335655 - head/sbin/fsck_msdosfs

2018-06-26 Thread Xin LI
Author: delphij Date: Tue Jun 26 06:18:59 2018 New Revision: 335655 URL: https://svnweb.freebsd.org/changeset/base/335655 Log: Fix division by zero when reading boot block by postponing division until it is necessary and after we validated bytes per sector is non- zero. Obtained from: