svn commit: r339904 - in head: contrib/netbsd-tests/lib/libc/time lib/libc/tests

2018-10-29 Thread Yuri Pankov
Author: yuripv Date: Tue Oct 30 02:37:23 2018 New Revision: 339904 URL: https://svnweb.freebsd.org/changeset/base/339904 Log: Connect libc/tests/time to the build, adding test cases for strptime() issues fixed recently, and disabling the failing ones (mostly due to TZ parsing differences wit

svn commit: r339902 - head/sys/powerpc/mpc85xx

2018-10-29 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 30 00:47:40 2018 New Revision: 339902 URL: https://svnweb.freebsd.org/changeset/base/339902 Log: powerpc/mpc85xx: Reset the PCIe bus on attach It seems if a Radeon card is already initialized by u-boot, it won't be reinitialized by the kernel, and the DRM mo

svn commit: r339901 - head/sys/conf

2018-10-29 Thread John Baldwin
Author: jhb Date: Tue Oct 30 00:23:37 2018 New Revision: 339901 URL: https://svnweb.freebsd.org/changeset/base/339901 Log: Permit local kernel modules to be built as part of a kernel build. Add support for "local" modules. By default, these modules are located in LOCALBASE/sys/modules (w

svn commit: r339900 - head/sys/geom/concat

2018-10-29 Thread Mark Johnston
Author: markj Date: Tue Oct 30 00:22:14 2018 New Revision: 339900 URL: https://svnweb.freebsd.org/changeset/base/339900 Log: Have gconcat advertise delete support if one of its disks does. This follows the example set by other multi-disk GEOM classes. PR: 232676 Tested by:

svn commit: r339899 - head/sys/dev/acpica

2018-10-29 Thread John Baldwin
Author: jhb Date: Tue Oct 30 00:19:44 2018 New Revision: 339899 URL: https://svnweb.freebsd.org/changeset/base/339899 Log: Make battery emptying rate available as sysctl variable. Curiously, the in-kernel routines always use the design voltage to convert from mA to mW, but acpiconf in use

svn commit: r339898 - head/lib/libc/amd64/sys

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Tue Oct 30 00:11:30 2018 New Revision: 339898 URL: https://svnweb.freebsd.org/changeset/base/339898 Log: Convert amd64_get/set_fs/gsbase to ifunc. Note that this is the first use of ifuncs in our userspace. Sponsored by: The FreeBSD Foundation MFC after:1 month

svn commit: r339897 - head/libexec/rtld-elf/amd64

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:59:26 2018 New Revision: 339897 URL: https://svnweb.freebsd.org/changeset/base/339897 Log: Remove rtld use of libc amd64_set_fsbase(). One less non-trivial dependency of rtld on libc. Also, amd64_set_fsbase() is to be converted to ifunc, which I do not wan

svn commit: r339896 - head/libexec/rtld-elf

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:56:39 2018 New Revision: 339896 URL: https://svnweb.freebsd.org/changeset/base/339896 Log: Initialize ifunc calling machinery earlier. In particular, do it before the first call to allocate_initial_tls(), which contains MD parts to set the initial thread' T

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

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:52:31 2018 New Revision: 339895 URL: https://svnweb.freebsd.org/changeset/base/339895 Log: amd64: Use ifuncs to select suitable implementation of set_pcb_flags(). There is no reason to check for PCB_FULL_IRET if FSGSBASE instructions are not supported.

svn commit: r339894 - head/usr.bin/procstat

2018-10-29 Thread John Baldwin
Author: jhb Date: Mon Oct 29 23:48:20 2018 New Revision: 339894 URL: https://svnweb.freebsd.org/changeset/base/339894 Log: Teach procstat -x about the AT_EHDRFLAGS ELF auxiliary vector. Submitted by: Shawn Webb Reviewed by: brooks Obtained from:HardenedBSD (bb71e9889d1362df01c

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

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:45:17 2018 New Revision: 339893 URL: https://svnweb.freebsd.org/changeset/base/339893 Log: Style. Wrap long lines, use +4 spaces for continuation indent. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/amd64/amd64/machde

svn commit: r339892 - head/sys/sys

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:43:17 2018 New Revision: 339892 URL: https://svnweb.freebsd.org/changeset/base/339892 Log: Clarify explanation of VFCF_SBDRY. Requested by: mckusick Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/sys/mount.h Modified: hea

svn commit: r339891 - head/sys/dev/cxgbe/iw_cxgbe

2018-10-29 Thread Navdeep Parhar
Author: np Date: Mon Oct 29 22:35:46 2018 New Revision: 339891 URL: https://svnweb.freebsd.org/changeset/base/339891 Log: cxgbe/iw_cxgbe: Install the socket upcall before calling soconnect to ensure that it always runs when soisconnected does. Submitted by: Krishnamraju Eraparaju @ Chelsi

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

2018-10-29 Thread John Baldwin
Author: jhb Date: Mon Oct 29 22:24:31 2018 New Revision: 339890 URL: https://svnweb.freebsd.org/changeset/base/339890 Log: Add support for "plain" (non-HMAC) SHA digests. MFC after:2 months Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/crypto/t4_crypto.c Modifi

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

2018-10-29 Thread Gleb Smirnoff
Author: glebius Date: Mon Oct 29 22:10:52 2018 New Revision: 339889 URL: https://svnweb.freebsd.org/changeset/base/339889 Log: Add a note that epoch(9) may change, to untie our hands for any future MFCs. Modified: head/share/man/man9/epoch.9 Modified: head/share/man/man9/epoch.9

svn commit: r339886 - head/contrib/ofed/librdmacm/examples

2018-10-29 Thread Navdeep Parhar
Author: np Date: Mon Oct 29 21:46:05 2018 New Revision: 339886 URL: https://svnweb.freebsd.org/changeset/base/339886 Log: rping(1): Make sure the socket address defaults to something reasonable when running as the server. Submitted by: Krishnamraju Eraparaju @ Chelsio Reviewed by: hsel

svn commit: r339883 - in head: share/man/man4 sys/netinet/netdump

2018-10-29 Thread Mark Johnston
Author: markj Date: Mon Oct 29 21:16:26 2018 New Revision: 339883 URL: https://svnweb.freebsd.org/changeset/base/339883 Log: Expose some netdump configuration parameters through sysctl. Reviewed by: cem MFC after:1 week Differential Revision:https://reviews.freebsd.org/D177

svn commit: r339879 - in head/libexec/rtld-elf: . riscv

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:28 2018 New Revision: 339879 URL: https://svnweb.freebsd.org/changeset/base/339879 Log: rtld-elf: fix more warnings to allow compiling with WARNS=6 Reviewed By: kib Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.o

svn commit: r339877 - head/libexec/rtld-elf

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:11 2018 New Revision: 339877 URL: https://svnweb.freebsd.org/changeset/base/339877 Log: rtld-elf: make it compile with WARNS=3 Reviewed By: kib Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D17150 Modified:

svn commit: r339880 - head/lib/libpmc/pmu-events

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:34 2018 New Revision: 339880 URL: https://svnweb.freebsd.org/changeset/base/339880 Log: Fix get_maxfds() in jevents If RLIM_INFINITY == -1ULL (such as on macOS) the min() call will result in a value of less than 1 being returned. This causes nftw

svn commit: r339878 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:19 2018 New Revision: 339878 URL: https://svnweb.freebsd.org/changeset/base/339878 Log: rtld-elf: compile with WANRS=4 warnings other than -Wcast-align Reviewed By: kib Approved By: brooks (mentor) Differential Revision: https://reviews.freeb

svn commit: r339876 - head/libexec/rtld-elf

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:02 2018 New Revision: 339876 URL: https://svnweb.freebsd.org/changeset/base/339876 Log: rtld: set obj->textsize correctly With lld-generated binaries the first PT_LOAD will usually be a read-only segment unless you pass --no-rosegment. For those

svn commit: r339875 - head/release

2018-10-29 Thread Glen Barber
Author: gjb Date: Mon Oct 29 21:03:43 2018 New Revision: 339875 URL: https://svnweb.freebsd.org/changeset/base/339875 Log: Pass _BRANCH in the reldoc target to ensure the correct src branch is used when generating the hardware.html page. MFC after:3 days MFC before: 12.0-BETA3 M

svn commit: r339873 - head/release

2018-10-29 Thread Glen Barber
Author: gjb Date: Mon Oct 29 20:53:05 2018 New Revision: 339873 URL: https://svnweb.freebsd.org/changeset/base/339873 Log: Set OPTIONS_UNSET in the argument list to env(1), and add AVAHI to the list. This fixes the textproc/docproj build seemingly following FLAVORS being added. Specifi

Re: svn commit: r339826 - in head: sys/amd64/vmm/intel usr.sbin/bhyve

2018-10-29 Thread Yuri Pankov
John Baldwin wrote: > On 10/27/18 2:24 PM, Yuri Pankov wrote: >> Author: yuripv >> Date: Sat Oct 27 21:24:28 2018 >> New Revision: 339826 >> URL: https://svnweb.freebsd.org/changeset/base/339826 >> >> Log: >> Provide basic descriptions for VMX exit reason (from "Intel 64 and IA-32 >> Architectu

Re: svn commit: r339826 - in head: sys/amd64/vmm/intel usr.sbin/bhyve

2018-10-29 Thread John Baldwin
On 10/27/18 2:24 PM, Yuri Pankov wrote: > Author: yuripv > Date: Sat Oct 27 21:24:28 2018 > New Revision: 339826 > URL: https://svnweb.freebsd.org/changeset/base/339826 > > Log: > Provide basic descriptions for VMX exit reason (from "Intel 64 and IA-32 > Architectures Software Developer’s Manu

svn commit: r339870 - head/share/man/man4

2018-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 19:25:30 2018 New Revision: 339870 URL: https://svnweb.freebsd.org/changeset/base/339870 Log: Insert a .El line accidently committed in r339869. Reported by: gjb@ MFC after:3 days Modified: head/share/man/man4/sctp.4 Modified: head/share/man/man4/s

svn commit: r339869 - head/share/man/man4

2018-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 19:14:56 2018 New Revision: 339869 URL: https://svnweb.freebsd.org/changeset/base/339869 Log: Fix a nit Reported by: gjb@ MFC after:3 days Modified: head/share/man/man4/sctp.4 Modified: head/share/man/man4/sctp.4 ===

svn commit: r339868 - head/sys/compat/linuxkpi/common/include/linux

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 19:02:36 2018 New Revision: 339868 URL: https://svnweb.freebsd.org/changeset/base/339868 Log: Implement dma_pool_zalloc() in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:3 days Sponsored by: Mellanox Technologies

svn commit: r339866 - head/lib/csu/common

2018-10-29 Thread Andrew Turner
Author: andrew Date: Mon Oct 29 17:55:26 2018 New Revision: 339866 URL: https://svnweb.freebsd.org/changeset/base/339866 Log: Make the .ctors, .dtors, and .jcr markers as static. They shouldn't be accessible from out of the files they are defined in. MFC with: r339738 Sponsored by:

svn commit: r339865 - head/etc/mtree

2018-10-29 Thread Andrew Turner
Author: andrew Date: Mon Oct 29 17:13:12 2018 New Revision: 339865 URL: https://svnweb.freebsd.org/changeset/base/339865 Log: Include the csu test directories in BSD.tests.dist MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/etc/mtree/BSD.tests.dist Modified: head/etc/m

svn commit: r339864 - head/lib/csu/tests

2018-10-29 Thread Andrew Turner
Author: andrew Date: Mon Oct 29 17:03:20 2018 New Revision: 339864 URL: https://svnweb.freebsd.org/changeset/base/339864 Log: Check __dso_handle is NULL in non-DSO objects. It should only be non-NULL when accessed from a shared object. MFC with: r339738 Sponsored by: DARPA, AFRL Mo

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

2018-10-29 Thread Stephen Hurd
Author: shurd Date: Mon Oct 29 14:36:03 2018 New Revision: 339861 URL: https://svnweb.freebsd.org/changeset/base/339861 Log: Drain grouptaskqueue of the gtask before detaching it. taskqgroup_detach() would remove the task even if it was running or enqueued, which could lead to panics (see