svn commit: r324379 - head/usr.sbin/cxgbetool

2017-10-06 Thread Navdeep Parhar
Author: np Date: Sat Oct 7 01:20:30 2017 New Revision: 324379 URL: https://svnweb.freebsd.org/changeset/base/324379 Log: cxgbetool(8): Do not create a large file devoid of useful content when the dumpstate ioctl fails. Make the file world-readable while here. MFC after:2 weeks Spo

svn commit: r324378 - head/sys/kern

2017-10-06 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 6 23:05:55 2017 New Revision: 324378 URL: https://svnweb.freebsd.org/changeset/base/324378 Log: namecache: factor out ~MAKEENTRY lookups from the common path Lookups of the sort are rare compared to regular ones and succesfull ones result in removing entries fro

svn commit: r324377 - in head: share/man/man9 sys/kern sys/sys

2017-10-06 Thread Mark Johnston
Author: markj Date: Fri Oct 6 21:52:28 2017 New Revision: 324377 URL: https://svnweb.freebsd.org/changeset/base/324377 Log: Let stack_create(9) take a malloc flags argument. Reviewed by: cem Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.org/D12614

svn commit: r324376 - head/tests/sys/netpfil/pf

2017-10-06 Thread Kristof Provost
Author: kp Date: Fri Oct 6 20:51:32 2017 New Revision: 324376 URL: https://svnweb.freebsd.org/changeset/base/324376 Log: pf: Very basic forwarding test This test illustrates the use of scapy to test pf. Differential Revision:https://reviews.freebsd.org/D12581 Added: head/te

svn commit: r324375 - in head: etc/mtree tests/sys tests/sys/netpfil tests/sys/netpfil/pf

2017-10-06 Thread Kristof Provost
Author: kp Date: Fri Oct 6 20:43:14 2017 New Revision: 324375 URL: https://svnweb.freebsd.org/changeset/base/324375 Log: pf: Basic automated test using VIMAGE If VIMAGE is present we can start jails with their own pf instance. This makes it fairly easy to run tests. For example, this b

svn commit: r324374 - head/sys/netinet

2017-10-06 Thread Gleb Smirnoff
Author: glebius Date: Fri Oct 6 20:33:40 2017 New Revision: 324374 URL: https://svnweb.freebsd.org/changeset/base/324374 Log: Declare pmtud_blackhole global variables in tcp_timer.h, so that alternative TCP stacks can legally use them. Modified: head/sys/netinet/tcp_timer.c head/sys/neti

svn commit: r324373 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-10-06 Thread Mark Johnston
Author: markj Date: Fri Oct 6 18:29:00 2017 New Revision: 324373 URL: https://svnweb.freebsd.org/changeset/base/324373 Log: Avoid adding an extra "0x" prefix before pointer formats. MFC after:1 week Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_dis.c head/cddl/co

svn commit: r324372 - head/sys/dev/random

2017-10-06 Thread Conrad Meyer
Author: cem Date: Fri Oct 6 18:27:55 2017 New Revision: 324372 URL: https://svnweb.freebsd.org/changeset/base/324372 Log: random(4): Discard low entropy inputs The later fields of the harvest_event structure are predictable and provide little value to the entropy pool. Only feed in the

svn commit: r324370 - head/release/arm

2017-10-06 Thread Glen Barber
Author: gjb Date: Fri Oct 6 17:30:18 2017 New Revision: 324370 URL: https://svnweb.freebsd.org/changeset/base/324370 Log: Catch up with r324340, switching relevant arm SoCs from armv6 to armv7. Sponsored by: The FreeBSD Foundation Modified: head/release/arm/BANANAPI.conf head/releas

svn commit: r324369 - head/sbin/geom/class/part

2017-10-06 Thread Marcel Moolenaar
Author: marcel Date: Fri Oct 6 16:38:00 2017 New Revision: 324369 URL: https://svnweb.freebsd.org/changeset/base/324369 Log: Fix alignment of 'last' in autofill. 'last' is the sector number of the last usable sector. Sector numbers start with 0. As such, 'last' is always 1 less than th

svn commit: r324368 - head/sys/dev/psci

2017-10-06 Thread Andrew Turner
Author: andrew Date: Fri Oct 6 15:46:11 2017 New Revision: 324368 URL: https://svnweb.freebsd.org/changeset/base/324368 Log: Also handle psci 1.0. This can be seen as a bug fix update for the 0.2 specification we already support, with the only changes in functions we don't currently use.

svn commit: r324367 - head/bin/ps

2017-10-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Oct 6 15:09:28 2017 New Revision: 324367 URL: https://svnweb.freebsd.org/changeset/base/324367 Log: Fix kvm_getprocs(3) error reporting in ps(1). Previously it just didn't work at all - kvm_getprocs(3) doesn't update the &nentries when it returns NULL. The end re

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

2017-10-06 Thread Konstantin Belousov
Author: kib Date: Fri Oct 6 14:29:53 2017 New Revision: 324366 URL: https://svnweb.freebsd.org/changeset/base/324366 Log: Improve i386_get_ldt(). Provide consistent snapshot of the requested descriptors by preventing other threads from modifying LDT while we fetch the data, lock dt_lock

svn commit: r324365 - head

2017-10-06 Thread Warner Losh
Author: imp Date: Fri Oct 6 13:48:38 2017 New Revision: 324365 URL: https://svnweb.freebsd.org/changeset/base/324365 Log: Note about workaround for native armv7 builds using a kernel prior to r324363. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r324364 - head/libexec/ftpd

2017-10-06 Thread Eugene Grosbein
Author: eugen (ports committer) Date: Fri Oct 6 13:46:05 2017 New Revision: 324364 URL: https://svnweb.freebsd.org/changeset/base/324364 Log: ftpd(8): fix user context handling. Apply authenticated user context after update of wtmp(5) at start of session, so that ftpd process is not kill

svn commit: r324363 - head/sys/arm/include

2017-10-06 Thread Warner Losh
Author: imp Date: Fri Oct 6 13:43:16 2017 New Revision: 324363 URL: https://svnweb.freebsd.org/changeset/base/324363 Log: Oversight on armv7 bulk commit: Make MACHINE_ARCH be armv7 for new enough processors. This isn't ideal, because one could still compile MACHINE_ARCH armv6, but with armv

svn commit: r324362 - head/contrib/mdocml

2017-10-06 Thread Baptiste Daroussin
Author: bapt Date: Fri Oct 6 12:31:55 2017 New Revision: 324362 URL: https://svnweb.freebsd.org/changeset/base/324362 Log: Import mandoc 1.14.3 MFC after:1 week Modified: head/contrib/mdocml/Makefile head/contrib/mdocml/NEWS head/contrib/mdocml/man_term.c head/contrib/mdocml/m

svn commit: r324361 - in head/contrib: ctfdump mdocml

2017-10-06 Thread Baptiste Daroussin
Author: bapt Date: Fri Oct 6 12:30:54 2017 New Revision: 324361 URL: https://svnweb.freebsd.org/changeset/base/324361 Log: Revert r324358, some cruft when in with it, it will be properly reimported in another commit Deleted: head/contrib/ctfdump/ Modified: head/contrib/mdocml/Makefile

svn commit: r324360 - in head/sys/boot/efi: include libefi loader

2017-10-06 Thread Warner Losh
Author: imp Date: Fri Oct 6 12:21:46 2017 New Revision: 324360 URL: https://svnweb.freebsd.org/changeset/base/324360 Log: Encapsulate ZFS preferences into efi_zfs_is_preferred Move the retrieval of the image information into loader's main instead of doing it in efizfs.c Differentia

svn commit: r324359 - in head/sys/boot/efi: include libefi

2017-10-06 Thread Warner Losh
Author: imp Date: Fri Oct 6 12:20:24 2017 New Revision: 324359 URL: https://svnweb.freebsd.org/changeset/base/324359 Log: Add efi_devpath_is_prefix efi_devpath_is_prefix determines if a path matches a passed-in prefix. Differential Revision: https://reviews.freebsd.org/D12564 Submit

svn commit: r324358 - in head/contrib: ctfdump mdocml

2017-10-06 Thread Baptiste Daroussin
Author: bapt Date: Fri Oct 6 11:48:09 2017 New Revision: 324358 URL: https://svnweb.freebsd.org/changeset/base/324358 Log: Import 1.14.3 MFC after:1 week Added: head/contrib/ctfdump/ - copied from r323072, vendor/ctfdump/dist/ Modified: head/contrib/mdocml/Makefile head/con

Re: svn commit: r324341 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/mv arm/mv/arma

2017-10-06 Thread Warner Losh
On Fri, Oct 6, 2017 at 1:16 AM, Andrew Turner wrote: > > > On 6 Oct 2017, at 00:01, Warner Losh wrote: > > > > Author: imp > > Date: Thu Oct 5 23:01:50 2017 > > New Revision: 324341 > > URL: https://svnweb.freebsd.org/changeset/base/324341 > > > > Log: > > Tag all armv7 kernels as such in thei

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

2017-10-06 Thread Konstantin Belousov
Author: kib Date: Fri Oct 6 10:17:50 2017 New Revision: 324355 URL: https://svnweb.freebsd.org/changeset/base/324355 Log: Remove unneeded cast. Reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/i386/i386/sys_machdep.c Modified: head/sys/

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

2017-10-06 Thread Konstantin Belousov
Author: kib Date: Fri Oct 6 10:16:57 2017 New Revision: 324354 URL: https://svnweb.freebsd.org/changeset/base/324354 Log: Style. Reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/i386/i386/sys_machdep.c Modified: head/sys/i386/i386/sys_m

svn commit: r324353 - head/sys/kern

2017-10-06 Thread Emmanuel Vadot
Author: manu Date: Fri Oct 6 09:02:36 2017 New Revision: 324353 URL: https://svnweb.freebsd.org/changeset/base/324353 Log: vfs_export_lookup: Fix r324054 When using the default address list nam is still valid, the code in r324054 assumed that is was NULL. Reported by: Guy Yur Te

svn commit: r324352 - head/share/man/man5

2017-10-06 Thread Jeremie Le Hen
Author: jlh Date: Fri Oct 6 08:49:15 2017 New Revision: 324352 URL: https://svnweb.freebsd.org/changeset/base/324352 Log: Bump src.conf.5's Dd. This file shouldn't be modified manually but well, I did it in my previous commit. So go down further the rabbit hole so as to at least keep so

svn commit: r324351 - in head: . bin bin/rcp etc etc/mtree etc/pam.d libexec libexec/rlogind libexec/rshd rescue/rescue share/man/man5 share/mk tools/build/mk tools/build/options tools/tools/nanobs...

2017-10-06 Thread Jeremie Le Hen
Author: jlh Date: Fri Oct 6 08:43:14 2017 New Revision: 324351 URL: https://svnweb.freebsd.org/changeset/base/324351 Log: Remove rcmds. If they are still needed, you can find them in the net/bsdrcmds port. This was proposed June, 20th and approved by various committers [1]. They hav

svn commit: r324350 - head/cddl/contrib/opensolaris/cmd/zdb

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:28:35 2017 New Revision: 324350 URL: https://svnweb.freebsd.org/changeset/base/324350 Log: zdb.8: replace with the slighly modified upstream version The upstream has converted their manual page to the same format as we have, so we can use the upstream versi

Re: svn commit: r324341 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/mv arm/mv/arma

2017-10-06 Thread Andrew Turner
> On 6 Oct 2017, at 00:01, Warner Losh wrote: > > Author: imp > Date: Thu Oct 5 23:01:50 2017 > New Revision: 324341 > URL: https://svnweb.freebsd.org/changeset/base/324341 > > Log: > Tag all armv7 kernels as such in their machine config line. > > Transition all boards that support arm cort

svn commit: r324349 - in head: cddl/contrib/opensolaris/cmd/zdb sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:21:06 2017 New Revision: 324349 URL: https://svnweb.freebsd.org/changeset/base/324349 Log: MFV r322235: 8067 zdb should be able to dump literal embedded block pointer illumos/illumos-gate@4923c69fddc0887da5604a262585af3efd82ee20 https://github.com/illumos/

Re: svn commit: r324341 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/mv arm/mv/arma

2017-10-06 Thread Emmanuel Vadot
Hi Warner, On Thu, 5 Oct 2017 23:01:50 + (UTC) Warner Losh wrote: > Author: imp > Date: Thu Oct 5 23:01:50 2017 > New Revision: 324341 > URL: https://svnweb.freebsd.org/changeset/base/324341 > > Log: > Tag all armv7 kernels as such in their machine config line. > > Transition all

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:17:12 2017 New Revision: 324348 URL: https://svnweb.freebsd.org/changeset/base/324348 Log: MFV r316934: 7340 receive manual origin should override automatic origin illumos/illumos-gate@ed4e7a6a5cbc5e8986dc649ad54435210487b102 https://github.com/illumos/ill

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:15:37 2017 New Revision: 324347 URL: https://svnweb.freebsd.org/changeset/base/324347 Log: MFV r316933: 5142 libzfs support raidz root pool (loader project) illumos/illumos-gate@d5f26ad8122c3762fb16413a17bfb497db86a782 https://github.com/illumos/illumos-ga

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:12:13 2017 New Revision: 324346 URL: https://svnweb.freebsd.org/changeset/base/324346 Log: MFV r316931: 6268 zfs diff confused by moving a file to another directory illumos/illumos-gate@aab04418a72c0a29040a5da7eec08efe19dbef04 https://github.com/illumos/il

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:10:54 2017 New Revision: 324345 URL: https://svnweb.freebsd.org/changeset/base/324345 Log: MFV r316877: 7571 non-present readonly numeric ZFS props do not have default value illumos/illumos-gate@ad2760acbd9c3b479bf632f05c6f03d89830799d https://github.com/

svn commit: r324344 - head/cddl/contrib/opensolaris/cmd/zdb

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:09:20 2017 New Revision: 324344 URL: https://svnweb.freebsd.org/changeset/base/324344 Log: MFV r316864: 6392 zdb: introduce -V for verbatim import illumos/illumos-gate@dfd5965f7e43b6a630e5ac86708ae76b4f02cc40 https://github.com/illumos/illumos-gate/commit/

svn commit: r324343 - head/cddl/contrib/opensolaris/cmd/zdb

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 07:52:25 2017 New Revision: 324343 URL: https://svnweb.freebsd.org/changeset/base/324343 Log: MFV r316862: 6410 teach zdb to perform object lookups by path illumos/illumos-gate@ed61ec1da9132e570b0853386d0f78a32f852cd2 https://github.com/illumos/illumos-gate/c