svn commit: r346593 - head/sys/sys

2019-04-22 Thread Wojciech Macek
Author: wma Date: Tue Apr 23 06:36:32 2019 New Revision: 346593 URL: https://svnweb.freebsd.org/changeset/base/346593 Log: This patch offers a workaround to buf_ring reordering visible on armv7 and armv8. Similar issue to rS302292. Obtained from: Semihalf Authored by:

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

2019-04-22 Thread Yoshihiro Ota
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": cc -O2 -pipe -DWITH_CASPER -I/usr/obj/freebsd/contrib/elftoolchain/libelftc - I/usr/obj/freebsd/contrib/elftoolchain/common -g -MD -MF.depend.strin

svn commit: r346591 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_c...

2019-04-22 Thread Cy Schubert
Author: cy Date: Tue Apr 23 03:52:43 2019 New Revision: 346591 URL: https://svnweb.freebsd.org/changeset/base/346591 Log: MFV r346563: Update wpa_supplicant/hostapd 2.7 --> 2.8 Upstream documents the following advisories: - https://w1.fi/security/2019-1/sae-side-channel-attacks.tx

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

2019-04-22 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 23 03:19:03 2019 New Revision: 346590 URL: https://svnweb.freebsd.org/changeset/base/346590 Log: [PowerPC64] pseries-llan: increment packet output counters on error and success Summary: when using pseries-llan driver, Opkts and Oerrs counters (netstat -i) a

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

2019-04-22 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 23 03:05:26 2019 New Revision: 346589 URL: https://svnweb.freebsd.org/changeset/base/346589 Log: powerpc64/pseries: Fix hypervisor call with extra arguments Some hypervisor calls, such as H_SEND_LOGICAL_LAN, take more arguments than are traditionally passed

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

2019-04-22 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 23 02:53:53 2019 New Revision: 346588 URL: https://svnweb.freebsd.org/changeset/base/346588 Log: powerpc64: Rewrite strcmp in asm to take advantage of word size Summary: Optimize strcmp for powerpc64. Data is loaded by double words and cmpb intruction is u

Re: svn commit: r346571 - in head: share/examples/tests/tests/tap share/man/man4 share/man/man5 share/zoneinfo/tests usr.bin/calendar/calendars usr.bin/du/tests usr.bin/getconf/tests usr.bin/procstat/

2019-04-22 Thread Enji Cooper
> On Apr 22, 2019, at 1:50 PM, Rodney W. Grimes > wrote: … > It still does not dis-associate mav's copyright with the All rights reserved > clause, > as it appears as if he did an insert of copyright bewteen the 2, thus giving > grey assertion by him of that clause. > > Again, please get mav

Re: svn commit: r346571 - in head: share/examples/tests/tests/tap share/man/man4 share/man/man5 share/zoneinfo/tests usr.bin/calendar/calendars usr.bin/du/tests usr.bin/getconf/tests usr.bin/procstat/

2019-04-22 Thread Rodney W. Grimes
> > On Apr 22, 2019, at 12:19, Edward Napierala wrote: > > > > On Mon, 22 Apr 2019 at 20:01, Rodney W. Grimes > > wrote: > >> > >>> Author: ngie > >>> Date: Mon Apr 22 17:52:46 2019 > >>> New Revision: 346571 > >>> URL: https://svnweb.freebsd.org/changeset/base/346571 > >>> > >>> Log: > >>> U

Re: svn commit: r346571 - in head: share/examples/tests/tests/tap share/man/man4 share/man/man5 share/zoneinfo/tests usr.bin/calendar/calendars usr.bin/du/tests usr.bin/getconf/tests usr.bin/procstat/

2019-04-22 Thread Rodney W. Grimes
> On Mon, 22 Apr 2019 at 20:01, Rodney W. Grimes > wrote: > > > > > Author: ngie > > > Date: Mon Apr 22 17:52:46 2019 > > > New Revision: 346571 > > > URL: https://svnweb.freebsd.org/changeset/base/346571 > > > > > > Log: > > > Update the spelling of my name > > > > > > Previous spellings of m

svn commit: r346582 - head/usr.bin/ar

2019-04-22 Thread Ed Maste
Author: emaste Date: Mon Apr 22 19:55:47 2019 New Revision: 346582 URL: https://svnweb.freebsd.org/changeset/base/346582 Log: ar: shuffle symbol offsets during conversion for 32-bit ar archives During processing we maintain symbol offsets in the 64-bit s_so array, and when writing the arc

svn commit: r346581 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 22 19:36:19 2019 New Revision: 346581 URL: https://svnweb.freebsd.org/changeset/base/346581 Log: Revert r346530 until further. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/netinet/ip_reass.c head/sys/netine

svn commit: r346580 - head/lib/libvgl

2019-04-22 Thread Bruce Evans
Author: bde Date: Mon Apr 22 19:31:16 2019 New Revision: 346580 URL: https://svnweb.freebsd.org/changeset/base/346580 Log: Fix mouse cursor coloring in depths > 8 (previously, a hack that only worked right for white interiors and black borders was used). Advertise this by changing the defau

Re: Panic with r346530 [Re: svn commit: r346530 - in head/sys: netinet netinet6]

2019-04-22 Thread Hans Petter Selasky
On 4/22/19 3:28 PM, Kristof Provost wrote: On 22 Apr 2019, at 12:25, Enji Cooper wrote: Either the sys/netinet/ or sys/netipsec/ tests triggered the panic. Not sure which right now. That looks to be happening during a vnet jail teardown, so it’s likely the sys/netipsec or sys/netpfil/pf tests

Re: svn commit: r346571 - in head: share/examples/tests/tests/tap share/man/man4 share/man/man5 share/zoneinfo/tests usr.bin/calendar/calendars usr.bin/du/tests usr.bin/getconf/tests usr.bin/procstat/

2019-04-22 Thread Enji Cooper (yaneurabeya)
> On Apr 22, 2019, at 12:19, Edward Napierala wrote: > > On Mon, 22 Apr 2019 at 20:01, Rodney W. Grimes > wrote: >> >>> Author: ngie >>> Date: Mon Apr 22 17:52:46 2019 >>> New Revision: 346571 >>> URL: https://svnweb.freebsd.org/changeset/base/346571 >>> >>> Log: >>> Update the spelling of m

svn commit: r346579 - in head: share/man/man9 sys/dev/cxgbe sys/dev/mlx5/mlx5_en sys/net

2019-04-22 Thread Andrew Gallatin
Author: gallatin Date: Mon Apr 22 19:24:21 2019 New Revision: 346579 URL: https://svnweb.freebsd.org/changeset/base/346579 Log: Track device's NUMA domain in ifnet & alloc ifnet from NUMA local memory This commit adds new if_alloc_domain() and if_alloc_dev() methods to allocate ifnets. W

svn commit: r346578 - head/lib/libclang_rt

2019-04-22 Thread Enji Cooper
Author: ngie Date: Mon Apr 22 19:21:35 2019 New Revision: 346578 URL: https://svnweb.freebsd.org/changeset/base/346578 Log: Build libclang_rt/profile on all clang-supported architectures There's no reason why a special case needs to be added specifically for amd64, arm, and i386, as the c

Re: svn commit: r346571 - in head: share/examples/tests/tests/tap share/man/man4 share/man/man5 share/zoneinfo/tests usr.bin/calendar/calendars usr.bin/du/tests usr.bin/getconf/tests usr.bin/procstat/

2019-04-22 Thread Edward Napierala
On Mon, 22 Apr 2019 at 20:01, Rodney W. Grimes wrote: > > > Author: ngie > > Date: Mon Apr 22 17:52:46 2019 > > New Revision: 346571 > > URL: https://svnweb.freebsd.org/changeset/base/346571 > > > > Log: > > Update the spelling of my name > > > > Previous spellings of my name (NGie, Ngie) were

Re: svn commit: r346571 - in head: share/examples/tests/tests/tap share/man/man4 share/man/man5 share/zoneinfo/tests usr.bin/calendar/calendars usr.bin/du/tests usr.bin/getconf/tests usr.bin/procstat/

2019-04-22 Thread Rodney W. Grimes
> Author: ngie > Date: Mon Apr 22 17:52:46 2019 > New Revision: 346571 > URL: https://svnweb.freebsd.org/changeset/base/346571 > > Log: > Update the spelling of my name > > Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use > Enji > instead for clarity. > > Wh

svn commit: r346576 - head/share/mk

2019-04-22 Thread Enji Cooper
Author: ngie Date: Mon Apr 22 18:40:46 2019 New Revision: 346576 URL: https://svnweb.freebsd.org/changeset/base/346576 Log: Fix up CXXSTD support originally added in r345708 r345708 worked for the base system, but unfortunately, caused a lot of disruption for third-party packages that rel

svn commit: r346575 - in head/stand/efi: include libefi loader

2019-04-22 Thread Warner Losh
Author: imp Date: Mon Apr 22 18:40:24 2019 New Revision: 346575 URL: https://svnweb.freebsd.org/changeset/base/346575 Log: Create boot_img as a global variable Get the information from the image that we're booting and store it in a global variable. Prefer using this to passing it around.

svn commit: r346574 - in head: lib/libc++ lib/libc++experimental lib/libc++fs lib/libcxxrt lib/libgcc_eh lib/ofed/libibnetdisc usr.bin/dtc

2019-04-22 Thread Enji Cooper
Author: ngie Date: Mon Apr 22 18:38:54 2019 New Revision: 346574 URL: https://svnweb.freebsd.org/changeset/base/346574 Log: Rework CXXSTD setting via r345708 This change allows the user to once again override the C++ standard, restoring high-level pre-r345708 behavior. This also unbr

svn commit: r346573 - head/stand/efi/loader

2019-04-22 Thread Warner Losh
Author: imp Date: Mon Apr 22 18:33:32 2019 New Revision: 346573 URL: https://svnweb.freebsd.org/changeset/base/346573 Log: Move setting of console earlier in boot. There's no reason we can't setup the console first thing after the arch flags are setup. We set it undconditionally to efi. T

svn commit: r346572 - in head/lib: libcam/tests libkvm/tests libsbuf/tests

2019-04-22 Thread Enji Cooper
Author: ngie Date: Mon Apr 22 18:05:33 2019 New Revision: 346572 URL: https://svnweb.freebsd.org/changeset/base/346572 Log: Update the spelling of my name (continuation of r346571) Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity. Whi

svn commit: r346571 - in head: share/examples/tests/tests/tap share/man/man4 share/man/man5 share/zoneinfo/tests usr.bin/calendar/calendars usr.bin/du/tests usr.bin/getconf/tests usr.bin/procstat/t...

2019-04-22 Thread Enji Cooper
Author: ngie Date: Mon Apr 22 17:52:46 2019 New Revision: 346571 URL: https://svnweb.freebsd.org/changeset/base/346571 Log: Update the spelling of my name Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity. While here, remove "All Right

svn commit: r346570 - in head/sys/dev/cxgbe: common tom

2019-04-22 Thread Navdeep Parhar
Author: np Date: Mon Apr 22 17:48:10 2019 New Revision: 346570 URL: https://svnweb.freebsd.org/changeset/base/346570 Log: cxgbe/t4_tom: Add a "TCB history" feature that samples hardware state for a tid and maintains a running history of some interesting events. Service TCP_INFO queries fr

svn commit: r346569 - head/usr.bin/ar

2019-04-22 Thread Ed Maste
Author: emaste Date: Mon Apr 22 17:29:26 2019 New Revision: 346569 URL: https://svnweb.freebsd.org/changeset/base/346569 Log: ar: use array notation to access s_so This is somewhat more readable than pointer arithmetic. Also remove an unnecessary cast while here. MFC after:1 wee

svn commit: r346568 - head/usr.bin/ar

2019-04-22 Thread Ed Maste
Author: emaste Date: Mon Apr 22 17:25:00 2019 New Revision: 346568 URL: https://svnweb.freebsd.org/changeset/base/346568 Log: ar: test for writing 64-bit format only if symbol count is nonzero This is a minor simplification; if we do not have any symbols the empty symbol table can be in 3

svn commit: r346567 - head/sys/dev/cxgbe

2019-04-22 Thread Navdeep Parhar
Author: np Date: Mon Apr 22 17:00:30 2019 New Revision: 346567 URL: https://svnweb.freebsd.org/changeset/base/346567 Log: cxgbe(4): Make sure bundled_fw is always initialized before use. This fixes a bug that prevented the driver from auto-flashing the firmware when it didn't see one on t

svn commit: r346566 - head/lib/libc/stdlib

2019-04-22 Thread Conrad Meyer
Author: cem Date: Mon Apr 22 16:29:34 2019 New Revision: 346566 URL: https://svnweb.freebsd.org/changeset/base/346566 Log: random.3: Remove obsolete BUGS section Relative performance to rand(3) is sort of irrelevant; they do different things and a user with sensitivity to RNG performance

Re: svn commit: r346550 - head/usr.sbin/bhyve

2019-04-22 Thread Rodney W. Grimes
> Author: markj > Date: Mon Apr 22 13:57:52 2019 > New Revision: 346550 > URL: https://svnweb.freebsd.org/changeset/base/346550 > > Log: > Use separate descriptors in bhyve's stdio uart backend. > > bhyve was previously using stdin for both reading and writing to the > console, which made

svn commit: r346565 - head/lib/libc/stdlib

2019-04-22 Thread Conrad Meyer
Author: cem Date: Mon Apr 22 16:26:39 2019 New Revision: 346565 URL: https://svnweb.freebsd.org/changeset/base/346565 Log: rand.3: Match better recommendation language from random.3 Sponsored by: Dell EMC Isilon Modified: head/lib/libc/stdlib/rand.3 Modified: head/lib/libc/stdlib/rand.3

Re: svn commit: r346554 - head/sys/netinet

2019-04-22 Thread Bruce Evans
On Mon, 22 Apr 2019, Bjoern A. Zeeb wrote: On 22 Apr 2019, at 14:20, Bjoern A. Zeeb wrote: Log: Remove some excessive brackets. No functional change. But it includes a stye bug; sorry; I had re-indented the lines to validate the change. Ill remedy this with the follow-up commit which w

svn commit: r346556 - head/sys/netinet

2019-04-22 Thread Bjoern A. Zeeb
Author: bz Date: Mon Apr 22 14:53:53 2019 New Revision: 346556 URL: https://svnweb.freebsd.org/changeset/base/346556 Log: r297225 move the assignment of sin from add to the top of the function. sin is not changed after the initial assignment, so no need to set it again. MFC after:10 d

Re: svn commit: r346554 - head/sys/netinet

2019-04-22 Thread Bjoern A. Zeeb
On 22 Apr 2019, at 14:20, Bjoern A. Zeeb wrote: Author: bz Date: Mon Apr 22 14:20:49 2019 New Revision: 346554 URL: https://svnweb.freebsd.org/changeset/base/346554 Log: Remove some excessive brackets. No functional change. But it includes a stye bug; sorry; I had re-indented the lines t

svn commit: r346554 - head/sys/netinet

2019-04-22 Thread Bjoern A. Zeeb
Author: bz Date: Mon Apr 22 14:20:49 2019 New Revision: 346554 URL: https://svnweb.freebsd.org/changeset/base/346554 Log: Remove some excessive brackets. No functional change. MFC after:10 days Modified: head/sys/netinet/udp_usrreq.c Modified: head/sys/netinet/udp_usrreq.c

svn commit: r346550 - head/usr.sbin/bhyve

2019-04-22 Thread Mark Johnston
Author: markj Date: Mon Apr 22 13:57:52 2019 New Revision: 346550 URL: https://svnweb.freebsd.org/changeset/base/346550 Log: Use separate descriptors in bhyve's stdio uart backend. bhyve was previously using stdin for both reading and writing to the console, which made it difficult to red

svn commit: r346546 - in head: etc/mtree lib/libbe lib/libbe/tests

2019-04-22 Thread Kyle Evans
Author: kevans Date: Mon Apr 22 13:45:08 2019 New Revision: 346546 URL: https://svnweb.freebsd.org/changeset/base/346546 Log: libbe(3): Add a test for be creation Submitted by: Rob Fairbanks MFC after:1 week Differential Revision:https://reviews.freebsd.org/D18564 Added:

svn commit: r346545 - head/lib/libbe

2019-04-22 Thread Kyle Evans
Author: kevans Date: Mon Apr 22 13:43:38 2019 New Revision: 346545 URL: https://svnweb.freebsd.org/changeset/base/346545 Log: libbe(3): allow creation of arbitrary depth boot environments libbe currently only provides an API to create a recursive boot environment, without any formal suppo

Re: Panic with r346530 [Re: svn commit: r346530 - in head/sys: netinet netinet6]

2019-04-22 Thread Kristof Provost
On 22 Apr 2019, at 12:25, Enji Cooper wrote: Either the sys/netinet/ or sys/netipsec/ tests triggered the panic. Not sure which right now. That looks to be happening during a vnet jail teardown, so it’s likely the sys/netipsec or sys/netpfil/pf tests. I’ve done a quick test with the pf tests

svn commit: r346544 - head/sys/conf

2019-04-22 Thread Mark Johnston
Author: markj Date: Mon Apr 22 11:31:13 2019 New Revision: 346544 URL: https://svnweb.freebsd.org/changeset/base/346544 Log: Clarify the relationship between INVARIANTS and DIAGNOSTIC a bit. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/NOTES Modifi

Panic with r346530 [Re: svn commit: r346530 - in head/sys: netinet netinet6]

2019-04-22 Thread Enji Cooper
Hi Hans, > On Apr 22, 2019, at 1:32 AM, Hans Petter Selasky wrote: > > On 4/22/19 10:10 AM, Hans Petter Selasky wrote: >> On 4/22/19 9:52 AM, Enji Cooper wrote: >>> On Apr 22, 2019, at 12:27 AM, Hans Petter Selasky wrote: Author: hselasky Date: Mon Apr 22 07:27:24 20

svn commit: r346543 - head/sys/vm

2019-04-22 Thread Mark Johnston
Author: markj Date: Mon Apr 22 11:23:35 2019 New Revision: 346543 URL: https://svnweb.freebsd.org/changeset/base/346543 Log: Disable vm map consistency checking by default on INVARIANTS kernels. The checks are too expensive for a general-purpose kernel. Enable the checks when DIAGNOSTIC

svn commit: r346542 - head/tests/sys/kern

2019-04-22 Thread Enji Cooper
Author: ngie Date: Mon Apr 22 11:21:20 2019 New Revision: 346542 URL: https://svnweb.freebsd.org/changeset/base/346542 Log: Fix sys.kern.coredump_phnum_test.coredump_phnum on i386 The zero-padding when printing out the Size field is on 32-bit architectures is 5, not 15. Adjust the regula

svn commit: r346539 - head/lib/libc/tests/sys

2019-04-22 Thread Enji Cooper
Author: ngie Date: Mon Apr 22 11:09:24 2019 New Revision: 346539 URL: https://svnweb.freebsd.org/changeset/base/346539 Log: Fix `get_int_via_sysctlbyname(..)` on Jenkins Initialize `oldlen` to the size of the value, instead of leaving the value unitialized. Leaving it unitialized seems to

Re: svn commit: r346530 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
On 4/22/19 10:10 AM, Hans Petter Selasky wrote: On 4/22/19 9:52 AM, Enji Cooper wrote: On Apr 22, 2019, at 12:27 AM, Hans Petter Selasky wrote: Author: hselasky Date: Mon Apr 22 07:27:24 2019 New Revision: 346530 URL: https://svnweb.freebsd.org/changeset/base/346530 Log:   Fix panic in net

svn commit: r346535 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 22 08:32:00 2019 New Revision: 346535 URL: https://svnweb.freebsd.org/changeset/base/346535 Log: Fix build for mips and powerpc after r346530. Need to include sys/kernel.h to define SYSINIT() which is used by sys/eventhandler.h . MFC after:1

Re: svn commit: r346530 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
On 4/22/19 9:52 AM, Enji Cooper wrote: On Apr 22, 2019, at 12:27 AM, Hans Petter Selasky wrote: Author: hselasky Date: Mon Apr 22 07:27:24 2019 New Revision: 346530 URL: https://svnweb.freebsd.org/changeset/base/346530 Log: Fix panic in network stack due to memory use after free in relatio

Re: svn commit: r346530 - in head/sys: netinet netinet6

2019-04-22 Thread Enji Cooper
> On Apr 22, 2019, at 12:27 AM, Hans Petter Selasky > wrote: > > Author: hselasky > Date: Mon Apr 22 07:27:24 2019 > New Revision: 346530 > URL: https://svnweb.freebsd.org/changeset/base/346530 > > Log: > Fix panic in network stack due to memory use after free in relation to > fragmented pac

svn commit: r346530 - in head/sys: netinet netinet6

2019-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Mon Apr 22 07:27:24 2019 New Revision: 346530 URL: https://svnweb.freebsd.org/changeset/base/346530 Log: Fix panic in network stack due to memory use after free in relation to fragmented packets. When sending IPv4 and IPv6 fragmented packets and a fragment is lost,