svn commit: r326459 - head/usr.sbin/efidp

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 07:29:24 2017 New Revision: 326459 URL: https://svnweb.freebsd.org/changeset/base/326459 Log: Add -u (--to-unix) and -e (--to-efi) to convert unix or efi paths to the other. Sponsored by: Netflix Modified: head/usr.sbin/efidp/Makefile head/usr.sbin/efidp/

svn commit: r326457 - head/usr.sbin/efidp

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 07:29:07 2017 New Revision: 326457 URL: https://svnweb.freebsd.org/changeset/base/326457 Log: Read multiple lines when parsing the data. Allow multiple device paths to be read when formatting device paths. Set the upper limit to 64k (most of these paths are < 64

svn commit: r326458 - head/lib/libefivar

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 07:29:19 2017 New Revision: 326458 URL: https://svnweb.freebsd.org/changeset/base/326458 Log: Create a function to translate UEFI paths to unix paths efivar_device_path_to_unix_path translates from UEFI to Unix efivar_unix_path_to_device_path translates from U

Re: svn commit: r326454 - in head/sys: conf dev/bwn gnu/dev/bwn/phy_n modules/bwn modules/bwn_pci

2017-12-01 Thread Kyle Evans
On Dec 1, 2017 8:21 PM, "Landon J. Fuller" wrote: Author: landonf Date: Sat Dec 2 02:21:27 2017 New Revision: 326454 URL: https://svnweb.freebsd.org/changeset/base/326454 Log: Introduce bwn(4) support for the bhnd(4) bus. Currently, bwn(4) relies on the siba_bwn(4) bus driver to provide su

svn commit: r326456 - head/etc

2017-12-01 Thread Eitan Adler
Author: eadler Date: Sat Dec 2 06:23:02 2017 New Revision: 326456 URL: https://svnweb.freebsd.org/changeset/base/326456 Log: pf.os: Add OpenBSD:6.1 Obtained From: OpenBSD Modified: head/etc/pf.os Modified: head/etc/pf.os =

svn commit: r326455 - head/usr.bin/dc

2017-12-01 Thread Alan Somers
Author: asomers Date: Sat Dec 2 06:05:03 2017 New Revision: 326455 URL: https://svnweb.freebsd.org/changeset/base/326455 Log: Reap dead code usr.bin/dc/inout.c Reap some dead code that was killed back in 2003 in OpenBSD, in version 1.8 of this file. MFC after:3 wee

svn commit: r326454 - in head/sys: conf dev/bwn gnu/dev/bwn/phy_n modules/bwn modules/bwn_pci

2017-12-01 Thread Landon J. Fuller
Author: landonf Date: Sat Dec 2 02:21:27 2017 New Revision: 326454 URL: https://svnweb.freebsd.org/changeset/base/326454 Log: Introduce bwn(4) support for the bhnd(4) bus. Currently, bwn(4) relies on the siba_bwn(4) bus driver to provide support for the on-chip SSB interconnect found in

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

2017-12-01 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 2 01:42:07 2017 New Revision: 326453 URL: https://svnweb.freebsd.org/changeset/base/326453 Log: Override memattr for mmap on the Freescale DIU driver The Display Interface Unit (DIU) uses main memory for the framebuffer, which is already mapped as cache coh

svn commit: r326452 - head/sys/dev/bhnd/cores/pmu

2017-12-01 Thread Landon J. Fuller
Author: landonf Date: Sat Dec 2 01:10:45 2017 New Revision: 326452 URL: https://svnweb.freebsd.org/changeset/base/326452 Log: bhnd_pmu(4): Do not leak our chipc provider reference or clkctl state in failure paths of bhnd_pmu_attach() Approved by: adrian (mentor, implicit) Sponsored by

svn commit: r326451 - head/sys/dev/bhnd/bhndb

2017-12-01 Thread Landon J. Fuller
Author: landonf Date: Sat Dec 2 01:07:41 2017 New Revision: 326451 URL: https://svnweb.freebsd.org/changeset/base/326451 Log: bhndb(4): Fix leak of child devices and MSI vectors. - Add missing call to device_delete_children() in bhndb_detach(), without which we're left with stale child

svn commit: r326450 - head/sys/dev/bhnd/cores/chipc

2017-12-01 Thread Landon J. Fuller
Author: landonf Date: Sat Dec 2 00:52:59 2017 New Revision: 326450 URL: https://svnweb.freebsd.org/changeset/base/326450 Log: bhnd_chipc(4): Break cyclic references to the ChipCommon device bhnd_chipc's children may hold strong provider references to their parent; we must detach any chil

svn commit: r326449 - head/sys/dev/bhnd/bhndb

2017-12-01 Thread Landon J. Fuller
Author: landonf Date: Sat Dec 2 00:09:58 2017 New Revision: 326449 URL: https://svnweb.freebsd.org/changeset/base/326449 Log: bhndb(4): Fix incorrect assertion in bhndb_deregister_intr_handler(). When deregistered, a handler should be in an 'active' state. Approved by: adrian (mentor

svn commit: r326445 - head/stand/libsa

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:07:19 2017 New Revision: 326445 URL: https://svnweb.freebsd.org/changeset/base/326445 Log: Fix random() and srandom() prototypes to match the standard. These prototypes were needlessly different from the standard. Fix them to be the same, and fix the surrou

svn commit: r326446 - head/stand/userboot/test

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:07:25 2017 New Revision: 326446 URL: https://svnweb.freebsd.org/changeset/base/326446 Log: Undefine _STANDALONE since this is test code. This is unsastifying, but since we sadly only have one test, put this in as a stopgap. Sponsored by: Netflix Modified:

svn commit: r326447 - in head/stand/mips/beri: boot2 common loader

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:07:31 2017 New Revision: 326447 URL: https://svnweb.freebsd.org/changeset/base/326447 Log: Tweaks to the beri boot loader so that it builds w/o warnings. Sponsored by: Netflix Modified: head/stand/mips/beri/boot2/Makefile head/stand/mips/beri/boot2/boot2

svn commit: r326444 - head/stand/geli

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:07:14 2017 New Revision: 326444 URL: https://svnweb.freebsd.org/changeset/base/326444 Log: Move geli to common DO32 stuff define DO32 since this is only build in amd64/i386 Remove files not needed. Sponsored by: Netflix Modified: head/stand/geli/Mak

svn commit: r326448 - in head: stand stand/geli stand/i386/gptboot stand/i386/libi386 stand/i386/zfsboot stand/libsa stand/zfs sys/cddl/boot/zfs

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:07:37 2017 New Revision: 326448 URL: https://svnweb.freebsd.org/changeset/base/326448 Log: Fix all warnings related to geli and ZFS support on x86. Default WARNS to 0 still, since there's still some warnings on other architectures. Sponsored by: Netfli

svn commit: r326443 - in head: stand/geli sys/geom/eli sys/opencrypto sys/sys

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:07:09 2017 New Revision: 326443 URL: https://svnweb.freebsd.org/changeset/base/326443 Log: We don't need both _STAND and _STANDALONE. There's more places that use _STANDALONE, so change the former to the latter. Sponsored by: Netflix Modified: head/stand

svn commit: r326441 - in head/stand: . libsa mips/beri/boot2

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:06:58 2017 New Revision: 326441 URL: https://svnweb.freebsd.org/changeset/base/326441 Log: Minor flags cleanup Move kernel includes and libsa includes together at the top of defs.mk Move all machine specific defines from Makefile.inc to their friends in d

svn commit: r326440 - in head/stand: efi/boot1 i386/gptboot powerpc/boot1.chrp sparc64/boot1

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:06:52 2017 New Revision: 326440 URL: https://svnweb.freebsd.org/changeset/base/326440 Log: Remove stale dependency on ufsread.c Remove the now-useless dependency on ufsread.c. In some cases, it was on the wrong file. But in all cases, we now automatically g

svn commit: r326442 - in head/stand: . powerpc/boot1.chrp

2017-12-01 Thread Warner Losh
Author: imp Date: Sat Dec 2 00:07:04 2017 New Revision: 326442 URL: https://svnweb.freebsd.org/changeset/base/326442 Log: Cleanup CFALGS usage here Only define the CFLAGS we need. SSP_CFLAGS is now defined globally, no need to define it here. Define -D_STANDALONE globally for src/stand

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

2017-12-01 Thread Warner Losh
Author: imp Date: Fri Dec 1 22:52:45 2017 New Revision: 326439 URL: https://svnweb.freebsd.org/changeset/base/326439 Log: Fix missing .Dd bump Modified: head/lib/libc/sys/mknod.2 Modified: head/lib/libc/sys/mknod.2

svn commit: r326438 - head/sys/kern

2017-12-01 Thread Mark Johnston
Author: markj Date: Fri Dec 1 22:51:02 2017 New Revision: 326438 URL: https://svnweb.freebsd.org/changeset/base/326438 Log: Plug a name cache lock leak. Reviewed by: mjg MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/

svn commit: r326437 - in head/lib/libc: gen sys

2017-12-01 Thread Warner Losh
Author: imp Date: Fri Dec 1 22:48:20 2017 New Revision: 326437 URL: https://svnweb.freebsd.org/changeset/base/326437 Log: Correct history for Unix 2nd Edition through 6th Edition for the system calls. Man pages are missing for v2 and v5, so any entries for those versions were inferred by ne

svn commit: r326436 - head/usr.bin/vmstat

2017-12-01 Thread Konstantin Belousov
Author: kib Date: Fri Dec 1 22:38:28 2017 New Revision: 326436 URL: https://svnweb.freebsd.org/changeset/base/326436 Log: vmstat: fix style(9) violations and bump WARNS. Based on the patch by:Pawel Biernacki Sponsored by: Mysterious Code Ltd. (Pawel), The FreeBSD Found

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

2017-12-01 Thread Warner Losh
Author: imp Date: Fri Dec 1 22:26:36 2017 New Revision: 326435 URL: https://svnweb.freebsd.org/changeset/base/326435 Log: Mark all the system calls that were in 1st Edition Unix as such in the HISTORY section. Note: Any system calls that were added prior to v7, but after v1 weren't changed.

svn commit: r326434 - head/usr.bin/fmt

2017-12-01 Thread Eitan Adler
Author: eadler Date: Fri Dec 1 21:44:23 2017 New Revision: 326434 URL: https://svnweb.freebsd.org/changeset/base/326434 Log: fmt(1): Fix usage of Nm macro Modified: head/usr.bin/fmt/fmt.1 Modified: head/usr.bin/fmt/fmt.1 ==

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

2017-12-01 Thread Kyle Evans
Author: kevans Date: Fri Dec 1 20:51:08 2017 New Revision: 326433 URL: https://svnweb.freebsd.org/changeset/base/326433 Log: a10_gpio: Add support for more modern pin configuration a10_gpio previously accepted only {allwinner,}drive and {allwinner,}pull for drive/bias setting, while newe

svn commit: r326432 - head/sys/net

2017-12-01 Thread Stephen Hurd
Author: shurd Date: Fri Dec 1 17:58:20 2017 New Revision: 326432 URL: https://svnweb.freebsd.org/changeset/base/326432 Log: Add support for SIOCGIFXMEDIA to iflib SIOCGIFXMEDIA is required for extended ethernet media types, but iflib did not support it. Reported by: Bhargava Chenna

svn commit: r326431 - stable/11/sys/boot/common

2017-12-01 Thread Ed Maste
Author: emaste Date: Fri Dec 1 17:15:13 2017 New Revision: 326431 URL: https://svnweb.freebsd.org/changeset/base/326431 Log: MFC r324703: loader.mk: clean md.o even if MD_IMAGE_SIZE not defined We don't normally provide special handling for optionally-included src files, but md.o depends

svn commit: r326430 - head/bin/ps

2017-12-01 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Dec 1 11:32:05 2017 New Revision: 326430 URL: https://svnweb.freebsd.org/changeset/base/326430 Log: Add "vmaddr" ps(1) keyword. Obtained from:CheriBSD MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/bin/ps/keyword.c head/bin/ps/ps.1

svn commit: r326429 - head/sys/kern

2017-12-01 Thread Konstantin Belousov
Author: kib Date: Fri Dec 1 11:18:19 2017 New Revision: 326429 URL: https://svnweb.freebsd.org/changeset/base/326429 Log: Destroy seltd st_mtx and st_wait in seltdfini(). A correct destruction is important for WITNESS(4) and LOCK_PROFILING(9). Submitted by: Sebastian Huber MFC afte

svn commit: r326428 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-12-01 Thread Andriy Gapon
Author: avg Date: Fri Dec 1 11:14:13 2017 New Revision: 326428 URL: https://svnweb.freebsd.org/changeset/base/326428 Log: MFC r326070: zfs_write: fix problem with writes appearing to succeed when over quota The problem happens when the writes have offsets and sizes aligned with a filesy

svn commit: r326427 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-12-01 Thread Andriy Gapon
Author: avg Date: Fri Dec 1 11:13:58 2017 New Revision: 326427 URL: https://svnweb.freebsd.org/changeset/base/326427 Log: MFC r326070: zfs_write: fix problem with writes appearing to succeed when over quota The problem happens when the writes have offsets and sizes aligned with a filesy

svn commit: r326426 - stable/10/sys/cddl/compat/opensolaris/kern

2017-12-01 Thread Andriy Gapon
Author: avg Date: Fri Dec 1 11:11:25 2017 New Revision: 326426 URL: https://svnweb.freebsd.org/changeset/base/326426 Log: MFC r326067: make illumos uiocopy use vn_io_fault_uiomove Modified: stable/10/sys/cddl/compat/opensolaris/kern/opensolaris_uio.c Directory Properties: stable/10/ (pro

svn commit: r326425 - stable/11/sys/cddl/compat/opensolaris/kern

2017-12-01 Thread Andriy Gapon
Author: avg Date: Fri Dec 1 11:06:51 2017 New Revision: 326425 URL: https://svnweb.freebsd.org/changeset/base/326425 Log: MFC r326067: make illumos uiocopy use vn_io_fault_uiomove Modified: stable/11/sys/cddl/compat/opensolaris/kern/opensolaris_uio.c Directory Properties: stable/11/ (pro

svn commit: r326424 - head/sys/vm

2017-12-01 Thread Konstantin Belousov
Author: kib Date: Fri Dec 1 10:53:08 2017 New Revision: 326424 URL: https://svnweb.freebsd.org/changeset/base/326424 Log: Add comment for vm_map_find_min(). Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:3 days X-Differential revision: https://reviews.freeb

svn commit: r326423 - head/lib/libproc/tests

2017-12-01 Thread Ed Schouten
Author: ed Date: Fri Dec 1 10:25:52 2017 New Revision: 326423 URL: https://svnweb.freebsd.org/changeset/base/326423 Log: Eliminate the last user of basename_r() in the base system. In this case it's fairly easy to make use of basename(). Modified: head/lib/libproc/tests/proc_test.c Mod

svn commit: r326422 - head/sys/netipsec

2017-12-01 Thread Andrey V. Elsukov
Author: ae Date: Fri Dec 1 09:59:42 2017 New Revision: 326422 URL: https://svnweb.freebsd.org/changeset/base/326422 Log: Do better cleaning in key_destroy() for VIMAGE case. SPDB was cleaned using TAILQ_CONCAT() instead of calling key_unlink() for each SP, thus we need to properly clean

svn commit: r326421 - head/stand/efi/libefi

2017-12-01 Thread Toomas Soome
Author: tsoome Date: Fri Dec 1 06:37:12 2017 New Revision: 326421 URL: https://svnweb.freebsd.org/changeset/base/326421 Log: loader.efi: efipart should exclude iPXE stub block protocol iPXE does insert stub BLOCK IO protocol handle to rework other issues, this handle is not usable as it