svn commit: r320764 - head/sys/amd64/vmm/amd

2017-07-06 Thread Ryan Libby
Author: rlibby Date: Fri Jul 7 06:37:19 2017 New Revision: 320764 URL: https://svnweb.freebsd.org/changeset/base/320764 Log: amd-vi: gcc build errors amdvi_cmp_wait: gcc complained about a malformed string behind an ifdef. struct amdvi_dte: widen the type of the first reserved bitfiel

svn commit: r320763 - in releng/11.1: lib/libc/sys sys/sys sys/vm

2017-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 7 06:29:18 2017 New Revision: 320763 URL: https://svnweb.freebsd.org/changeset/base/320763 Log: Add MAP_GUARD and use it for stack grow area protection. Bump __FreeBSD_version. This is an MFS of stable/11 r320666. MFC r320317: Implement address space guards.

Re: svn commit: r320761 - head/sbin/init

2017-07-06 Thread Xin Li
Hi, Kostantin, On 7/6/17 22:43, Konstantin Belousov wrote: >> Modified: head/sbin/init/init.c >> == >> --- head/sbin/init/init.cFri Jul 7 00:34:51 2017(r320760) >> +++ head/sbin/init/init.cFri Jul 7 02:48

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

2017-07-06 Thread Konstantin Belousov
Author: kib Date: Fri Jul 7 05:43:44 2017 New Revision: 320762 URL: https://svnweb.freebsd.org/changeset/base/320762 Log: Improve BIT_FLS() documentation. Submitted by: Sebastian Huber MFC after:6 days Modified: head/share/man/man9/bitset.9 Modified: head/share/man/man9/bitset.9

Re: svn commit: r320761 - head/sbin/init

2017-07-06 Thread Konstantin Belousov
On Fri, Jul 07, 2017 at 02:48:55AM +, Xin LI wrote: > Author: delphij > Date: Fri Jul 7 02:48:55 2017 > New Revision: 320761 > URL: https://svnweb.freebsd.org/changeset/base/320761 > > Log: >- Use strlcat() instead of strncat(). >- Use asprintf() and handle allocation errors. > >

svn commit: r320761 - head/sbin/init

2017-07-06 Thread Xin LI
Author: delphij Date: Fri Jul 7 02:48:55 2017 New Revision: 320761 URL: https://svnweb.freebsd.org/changeset/base/320761 Log: - Use strlcat() instead of strncat(). - Use asprintf() and handle allocation errors. Reviewed by: kevlo MFC after:2 weeks Differential Revision:

svn commit: r320760 - in releng/11.1: release release/tools share/man/man4 sys/conf sys/contrib/ena-com sys/dev/ena sys/modules sys/modules/ena

2017-07-06 Thread Colin Percival
Author: cperciva Date: Fri Jul 7 00:34:51 2017 New Revision: 320760 URL: https://svnweb.freebsd.org/changeset/base/320760 Log: MF11 r320731,320749,320759: Add Amazon Elastic Network Adapter driver and turn it on in EC2 AMI builds Approved by: re (gjb) Relnotes: FreeBSD now support

Re: svn commit: r320659 - head/usr.sbin/nfsuserd

2017-07-06 Thread Rick Macklem
Konstantin Belousov wrote: [stuff snipped] >I wrote: >> >> The patches in PR#205193 change nfsuserd to use a local socket, >> which fixes this problem. However, the original poster of the PR had >> hangs when using the patches which was never resolved (I couldn't >> reproduce the hang). >So conside

svn commit: r320759 - in stable/11/release: . tools

2017-07-06 Thread Colin Percival
Author: cperciva Date: Thu Jul 6 22:34:54 2017 New Revision: 320759 URL: https://svnweb.freebsd.org/changeset/base/320759 Log: MFC r318894: Enable Amazon's "Elastic Network Adapter" in EC2 AMIs. Modified: stable/11/release/Makefile.ec2 stable/11/release/tools/ec2.conf Directory Properties:

svn commit: r320758 - head/usr.sbin/nfsuserd

2017-07-06 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 6 22:34:34 2017 New Revision: 320758 URL: https://svnweb.freebsd.org/changeset/base/320758 Log: Document the changes done to nfsuserd by r320757. This is a content change. Modified: head/usr.sbin/nfsuserd/nfsuserd.8 Modified: head/usr.sbin/nfsuserd/nfsuse

svn commit: r320757 - head/usr.sbin/nfsuserd

2017-07-06 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 6 22:04:37 2017 New Revision: 320757 URL: https://svnweb.freebsd.org/changeset/base/320757 Log: Modify the nfsuserd daemon so that it uses an AF_LOCAL socket for upcalls. This patch modifies the nfsuserd daemon so that it uses an AF_LOCAL socket for upcalls

svn commit: r320756 - stable/10/sys/kern

2017-07-06 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 6 22:03:58 2017 New Revision: 320756 URL: https://svnweb.freebsd.org/changeset/base/320756 Log: MFC r293295: cache: ansify functions and fix some style issues No functional changes. Modified: stable/10/sys/kern/vfs_cache.c Directory Properties: stable/10

svn commit: r320755 - in head: share/man/man9 sys/sys

2017-07-06 Thread Konstantin Belousov
Author: kib Date: Thu Jul 6 21:47:17 2017 New Revision: 320755 URL: https://svnweb.freebsd.org/changeset/base/320755 Log: Add BIT_FLS() analogous to BIT_FFS(). The benefit of BIT_FLS() is that ffsl() can be implemented with a count leading zeros instruction which is more widespread avail

svn commit: r320754 - in head/usr.bin/grep: . tests

2017-07-06 Thread Kyle Evans
Author: kevans Date: Thu Jul 6 19:53:30 2017 New Revision: 320754 URL: https://svnweb.freebsd.org/changeset/base/320754 Log: Update copyright e-mail address to @FreeBSD.org address Approved by: emaste (mentor) Differential Revision:https://reviews.freebsd.org/D11508 Modified:

Re: svn commit: r320748 - head/release

2017-07-06 Thread Ngie Cooper
On Thu, Jul 6, 2017 at 10:59 AM, Glen Barber wrote: > On Thu, Jul 06, 2017 at 05:54:04PM +, Glen Barber wrote: >> Author: gjb >> Date: Thu Jul 6 17:54:03 2017 >> New Revision: 320748 >> URL: https://svnweb.freebsd.org/changeset/base/320748 >> >> Log: >> Allow passing NOPKG= to make(1) to pr

svn commit: r320753 - in stable: 10/release 11/release

2017-07-06 Thread Glen Barber
Author: gjb Date: Thu Jul 6 18:46:33 2017 New Revision: 320753 URL: https://svnweb.freebsd.org/changeset/base/320753 Log: MFC r320748: Allow passing NOPKG= to make(1) to enable the pkg-stage target from getting executed when NOPKG is defined but empty. Approved by: re (kib, insta-MF

svn commit: r320753 - in stable: 10/release 11/release

2017-07-06 Thread Glen Barber
Author: gjb Date: Thu Jul 6 18:46:33 2017 New Revision: 320753 URL: https://svnweb.freebsd.org/changeset/base/320753 Log: MFC r320748: Allow passing NOPKG= to make(1) to enable the pkg-stage target from getting executed when NOPKG is defined but empty. Approved by: re (kib, insta-MF

svn commit: r320752 - stable/11/share/man/man4

2017-07-06 Thread George V. Neville-Neil
Author: gnn Date: Thu Jul 6 18:33:33 2017 New Revision: 320752 URL: https://svnweb.freebsd.org/changeset/base/320752 Log: MFC 319803 Manual page for the DTrace lockstat provider Reviewed by: markj Added: stable/11/share/man/man4/dtrace_lockstat.4 - copied unchanged from r3198

svn commit: r320751 - in releng/11.1: contrib/elftoolchain/elfdump contrib/elftoolchain/libelftc lib/libelftc

2017-07-06 Thread Ed Maste
Author: emaste Date: Thu Jul 6 18:30:52 2017 New Revision: 320751 URL: https://svnweb.freebsd.org/changeset/base/320751 Log: MF11 r320685: Update to ELF Tool Chain snapshot at r3561 This update is primarily bug fixes in C++ symbol demangling, including: - rvalue reference - builtin

svn commit: r320750 - head/lib/libc/regex

2017-07-06 Thread Kyle Evans
Author: kevans Date: Thu Jul 6 18:21:30 2017 New Revision: 320750 URL: https://svnweb.freebsd.org/changeset/base/320750 Log: Fix sparc64 libc build after r320742. p_branch_empty was declared but never used due to an oversight. Use it as designed, further comment on its return value.

Re: svn commit: r320685 - in stable/11: contrib/elftoolchain/elfdump contrib/elftoolchain/libelftc lib/libelftc

2017-07-06 Thread Ed Maste
On 5 July 2017 at 12:39, Ed Maste wrote: > Author: emaste > Date: Wed Jul 5 16:39:29 2017 > New Revision: 320685 > URL: https://svnweb.freebsd.org/changeset/base/320685 > > Log: > This update is primarily bug fixes in C++ symbol demangling, including: I accidentally deleted the first line of t

svn commit: r320749 - stable/11/sys/dev/ena

2017-07-06 Thread Colin Percival
Author: cperciva Date: Thu Jul 6 18:08:38 2017 New Revision: 320749 URL: https://svnweb.freebsd.org/changeset/base/320749 Log: Fix up r320731: * Record mergeinfo for merges of r317518, r318647, r319197, r319198, r319199, r319201, r320625, r320626, r320628, r320629, r320630, r320631, r3206

Re: svn commit: r320748 - head/release

2017-07-06 Thread Glen Barber
On Thu, Jul 06, 2017 at 05:54:04PM +, Glen Barber wrote: > Author: gjb > Date: Thu Jul 6 17:54:03 2017 > New Revision: 320748 > URL: https://svnweb.freebsd.org/changeset/base/320748 > > Log: > Allow passing NOPKG= to make(1) to prevent the pkg-stage target > from getting executed. > >

svn commit: r320748 - head/release

2017-07-06 Thread Glen Barber
Author: gjb Date: Thu Jul 6 17:54:03 2017 New Revision: 320748 URL: https://svnweb.freebsd.org/changeset/base/320748 Log: Allow passing NOPKG= to make(1) to prevent the pkg-stage target from getting executed. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/r

svn commit: r320747 - in stable/11: cddl/usr.sbin/zfsd sbin/devd sbin/devd/tests

2017-07-06 Thread Alan Somers
Author: asomers Date: Thu Jul 6 17:34:53 2017 New Revision: 320747 URL: https://svnweb.freebsd.org/changeset/base/320747 Log: MFC r320165-r320167 r320165: devd(8): Remove pidfile on shutdown Sponsored by: Spectra Logic Corp r320166: Require devd to be running for its ATF test

Re: svn commit: r320701 - in head: bin sbin usr.bin usr.sbin

2017-07-06 Thread Ngie Cooper
> On Jul 6, 2017, at 03:31, John Baldwin wrote: > >> On 7/6/17 12:15 AM, Ngie Cooper wrote: >> Author: ngie >> Date: Thu Jul 6 04:15:30 2017 >> New Revision: 320701 >> URL: https://svnweb.freebsd.org/changeset/base/320701 >> >> Log: >> Remove SUBDIR ordering/uniquifying in *bin/Makefile >> >

svn commit: r320746 - releng/11.1/sys/dev/acpica/Osd

2017-07-06 Thread Mark Johnston
Author: markj Date: Thu Jul 6 17:31:38 2017 New Revision: 320746 URL: https://svnweb.freebsd.org/changeset/base/320746 Log: MFS r320744: MFC r320690: Defer ACPI taskqueue creation to SI_SUB_KICK_SCHEDULER. PR: 220277 Approved by: re (gjb) Modified: releng/11.1/sys/dev/acp

svn commit: r320745 - in releng/11.1: etc/pkg release/pkg_repos

2017-07-06 Thread Glen Barber
Author: gjb Date: Thu Jul 6 17:22:33 2017 New Revision: 320745 URL: https://svnweb.freebsd.org/changeset/base/320745 Log: Update the pkg(8) configuration for the default installation and the dvd1.iso to use the quarterly set, now that the new quarterly branch exists and packages have built.

svn commit: r320744 - stable/11/sys/dev/acpica/Osd

2017-07-06 Thread Mark Johnston
Author: markj Date: Thu Jul 6 17:20:35 2017 New Revision: 320744 URL: https://svnweb.freebsd.org/changeset/base/320744 Log: MFC r320690: Defer ACPI taskqueue creation to SI_SUB_KICK_SCHEDULER. PR: 220277 Modified: stable/11/sys/dev/acpica/Osd/OsdSchedule.c Directory Properties: st

svn commit: r320743 - in head/sys/dev: bwi iicbus iwi

2017-07-06 Thread Ian Lepore
Author: ian Date: Thu Jul 6 17:03:22 2017 New Revision: 320743 URL: https://svnweb.freebsd.org/changeset/base/320743 Log: Fix drivers that assume ticks starts at zero. These drivers all have logic similar to "if (ticks > localvar+interval) {localvar=ticks; ...}" where localvar is initializ

svn commit: r320742 - head/lib/libc/regex

2017-07-06 Thread Kyle Evans
Author: kevans Date: Thu Jul 6 17:01:51 2017 New Revision: 320742 URL: https://svnweb.freebsd.org/changeset/base/320742 Log: The impending libregex will implement GNU extensions to bring BREs and EREs closer together. Prepare for this and reduce the diff of libregex changes by refactoring

svn commit: r320741 - head/sys/ddb

2017-07-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 6 15:27:34 2017 New Revision: 320741 URL: https://svnweb.freebsd.org/changeset/base/320741 Log: Make ^c work in ddb(4). Obtained from:CheriBSD MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/ddb/db_input.c Modified: head/sys/dd

svn commit: r320740 - head/sys/ddb

2017-07-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 6 15:21:57 2017 New Revision: 320740 URL: https://svnweb.freebsd.org/changeset/base/320740 Log: Make ^w work in ddb(4). Obtained from:CheriBSD MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/ddb/db_input.c Modified: head/sys/dd

svn commit: r320739 - head/sys/mips/mips

2017-07-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 6 15:08:51 2017 New Revision: 320739 URL: https://svnweb.freebsd.org/changeset/base/320739 Log: Make ddb(4) disassembler (x/i) use n32 register names. Obtained from:CheriBSD MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/mips/m

svn commit: r320738 - head/sys/kern

2017-07-06 Thread Andrew Gallatin
Author: gallatin Date: Thu Jul 6 15:03:54 2017 New Revision: 320738 URL: https://svnweb.freebsd.org/changeset/base/320738 Log: Simplify UIO_SYSSPACE and UIO_NOCOPY paths in uiomove Uiomove can only block when the segflag is UIO_USERSPACE, otherwise we end up just doing a bcopy (or nothin

svn commit: r320737 - in head: contrib/netbsd-tests/lib/libc/gen lib/libc/tests/gen

2017-07-06 Thread Alan Somers
Author: asomers Date: Thu Jul 6 14:47:59 2017 New Revision: 320737 URL: https://svnweb.freebsd.org/changeset/base/320737 Log: Fix cleanup in lib/libc/gen/setdomainname_test ATF cleanup routines run in separate processes from the tests themselves, so they can't share global variables.

svn commit: r320736 - head/usr.sbin/acpi/acpidump

2017-07-06 Thread Ed Maste
Author: emaste Date: Thu Jul 6 14:35:47 2017 New Revision: 320736 URL: https://svnweb.freebsd.org/changeset/base/320736 Log: acpidump: warn and exit loop on invalid subtable length Submitted by: Guangyuan Yang Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/acpi/acpidump

Re: svn commit: r320701 - in head: bin sbin usr.bin usr.sbin

2017-07-06 Thread Dan Mack
On Thu, 6 Jul 2017, John Baldwin wrote: On 7/6/17 12:15 AM, Ngie Cooper wrote: Author: ngie Date: Thu Jul 6 04:15:30 2017 New Revision: 320701 URL: https://svnweb.freebsd.org/changeset/base/320701 Log: Remove SUBDIR ordering/uniquifying in *bin/Makefile After the addition of SUBDIR.yes,

svn commit: r320735 - head/lib/libcompiler_rt

2017-07-06 Thread Ed Maste
Author: emaste Date: Thu Jul 6 13:27:01 2017 New Revision: 320735 URL: https://svnweb.freebsd.org/changeset/base/320735 Log: compiler_rt: provide bswap buildins on sparc64 Attempting to build sparc64 world with GCC 6.3 previously failed with zstd_compress.c:(.text+0x8fc): undefined refer

svn commit: r320734 - head/sys/ddb

2017-07-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 6 12:30:39 2017 New Revision: 320734 URL: https://svnweb.freebsd.org/changeset/base/320734 Log: Improve ddb(4) error reporting a bit. Obtained from:CheriBSD MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/ddb/db_command.c Modif

svn commit: r320733 - head/sys/ddb

2017-07-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 6 12:27:14 2017 New Revision: 320733 URL: https://svnweb.freebsd.org/changeset/base/320733 Log: Make ddb(4) a bit more user-friendly by improving "help". Obtained from:CheriBSD MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/ddb

svn commit: r320732 - head/usr.sbin/bsdinstall/scripts

2017-07-06 Thread Bartek Rutkowski
Author: robak (ports committer) Date: Thu Jul 6 12:19:15 2017 New Revision: 320732 URL: https://svnweb.freebsd.org/changeset/base/320732 Log: usr.sbin/bsdinstall/scripts/hardening: fix options numbers Submitted by: Bartek Rutkowski Reviewed by: bapt Approved by: bapt MFC after:

svn commit: r320731 - in stable/11: share/man/man4 sys/conf sys/contrib/ena-com sys/dev/ena sys/modules sys/modules/ena

2017-07-06 Thread Zbigniew Bodek
Author: zbb Date: Thu Jul 6 11:45:13 2017 New Revision: 320731 URL: https://svnweb.freebsd.org/changeset/base/320731 Log: MFC r317518, r318647, r319197, r319198, r319199, r319200, r320625, r320626, r320628, r319201, r320629, r320630, r320631, r320632. r317518: Import Amazon Elastic Net

Re: svn commit: r320701 - in head: bin sbin usr.bin usr.sbin

2017-07-06 Thread John Baldwin
On 7/6/17 12:15 AM, Ngie Cooper wrote: > Author: ngie > Date: Thu Jul 6 04:15:30 2017 > New Revision: 320701 > URL: https://svnweb.freebsd.org/changeset/base/320701 > > Log: > Remove SUBDIR ordering/uniquifying in *bin/Makefile > > After the addition of SUBDIR.yes, uniquifying/ordering the

svn commit: r320730 - head/usr.sbin/diskinfo

2017-07-06 Thread Alexander Motin
Author: mav Date: Thu Jul 6 09:05:38 2017 New Revision: 320730 URL: https://svnweb.freebsd.org/changeset/base/320730 Log: Report device descr in addition to ident. Serial number without device model is somewhat less useful. MFC after:2 weeks Modified: head/usr.sbin/diskinfo/dis

svn commit: r320729 - head/sys/geom

2017-07-06 Thread Alexander Motin
Author: mav Date: Thu Jul 6 08:36:14 2017 New Revision: 320729 URL: https://svnweb.freebsd.org/changeset/base/320729 Log: Add GEOM::descr attribute for symmetry with GEOM::ident. MFC after:2 weeks Modified: head/sys/geom/geom_disk.c Modified: head/sys/geom/geom_disk.c =

svn commit: r320728 - head/usr.bin/xo/tests

2017-07-06 Thread Ngie Cooper
Author: ngie Date: Thu Jul 6 08:05:57 2017 New Revision: 320728 URL: https://svnweb.freebsd.org/changeset/base/320728 Log: Chase upstream change deprecating LIBXO_OPTIONS similar to r320521 LIBXO_OPTIONS was deprecated in favor of the --libxo options. Inspired by: https://github.com/

svn commit: r320727 - head/contrib/netbsd-tests/lib/libc/stdio

2017-07-06 Thread Ngie Cooper
Author: ngie Date: Thu Jul 6 07:59:00 2017 New Revision: 320727 URL: https://svnweb.freebsd.org/changeset/base/320727 Log: :snprintf_float: don't blindly set RLIMIT_DATA and RLIMIT_AS to 1 MB -- raise the limit to 32MB instead. Require user=root and memory=64MB+ first so one can be reaso

svn commit: r320726 - head/contrib/netbsd-tests/lib/libc/stdio

2017-07-06 Thread Ngie Cooper
Author: ngie Date: Thu Jul 6 07:45:20 2017 New Revision: 320726 URL: https://svnweb.freebsd.org/changeset/base/320726 Log: Expect :snprintf_float to segfault This issue started occurring within the past month or so. PR: 220502 Reported by: Jenkins (amd64-head job) Modified: he

svn commit: r320725 - in head/sys/dev/rtwn: . pci usb

2017-07-06 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jul 6 07:37:33 2017 New Revision: 320725 URL: https://svnweb.freebsd.org/changeset/base/320725 Log: rtwn: add Rx descriptor structures for common code. Remove any chipset specific usage of Rx descriptor structure / bits from common code to prevent misuse of fields

svn commit: r320724 - head/usr.bin/stat/tests

2017-07-06 Thread Ngie Cooper
Author: ngie Date: Thu Jul 6 07:37:03 2017 New Revision: 320724 URL: https://svnweb.freebsd.org/changeset/base/320724 Log: :l_flag:: be more aggressive when normalizing whitespace Save output from ls -ldT and stat -l, then normalize all repeating whitespace using sed to single column sp