svn commit: r346628 - head/usr.sbin/pkg

2019-04-23 Thread Colin Percival
Author: cperciva Date: Wed Apr 24 06:25:21 2019 New Revision: 346628 URL: https://svnweb.freebsd.org/changeset/base/346628 Log: Keep two versions of the FreeBSD.conf pkg configuration file; one which points at the "latest" branch and one which points at the "quarterly" branch. Install the "

svn commit: r346627 - head/tests/sys/opencrypto

2019-04-23 Thread Enji Cooper
Author: ngie Date: Wed Apr 24 05:52:24 2019 New Revision: 346627 URL: https://svnweb.freebsd.org/changeset/base/346627 Log: Use `range` instead of `xrange` `xrange` is a pre-python 2.x compatible idiom. Use `range` instead. The values being iterated over are sufficiently small that using

svn commit: r346626 - head/tests/sys/opencrypto

2019-04-23 Thread Enji Cooper
Author: ngie Date: Wed Apr 24 05:49:48 2019 New Revision: 346626 URL: https://svnweb.freebsd.org/changeset/base/346626 Log: Fix typo: `Plen` should be `plen` MFC after:1 month MFC with: r346617 Reported by: pylint -E Modified: head/tests/sys/opencrypto/cryptotest.py Modifie

svn commit: r346625 - head/tests/sys/opencrypto

2019-04-23 Thread Enji Cooper
Author: ngie Date: Wed Apr 24 05:47:09 2019 New Revision: 346625 URL: https://svnweb.freebsd.org/changeset/base/346625 Log: Don't leak `fd` when manipulating the device via `_getdev()` Close the file descriptor when done calling ioctl with a try-finally block so it doesn't get leaked.

svn commit: r346624 - head/bin/date

2019-04-23 Thread Warner Losh
Author: imp Date: Wed Apr 24 05:24:10 2019 New Revision: 346624 URL: https://svnweb.freebsd.org/changeset/base/346624 Log: Restore the -n flag parsing, but ignore it. Since D19668 was done, new users of the -n flag have surfaced. Parse and ignore it on the command line until they can be u

svn commit: r346623 - head/tests/sys/opencrypto

2019-04-23 Thread Enji Cooper
Author: ngie Date: Wed Apr 24 04:50:03 2019 New Revision: 346623 URL: https://svnweb.freebsd.org/changeset/base/346623 Log: Chase PEP-3110 Replace `except Environment, e:` with `except Environment as e` for compatibility between python 2.x and python 3.x. While here, fix a bad indent

svn commit: r346620 - head/tests/sys/opencrypto

2019-04-23 Thread Enji Cooper
Author: ngie Date: Wed Apr 24 04:40:24 2019 New Revision: 346620 URL: https://svnweb.freebsd.org/changeset/base/346620 Log: Reapply whitespace style changes from r346443 after recent changes to tests/sys/opencrypto From r346443: """ Replace hard tabs with four-character indentations, p

Re: svn commit: r346315 - head/lib/libcasper/services/cap_fileargs

2019-04-23 Thread Yoshihiro Ota
Hi Ed and thank you for taking a look. my svn info says 346593 which is after few other fixes were commited. I'm on i386 arch. I haven't done installworld yet after picking up libcasper changes. 'make buildworld' works fine. 'make xdev-build' fails and I tried with both "arm" and "mips" for TARGE

Re: svn commit: r346619 - head/sys/powerpc/aim

2019-04-23 Thread Enji Cooper
> On Apr 23, 2019, at 19:51, Justin Hibbits wrote: > > Author: jhibbits > Date: Wed Apr 24 02:51:58 2019 > New Revision: 346619 > URL: https://svnweb.freebsd.org/changeset/base/346619 > > Log: > powerpc: Add a couple missing isyncs > > mtmsr and mtsr require context synchronizing instruction

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

2019-04-23 Thread Justin Hibbits
Author: jhibbits Date: Wed Apr 24 02:51:58 2019 New Revision: 346619 URL: https://svnweb.freebsd.org/changeset/base/346619 Log: powerpc: Add a couple missing isyncs mtmsr and mtsr require context synchronizing instructions to follow. Without a CSI, there's a chance for a machine check ex

svn commit: r346618 - head/sys/conf

2019-04-23 Thread Kyle Evans
Author: kevans Date: Wed Apr 24 01:11:50 2019 New Revision: 346618 URL: https://svnweb.freebsd.org/changeset/base/346618 Log: fdt: stop installing FDT_DTS_FILE r346307 inadvertently started installing FDT_DTS_FILE along with the kernel. While this isn't necessarily bad, it was not intende

svn commit: r346617 - head/tests/sys/opencrypto

2019-04-23 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:23:06 2019 New Revision: 346617 URL: https://svnweb.freebsd.org/changeset/base/346617 Log: Test the AES-CCM test vectors from the NIST Known Answer Tests. The CCM test vectors use a slightly different file format in that there are global key-value pairs as

svn commit: r346616 - head/tests/sys/opencrypto

2019-04-23 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:16:39 2019 New Revision: 346616 URL: https://svnweb.freebsd.org/changeset/base/346616 Log: Run the plain SHA digest tests from NIST. Pass in an explicit digest length to the Crypto constructor since it was assuming only sessions with a MAC key would have a

svn commit: r346615 - head/tests/sys/opencrypto

2019-04-23 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:14:37 2019 New Revision: 346615 URL: https://svnweb.freebsd.org/changeset/base/346615 Log: Use more descriptive algorithm names in skip messages. Reviewed by: cem, ngie MFC after:1 month Sponsored by: Chelsio Communications Differential Revision:

svn commit: r346614 - head/tests/sys/opencrypto

2019-04-23 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:10:21 2019 New Revision: 346614 URL: https://svnweb.freebsd.org/changeset/base/346614 Log: Skip tests with missing test vectors instead of failing. This copes more gracefully when older version of the nist-kat package are intalled that don't have newer test

svn commit: r346605 - head/tests/sys/geom/class/mirror

2019-04-23 Thread Olivier Cochard
Author: olivier (ports committer) Date: Tue Apr 23 21:07:47 2019 New Revision: 346605 URL: https://svnweb.freebsd.org/changeset/base/346605 Log: Skip test component_selection:run_latest_genid if gmirror/gnop GEOM classes aren't available PR: 237051 Reviewed by: asomers, imp,

svn commit: r346604 - in head/lib/libsecureboot: . h

2019-04-23 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 23 20:25:25 2019 New Revision: 346604 URL: https://svnweb.freebsd.org/changeset/base/346604 Log: Allow no_hash to appear in manifest. sbin/veriexec will ignore entries that have no hash anyway, but loader needs to be explicitly told that such files are ok to ig

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

2019-04-23 Thread Dmitry Chagin
Author: dchagin Date: Tue Apr 23 18:10:46 2019 New Revision: 346603 URL: https://svnweb.freebsd.org/changeset/base/346603 Log: Since r339624 HEAD does not need for backslashes in syscalls.master, however to make a merge r345471 to the stable add backslashes to the syscalls.master. MFC a

svn commit: r346602 - head/sys/net

2019-04-23 Thread Kyle Evans
Author: kevans Date: Tue Apr 23 17:28:28 2019 New Revision: 346602 URL: https://svnweb.freebsd.org/changeset/base/346602 Log: tun(4): Defer clearing TUN_OPEN until much later tun destruction will not continue until TUN_OPEN is cleared. There are brief moments in tunclose where the mutex i

Re: svn commit: r346598 - head/sys/modules

2019-04-23 Thread Rodney W. Grimes
> Author: emaste > Date: Tue Apr 23 15:11:01 2019 > New Revision: 346598 > URL: https://svnweb.freebsd.org/changeset/base/346598 > > Log: > Enable Mellanox drivers (modules) on AArch64 > > Tested by Greg V with mlx5en on an Ampere eMAG instance at Packet.com on > c2.large.arm (with some a

svn commit: r346601 - head/sys/netinet6

2019-04-23 Thread Conrad Meyer
Author: cem Date: Tue Apr 23 17:18:20 2019 New Revision: 346601 URL: https://svnweb.freebsd.org/changeset/base/346601 Log: ip6_randomflowlabel: Avoid blocking if random(4) is not available If kern.random.initial_seeding.bypass_before_seeding is disabled, random(4) and arc4random(9) will b

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

2019-04-23 Thread Leandro Lupori
Author: luporl Date: Tue Apr 23 17:11:45 2019 New Revision: 346600 URL: https://svnweb.freebsd.org/changeset/base/346600 Log: [PPC64] Fix wrong KASSERT in mphyp_pte_insert() As mphyp_pte_unset() can also remove PTE entries, and as this can happen in parallel with PTEs evicted by mphyp_pte

svn commit: r346599 - head/sys/netinet/netdump

2019-04-23 Thread Conrad Meyer
Author: cem Date: Tue Apr 23 17:05:57 2019 New Revision: 346599 URL: https://svnweb.freebsd.org/changeset/base/346599 Log: netdump: Fix !COMPAT_FREEBSD11 unused variable warning Reported by: Ralf Wenk Sponsored by: Dell EMC Isilon Modified: head/sys/netinet/netdump/netdump_client.c

svn commit: r346598 - head/sys/modules

2019-04-23 Thread Ed Maste
Author: emaste Date: Tue Apr 23 15:11:01 2019 New Revision: 346598 URL: https://svnweb.freebsd.org/changeset/base/346598 Log: Enable Mellanox drivers (modules) on AArch64 Tested by Greg V with mlx5en on an Ampere eMAG instance at Packet.com on c2.large.arm (with some additional uncommitte

Re: svn commit: r346315 - head/lib/libcasper/services/cap_fileargs

2019-04-23 Thread Ed Maste
On Tue, 23 Apr 2019 at 00:07, Yoshihiro Ota wrote: > > It looks this change is causing 'make xdev TARGET=mips TARGET_ARCH=mips' to > fail as the following with HEAD checked out under "/usr/obj/freebsd": Hello Hiro-san, sorry about that. I tried `make xdev TARGET=mips TARGET_ARCH=mips` on HEAD j

svn commit: r346596 - head/sys/netinet6

2019-04-23 Thread Konstantin Belousov
Author: kib Date: Tue Apr 23 12:23:44 2019 New Revision: 346596 URL: https://svnweb.freebsd.org/changeset/base/346596 Log: poib: assign link-local address according to RFC RFC 4391 specifies that the IB interface GID should be re-used as IPv6 link-local address. Since the code in in6_get

Re: svn commit: r346588 - head/lib/libc/powerpc64/string

2019-04-23 Thread Alexey Dokuchaev
On Tue, Apr 23, 2019 at 02:53:53AM +, Justin Hibbits wrote: > New Revision: 346588 > URL: https://svnweb.freebsd.org/changeset/base/346588 > > Log: > powerpc64: Rewrite strcmp in asm to take advantage of word size > ... > Some performance gain rates between the current and the optimized >

svn commit: r346595 - head/sys/netinet

2019-04-23 Thread Bjoern A. Zeeb
Author: bz Date: Tue Apr 23 10:12:33 2019 New Revision: 346595 URL: https://svnweb.freebsd.org/changeset/base/346595 Log: iFix udp_output() lock inconsistency. In r297225 the initial INP_RLOCK() was replaced by an early acquisition of an r- or w-lock depending on input variables possibl

svn commit: r346594 - head/sbin/camcontrol

2019-04-23 Thread Steven Hartland
Author: smh Date: Tue Apr 23 07:46:38 2019 New Revision: 346594 URL: https://svnweb.freebsd.org/changeset/base/346594 Log: Add ATA power mode support to camcontrol Add the ability to report ATA device power mode with the cmmand 'powermode' to compliment the existing ability to set it usin