svn commit: r338745 - in head: etc lib/libc/posix1e

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 01:40:37 2018 New Revision: 338745 URL: https://svnweb.freebsd.org/changeset/base/338745 Log: Move mac.conf to lib/libc/posix1e/ This leverages CONFS to handle the install of the config file. Approved by: re (blanket, pkgbase), will (mentor)

svn commit: r338744 - head/lib/libc/rpc

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 01:38:44 2018 New Revision: 338744 URL: https://svnweb.freebsd.org/changeset/base/338744 Log: Fix CONFS to append the value in this case. Approved by: re (blanket, pkgbase), will (mentor) Modified: head/lib/libc/rpc/Makefile.inc Modified:

svn commit: r338743 - in head/sys: sys vm

2018-09-17 Thread Mateusz Guzik
Author: mjg Date: Tue Sep 18 01:24:30 2018 New Revision: 338743 URL: https://svnweb.freebsd.org/changeset/base/338743 Log: vm: stop taking proc lock in mmap to satisfy racct if it is disabled Limits can be safely obtained with lim_cur from the thread. racct is compiled in but disabled by

svn commit: r338742 - in head: etc usr.sbin/amd/amd

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:32:10 2018 New Revision: 338742 URL: https://svnweb.freebsd.org/changeset/base/338742 Log: Move amd.map to usr.sbin/amd/amd/ This leverages CONFS to handle the install of the config file. Approved by: re (gjb), will (mentor) Differential Revision:

svn commit: r338741 - in head: etc libexec/rtld-elf

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:25:00 2018 New Revision: 338741 URL: https://svnweb.freebsd.org/changeset/base/338741 Log: Move libmap.conf to libexec/rtld-elf/ This leverages CONFS to handle the config file install. Approved by: re (gjb), will (mentor) Differential Revision:

svn commit: r338740 - in head: etc sbin/dhclient

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:11:45 2018 New Revision: 338740 URL: https://svnweb.freebsd.org/changeset/base/338740 Log: Move dhclient.conf to sbin/dhclient/. This also leverages CONFS for handling config files. Approved by: re (gjb), will (mentor) Differential Revision:

svn commit: r338739 - head/sbin/dhclient

2018-09-17 Thread Brad Davis
Author: brd Date: Tue Sep 18 00:10:29 2018 New Revision: 338739 URL: https://svnweb.freebsd.org/changeset/base/338739 Log: Remove dhclient.conf from here in prep for the move of it from etc/. This is being done a separate step to ease importing into other VCSes. Approved by: re

svn commit: r338738 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:12 2018 New Revision: 338738 URL: https://svnweb.freebsd.org/changeset/base/338738 Log: DIRS: Rework how duplicated dirs are installed. - Warn if multiple DIRS have conflicting metadata - This fixes META_MODE writing to a very long .meta file that

svn commit: r338736 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:06 2018 New Revision: 338736 URL: https://svnweb.freebsd.org/changeset/base/338736 Log: PROGS: Don't redundantly process DIRS. Sponsored by: Dell EMC Approved by: re (gjb) Modified: head/share/mk/bsd.progs.mk Modified:

svn commit: r338737 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:09 2018 New Revision: 338737 URL: https://svnweb.freebsd.org/changeset/base/338737 Log: installdirs can be a recursive/standalone target. Sponsored by: Dell EMC Approved by: re (gjb) Modified: head/share/mk/bsd.subdir.mk Modified:

svn commit: r338735 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:14:53 2018 New Revision: 338735 URL: https://svnweb.freebsd.org/changeset/base/338735 Log: DIRS: installdirs should also be .PHONY Sponsored by: Dell EMC Approved by: re (gjb, kib) Modified: head/share/mk/bsd.sys.mk Modified:

svn commit: r338734 - head/sys/dev/bxe

2018-09-17 Thread David C Somayajulu
Author: davidcs Date: Mon Sep 17 20:15:18 2018 New Revision: 338734 URL: https://svnweb.freebsd.org/changeset/base/338734 Log: Fixed isses: State check before enqueuing transmit task in bxe_link_attn() routine. State check before invoking bxe_nic_unload in bxe_shutdown(). Submitted

svn commit: r338733 - head/sys/ufs/ufs

2018-09-17 Thread Konstantin Belousov
Author: kib Date: Mon Sep 17 19:38:43 2018 New Revision: 338733 URL: https://svnweb.freebsd.org/changeset/base/338733 Log: Do not upgrade the vnode lock to call getinoquota(). Doing so can deadlock when the thread already owns another vnode lock, e.g. during a rename, as was demonstrated

svn commit: r338732 - in head: etc lib/libc/rpc

2018-09-17 Thread Brad Davis
Author: brd Date: Mon Sep 17 19:20:50 2018 New Revision: 338732 URL: https://svnweb.freebsd.org/changeset/base/338732 Log: Move rpc and netconfig to lib/libc/rpc/ This uses relative paths to make it more specific to avoid any potential future problems with .PATH and leverages CONFS.

svn commit: r338729 - in head: etc lib/libc/net

2018-09-17 Thread Brad Davis
Author: brd Date: Mon Sep 17 18:56:47 2018 New Revision: 338729 URL: https://svnweb.freebsd.org/changeset/base/338729 Log: Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/ This uses relative paths to make it more specific to avoid any potential future problems

svn commit: r338727 - stable/11/sys/amd64/include

2018-09-17 Thread John Baldwin
Author: jhb Date: Mon Sep 17 18:45:16 2018 New Revision: 338727 URL: https://svnweb.freebsd.org/changeset/base/338727 Log: MFC 335913: Use 'e' instead of 'i' constraints with 64-bit atomic operations on amd64. The ADD, AND, OR, and SUB instructions take at most a 32-bit sign-extended

svn commit: r338728 - stable/11/sys/compat/freebsd32

2018-09-17 Thread Ed Maste
Author: emaste Date: Mon Sep 17 18:46:30 2018 New Revision: 338728 URL: https://svnweb.freebsd.org/changeset/base/338728 Log: revert r338726 (getdirentries capsicum addition) Compat getdirentries was added with the ino64 project and is not needed in stable/11. I MFC'd r335900

svn commit: r338726 - stable/11/sys/compat/freebsd32

2018-09-17 Thread Ed Maste
Author: emaste Date: Mon Sep 17 18:36:29 2018 New Revision: 338726 URL: https://svnweb.freebsd.org/changeset/base/338726 Log: MFC r335900 (oshogbo): capsicum: add getdirentries to the freebsd32 compact There is a getdirentries syscall in freebsd32 and it's capability ready so allow

svn commit: r338725 - head/sys/x86/isa

2018-09-17 Thread John Baldwin
Author: jhb Date: Mon Sep 17 17:18:54 2018 New Revision: 338725 URL: https://svnweb.freebsd.org/changeset/base/338725 Log: Fix a regression in r338360 when booting an x86 machine without APIC. The atpic_register_sources callback tries to avoid registering interrupt sources that would

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

2018-09-17 Thread Mark Johnston
Author: markj Date: Mon Sep 17 16:16:57 2018 New Revision: 338724 URL: https://svnweb.freebsd.org/changeset/base/338724 Log: Fix an nvpair leak in vdev_geom_read_config(). Also change the behaviour slightly: instead of freeing "config" if the last nvlist doesn't pass the tests, return

svn commit: r338719 - vendor/compiler-rt/compiler-rt-release_700-r342383

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:53:06 2018 New Revision: 338719 URL: https://svnweb.freebsd.org/changeset/base/338719 Log: Tag compiler-rt 7.0.0 release r342383. Added: vendor/compiler-rt/compiler-rt-release_700-r342383/ - copied from r338718, vendor/compiler-rt/dist-release_70/

svn commit: r338718 - vendor/clang/clang-release_700-r342383

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:53:01 2018 New Revision: 338718 URL: https://svnweb.freebsd.org/changeset/base/338718 Log: Tag clang 7.0.0 release r342383. Added: vendor/clang/clang-release_700-r342383/ - copied from r338717, vendor/clang/dist-release_70/

svn commit: r338722 - vendor/lld/lld-release_700-r342383

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:53:22 2018 New Revision: 338722 URL: https://svnweb.freebsd.org/changeset/base/338722 Log: Tag lld 7.0.0 release r342383. Added: vendor/lld/lld-release_700-r342383/ - copied from r338721, vendor/lld/dist-release_70/

svn commit: r338717 - vendor/clang/dist-release_70/lib/Basic

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:52:57 2018 New Revision: 338717 URL: https://svnweb.freebsd.org/changeset/base/338717 Log: Vendor import of clang 7.0.0 release r342383: https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_700/final@342383 Modified:

svn commit: r338723 - vendor/lldb/lldb-release_700-r342383

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:53:29 2018 New Revision: 338723 URL: https://svnweb.freebsd.org/changeset/base/338723 Log: Tag lldb 7.0.0 release r342383. Added: vendor/lldb/lldb-release_700-r342383/ - copied from r338722, vendor/lldb/dist-release_70/

svn commit: r338721 - vendor/lld/dist-release_70/docs

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:53:18 2018 New Revision: 338721 URL: https://svnweb.freebsd.org/changeset/base/338721 Log: Vendor import of lld 7.0.0 release r342383: https://llvm.org/svn/llvm-project/lld/tags/RELEASE_700/final@342383 Modified:

svn commit: r338720 - vendor/libc++/libc++-release_700-r342383

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:53:14 2018 New Revision: 338720 URL: https://svnweb.freebsd.org/changeset/base/338720 Log: Tag libc++ 7.0.0 release r342383. Added: vendor/libc++/libc++-release_700-r342383/ - copied from r338719, vendor/libc++/dist-release_70/

svn commit: r338716 - vendor/llvm/llvm-release_700-r342383

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 15:52:44 2018 New Revision: 338716 URL: https://svnweb.freebsd.org/changeset/base/338716 Log: Tag llvm 7.0.0 release r342383. Added: vendor/llvm/llvm-release_700-r342383/ - copied from r338715, vendor/llvm/dist-release_70/

svn commit: r338715 - head/sys/amd64/amd64

2018-09-17 Thread Konstantin Belousov
Author: kib Date: Mon Sep 17 15:52:19 2018 New Revision: 338715 URL: https://svnweb.freebsd.org/changeset/base/338715 Log: Use ifunc to resolve context switching mode on amd64. Patch removes all checks for pti/pcid/invpcid from the context switch path. I verified this by looking at the

svn commit: r338714 - head/sys/amd64/amd64

2018-09-17 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 17 15:51:49 2018 New Revision: 338714 URL: https://svnweb.freebsd.org/changeset/base/338714 Log: amd64: tidy up kernel memmove, take 2 There is no need to use %rax for temporary values and avoiding doing so shortens the func. Handle the explicit 'check for

svn commit: r338713 - in head/lib/libc: amd64/string i386/string

2018-09-17 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 17 15:49:35 2018 New Revision: 338713 URL: https://svnweb.freebsd.org/changeset/base/338713 Log: amd64: depessimize userspace memcpy/memmove/bcopy The change resembles what was done in r334537 for kernel routines. While here take care of i386 variants. Note that

svn commit: r338712 - head/sys/amd64/amd64

2018-09-17 Thread Konstantin Belousov
Author: kib Date: Mon Sep 17 15:34:19 2018 New Revision: 338712 URL: https://svnweb.freebsd.org/changeset/base/338712 Log: Calculate PTI, PCID and INVPCID modes earlier, before ifuncs are resolved. This will be used in following conversion of pmap_activate_sw(). Reviewed by: alc,

svn commit: r338711 - head/sys/amd64/amd64

2018-09-17 Thread Konstantin Belousov
Author: kib Date: Mon Sep 17 14:59:05 2018 New Revision: 338711 URL: https://svnweb.freebsd.org/changeset/base/338711 Log: Make the PTI violation check to follow style of the SMAP check. No functional changes. Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after:

svn commit: r338710 - stable/11/contrib/llvm/lib/CodeGen

2018-09-17 Thread Dimitry Andric
Author: dim Date: Mon Sep 17 14:53:03 2018 New Revision: 338710 URL: https://svnweb.freebsd.org/changeset/base/338710 Log: MFC r338689: Pull in r335365 from upstream llvm trunk (by Krzysztof Parzyszek): Initialize LiveRegs once in BranchFolder::mergeCommonTails This should fix

svn commit: r338709 - stable/11/contrib/tcpdump

2018-09-17 Thread Hans Petter Selasky
Author: hselasky Date: Mon Sep 17 11:24:16 2018 New Revision: 338709 URL: https://svnweb.freebsd.org/changeset/base/338709 Log: MFC r338613: Fix for backends which doesn't support capsicum. Not all libpcap backends use the BPF compatible set of IOCTLs. For example the mlx5 backend uses

svn commit: r338708 - head/sys/net

2018-09-17 Thread Andrey V. Elsukov
Author: ae Date: Mon Sep 17 10:10:14 2018 New Revision: 338708 URL: https://svnweb.freebsd.org/changeset/base/338708 Log: Restore outbound packets capturing for if_gre(4). It was missed in r335048. Also clear M_MCAST and M_BCAST flags for encapsulated datagram, since it will have new IP