svn commit: r313940 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-02-18 Thread Dmitry Chagin
Author: dchagin Date: Sun Feb 19 07:38:11 2017 New Revision: 313940 URL: https://svnweb.freebsd.org/changeset/base/313940 Log: Implement rt_tgsigqueueinfo system call used by glibc for pthread_sigqueue(3). MFC after:2 week Modified: head/sys/amd64/linux/linux_dummy.c head/sys/amd64

svn commit: r313939 - head/sys/i386/i386

2017-02-18 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 06:14:33 2017 New Revision: 313939 URL: https://svnweb.freebsd.org/changeset/base/313939 Log: MFamd64 r313933: microoptimize pmap_protect_pde(). Noted by: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/i386/i386/pmap.

svn commit: r313938 - head/usr.bin/lam

2017-02-18 Thread Allan Jude
Author: allanjude Date: Sun Feb 19 06:02:41 2017 New Revision: 313938 URL: https://svnweb.freebsd.org/changeset/base/313938 Log: Capsicum-ize lam(1) lam(1) is used in portsnap(8), so lock it down Reviewed by: emaste, cem, jonathan Sponsored by: ScaleEngine Inc. Differential Revisi

svn commit: r313937 - head/sys/dev/isp

2017-02-18 Thread Alexander Motin
Author: mav Date: Sun Feb 19 05:29:06 2017 New Revision: 313937 URL: https://svnweb.freebsd.org/changeset/base/313937 Log: Missed addition to r313936. CTIO waitq present only in ISP_TARGET_MODE. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/i

svn commit: r313935 - head/sys/dev/e1000

2017-02-18 Thread Sean Bruno
Author: sbruno Date: Sun Feb 19 05:06:29 2017 New Revision: 313935 URL: https://svnweb.freebsd.org/changeset/base/313935 Log: Restore PBA setup for igb(4) class devices. Do no write to PBA register on igb(4) devices unless we need to make adjustments for the 82575 and jumbo frames. R

svn commit: r313936 - head/sys/dev/isp

2017-02-18 Thread Alexander Motin
Author: mav Date: Sun Feb 19 05:07:02 2017 New Revision: 313936 URL: https://svnweb.freebsd.org/changeset/base/313936 Log: Move CTIO waitq from per-LUN to per-channel. All resources lack of which may put CTIO into the queue are either per-channel or potentially per-queue, but none of them

svn commit: r313934 - head/sys/x86/x86

2017-02-18 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 03:57:41 2017 New Revision: 313934 URL: https://svnweb.freebsd.org/changeset/base/313934 Log: Fix regression in r313898 on i386. Use large enough type for calculation of mtrr physmask. Typical cpu_maxphyaddr is 36 or larger. Reported and tested by:

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

2017-02-18 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 03:33:20 2017 New Revision: 313933 URL: https://svnweb.freebsd.org/changeset/base/313933 Log: Microoptimize amd64/pmap.c pmap_protect_pde(). For the loop that dirties vm_pages in case superpage was written to, check the complete condition before the loop.

svn commit: r313932 - stable/10/sys/fs/devfs

2017-02-18 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 03:17:11 2017 New Revision: 313932 URL: https://svnweb.freebsd.org/changeset/base/313932 Log: MFC r313797: Minor style fixes. Modified: stable/10/sys/fs/devfs/devfs_devs.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/fs/devfs/dev

svn commit: r313931 - stable/11/sys/fs/devfs

2017-02-18 Thread Konstantin Belousov
Author: kib Date: Sun Feb 19 03:11:14 2017 New Revision: 313931 URL: https://svnweb.freebsd.org/changeset/base/313931 Log: MFC r313797: Minor style fixes. Modified: stable/11/sys/fs/devfs/devfs_devs.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/fs/devfs/dev

svn commit: r313930 - in head/sys: amd64/include kern mips/include mips/mips net powerpc/include sparc64/include

2017-02-18 Thread Jason A. Harmening
Author: jah Date: Sun Feb 19 02:03:09 2017 New Revision: 313930 URL: https://svnweb.freebsd.org/changeset/base/313930 Log: Bring back r313037, with fixes for mips: Implement get_pcpu() for amd64/sparc64/mips/powerpc, and use it to replace pcpu_find(curcpu) in MI code. Reviewed by: a

svn commit: r313929 - stable/10/contrib/libarchive/libarchive

2017-02-18 Thread Martin Matuska
Author: mm Date: Sat Feb 18 22:13:28 2017 New Revision: 313929 URL: https://svnweb.freebsd.org/changeset/base/313929 Log: Fix incomplete merge in r313927: MFC r313572: Vendor bugfixes: cpio reader sanity fix (OSS-Fuzz 504) WARC reader sanity fixes (OSS-Fuzz 511, 526, 532, 55

svn commit: r313928 - head/sys/kern

2017-02-18 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 18 22:06:03 2017 New Revision: 313928 URL: https://svnweb.freebsd.org/changeset/base/313928 Log: locks: clean up trylock primitives In particular thius reduces accesses of the lock itself. Modified: head/sys/kern/kern_mutex.c head/sys/kern/kern_rwlock.c head

svn commit: r313926 - in stable/11/contrib/libarchive/libarchive: . test

2017-02-18 Thread Martin Matuska
Author: mm Date: Sat Feb 18 21:58:56 2017 New Revision: 313926 URL: https://svnweb.freebsd.org/changeset/base/313926 Log: MFC r313572,313782 Sync libarchive with vendor. MFC r313572: Vendor bugfixes: cpio reader sanity fix (OSS-Fuzz 504) WARC reader sanity fixes (OSS-Fuzz

svn commit: r313927 - in stable/10/contrib/libarchive/libarchive: . test

2017-02-18 Thread Martin Matuska
Author: mm Date: Sat Feb 18 21:59:19 2017 New Revision: 313927 URL: https://svnweb.freebsd.org/changeset/base/313927 Log: MFC r313572,313782 Sync libarchive with vendor. MFC r313572: Vendor bugfixes: cpio reader sanity fix (OSS-Fuzz 504) WARC reader sanity fixes (OSS-Fuzz

svn commit: r313925 - head

2017-02-18 Thread Ngie Cooper
Author: ngie Date: Sat Feb 18 21:47:32 2017 New Revision: 313925 URL: https://svnweb.freebsd.org/changeset/base/313925 Log: Include ${LOCALBASE}/bin in $PATH when running "make checkworld" Some of the tests in devel/atf // devel/kyua rely on the tools being in $PATH, which means that the

svn commit: r313924 - head

2017-02-18 Thread Ngie Cooper
Author: ngie Date: Sat Feb 18 21:41:50 2017 New Revision: 313924 URL: https://svnweb.freebsd.org/changeset/base/313924 Log: Quote path to doxygen/kyua in test(1) -x check This is a basic stopgap against ${LOCALBASE} containing spaces in it MFC after:1 week Sponsored by: Dell EMC

svn commit: r313923 - head/include

2017-02-18 Thread Mahdi Mokhtari
Author: mmokhi (ports committer) Date: Sat Feb 18 21:08:09 2017 New Revision: 313923 URL: https://svnweb.freebsd.org/changeset/base/313923 Log: Add new catrigl.c (r313761) APIs to include/complex.h Reviewed by: bde, emaste Approved by: bde, emaste (src committers) Differential Revisio

svn commit: r313922 - head/sys/netipsec

2017-02-18 Thread Andrey V. Elsukov
Author: ae Date: Sat Feb 18 19:53:37 2017 New Revision: 313922 URL: https://svnweb.freebsd.org/changeset/base/313922 Log: For translated packets do not adjust UDP checksum if it is zero. In case when decrypted and decapsulated packet is an UDP datagram, check that its checksum is not zero

svn commit: r313921 - stable/11/sys/dev/iwi

2017-02-18 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 18 19:19:08 2017 New Revision: 313921 URL: https://svnweb.freebsd.org/changeset/base/313921 Log: MFC r313694: iwi: add 12-14 2GHz channels into channel list. Return full channel list via iwi_getradiocaps() method (ieee80211_init_channels() was replaced with iw

svn commit: r313920 - head/sbin/kldload

2017-02-18 Thread Gleb Smirnoff
Author: glebius Date: Sat Feb 18 18:57:29 2017 New Revision: 313920 URL: https://svnweb.freebsd.org/changeset/base/313920 Log: Fix the last case when kldload(8) wasn't printing the name of the module that failed to load. Modified: head/sbin/kldload/kldload.c Modified: head/sbin/kldload/kld

svn commit: r313919 - head/sys/modules/dtb/imx6

2017-02-18 Thread Ian Lepore
Author: ian Date: Sat Feb 18 18:31:42 2017 New Revision: 313919 URL: https://svnweb.freebsd.org/changeset/base/313919 Log: Add dtb files for Boundary Devices Nitrogen 6 family boards. FreeBSD runs on a nitrogen6x quad 2gb, and is expected to run on all the imx6 boards in the nitrogen6 famil

svn commit: r313918 - head/sys/dev/ffec

2017-02-18 Thread Ian Lepore
Author: ian Date: Sat Feb 18 18:27:28 2017 New Revision: 313918 URL: https://svnweb.freebsd.org/changeset/base/313918 Log: Add definitions for the IEEE-1588 registers. Modified: head/sys/dev/ffec/if_ffecreg.h Modified: head/sys/dev/ffec/if_ffecreg.h ==

svn commit: r313917 - head/sys/arm/freescale/imx

2017-02-18 Thread Ian Lepore
Author: ian Date: Sat Feb 18 18:24:03 2017 New Revision: 313917 URL: https://svnweb.freebsd.org/changeset/base/313917 Log: Change the naming of imx{5,6} gpio pins to exactly match the names used in the chip reference manuals: GPIOn_IOnn. Modified: head/sys/arm/freescale/imx/imx_gpio.c Modi

svn commit: r313916 - in stable: 10/contrib/libc++/include 9/contrib/libc++/include

2017-02-18 Thread Dimitry Andric
Author: dim Date: Sat Feb 18 14:44:14 2017 New Revision: 313916 URL: https://svnweb.freebsd.org/changeset/base/313916 Log: Pull in r242377 from upstream libc++ trunk (by Marshall Clow): Make sure that __libcpp_compressed_pair_imp default-constructs its' members, rather than value-init

svn commit: r313916 - in stable: 10/contrib/libc++/include 9/contrib/libc++/include

2017-02-18 Thread Dimitry Andric
Author: dim Date: Sat Feb 18 14:44:14 2017 New Revision: 313916 URL: https://svnweb.freebsd.org/changeset/base/313916 Log: Pull in r242377 from upstream libc++ trunk (by Marshall Clow): Make sure that __libcpp_compressed_pair_imp default-constructs its' members, rather than value-init

svn commit: r313915 - head/sbin/fsck

2017-02-18 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Feb 18 11:43:13 2017 New Revision: 313915 URL: https://svnweb.freebsd.org/changeset/base/313915 Log: Make fsck(8) default to "ufs", like eg mount(8) does. Approved by: imp Discussed with: kib MFC after:2 weeks Sponsored by: DARPA, AFRL Differential

svn commit: r313914 - head/sys/compat/linux

2017-02-18 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 18 10:01:17 2017 New Revision: 313914 URL: https://svnweb.freebsd.org/changeset/base/313914 Log: Style(9), some XXX comments fix. No functional changes. MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified: head/sys/compat/linux/linu

svn commit: r313913 - head/sys/compat/linux

2017-02-18 Thread Dmitry Chagin
Author: dchagin Date: Sat Feb 18 09:39:20 2017 New Revision: 313913 URL: https://svnweb.freebsd.org/changeset/base/313913 Log: Initialize cap_rights before use. MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified: head/sys/compat/linux/linux_socket.c ===