svn commit: r327377 - head/stand/libsa

2017-12-29 Thread Kyle Evans
Author: kevans Date: Sat Dec 30 07:03:52 2017 New Revision: 327377 URL: https://svnweb.freebsd.org/changeset/base/327377 Log: libsa: Pull in strnlen from libc strnlen is not used at the moment, but it will be when libfdt gets updated. Prepare for the not-so-distant future by pulling in

svn commit: r327376 - head/stand/fdt

2017-12-29 Thread Kyle Evans
Author: kevans Date: Sat Dec 30 06:53:27 2017 New Revision: 327376 URL: https://svnweb.freebsd.org/changeset/base/327376 Log: stand/fdt: Swap libfdt include order libfdt.h should be included before fdt.h, as hinted at by all of libfdt/; standard include order being libfdt.h,

svn commit: r327375 - in head: sbin/ifconfig sys/net

2017-12-29 Thread Bryan Venteicher
Author: bryanv Date: Sat Dec 30 04:03:53 2017 New Revision: 327375 URL: https://svnweb.freebsd.org/changeset/base/327375 Log: Add support for IPv6 scoped addresses to vxlan MFC after:2 weeks Modified: head/sbin/ifconfig/ifvxlan.c head/sys/net/if_vxlan.c head/sys/net/if_vxlan.h

svn commit: r327374 - head/sys/opencrypto

2017-12-29 Thread John Baldwin
Author: jhb Date: Sat Dec 30 03:08:49 2017 New Revision: 327374 URL: https://svnweb.freebsd.org/changeset/base/327374 Log: Remove a redunant check. Modified: head/sys/opencrypto/cryptosoft.c Modified: head/sys/opencrypto/cryptosoft.c

svn commit: r327373 - head/sys/geom

2017-12-29 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 30 02:07:18 2017 New Revision: 327373 URL: https://svnweb.freebsd.org/changeset/base/327373 Log: geom_ccd.c: Fix the licenses properly The license merging in r109471 didn't take into account that licensing could change. Just removing the 3rd clause obviates the

svn commit: r327372 - head/sys/geom

2017-12-29 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 30 01:37:08 2017 New Revision: 327372 URL: https://svnweb.freebsd.org/changeset/base/327372 Log: geom_ccd.c: Update the license with changes from upstream. Part of this file originated in NetBSD, with the original file carrying two versions of 4-clause BSD

svn commit: r327371 - head/sys/net80211

2017-12-29 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 30 00:40:34 2017 New Revision: 327371 URL: https://svnweb.freebsd.org/changeset/base/327371 Log: net80211: sanitize input for ieee80211_output() - Add some basic checks for i_fc* bits (ToDS, FromDS, MoreFrag, Protected); those are used / checked across various

svn commit: r327370 - head/sbin/ccdconfig

2017-12-29 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 30 00:26:42 2017 New Revision: 327370 URL: https://svnweb.freebsd.org/changeset/base/327370 Log: ccdconfig: Move VCS tags to be more consistent with our style. Update a now-bogus SPDX tag while here. Modified: head/sbin/ccdconfig/ccdconfig.8

svn commit: r327369 - head/sys/net80211

2017-12-29 Thread Andriy Voskoboinyk
Author: avos Date: Sat Dec 30 00:24:53 2017 New Revision: 327369 URL: https://svnweb.freebsd.org/changeset/base/327369 Log: net80211: handle VHT nodes in ieee80211_node_setuptxparms() Select proper mode when node can do VHT. Currently there are no drivers with VHT support in the tree,

svn commit: r327368 - head/sbin/ccdconfig

2017-12-29 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 30 00:22:47 2017 New Revision: 327368 URL: https://svnweb.freebsd.org/changeset/base/327368 Log: ccdconfig: Update licensing terms to match NetBSD. The code originated in NetBSD which has since removed Clauses 3 and 4. Approved by: phk (concerning his own

svn commit: r327367 - in head/sys: arm/allwinner arm/altera/socfpga arm/arm arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/include arm/mv/armada38x arm/mv/armadaxp arm/nvi...

2017-12-29 Thread Ian Lepore
Author: ian Date: Sat Dec 30 00:20:49 2017 New Revision: 327367 URL: https://svnweb.freebsd.org/changeset/base/327367 Log: Make kernel option KERNVIRTADDR optional, remove it from std. files that can use the default value. It used to be required that the low-order bits of KERNVIRTADDR

svn commit: r327366 - head/share/examples/sunrpc/msg

2017-12-29 Thread Eitan Adler
Author: eadler Date: Fri Dec 29 23:58:05 2017 New Revision: 327366 URL: https://svnweb.freebsd.org/changeset/base/327366 Log: examples: fix typo Modified: head/share/examples/sunrpc/msg/msg_proc.c Modified: head/share/examples/sunrpc/msg/msg_proc.c

svn commit: r327365 - head/targets/pseudo/userland

2017-12-29 Thread Eitan Adler
Author: eadler Date: Fri Dec 29 23:56:06 2017 New Revision: 327365 URL: https://svnweb.freebsd.org/changeset/base/327365 Log: Remove a reference to burncd I'm unclear of the purpose of this pseudo-target but while its here keep it up to date Modified:

Re: svn commit: r327362 - in head/usr.bin/find: . tests

2017-12-29 Thread Oliver Pinter
On Friday, December 29, 2017, Conrad Meyer wrote: > On Fri, Dec 29, 2017 at 2:41 PM, Oliver Pinter > wrote: > > Why did you comment out these tests? > > I think unit tests are a good idea for this kind of change, which is > why I wrote them. And

Re: svn commit: r327362 - in head/usr.bin/find: . tests

2017-12-29 Thread Conrad Meyer
On Fri, Dec 29, 2017 at 2:41 PM, Oliver Pinter wrote: > Why did you comment out these tests? I think unit tests are a good idea for this kind of change, which is why I wrote them. And I run them before commit. But I'm not interested in tilting at the test build

Re: svn commit: r327362 - in head/usr.bin/find: . tests

2017-12-29 Thread Oliver Pinter
On Friday, December 29, 2017, Conrad Meyer wrote: > Author: cem > Date: Fri Dec 29 22:08:43 2017 > New Revision: 327362 > URL: https://svnweb.freebsd.org/changeset/base/327362 > > Log: > find(1): Fix -newer and -samefile to conform to POSIX[0] > > By default, or with the -P

svn commit: r327364 - in head/sys/dev: ahci usb/controller

2017-12-29 Thread Conrad Meyer
Author: cem Date: Fri Dec 29 22:24:41 2017 New Revision: 327364 URL: https://svnweb.freebsd.org/changeset/base/327364 Log: Add AHCI/XHCI device IDs found on AMD 1950X+X399 system A follow-up to r327094. Sponsored by: Dell EMC Isilon Modified: head/sys/dev/ahci/ahci_pci.c

svn commit: r327362 - in head/usr.bin/find: . tests

2017-12-29 Thread Conrad Meyer
Author: cem Date: Fri Dec 29 22:08:43 2017 New Revision: 327362 URL: https://svnweb.freebsd.org/changeset/base/327362 Log: find(1): Fix -newer and -samefile to conform to POSIX[0] By default, or with the -P flag, find(1) should evaluate paths "physically." For symlinks, this means using

svn commit: r327361 - head/share/misc

2017-12-29 Thread Maxim Konovalov
Author: maxim Date: Fri Dec 29 21:37:36 2017 New Revision: 327361 URL: https://svnweb.freebsd.org/changeset/base/327361 Log: Sort by time. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

svn commit: r327360 - head/sys/powerpc/pseries

2017-12-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 29 21:09:17 2017 New Revision: 327360 URL: https://svnweb.freebsd.org/changeset/base/327360 Log: Enhance the CHRP/pSeries platform layer: - Densely number CPUs to avoid systems with CPUs with very high ID numbers - Always have the BSP be CPU 0 to avoid

svn commit: r327359 - head/sys/vm

2017-12-29 Thread Konstantin Belousov
Author: kib Date: Fri Dec 29 20:33:56 2017 New Revision: 327359 URL: https://svnweb.freebsd.org/changeset/base/327359 Log: Do not lock vm map in swapout_procs(). Neither swapout_procs() nor swapout() access the map. Since the process' vmspace is referenced only to obtain the pointer to

svn commit: r327358 - in head/sys: conf powerpc/aim powerpc/include

2017-12-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 29 20:30:10 2017 New Revision: 327358 URL: https://svnweb.freebsd.org/changeset/base/327358 Log: Add support for 64-bit PowerPC kernels to be directly loaded by kexec, which is used as the bootloader on a number of PPC64 platforms. This involves the

svn commit: r327357 - head/sys/powerpc/aim

2017-12-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 29 20:25:15 2017 New Revision: 327357 URL: https://svnweb.freebsd.org/changeset/base/327357 Log: Maintain alignment of in-code 64-bit quantities by design rather than luck. If these are not aligned, the linker has to emit a different type of relocation that

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

2017-12-29 Thread Ian Lepore
Author: ian Date: Fri Dec 29 20:00:19 2017 New Revision: 327356 URL: https://svnweb.freebsd.org/changeset/base/327356 Log: Correct a mistake and reword a couple sentences to clarify that "the value" refers to the scale value, not the kmem_arena size that results from scaling. Suggested

svn commit: r327355 - head/sys/dev/mmc

2017-12-29 Thread Marius Strobl
Author: marius Date: Fri Dec 29 19:07:50 2017 New Revision: 327355 URL: https://svnweb.freebsd.org/changeset/base/327355 Log: - Don't allow userland to switch partitions; it's next to impossible to recover from that, especially when something goes wrong. - When userland changes EXT_CSD,

svn commit: r327354 - head/sys/vm

2017-12-29 Thread Konstantin Belousov
Author: kib Date: Fri Dec 29 19:05:07 2017 New Revision: 327354 URL: https://svnweb.freebsd.org/changeset/base/327354 Log: Style. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:https://reviews.freebsd.org/D13678 Modified:

svn commit: r327353 - head/tests/sys/geom/class/eli

2017-12-29 Thread Alan Somers
Author: asomers Date: Fri Dec 29 18:42:55 2017 New Revision: 327353 URL: https://svnweb.freebsd.org/changeset/base/327353 Log: geli: fix the resize test on arm64 The resize test used bsdlabel(8), which is not available on all architectures. Change it to use gpart(8) instead, which

svn commit: r327352 - head/tests/sys/geom/class/eli

2017-12-29 Thread Alan Somers
Author: asomers Date: Fri Dec 29 18:09:06 2017 New Revision: 327352 URL: https://svnweb.freebsd.org/changeset/base/327352 Log: Fix a harmless typo from r310786 I copy/pasted a reference to an undefined shell variable. MFC after:2 weeks Modified:

svn commit: r327350 - in head/stand: efi/fdt uboot/fdt

2017-12-29 Thread Kyle Evans
Author: kevans Date: Fri Dec 29 18:08:30 2017 New Revision: 327350 URL: https://svnweb.freebsd.org/changeset/base/327350 Log: stand/fdt: Consistently apply fdt_overlays Overlays were previously not applied when U-Boot provides FDT or EFI provides FDT, only when we load FDT from /boot/dtb

svn commit: r327351 - head/stand

2017-12-29 Thread Warner Losh
Author: imp Date: Fri Dec 29 18:08:35 2017 New Revision: 327351 URL: https://svnweb.freebsd.org/changeset/base/327351 Log: Fix ubldr. uboot/lib uses defines for the loader. It's part of the loader, but not compile as loader (it's building a library), so we can't just include loader.mk for

svn commit: r327349 - head/sys/vm

2017-12-29 Thread Alan Cox
Author: alc Date: Fri Dec 29 17:02:22 2017 New Revision: 327349 URL: https://svnweb.freebsd.org/changeset/base/327349 Log: After r327168, the variable "vm_pageout_wanted" can be static. MFC after:2 weeks Modified: head/sys/vm/vm_pageout.c head/sys/vm/vm_pageout.h Modified:

svn commit: r327347 - head/tests/sys/geom/class/eli

2017-12-29 Thread Alan Somers
Author: asomers Date: Fri Dec 29 16:13:06 2017 New Revision: 327347 URL: https://svnweb.freebsd.org/changeset/base/327347 Log: geli: factor out some common code in the geli tests No functional change. MFC after:2 weeks Sponsored by: Spectra Logic Corp Modified:

svn commit: r327346 - head/tests/sys/geom/class/eli

2017-12-29 Thread Alan Somers
Author: asomers Date: Fri Dec 29 16:06:10 2017 New Revision: 327346 URL: https://svnweb.freebsd.org/changeset/base/327346 Log: Fix potential TOCTTOU bug in the geli tests This change mostly reverts r293436, which introduced the bug due to a belief that geli(8) would allocate md(4)

svn commit: r327345 - head/tools/tools/sysbuild

2017-12-29 Thread Poul-Henning Kamp
Author: phk Date: Fri Dec 29 15:38:43 2017 New Revision: 327345 URL: https://svnweb.freebsd.org/changeset/base/327345 Log: Add a crude workaround for ports with flavors Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

svn commit: r327344 - head/share/misc

2017-12-29 Thread Eitan Adler
Author: eadler Date: Fri Dec 29 15:04:49 2017 New Revision: 327344 URL: https://svnweb.freebsd.org/changeset/base/327344 Log: locale: add cnr (Montenegrin) See https://www.loc.gov/standards/iso639-2/php/code_changes.php Modified: head/share/misc/iso639 Modified: head/share/misc/iso639

svn commit: r327343 - head/lib/libc/locale

2017-12-29 Thread Eitan Adler
Author: eadler Date: Fri Dec 29 14:56:46 2017 New Revision: 327343 URL: https://svnweb.freebsd.org/changeset/base/327343 Log: libc/locale: fix an off-by-one in newlocale Reported by: z...@dragonflybsd.org Modified: head/lib/libc/locale/xlocale.c Modified:

svn commit: r327342 - head/share/misc

2017-12-29 Thread Eitan Adler
Author: eadler Date: Fri Dec 29 14:31:43 2017 New Revision: 327342 URL: https://svnweb.freebsd.org/changeset/base/327342 Log: bsd-family-tree: add NetBSD 7.1.1; correct NetBSD abbrev Reported by: Herbert J. Skuhra Reported by: N.J. Mann Modified:

svn commit: r327339 - head/sys/dev/sdhci

2017-12-29 Thread Marius Strobl
Author: marius Date: Fri Dec 29 12:48:19 2017 New Revision: 327339 URL: https://svnweb.freebsd.org/changeset/base/327339 Log: - There is no need to keep the tuning error and re-tuning interrupts enabled (though, no interrupt generation enabled for them) all the time as soon as