svn commit: r351802 - head/sbin/fsck_msdosfs

2019-09-03 Thread Xin LI
Author: delphij Date: Wed Sep 4 04:44:03 2019 New Revision: 351802 URL: https://svnweb.freebsd.org/changeset/base/351802 Log: Correct overflow logic in fullpath(). Obtained from:OpenBSD MFC after:3 days Modified: head/sbin/fsck_msdosfs/dir.c Modified:

svn commit: r351801 - head/sys/netinet

2019-09-03 Thread Michael Tuexen
Author: tuexen Date: Wed Sep 4 04:38:31 2019 New Revision: 351801 URL: https://svnweb.freebsd.org/changeset/base/351801 Log: Fix the SACK block generation in the base TCP stack by bringing it in sync with the RACK stack. Reviewed by: rrs@ MFC after:5 days

Re: svn commit: r351747 - head/sys/dev/nvme

2019-09-03 Thread Warner Losh
On Tue, Sep 3, 2019 at 7:19 PM Warner Losh wrote: > > > On Tue, Sep 3, 2019 at 2:38 PM Ravi Pokala wrote: > >> Hi Warner, >> >> + /* >> +* Per Section 7.6.2 of NVMe spec 1.4, to properly suspend, we >> need to >> +* delete the hardware I/O queues, and then shutdown. This

Re: svn commit: r351747 - head/sys/dev/nvme

2019-09-03 Thread Warner Losh
On Tue, Sep 3, 2019 at 2:38 PM Ravi Pokala wrote: > Hi Warner, > > + /* > +* Per Section 7.6.2 of NVMe spec 1.4, to properly suspend, we > need to > +* delete the hardware I/O queues, and then shutdown. This properly > +* flushes any metadata the drive may have

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Rick Macklem
Yea, I know this is a top post... Another reason for a separate commit is the case where the patch is going to be MFC'd. rick ___ From: owner-src-committ...@freebsd.org on behalf of Shawn Webb Sent: Tuesday, September 3, 2019 10:20 AM To: Brooks Davis Cc:

svn commit: r351800 - in head/sys/amd64: amd64 include

2019-09-03 Thread Mark Johnston
Author: markj Date: Tue Sep 3 22:26:01 2019 New Revision: 351800 URL: https://svnweb.freebsd.org/changeset/base/351800 Log: Fix some nits in pmap_page_array_startup(). - Use ptoa() instead of the archaic ctob(). - Use pagezero() to zero a PDP page. - Remove PA_MIN_ADDRESS, orphaned by

svn commit: r351799 - head/sys/conf

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 22:01:12 2019 New Revision: 351799 URL: https://svnweb.freebsd.org/changeset/base/351799 Log: LOCAL_MODULES: Allow LOCAL_MODULES="" in src.conf to work Currently LOCAL_MODULES= works, but LOCAL_MODULES="" causes build errors as .for still has the empty

Re: svn commit: r351673 - in head: lib/libmemstat share/man/man9 sys/cddl/compat/opensolaris/kern sys/kern sys/vm

2019-09-03 Thread Mark Johnston
On Tue, Sep 03, 2019 at 07:14:27PM +0300, Slawa Olhovchenkov wrote: > On Tue, Sep 03, 2019 at 10:02:59AM +0300, Andriy Gapon wrote: > > > On 02/09/2019 01:22, Mark Johnston wrote: > > > Author: markj > > > Date: Sun Sep 1 22:22:43 2019 > > > New Revision: 351673 > > > URL:

svn commit: r351797 - in head: lib/geom/part sys/geom/part

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:57:20 2019 New Revision: 351797 URL: https://svnweb.freebsd.org/changeset/base/351797 Log: Allow more nesting of GEOM partitioning schemes GEOM is supposed to be topology-agnostic, but the GPT and BSD partition code has arbitrary restrictions on nesting

Re: svn commit: r351747 - head/sys/dev/nvme

2019-09-03 Thread Ravi Pokala
Hi Warner, + /* +* Per Section 7.6.2 of NVMe spec 1.4, to properly suspend, we need to +* delete the hardware I/O queues, and then shutdown. This properly +* flushes any metadata the drive may have stored so it can survive +* having its power removed and

svn commit: r351796 - head/sys/kern

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:33:38 2019 New Revision: 351796 URL: https://svnweb.freebsd.org/changeset/base/351796 Log: posixshm: start counting writeable mappings r351650 switched posixshm to using OBJT_SWAP for shm_object r351795 added support to the swap_pager for tracking

svn commit: r351795 - in head/sys: kern vm

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:31:48 2019 New Revision: 351795 URL: https://svnweb.freebsd.org/changeset/base/351795 Log: vm pager: writemapping accounting for OBJT_SWAP Currently writemapping accounting is only done for vnode_pager which does some accounting on the underlying vnode.

svn commit: r351783 - head/sys/amd64/linux

2019-09-03 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 3 19:48:23 2019 New Revision: 351783 URL: https://svnweb.freebsd.org/changeset/base/351783 Log: Unbreak Linux binaries linked against new glibc, such as the ones from recent Ubuntu versions. Without it they segfault on startup. Reviewed by: emaste MFC

svn commit: r351782 - head/sys/netinet/tcp_stacks

2019-09-03 Thread Michael Tuexen
Author: tuexen Date: Tue Sep 3 19:48:02 2019 New Revision: 351782 URL: https://svnweb.freebsd.org/changeset/base/351782 Log: Fix two TCP RACK issues: * Convert the TCP delayed ACK timer from ms to ticks as required. This fixes the timer on platforms with hz != 1000. * Don't delay

svn commit: r351781 - in head: . etc/mtree share/man/man5 share/mk targets/pseudo/userland tools/build/mk usr.sbin usr.sbin/pc-sysinstall

2019-09-03 Thread Kris Moore
-old | \ # xargs -n1 | sort | uniq -d; # done + +# 20190903: pc-sysinstall(8) removed +OLD_FILES+=usr/share/examples/pc-sysinstall/README +OLD_FILES+=usr/share/examples/pc-sysinstall/pc-autoinstall.conf +OLD_FILES+=usr/share/examples/pc-sysinstall/pcinstall.cfg.fbsd-netinstall +OLD_FILES+=usr

svn commit: r351774 - head/usr.bin/proccontrol

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 18:58:48 2019 New Revision: 351774 URL: https://svnweb.freebsd.org/changeset/base/351774 Log: Add stackgap control mode to proccontrol(1). PR: 239894 Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r351773 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys sys/vm

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 18:56:25 2019 New Revision: 351773 URL: https://svnweb.freebsd.org/changeset/base/351773 Log: Add procctl(PROC_STACKGAP_CTL) It allows a process to request that stack gap was not applied to its stacks, retroactively. Also it is possible to control the gaps

svn commit: r351771 - in head: release/amd64 tools/boot

2019-09-03 Thread Matt Macy
Author: mmacy Date: Tue Sep 3 18:37:55 2019 New Revision: 351771 URL: https://svnweb.freebsd.org/changeset/base/351771 Log: Use makefs -t msdos in make_esp_file With this last piece in place, make -C /usr/src/release release.iso is finally able to run in a jail. This was not possible

svn commit: r351770 - head/bin/dd

2019-09-03 Thread Matt Macy
Author: mmacy Date: Tue Sep 3 18:35:55 2019 New Revision: 351770 URL: https://svnweb.freebsd.org/changeset/base/351770 Log: Add conv=fsync flag to dd The fsync flag performs an fsync(2) on the output file before closing it. This will be useful for the ZFS test suite. Submitted by:

svn commit: r351769 - head/usr.bin/grep/tests

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 18:32:29 2019 New Revision: 351769 URL: https://svnweb.freebsd.org/changeset/base/351769 Log: bsdgrep(1): add some basic tests for some GNU Extension support These will be expanded later as I come up with good test cases; for now, these seem to be enough

svn commit: r351758 - head/sys/compat/linprocfs

2019-09-03 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 3 16:33:02 2019 New Revision: 351758 URL: https://svnweb.freebsd.org/changeset/base/351758 Log: Make linprocfs(4) report Tgid, Linux ltrace(1) needs it. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r351673 - in head: lib/libmemstat share/man/man9 sys/cddl/compat/opensolaris/kern sys/kern sys/vm

2019-09-03 Thread Slawa Olhovchenkov
On Tue, Sep 03, 2019 at 10:02:59AM +0300, Andriy Gapon wrote: > On 02/09/2019 01:22, Mark Johnston wrote: > > Author: markj > > Date: Sun Sep 1 22:22:43 2019 > > New Revision: 351673 > > URL: https://svnweb.freebsd.org/changeset/base/351673 > > > > Log: > > Extend uma_reclaim() to permit

svn commit: r351748 - in head/sys: cddl/contrib/opensolaris/uts/common/fs cddl/contrib/opensolaris/uts/common/fs/zfs kern sys

2019-09-03 Thread Mateusz Guzik
Author: mjg Date: Tue Sep 3 15:42:11 2019 New Revision: 351748 URL: https://svnweb.freebsd.org/changeset/base/351748 Log: vfs: implement usecount implying holdcnt vnodes have 2 reference counts - holdcnt to keep the vnode itself from getting freed and usecount to denote it is actively

svn commit: r351747 - head/sys/dev/nvme

2019-09-03 Thread Warner Losh
Author: imp Date: Tue Sep 3 15:26:11 2019 New Revision: 351747 URL: https://svnweb.freebsd.org/changeset/base/351747 Log: Implement nvme suspend / resume for pci attachment When we suspend, we need to properly shutdown the NVME controller. The controller may go into D3 state (or may

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Justin Hibbits
On Tue, 3 Sep 2019 10:20:35 -0400 Shawn Webb wrote: > On Tue, Sep 03, 2019 at 07:47:40AM -0400, Shawn Webb wrote: > > On Tue, Sep 03, 2019 at 11:45:23AM +, Brooks Davis wrote: > > > On Tue, Sep 03, 2019 at 07:35:05AM -0400, Shawn Webb wrote: > > > > Hey Mateusz, > > > > > > > > On Tue,

svn commit: r351743 - head/sys/vm

2019-09-03 Thread Mark Johnston
Author: markj Date: Tue Sep 3 14:29:58 2019 New Revision: 351743 URL: https://svnweb.freebsd.org/changeset/base/351743 Log: Add preliminary support for atomic updates of per-page queue state. Queue operations on a page use the page lock when updating the page to reflect the desired

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Shawn Webb
On Tue, Sep 03, 2019 at 09:32:27AM -0500, Justin Hibbits wrote: > On Tue, 3 Sep 2019 10:20:35 -0400 > Shawn Webb wrote: > > > On Tue, Sep 03, 2019 at 07:47:40AM -0400, Shawn Webb wrote: > > > On Tue, Sep 03, 2019 at 11:45:23AM +, Brooks Davis wrote: > > > > On Tue, Sep 03, 2019 at

svn commit: r346634 - head/sys/dev/cadence

2019-09-03 Thread Ruslan Bukin
Author: br Date: Wed Apr 24 13:44:30 2019 New Revision: 346634 URL: https://svnweb.freebsd.org/changeset/base/346634 Log: Add support for Cadence network controller found in HiFive Unleashed board. Reviewed by: markj Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r351744 - head/share/man/man9

2019-09-03 Thread Mark Johnston
Author: markj Date: Tue Sep 3 14:39:36 2019 New Revision: 351744 URL: https://svnweb.freebsd.org/changeset/base/351744 Log: Revert a portion of r351628 that I did not mean to commit. Reported by: mjg MFC with: r351628 Modified: head/share/man/man9/Makefile Modified:

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

2019-09-03 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

Re: svn commit: r351643 - in head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common: dtraceUtil speculation

2019-09-03 Thread Rodney W. Grimes
> On Mon, Sep 2, 2019 at 11:49 PM Rodney W. Grimes > wrote: > > > > > > > > > On Aug 31, 2019, at 16:29, Warner Losh wrote: > > > > > > > > > > > > > > > >> On Sat, Aug 31, 2019 at 5:29 PM Conrad Meyer wrote: > > > >> Thanks Li-Wen! Might it be less fragile to have the test fixture > > > >>

svn commit: r346601 - head/sys/netinet6

2019-09-03 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

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

2019-09-03 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

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Shawn Webb
On Tue, Sep 03, 2019 at 07:47:40AM -0400, Shawn Webb wrote: > On Tue, Sep 03, 2019 at 11:45:23AM +, Brooks Davis wrote: > > On Tue, Sep 03, 2019 at 07:35:05AM -0400, Shawn Webb wrote: > > > Hey Mateusz, > > > > > > On Tue, Sep 03, 2019 at 04:16:31AM +, Mateusz Guzik wrote: > > > > Author:

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

2019-09-03 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

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

2019-09-03 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: r346624 - head/bin/date

2019-09-03 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

svn commit: r346630 - in head: sbin/ifconfig share/man/man4 sys/modules/if_gre sys/net sys/netinet sys/netinet6

2019-09-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 24 09:05:45 2019 New Revision: 346630 URL: https://svnweb.freebsd.org/changeset/base/346630 Log: Add GRE-in-UDP encapsulation support as defined in RFC8086. This GRE-in-UDP encapsulation allows the UDP source port field to be used as an entropy field for

svn commit: r346631 - head/lib/libvgl

2019-09-03 Thread Bruce Evans
Author: bde Date: Wed Apr 24 13:15:56 2019 New Revision: 346631 URL: https://svnweb.freebsd.org/changeset/base/346631 Log: Fix some races and screeen clearing in VGLEnd(). The mouse signal SIGUSR2 was not turned off for normal termination and in some other cases. Thus mouse signals

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

2019-09-03 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,

svn commit: r346639 - head/lib/libvgl

2019-09-03 Thread Bruce Evans
Author: bde Date: Wed Apr 24 15:35:29 2019 New Revision: 346639 URL: https://svnweb.freebsd.org/changeset/base/346639 Log: Refactor mouse freezing and fix some minor bugs. VGLMouseFreeze() now only defers mouse signals and leaves it to higher levels to hide and unhide the mouse cursor if

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

2019-09-03 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

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

2019-09-03 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

Re: svn commit: r346273 - in head/sys: compat/freebsd32 kern

2019-09-03 Thread Dmitry Chagin
вт, 16 апр. 2019 г. в 16:26, Ed Maste : > Author: emaste > Date: Tue Apr 16 13:26:31 2019 > New Revision: 346273 > URL: https://svnweb.freebsd.org/changeset/base/346273 > > Log: > correct readlinkat(2) return type > > Hi, Ed make sysent? > r176215 corrected readlink(2)'s return type and

svn commit: r346643 - head/sys/x86/x86

2019-09-03 Thread Conrad Meyer
Author: cem Date: Wed Apr 24 18:24:22 2019 New Revision: 346643 URL: https://svnweb.freebsd.org/changeset/base/346643 Log: x86: Halt non-BSP CPUs on panic IPI_STOP We may need the BSP to reboot, but we don't need any AP CPU that isn't the panic thread. Any CPU landing in this routine

svn commit: r346645 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2019-09-03 Thread Tycho Nightingale
Author: tychon Date: Wed Apr 24 20:30:45 2019 New Revision: 346645 URL: https://svnweb.freebsd.org/changeset/base/346645 Log: LinuxKPI should use bus_dma(9) to be compatible with an IOMMU Reviewed by: hselasky, kib Tested by:greg@unrelenting.technology Sponsored by: Dell EMC

svn commit: r346644 - head/sys/geom

2019-09-03 Thread Alexander Motin
Author: mav Date: Wed Apr 24 19:56:02 2019 New Revision: 346644 URL: https://svnweb.freebsd.org/changeset/base/346644 Log: Call delist_dev() before destroy_dev_sched_cb(). destroy_dev_sched_cb() is excessively asynchronous, and during media change retaste new provider may appear sooner

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

2019-09-03 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:

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

2019-09-03 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

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-09-03 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: -

svn commit: r346580 - head/lib/libvgl

2019-09-03 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

svn commit: r346641 - head/lib/libvgl

2019-09-03 Thread Bruce Evans
Author: bde Date: Wed Apr 24 16:03:35 2019 New Revision: 346641 URL: https://svnweb.freebsd.org/changeset/base/346641 Log: Avoid hiding and unhiding the mouse cursor when copying bitmaps to the screen. Instead, copy a merged bitmap 1 line at a time. This fixes flashing of the cursor and

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

2019-09-03 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)

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

2019-09-03 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

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

2019-09-03 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

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

2019-09-03 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: r346588 - head/lib/libc/powerpc64/string

2019-09-03 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

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

2019-09-03 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

svn commit: r346593 - head/sys/sys

2019-09-03 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: 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-09-03 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

svn commit: r346633 - head/sys/riscv/riscv

2019-09-03 Thread Ruslan Bukin
Author: br Date: Wed Apr 24 13:41:46 2019 New Revision: 346633 URL: https://svnweb.freebsd.org/changeset/base/346633 Log: Implement pic_pre_ithread(), pic_post_ithread(). Reviewed by: markj Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D19819

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

2019-09-03 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

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-09-03 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

svn commit: r346576 - head/share/mk

2019-09-03 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

svn commit: r346632 - head/sys/net

2019-09-03 Thread Andrew Gallatin
Author: gallatin Date: Wed Apr 24 13:32:04 2019 New Revision: 346632 URL: https://svnweb.freebsd.org/changeset/base/346632 Log: iflib: Add pfil hooks As with mlx5en, the idea is to drop unwanted traffic as early in receive as possible, before mbufs are allocated and anything is passed

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

2019-09-03 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

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-09-03 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

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

2019-09-03 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 >

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-09-03 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: > >>>

svn commit: r346594 - head/sbin/camcontrol

2019-09-03 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

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

2019-09-03 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

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

2019-09-03 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

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

2019-09-03 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

svn commit: r346595 - head/sys/netinet

2019-09-03 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

svn commit: r346618 - head/sys/conf

2019-09-03 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

svn commit: r346602 - head/sys/net

2019-09-03 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

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

2019-09-03 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: r346598 - head/sys/modules

2019-09-03 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

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

2019-09-03 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

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

2019-09-03 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: r346544 - head/sys/conf

2019-09-03 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

svn commit: r346578 - head/lib/libclang_rt

2019-09-03 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

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

2019-09-03 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

svn commit: r346486 - head/lib/libvgl

2019-09-03 Thread Bruce Evans
Author: bde Date: Sun Apr 21 10:33:09 2019 New Revision: 346486 URL: https://svnweb.freebsd.org/changeset/base/346486 Log: Fix missing restoring of the mouse cursor position, the border color and the blank state after a screen switch. Modified: head/lib/libvgl/main.c

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

2019-09-03 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

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-09-03 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)

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

2019-09-03 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: r346581 - in head/sys: netinet netinet6

2019-09-03 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

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

2019-09-03 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

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

2019-09-03 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

svn commit: r346454 - head/lib/libvgl

2019-09-03 Thread Bruce Evans
Author: bde Date: Sat Apr 20 20:29:03 2019 New Revision: 346454 URL: https://svnweb.freebsd.org/changeset/base/346454 Log: Make libvgl mostly work without superuser privilege in direct modes by not doing any unnecessary PIO instructions or refusing to start when the i/o privilege needed for

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

2019-09-03 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

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

2019-09-03 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.

svn commit: r346596 - head/sys/netinet6

2019-09-03 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

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

2019-09-03 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

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-09-03 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. > >

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

2019-09-03 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.

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

2019-09-03 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

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

2019-09-03 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

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

2019-09-03 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

  1   2   3   4   5   6   7   8   9   >