svn commit: r309035 - in head/lib/libpathconv: . tests

2016-11-22 Thread Julian Elischer
Author: julian Date: Wed Nov 23 07:57:52 2016 New Revision: 309035 URL: https://svnweb.freebsd.org/changeset/base/309035 Log: This little BSD licensed library has been kicking around for years. It allows one to trivially convert an absolute path to a relative path and the reverse. The test

svn commit: r309030 - in head/sys/dev/hyperv: include vmbus

2016-11-22 Thread Sepherosa Ziehau
Author: sephe Date: Wed Nov 23 05:03:44 2016 New Revision: 309030 URL: https://svnweb.freebsd.org/changeset/base/309030 Log: hyperv/vmbus: Set a mark on the revoked channel. This will be used to fix device detach DEVMETHOD for revoked primary channel. MFC after:1 week

svn commit: r309029 - head/sys/arm/allwinner

2016-11-22 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 23 01:44:28 2016 New Revision: 309029 URL: https://svnweb.freebsd.org/changeset/base/309029 Log: Do not attempt to disable/release clock if it had not been enabled. While here fix a style(9) issue. MFC after:1 week Modified:

svn commit: r309028 - head/sys/dev/bnxt

2016-11-22 Thread Stephen Hurd
Author: shurd (ports committer) Date: Wed Nov 23 00:26:31 2016 New Revision: 309028 URL: https://svnweb.freebsd.org/changeset/base/309028 Log: Add missing break to switch statement Minimal impact, would allow selection of LR media when KR is connected. Reported by: Coverity

svn commit: r309027 - head/sbin/dhclient

2016-11-22 Thread Brooks Davis
Author: brooks Date: Tue Nov 22 22:45:15 2016 New Revision: 309027 URL: https://svnweb.freebsd.org/changeset/base/309027 Log: Allocate a struct ifreq rather than using a (wrong) computed size for the BIOCSETIF ioctl. The kernel always copies an entire struct ifreq and IPv4 addresses will

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

2016-11-22 Thread Jilles Tjoelker
Author: jilles Date: Tue Nov 22 22:30:55 2016 New Revision: 309026 URL: https://svnweb.freebsd.org/changeset/base/309026 Log: open(2): Clarify non-POSIX error when opening a symlink with O_NOFOLLOW. We return [EMLINK] instead of [ELOOP] when trying to open a symlink with O_NOFOLLOW, so

svn commit: r309025 - head/usr.sbin/fifolog/lib

2016-11-22 Thread Poul-Henning Kamp
Author: phk Date: Tue Nov 22 22:10:58 2016 New Revision: 309025 URL: https://svnweb.freebsd.org/changeset/base/309025 Log: Pass the correct size argument to ioctl(DIOCGSECTORSIZE) Modified: head/usr.sbin/fifolog/lib/fifolog_create.c Modified: head/usr.sbin/fifolog/lib/fifolog_create.c

svn commit: r309024 - stable/10/sys/sys

2016-11-22 Thread Alan Somers
Author: asomers Date: Tue Nov 22 21:02:35 2016 New Revision: 309024 URL: https://svnweb.freebsd.org/changeset/base/309024 Log: MFC r307584 (partially) 307584 added the __min_size macro and replaced some static array sizes with __min_size. However, stable/10 doesn't yet have any static

Re: svn commit: r308696 - in head: share/man/man4 sys/boot/forth sys/conf sys/dev/bnxt sys/modules sys/modules/bnxt

2016-11-22 Thread Stephen Hurd
Conrad Meyer wrote: > Hi Stephen, > > Coverity reports a missing 'break;' (or explicit /* FALLTHROUGH */) in > if_bnxt.c:1915. (The HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_BASEKR cases > flow into the HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_BASELR case.) CID is > 1366223. > > If the fall-through is

svn commit: r309023 - in stable/11: lib/libmd sys/crypto sys/crypto/aesni sys/crypto/sha2 sys/crypto/siphash sys/crypto/skein sys/sys

2016-11-22 Thread Alan Somers
Author: asomers Date: Tue Nov 22 20:28:17 2016 New Revision: 309023 URL: https://svnweb.freebsd.org/changeset/base/309023 Log: MFC r307584 Fix C++ includability of crypto headers with static array sizes C99 allows array function parameters to use the static keyword for their sizes.

Re: svn commit: r308696 - in head: share/man/man4 sys/boot/forth sys/conf sys/dev/bnxt sys/modules sys/modules/bnxt

2016-11-22 Thread Conrad Meyer
Hi Stephen, Coverity reports a missing 'break;' (or explicit /* FALLTHROUGH */) in if_bnxt.c:1915. (The HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_BASEKR cases flow into the HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_BASELR case.) CID is 1366223. If the fall-through is intentional, please add the comment. If

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

2016-11-22 Thread Andrew Turner
Author: andrew Date: Tue Nov 22 19:31:32 2016 New Revision: 309022 URL: https://svnweb.freebsd.org/changeset/base/309022 Log: Add the missing DEVMETHOD_ENDs to the arm64 nexus ACPI and FDT drivers. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r309014 - head/sys/net80211

2016-11-22 Thread Ian Lepore
On Tue, 2016-11-22 at 17:36 +, Adrian Chadd wrote: > Author: adrian > Date: Tue Nov 22 17:36:16 2016 > New Revision: 309014 > URL: https://svnweb.freebsd.org/changeset/base/309014 > > Log: >   [net80211] high oops on the high seas, or "god damnit compilers, > it's 2016 and you're supposed to

Re: svn commit: r309014 - head/sys/net80211

2016-11-22 Thread Conrad Meyer
On Tue, Nov 22, 2016 at 9:36 AM, Adrian Chadd wrote: > Author: adrian > Date: Tue Nov 22 17:36:16 2016 > New Revision: 309014 > URL: https://svnweb.freebsd.org/changeset/base/309014 > > Log: > [net80211] high oops on the high seas, or "god damnit compilers, it's 2016 > and

svn commit: r309021 - in stable: 10/release/doc/en_US.ISO8859-1/hardware 11/release/doc/en_US.ISO8859-1/hardware

2016-11-22 Thread John Baldwin
Author: jhb Date: Tue Nov 22 18:46:01 2016 New Revision: 309021 URL: https://svnweb.freebsd.org/changeset/base/309021 Log: MFC 306999: Add a missing word. Modified: stable/11/release/doc/en_US.ISO8859-1/hardware/article.xml Directory Properties: stable/11/ (props changed) Changes in

svn commit: r309021 - in stable: 10/release/doc/en_US.ISO8859-1/hardware 11/release/doc/en_US.ISO8859-1/hardware

2016-11-22 Thread John Baldwin
Author: jhb Date: Tue Nov 22 18:46:01 2016 New Revision: 309021 URL: https://svnweb.freebsd.org/changeset/base/309021 Log: MFC 306999: Add a missing word. Modified: stable/10/release/doc/en_US.ISO8859-1/hardware/article.xml Directory Properties: stable/10/ (props changed) Changes in

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

2016-11-22 Thread John Baldwin
Author: jhb Date: Tue Nov 22 18:43:04 2016 New Revision: 309020 URL: https://svnweb.freebsd.org/changeset/base/309020 Log: MFC 308142: Move declarations of invpcid_works and pmap_pcid_enabled to pmap.h. Previously these were only declared under #ifdef SMP in . However, these variables

svn commit: r309019 - head/share/misc

2016-11-22 Thread David Bright
Author: dab Date: Tue Nov 22 18:32:20 2016 New Revision: 309019 URL: https://svnweb.freebsd.org/changeset/base/309019 Log: Add myself (dab) as a src committer and vangyzen as my mentor. Approved by: vangyzen (mentor) Modified: head/share/misc/committers-src.dot Modified:

svn commit: r309018 - head/sys/kern

2016-11-22 Thread Ruslan Bukin
Author: br Date: Tue Nov 22 18:31:43 2016 New Revision: 309018 URL: https://svnweb.freebsd.org/changeset/base/309018 Log: Revert r306186 ("Adjust the sopt_val pointer on bigendian systems"). This logic doesn't work with bigger sopt_valsize (e.g. when ipfw passing 2048 bytes rule).

svn commit: r309017 - in head/sys: cddl/compat/opensolaris/sys compat/linprocfs fs/tmpfs sys vm

2016-11-22 Thread Alan Cox
Author: alc Date: Tue Nov 22 18:13:46 2016 New Revision: 309017 URL: https://svnweb.freebsd.org/changeset/base/309017 Log: Remove PG_CACHED-related fields from struct vmmeter, because they are no longer used. More precisely, they are always zero because the code that decremented and

svn commit: r309016 - head/sys/conf

2016-11-22 Thread Andrew Turner
Author: andrew Date: Tue Nov 22 18:13:04 2016 New Revision: 309016 URL: https://svnweb.freebsd.org/changeset/base/309016 Log: Only build acpi_timer.c on x86, it fails on arm64 as it attempts to access an invalid address. It is also unneeded on arm64 as we use the ARM Generic Timer driver.

Re: svn commit: r309014 - head/sys/net80211

2016-11-22 Thread Conrad Meyer
On Tue, Nov 22, 2016 at 10:10 AM, Conrad Meyer wrote: > On Tue, Nov 22, 2016 at 9:36 AM, Adrian Chadd wrote: >> Author: adrian >> Date: Tue Nov 22 17:36:16 2016 >> New Revision: 309014 >> URL: https://svnweb.freebsd.org/changeset/base/309014 >> >> Log: >>

Re: svn commit: r308777 - head/sys/dev/iwm

2016-11-22 Thread Conrad Meyer
Hi, See inline below. On Thu, Nov 17, 2016 at 12:00 PM, Imre Vadász wrote: > Author: ivadasz > Date: Thu Nov 17 20:00:20 2016 > New Revision: 308777 > URL: https://svnweb.freebsd.org/changeset/base/308777 > > Log: > [iwm] Sync iwm_nvm_read_chunk() function with Linux

svn commit: r309015 - stable/11/sys/net

2016-11-22 Thread Mark Johnston
Author: markj Date: Tue Nov 22 17:42:59 2016 New Revision: 309015 URL: https://svnweb.freebsd.org/changeset/base/309015 Log: MFC r308694: Plug a lock leak in sysctl_ifmalist(). PR: 214542 Modified: stable/11/sys/net/rtsock.c Directory Properties: stable/11/ (props changed)

svn commit: r309014 - head/sys/net80211

2016-11-22 Thread Adrian Chadd
Author: adrian Date: Tue Nov 22 17:36:16 2016 New Revision: 309014 URL: https://svnweb.freebsd.org/changeset/base/309014 Log: [net80211] high oops on the high seas, or "god damnit compilers, it's 2016 and you're supposed to save me from this." TODO: * drink real coffee before

svn commit: r309007 - in stable/11: contrib/ntp contrib/ntp/html contrib/ntp/html/drivers contrib/ntp/include contrib/ntp/lib/isc contrib/ntp/libntp contrib/ntp/libparse contrib/ntp/ntpd contrib/nt...

2016-11-22 Thread Xin LI
Author: delphij Date: Tue Nov 22 16:22:51 2016 New Revision: 309007 URL: https://svnweb.freebsd.org/changeset/base/309007 Log: MFC r308957: MFV r308954: ntp 4.2.8p9. Approved by: so Added: stable/11/contrib/ntp/include/libssl_compat.h - copied unchanged from r308957,

svn commit: r309009 - in stable/9: contrib/ntp contrib/ntp/html contrib/ntp/html/drivers contrib/ntp/include contrib/ntp/lib/isc contrib/ntp/libntp contrib/ntp/libparse contrib/ntp/ntpd contrib/ntp...

2016-11-22 Thread Xin LI
Author: delphij Date: Tue Nov 22 16:23:46 2016 New Revision: 309009 URL: https://svnweb.freebsd.org/changeset/base/309009 Log: MFC r308957: MFV r308954: ntp 4.2.8p9. Approved by: so Added: stable/9/contrib/ntp/include/libssl_compat.h - copied unchanged from r308957,

svn commit: r309008 - in stable/10: contrib/ntp contrib/ntp/html contrib/ntp/html/drivers contrib/ntp/include contrib/ntp/lib/isc contrib/ntp/libntp contrib/ntp/libparse contrib/ntp/ntpd contrib/nt...

2016-11-22 Thread Xin LI
Author: delphij Date: Tue Nov 22 16:23:20 2016 New Revision: 309008 URL: https://svnweb.freebsd.org/changeset/base/309008 Log: MFC r308957: MFV r308954: ntp 4.2.8p9. Approved by: so Added: stable/10/contrib/ntp/include/libssl_compat.h - copied unchanged from r308957,

svn commit: r309006 - head/lib/libc/gen

2016-11-22 Thread Ed Maste
Author: emaste Date: Tue Nov 22 16:00:18 2016 New Revision: 309006 URL: https://svnweb.freebsd.org/changeset/base/309006 Log: remove unnecessary vm includes from setproctitle vm headers were needed only for the PS_STRINGS fallback, which was removed in r297888. MFC after:1 week

svn commit: r308996 - head/lib/libfetch

2016-11-22 Thread Dag-Erling Smørgrav
Author: des Date: Tue Nov 22 13:30:07 2016 New Revision: 308996 URL: https://svnweb.freebsd.org/changeset/base/308996 Log: Refactor fetch_connect() and fetch_bind() to improve readability and avoid repeating the same DNS lookups. MFC after:3 weeks Modified:

svn commit: r308995 - head/sys/fs/udf

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 13:24:57 2016 New Revision: 308995 URL: https://svnweb.freebsd.org/changeset/base/308995 Log: On error, bread(9) zeroes buffer pointer, do not dereference it. See r294954 for the bread(9) change and r297401 for similar cd9660 fix. Reported and tested by:

svn commit: r308990 - vendor-sys/illumos/dist/uts/common/fs/zfs

2016-11-22 Thread Andriy Gapon
Author: avg Date: Tue Nov 22 11:51:55 2016 New Revision: 308990 URL: https://svnweb.freebsd.org/changeset/base/308990 Log: 7181 race between zfs_mount and zfs_ioc_rollback illumos/illumos-gate@90f2c094b3822f4825f21cef2c2faf7d03b55139

svn commit: r308989 - vendor/illumos/dist/lib/libzfs/common

2016-11-22 Thread Andriy Gapon
Author: avg Date: Tue Nov 22 11:50:52 2016 New Revision: 308989 URL: https://svnweb.freebsd.org/changeset/base/308989 Log: 6428 set canmount=off on unmounted filesystem tries to unmount children illumos/illumos-gate@c079fa4d202eff15e318131c52755d214ffa2da7

svn commit: r308988 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2016-11-22 Thread Andriy Gapon
Author: avg Date: Tue Nov 22 11:49:55 2016 New Revision: 308988 URL: https://svnweb.freebsd.org/changeset/base/308988 Log: 7199, 7200 dsl_dataset_rollback_sync may try to free already free blocks 7199 dsl_dataset_rollback_sync may try to free already free blocks 7200 no blocks must be

svn commit: r308987 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2016-11-22 Thread Andriy Gapon
Author: avg Date: Tue Nov 22 11:47:27 2016 New Revision: 308987 URL: https://svnweb.freebsd.org/changeset/base/308987 Log: 7180 potential race between zfs_suspend_fs+zfs_resume_fs and zfs_ioc_rename illumos/illumos-gate@690041b9caf801816f2d0bac90bc7cecefb73523

svn commit: r308986 - vendor/illumos/dist/lib/libzfs/common

2016-11-22 Thread Andriy Gapon
Author: avg Date: Tue Nov 22 11:46:22 2016 New Revision: 308986 URL: https://svnweb.freebsd.org/changeset/base/308986 Log: 6412 zfs receive: -u can be ignored sometimes illumos/illumos-gate@9185393f2919d8b897f6142d8a9fa0429c285dc1

svn commit: r308985 - head/cddl/contrib/opensolaris/lib/libzfs/common

2016-11-22 Thread Andriy Gapon
Author: avg Date: Tue Nov 22 11:44:30 2016 New Revision: 308985 URL: https://svnweb.freebsd.org/changeset/base/308985 Log: revert r304520, set canmount=on is not supposed to mount the filesystem Not sure where I got the idea that it should. See

svn commit: r308980 - head/sys/fs/nfsclient

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 10:58:24 2016 New Revision: 308980 URL: https://svnweb.freebsd.org/changeset/base/308980 Log: Use buffer pager for NFS. The pager, due to its construction, implements clustering for the page-ins. In particular, buildworld load demonstrates reduction of the

svn commit: r308973 - head/sys/fs/nfsclient

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 10:24:59 2016 New Revision: 308973 URL: https://svnweb.freebsd.org/changeset/base/308973 Log: Minor cleanup, remove unneeded XXX comments and unused re-define. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r308970 - stable/11/sbin/ipfw

2016-11-22 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 22 10:09:04 2016 New Revision: 308970 URL: https://svnweb.freebsd.org/changeset/base/308970 Log: MFC r308673: Add missing support of named lookup tables to the IPv6 code. PR: 214419 Modified: stable/11/sbin/ipfw/ipfw2.c

svn commit: r308969 - head/sys/kern

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 10:06:39 2016 New Revision: 308969 URL: https://svnweb.freebsd.org/changeset/base/308969 Log: Restore vnode pager statistic for buffer pagers. Reviewed by: alc, markj Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week

svn commit: r308967 - stable/10/libexec/rtld-elf

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 09:49:15 2016 New Revision: 308967 URL: https://svnweb.freebsd.org/changeset/base/308967 Log: MFC r308688: Assert that there is no unresolved symbols during rtld linking. Modified: stable/10/libexec/rtld-elf/Makefile Directory Properties: stable/10/ (props

svn commit: r308966 - stable/10/libexec/rtld-elf

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 09:47:22 2016 New Revision: 308966 URL: https://svnweb.freebsd.org/changeset/base/308966 Log: MFC r308687: Update hint to utilize user variable. Modified: stable/10/libexec/rtld-elf/Makefile Directory Properties: stable/10/ (props changed) Modified:

svn commit: r308965 - head/sys/arm/arm

2016-11-22 Thread Andrew Turner
Author: andrew Date: Tue Nov 22 09:39:31 2016 New Revision: 308965 URL: https://svnweb.freebsd.org/changeset/base/308965 Log: Split out the FDT parts of the pmu driver to make way for adding ACPI support. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation

svn commit: r308964 - stable/11/libexec/rtld-elf

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 09:37:31 2016 New Revision: 308964 URL: https://svnweb.freebsd.org/changeset/base/308964 Log: MFC r308688: Assert that there is no unresolved symbols during rtld linking. Modified: stable/11/libexec/rtld-elf/Makefile Directory Properties: stable/11/ (props

svn commit: r308963 - stable/11/libexec/rtld-elf

2016-11-22 Thread Konstantin Belousov
Author: kib Date: Tue Nov 22 09:35:50 2016 New Revision: 308963 URL: https://svnweb.freebsd.org/changeset/base/308963 Log: MFC r308687: Update hint to utilize user variable. Modified: stable/11/libexec/rtld-elf/Makefile Directory Properties: stable/11/ (props changed) Modified:

svn commit: r308958 - head/contrib/ntp/sntp

2016-11-22 Thread Xin LI
Author: delphij Date: Tue Nov 22 08:30:32 2016 New Revision: 308958 URL: https://svnweb.freebsd.org/changeset/base/308958 Log: Replay r304721 in contrib/ so the change won't get lost across import. Modified: head/contrib/ntp/sntp/sntp.1sntpmdoc Modified: head/contrib/ntp/sntp/sntp.1sntpmdoc

svn commit: r308957 - in head: contrib/ntp contrib/ntp/html contrib/ntp/html/drivers contrib/ntp/include contrib/ntp/lib/isc contrib/ntp/libntp contrib/ntp/libparse contrib/ntp/ntpd contrib/ntp/ntp...

2016-11-22 Thread Xin LI
Author: delphij Date: Tue Nov 22 08:27:49 2016 New Revision: 308957 URL: https://svnweb.freebsd.org/changeset/base/308957 Log: MFV r308954: ntp 4.2.8p9. Approved by: so Added: head/contrib/ntp/include/libssl_compat.h - copied unchanged from r308954,