svn commit: r322453 - head/share/mk

2017-08-12 Thread Warner Losh
Author: imp Date: Sun Aug 13 04:10:47 2017 New Revision: 322453 URL: https://svnweb.freebsd.org/changeset/base/322453 Log: We don't use ARM_ARCH_6 in the tree, and haven't for a long long time. Remove it from here. As far as I could tell, nothing in ports use it (either __ARM_ARCH or __ARM_A

svn commit: r322451 - in head/lib/libcasper: services/tests tests

2017-08-12 Thread Ngie Cooper
Author: ngie Date: Sun Aug 13 01:08:37 2017 New Revision: 322451 URL: https://svnweb.freebsd.org/changeset/base/322451 Log: TESTSDIR isn't required; remove it MFC after:1 week MFC with: r322450 Modified: head/lib/libcasper/services/tests/Makefile head/lib/libcasper/tests/Make

svn commit: r322450 - in head/lib/libcasper: . services services/tests tests

2017-08-12 Thread Ngie Cooper
Author: ngie Date: Sun Aug 13 01:04:44 2017 New Revision: 322450 URL: https://svnweb.freebsd.org/changeset/base/322450 Log: Integrate the tests moved in r305626 in to the FreeBSD test suite The reachover Kyuafiles were never added, and thus the tests were installed as standalone tests, an

svn commit: r322449 - head/lib/libcasper/services/cap_dns/tests

2017-08-12 Thread Ngie Cooper
Author: ngie Date: Sun Aug 13 00:56:43 2017 New Revision: 322449 URL: https://svnweb.freebsd.org/changeset/base/322449 Log: Use hardcoded IPv4/IPv6 addresses for google-public-dns-a.google.com instead of freefall.freebsd.org to unbreak the DNS tests The address allocations for freefall.fr

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 2:53 PM, Ngie Cooper (yaneurabeya) wrote: [...] > Here are the full gamut of definitions for LDBL_MAX_EXP. It seems > that sparc64 isn’t the only architecture using this pattern: > > $ grep -r DBL_MAX_EXP sys/*/include > sys/arm/include/float.h:#define DBL_MAX_EXP

svn commit: r322448 - head/lib/libcasper/services/cap_sysctl/tests

2017-08-12 Thread Ngie Cooper
Author: ngie Date: Sun Aug 13 00:14:08 2017 New Revision: 322448 URL: https://svnweb.freebsd.org/changeset/base/322448 Log: Make root-privileges a requirement for the test Some of the testcases try to manipulate sysctls that require root privileges, e.g., "kern.sync_on_panic". Make root-p

svn commit: r322447 - in head/lib/libcasper/services: cap_dns/tests cap_grp/tests cap_pwd/tests cap_sysctl/tests

2017-08-12 Thread Ngie Cooper
Author: ngie Date: Sun Aug 13 00:04:50 2017 New Revision: 322447 URL: https://svnweb.freebsd.org/changeset/base/322447 Log: Fix result printing - Flushing stdout prevents the buffer from being printed twice, fixing issues with stdout printing out the testplan, etc, twice. - Don't prin

svn commit: r322445 - head/lib/ncurses/ncurses

2017-08-12 Thread Ngie Cooper
Author: ngie Date: Sat Aug 12 22:20:08 2017 New Revision: 322445 URL: https://svnweb.freebsd.org/changeset/base/322445 Log: Hide `sccsid` under #if 0, per example in style(9) This fixes a -Wunused warning with gcc 6.3.0/7.0.0. MFC after:1 week Modified: head/lib/ncurses/ncurses/

svn commit: r322443 - head/sys/dev/nvme

2017-08-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Aug 12 22:13:06 2017 New Revision: 322443 URL: https://svnweb.freebsd.org/changeset/base/322443 Log: Move NVME controller shutdown from being called as part of module unloading to being called through the newbus DEVICE_SHUTDOWN() path. This ensures that the NVME

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ngie Cooper (yaneurabeya)
> On Aug 12, 2017, at 14:45, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Aug 12, 2017, at 10:55, Ryan Libby wrote: > > … > >> A few possible quick fixes: >> >> - Change the {arm64,riscv,sparc64}/include/float.h LDBL_MAX_EXP >> definitions from (+16384) to 16384. >> >> - Change HALF_LDB

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ngie Cooper (yaneurabeya)
> On Aug 12, 2017, at 10:55, Ryan Libby wrote: … > A few possible quick fixes: > > - Change the {arm64,riscv,sparc64}/include/float.h LDBL_MAX_EXP > definitions from (+16384) to 16384. > > - Change HALF_LDBL_MAX from > #define HALF_LDBL_MAX __CONCAT(__CONCAT(0x0.8p, LDBL_MAX_EXP), L) > to

svn commit: r322441 - head/share/mk

2017-08-12 Thread Ngie Cooper
Author: ngie Date: Sat Aug 12 21:26:46 2017 New Revision: 322441 URL: https://svnweb.freebsd.org/changeset/base/322441 Log: Delete trailing whitespace MFC after:1 month Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk

svn commit: r322440 - head/usr.sbin/bluetooth/bthidd

2017-08-12 Thread Vladimir Kondratyev
Author: wulf Date: Sat Aug 12 21:23:33 2017 New Revision: 322440 URL: https://svnweb.freebsd.org/changeset/base/322440 Log: bthidd(8): Add support for Apple's magic mouse Note: Mouse's bthidd.conf record should contain vendor and device IDs to make proper device detection. If it does not

svn commit: r322439 - in head/usr.sbin/bluetooth: bthidcontrol bthidd

2017-08-12 Thread Vladimir Kondratyev
Author: wulf Date: Sat Aug 12 21:20:51 2017 New Revision: 322439 URL: https://svnweb.freebsd.org/changeset/base/322439 Log: bthidd(8): Add support for vendor_id, product_id and version. Extend bthidd.conf format to store vendor and product IDs of remote Bluetooth HID devices to make possi

Re: svn commit: r322437 - in head/sys/arm64: arm64 include

2017-08-12 Thread John Baldwin
On Saturday, August 12, 2017 06:42:55 PM John Baldwin wrote: > Author: jhb > Date: Sat Aug 12 18:42:54 2017 > New Revision: 322437 > URL: https://svnweb.freebsd.org/changeset/base/322437 > > Log: > Reliably enable debug exceptions on all CPUs. > > Previously, debug exceptions were only enab

svn commit: r322438 - in head: bin/sh/tests bin/sh/tests/invocation etc/mtree

2017-08-12 Thread Jilles Tjoelker
Author: jilles Date: Sat Aug 12 19:17:48 2017 New Revision: 322438 URL: https://svnweb.freebsd.org/changeset/base/322438 Log: sh: Add tests for sh -c that already pass. PR: 220587 Submitted by: Ryan Moeller Added: head/bin/sh/tests/invocation/ head/bin/sh/tests/invocation/M

svn commit: r322437 - in head/sys/arm64: arm64 include

2017-08-12 Thread John Baldwin
Author: jhb Date: Sat Aug 12 18:42:54 2017 New Revision: 322437 URL: https://svnweb.freebsd.org/changeset/base/322437 Log: Reliably enable debug exceptions on all CPUs. Previously, debug exceptions were only enabled on the boot CPU if DDB was enabled in the dbg_monitor_init() function. A

svn commit: r322436 - head/sys/arm64/arm64

2017-08-12 Thread John Baldwin
Author: jhb Date: Sat Aug 12 18:38:18 2017 New Revision: 322436 URL: https://svnweb.freebsd.org/changeset/base/322436 Log: Don't panic for PT_GETFPREGS. Only fetch the VFP state from the CPU if the thread whose registers are being requested is the current thread. If a stopped thread's re

svn commit: r322435 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
Author: rlibby Date: Sat Aug 12 18:28:02 2017 New Revision: 322435 URL: https://svnweb.freebsd.org/changeset/base/322435 Log: Revert r322418, LDBL_MAX_EXP unsuitable for macro pasting on some arches Either need a different way to spell HALF_LDBL_MAX, or a different way to spell LDBL_MAX_E

svn commit: r322434 - head/share/mk

2017-08-12 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Sat Aug 12 18:11:41 2017 New Revision: 322434 URL: https://svnweb.freebsd.org/changeset/base/322434 Log: Re-remove excess / for installing SYMLINKS This excess / was introduced in r280129, and fixed in r295230, but got re-introduced while merging anot

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 9:57 AM, Ryan Libby wrote: > On Sat, Aug 12, 2017 at 9:26 AM, Ian Lepore wrote: >> On Fri, 2017-08-11 at 22:41 +, Ryan Libby wrote: >>> Author: rlibby >>> Date: Fri Aug 11 22:41:24 2017 >>> New Revision: 322418 >>> URL: https://svnweb.freebsd.org/changeset/base/322418

svn commit: r322432 - head/lib/libc/sys

2017-08-12 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Sat Aug 12 17:46:50 2017 New Revision: 322432 URL: https://svnweb.freebsd.org/changeset/base/322432 Log: Add missing header. S_IRUSR is defined in sys/stat.h PR: 209229 Submitted by: Approved by: bcr (mentor) MFC after:5 days Dif

svn commit: r322431 - head/sys/dev/iicbus

2017-08-12 Thread Ian Lepore
Author: ian Date: Sat Aug 12 17:39:32 2017 New Revision: 322431 URL: https://svnweb.freebsd.org/changeset/base/322431 Log: Bid for the device with BUS_PROBE_GENERIC, because this is very much a generic driver with minimal feature support for a large number of chips. More featureful per-chip

svn commit: r322429 - in head: . gnu/usr.bin/binutils gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb share/mk

2017-08-12 Thread Warner Losh
Author: imp Date: Sat Aug 12 17:07:27 2017 New Revision: 322429 URL: https://svnweb.freebsd.org/changeset/base/322429 Log: Make _TO_CPUARCH macro for ARCH to CPUARCH conversions Consolidate all the regular expressions to convert from MACHINE_ARCH to MACHINE_CPUARCH into a variable and use

svn commit: r322430 - head/share/mk

2017-08-12 Thread Warner Losh
Author: imp Date: Sat Aug 12 17:07:32 2017 New Revision: 322430 URL: https://svnweb.freebsd.org/changeset/base/322430 Log: arm*hf is no longer a thing, remove it from the conversion now that it's easy. Submitted by: andyt@ Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk ==

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ryan Libby
On Sat, Aug 12, 2017 at 9:26 AM, Ian Lepore wrote: > On Fri, 2017-08-11 at 22:41 +, Ryan Libby wrote: >> Author: rlibby >> Date: Fri Aug 11 22:41:24 2017 >> New Revision: 322418 >> URL: https://svnweb.freebsd.org/changeset/base/322418 >> >> Log: >> lib/msun: avoid referring to broken LDBL_MA

Re: svn commit: r322418 - head/lib/msun/src

2017-08-12 Thread Ian Lepore
On Fri, 2017-08-11 at 22:41 +, Ryan Libby wrote: > Author: rlibby > Date: Fri Aug 11 22:41:24 2017 > New Revision: 322418 > URL: https://svnweb.freebsd.org/changeset/base/322418 > > Log: >   lib/msun: avoid referring to broken LDBL_MAX >    >   LDBL_MAX is broken on i386: >   https://lists.fre

Re: svn commit: r322427 - in head/lib/libc: stdlib string tests/string

2017-08-12 Thread Conrad Meyer
On Sat, Aug 12, 2017 at 8:18 AM, Konstantin Belousov wrote: > Author: kib > Date: Sat Aug 12 15:18:17 2017 > New Revision: 322427 > URL: https://svnweb.freebsd.org/changeset/base/322427 > > Log: > Improve standard compliance for memset_s() and abort_handler_s(). > > abort_handler_s() currently

svn commit: r322428 - head/usr.bin/mkesdb

2017-08-12 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Sat Aug 12 15:51:46 2017 New Revision: 322428 URL: https://svnweb.freebsd.org/changeset/base/322428 Log: Set usage() to show -d flag mkesdb supports the -d flag for enabling debug mode, as documented in the manual. PR: 209865 Submitted by:

svn commit: r322427 - in head/lib/libc: stdlib string tests/string

2017-08-12 Thread Konstantin Belousov
Author: kib Date: Sat Aug 12 15:18:17 2017 New Revision: 322427 URL: https://svnweb.freebsd.org/changeset/base/322427 Log: Improve standard compliance for memset_s() and abort_handler_s(). abort_handler_s() currently simply calls abort(), though the standard specifies more: "Writes an imp

svn commit: r322426 - head/lib/libc/string

2017-08-12 Thread Konstantin Belousov
Author: kib Date: Sat Aug 12 14:58:09 2017 New Revision: 322426 URL: https://svnweb.freebsd.org/changeset/base/322426 Log: Fix indent. Submitted by: Yuri Pankov MFC after:3 days Modified: head/lib/libc/string/memset_s.c Modified: head/lib/libc/string/memset_s.c ==

svn commit: r322425 - in head/sys/dev/cxgbe: . common

2017-08-12 Thread Navdeep Parhar
Author: np Date: Sat Aug 12 14:02:19 2017 New Revision: 322425 URL: https://svnweb.freebsd.org/changeset/base/322425 Log: cxgbe(4): Save the last reported link parameters and compare them with the current state to determine whether to generate a link-state change notification. This fixes a

svn commit: r322424 - head/usr.bin/units

2017-08-12 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Sat Aug 12 12:17:38 2017 New Revision: 322424 URL: https://svnweb.freebsd.org/changeset/base/322424 Log: Correct the -H longopt equivillant PR: 209876 Submitted by: Approved by: bcr (mentor) Differential Revision:https://reviews.