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

2019-09-03 Thread Andriy Gapon
On 04/09/2019 01:01, Mark Johnston wrote: > Some of the vm_lowmem eventhandlers probably shouldn't be called each > time the page daemon scans the inactive queue (every 0.1s under memory > pressure). ufsdirhash_lowmem and mb_reclaim in particular don't seem > like they need to be invoked very freq

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

2019-09-03 Thread Andriy Gapon
On 04/09/2019 01:01, Mark Johnston wrote: > Slawa and I talked about this in the past. His complaint is that a > large cache can take a significant amount of time to trim, and it > manifests as a spike of CPU usage and contention on the zone lock. In > particular, keg_drain() iterates over the li

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: head/sbin/fsck_msdos

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 Sponsor

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 store

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: Ma

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 stri

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: https://svnweb.freebsd.

svn commit: r351798 - in stable: 11/usr.bin/truss 12/usr.bin/truss

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 21:11:04 2019 New Revision: 351798 URL: https://svnweb.freebsd.org/changeset/base/351798 Log: stable/ branches: commit missing part of patch truss prior to r350069 also attempted to use mips regnum bits -- let it happen. Modified: stable/11/usr.bin/truss

svn commit: r351798 - in stable: 11/usr.bin/truss 12/usr.bin/truss

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 21:11:04 2019 New Revision: 351798 URL: https://svnweb.freebsd.org/changeset/base/351798 Log: stable/ branches: commit missing part of patch truss prior to r350069 also attempted to use mips regnum bits -- let it happen. Modified: stable/12/usr.bin/truss

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 preve

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 wri

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: r351794 - in stable: 11/tests/sys/posixshm 12/tests/sys/posixshm

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:26:08 2019 New Revision: 351794 URL: https://svnweb.freebsd.org/changeset/base/351794 Log: tests: shm_open(2): Verify FD_CLOEXEC Motivated by the fact that I'm messing around near the implementation and wanting to ensure this doesn't get messed up in the

svn commit: r351794 - in stable: 11/tests/sys/posixshm 12/tests/sys/posixshm

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:26:08 2019 New Revision: 351794 URL: https://svnweb.freebsd.org/changeset/base/351794 Log: tests: shm_open(2): Verify FD_CLOEXEC Motivated by the fact that I'm messing around near the implementation and wanting to ensure this doesn't get messed up in the

svn commit: r351793 - in stable: 11/sys/mips/include 12/sys/mips/include

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:23:58 2019 New Revision: 351793 URL: https://svnweb.freebsd.org/changeset/base/351793 Log: MFC r351227: mips: avoid empty mdproc struct Compiling with a more modern toolchain than GCC 4.2 in base warns about the empty struct. Take a hint and comment from

svn commit: r351793 - in stable: 11/sys/mips/include 12/sys/mips/include

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:23:58 2019 New Revision: 351793 URL: https://svnweb.freebsd.org/changeset/base/351793 Log: MFC r351227: mips: avoid empty mdproc struct Compiling with a more modern toolchain than GCC 4.2 in base warns about the empty struct. Take a hint and comment from

svn commit: r351792 - in stable: 11/lib/libc/mips/gen 11/lib/libproc 11/lib/libthread_db/arch/mips 11/stand/libsa/mips 11/sys/mips/include 11/tests/sys/kern 12/lib/libc/mips/gen 12/lib/libproc 12/l...

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:19:43 2019 New Revision: 351792 URL: https://svnweb.freebsd.org/changeset/base/351792 Log: MFC r351408-r351410: reduce pollution from mips machine/regnum.h r351408: libsa: mips: use _JB_* from machine/asm.h, remove regnum dep This brings the libsa/m

svn commit: r351792 - in stable: 11/lib/libc/mips/gen 11/lib/libproc 11/lib/libthread_db/arch/mips 11/stand/libsa/mips 11/sys/mips/include 11/tests/sys/kern 12/lib/libc/mips/gen 12/lib/libproc 12/l...

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:19:43 2019 New Revision: 351792 URL: https://svnweb.freebsd.org/changeset/base/351792 Log: MFC r351408-r351410: reduce pollution from mips machine/regnum.h r351408: libsa: mips: use _JB_* from machine/asm.h, remove regnum dep This brings the libsa/m

svn commit: r351791 - in stable: 11/lib/libc/mips/gen 12/lib/libc/mips/gen

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:15:06 2019 New Revision: 351791 URL: https://svnweb.freebsd.org/changeset/base/351791 Log: MFC r351407: libc: mips: remove unused longjmp.c Deleted: stable/11/lib/libc/mips/gen/longjmp.c Modified: Directory Properties: stable/11/ (props changed) Changes

svn commit: r351791 - in stable: 11/lib/libc/mips/gen 12/lib/libc/mips/gen

2019-09-03 Thread Kyle Evans
Author: kevans Date: Tue Sep 3 20:15:06 2019 New Revision: 351791 URL: https://svnweb.freebsd.org/changeset/base/351791 Log: MFC r351407: libc: mips: remove unused longjmp.c Deleted: stable/12/lib/libc/mips/gen/longjmp.c Modified: Directory Properties: stable/12/ (props changed) Changes

svn commit: r351790 - stable/12/sys/kern

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 20:06:36 2019 New Revision: 351790 URL: https://svnweb.freebsd.org/changeset/base/351790 Log: MFC r350502: Make umtxq_check_susp() to correctly handle thread exit requests. Modified: stable/12/sys/kern/kern_umtx.c Directory Properties: stable/12/ (props chan

svn commit: r351789 - in stable/12: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/arm64/arm64 sys/i386/i386 sys/kern sys/mips/mips sys/powerpc/powerpc sys/riscv/riscv sys/sparc64/sparc64

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 20:04:44 2019 New Revision: 351789 URL: https://svnweb.freebsd.org/changeset/base/351789 Log: MFC r349951, r349994, r349995, r350005, r350023 (by jhibbits), r350478: Provide protection against starvation of the ll/sc loops when accessing userpace. Modified: st

svn commit: r351788 - stable/12/sys/compat/linux

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:56:52 2019 New Revision: 351788 URL: https://svnweb.freebsd.org/changeset/base/351788 Log: MFC r350863: compat/linux: Remove obsoleted and somewhat confusing comments related to COMPAT_43. Modified: stable/12/sys/compat/linux/linux_misc.c stable/12/sys/com

svn commit: r351787 - stable/12/sys/kern

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:55:44 2019 New Revision: 351787 URL: https://svnweb.freebsd.org/changeset/base/351787 Log: MFC r350862: Only enable COMPAT_43 changes for syscalls ABI for a.out processes. Modified: stable/12/sys/kern/kern_prot.c stable/12/sys/kern/kern_sig.c stable/12/sy

svn commit: r351786 - in stable/12: share/man/man9 sys/sys

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:52:28 2019 New Revision: 351786 URL: https://svnweb.freebsd.org/changeset/base/351786 Log: MFC r350204: Switch the rest of the refcount(9) functions to bool return type. Modified: stable/12/share/man/man9/refcount.9 stable/12/sys/sys/refcount.h Directory Pr

svn commit: r351785 - stable/12/sys/sys

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:50:38 2019 New Revision: 351785 URL: https://svnweb.freebsd.org/changeset/base/351785 Log: MFC r350200: Fix userspace build after r350199. Modified: stable/12/sys/sys/refcount.h Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/sys

svn commit: r351784 - in stable/12/sys: kern sys

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:49:40 2019 New Revision: 351784 URL: https://svnweb.freebsd.org/changeset/base/351784 Log: MFC r350199: Check and avoid overflow when incrementing fp->f_count in fget_unlocked() and fhold(). Modified: stable/12/sys/kern/kern_descrip.c stable/12/sys/kern/s

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 afte

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 acknow

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: r351780 - stable/12/share/man/man4

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:39:06 2019 New Revision: 351780 URL: https://svnweb.freebsd.org/changeset/base/351780 Log: MFC r351458: Add nvdimm(4) man page. Added: stable/12/share/man/man4/nvdimm.4 - copied unchanged from r351458, head/share/man/man4/nvdimm.4 Modified: stable/12/s

svn commit: r351779 - in stable/12/libexec/rtld-elf: amd64 i386

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:36:46 2019 New Revision: 351779 URL: https://svnweb.freebsd.org/changeset/base/351779 Log: MFC r350575: rtld-elf: Remove x86 elf_rtld.x linker scripts. Deleted: stable/12/libexec/rtld-elf/amd64/elf_rtld.x stable/12/libexec/rtld-elf/i386/elf_rtld.x Modified:

svn commit: r351778 - stable/12/sys/fs/unionfs

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:34:32 2019 New Revision: 351778 URL: https://svnweb.freebsd.org/changeset/base/351778 Log: MFC r350504: Try to decrease the number of bugs in unionfs after the VV_TEXT flag removal. Modified: stable/12/sys/fs/unionfs/union_subr.c stable/12/sys/fs/unionfs/un

svn commit: r351777 - in stable/12/sys: kern sys ufs/ffs

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:30:02 2019 New Revision: 351777 URL: https://svnweb.freebsd.org/changeset/base/351777 Log: MFC r351435: De-commision the MNTK_NOINSMNTQ kernel mount flag. Modified: stable/12/sys/kern/vfs_mount.c stable/12/sys/kern/vfs_subr.c stable/12/sys/sys/mount.h s

svn commit: r351776 - stable/12/sys/vm

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Tue Sep 3 19:27:59 2019 New Revision: 351776 URL: https://svnweb.freebsd.org/changeset/base/351776 Log: MFC r351114: Fix OOM handling of some corner cases. Modified: stable/12/sys/vm/vm_fault.c stable/12/sys/vm/vm_page.c stable/12/sys/vm/vm_pageout.c stable/12/sys/v

svn commit: r351775 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-09-03 Thread Cy Schubert
Author: cy Date: Tue Sep 3 19:14:00 2019 New Revision: 351775 URL: https://svnweb.freebsd.org/changeset/base/351775 Log: MFC r350882: Initialize the frentry (the control block that defines a rule) checksum to zero. Matching checksums save time and effort by mitigating the need for full

svn commit: r351775 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-09-03 Thread Cy Schubert
Author: cy Date: Tue Sep 3 19:14:00 2019 New Revision: 351775 URL: https://svnweb.freebsd.org/changeset/base/351775 Log: MFC r350882: Initialize the frentry (the control block that defines a rule) checksum to zero. Matching checksums save time and effort by mitigating the need for full

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 in

svn commit: r351772 - in stable/11/sys: conf dev/netmap

2019-09-03 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Sep 3 18:39:36 2019 New Revision: 351772 URL: https://svnweb.freebsd.org/changeset/base/351772 Log: MFC r351488 netmap: remove obsolete file The netmap_pt.c module has become obsolete after the refactoring that added netmap_kloop.c. Remove it and unlink

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 bef

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: r

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 to

svn commit: r351768 - in stable/12/sys: conf dev/netmap

2019-09-03 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Sep 3 18:04:45 2019 New Revision: 351768 URL: https://svnweb.freebsd.org/changeset/base/351768 Log: MFC r351488 netmap: remove obsolete file The netmap_pt.c module has become obsolete after the refactoring that added netmap_kloop.c. Remove it and unlink

svn commit: r351767 - in stable: 11/contrib/libc++/include 11/contrib/libc++/src 12/contrib/libc++/include 12/contrib/libc++/src

2019-09-03 Thread Dimitry Andric
Author: dim Date: Tue Sep 3 17:31:12 2019 New Revision: 351767 URL: https://svnweb.freebsd.org/changeset/base/351767 Log: MFC r351253: Pull in r368867 from upstream libc++ trunk (by Marshall Clow): Rework recursive_timed_mutex so that it uses __thread_id instead of using the low

svn commit: r351767 - in stable: 11/contrib/libc++/include 11/contrib/libc++/src 12/contrib/libc++/include 12/contrib/libc++/src

2019-09-03 Thread Dimitry Andric
Author: dim Date: Tue Sep 3 17:31:12 2019 New Revision: 351767 URL: https://svnweb.freebsd.org/changeset/base/351767 Log: MFC r351253: Pull in r368867 from upstream libc++ trunk (by Marshall Clow): Rework recursive_timed_mutex so that it uses __thread_id instead of using the low

svn commit: r351766 - stable/11/sys/sys

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 17:29:54 2019 New Revision: 351766 URL: https://svnweb.freebsd.org/changeset/base/351766 Log: MFC r348628: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits To support Intel CET IBT/Shadow Stack. Sponsored by: The FreeBSD Foundation Modifie

svn commit: r351765 - stable/12/sys/sys

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 17:29:01 2019 New Revision: 351765 URL: https://svnweb.freebsd.org/changeset/base/351765 Log: MFC r348628: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits To support Intel CET IBT/Shadow Stack. Sponsored by: The FreeBSD Foundation Modifie

svn commit: r351764 - in stable/12/share/man: man4 man5

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:57:32 2019 New Revision: 351764 URL: https://svnweb.freebsd.org/changeset/base/351764 Log: MFC r350989: Remove some more leftover rlogin man page xrefs rcmds were removed in r32435 and these three man pages can trivially drop the references. There's

svn commit: r351763 - stable/12/usr.sbin/crunch/examples

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:55:28 2019 New Revision: 351763 URL: https://svnweb.freebsd.org/changeset/base/351763 Log: MFC r350983: crunch: remove rsh and rlogin from example config file rcmds removed in r324351. Historical references in the README are maintained. There's a par

svn commit: r351762 - stable/12/share/man/man7

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:54:27 2019 New Revision: 351762 URL: https://svnweb.freebsd.org/changeset/base/351762 Log: MFC r350979: Remove rsh/rlogin references from security man page More extensive changes to this page are certainly needed, but at least remove references to binari

svn commit: r351761 - stable/12/tools/build/options

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:52:44 2019 New Revision: 351761 URL: https://svnweb.freebsd.org/changeset/base/351761 Log: MFC r350980: Remove rlogin/rsh references from src.conf(5) WITHOUT_BLACKLIST_SUPPORT rcmds were removed in r324351 Sponsored by: The FreeBSD Foundation Modifi

svn commit: r351760 - stable/11/sys/kern

2019-09-03 Thread Alexander Motin
Author: mav Date: Tue Sep 3 16:38:52 2019 New Revision: 351760 URL: https://svnweb.freebsd.org/changeset/base/351760 Log: MFC r351134: Add support for 'j', 't' and 'z' flags to kernel sscanf(). Modified: stable/11/sys/kern/subr_scanf.c Directory Properties: stable/11/ (props changed) Mo

svn commit: r351759 - stable/12/sys/kern

2019-09-03 Thread Alexander Motin
Author: mav Date: Tue Sep 3 16:38:25 2019 New Revision: 351759 URL: https://svnweb.freebsd.org/changeset/base/351759 Log: MFC r351134: Add support for 'j', 't' and 'z' flags to kernel sscanf(). Modified: stable/12/sys/kern/subr_scanf.c Directory Properties: stable/12/ (props changed) Mo

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: head/sys/compat/linprocfs/linprocfs

svn commit: r351756 - in stable/12/sys: amd64/vmm/io x86/x86

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:26:35 2019 New Revision: 351756 URL: https://svnweb.freebsd.org/changeset/base/351756 Log: MFC r351000: sys/{x86,amd64}: remove one of doubled ;s Modified: stable/12/sys/amd64/vmm/io/vlapic.c stable/12/sys/x86/x86/local_apic.c Directory Properties: stabl

svn commit: r351757 - in stable/11/sys: amd64/vmm/io x86/x86

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:27:23 2019 New Revision: 351757 URL: https://svnweb.freebsd.org/changeset/base/351757 Log: MFC r351000: sys/{x86,amd64}: remove one of doubled ;s Modified: stable/11/sys/amd64/vmm/io/vlapic.c stable/11/sys/x86/x86/local_apic.c Directory Properties: stabl

svn commit: r351755 - stable/12/sys/fs/msdosfs

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:25:27 2019 New Revision: 351755 URL: https://svnweb.freebsd.org/changeset/base/351755 Log: MFC r351395: msdosfs_fat: reduce diffs with NetBSD and makefs Use pointer arithmetic (as now done in makefs, and in NetBSD) instead of taking the address of array

svn commit: r351754 - in stable/11/sys/cam: ata nvme scsi

2019-09-03 Thread Alexander Motin
Author: mav Date: Tue Sep 3 16:24:44 2019 New Revision: 351754 URL: https://svnweb.freebsd.org/changeset/base/351754 Log: MFC r351606: Take proper lock in ses_setphyspath_callback(). XPT_DEV_ADVINFO call should be protected by the lock of the specific device it is addressed to, not the l

svn commit: r351753 - in stable/11/sys/amd64: include vmm vmm/intel vmm/io

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:23:46 2019 New Revision: 351753 URL: https://svnweb.freebsd.org/changeset/base/351753 Log: MFC r350492: vmx: use C99 bool, not boolean_t Bhyve's vmm is a self-contained modern component and thus a good candidate for use of C99 types. Sponsored by: T

svn commit: r351752 - in stable/12/sys/cam: ata mmc nvme scsi

2019-09-03 Thread Alexander Motin
Author: mav Date: Tue Sep 3 16:20:04 2019 New Revision: 351752 URL: https://svnweb.freebsd.org/changeset/base/351752 Log: MFC r351606: Take proper lock in ses_setphyspath_callback(). XPT_DEV_ADVINFO call should be protected by the lock of the specific device it is addressed to, not the l

svn commit: r351751 - in stable/12/sys/amd64: include vmm vmm/intel vmm/io

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:18:07 2019 New Revision: 351751 URL: https://svnweb.freebsd.org/changeset/base/351751 Log: MFC r350492: vmx: use C99 bool, not boolean_t Bhyve's vmm is a self-contained modern component and thus a good candidate for use of C99 types. Sponsored by: T

svn commit: r351750 - stable/11/usr.bin/vtfontcvt

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:17:01 2019 New Revision: 351750 URL: https://svnweb.freebsd.org/changeset/base/351750 Log: MFC r351425: vtfontcvt: simplify rshift_row We don't need to specify the buffer size in both bytes and bits. Sponsored by: The FreeBSD Foundation Modified: s

svn commit: r351749 - stable/12/usr.bin/vtfontcvt

2019-09-03 Thread Ed Maste
Author: emaste Date: Tue Sep 3 16:15:57 2019 New Revision: 351749 URL: https://svnweb.freebsd.org/changeset/base/351749 Log: MFC r351425: vtfontcvt: simplify rshift_row We don't need to specify the buffer size in both bytes and bits. Sponsored by: The FreeBSD Foundation Modified: s

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 diffe

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 us

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 have

svn commit: r346523 - stable/11/sys/dev/efidev

2019-09-03 Thread Ian Lepore
Author: ian Date: Mon Apr 22 04:23:49 2019 New Revision: 346523 URL: https://svnweb.freebsd.org/changeset/base/346523 Log: MFC r335766: Add missing MODULE_VERSION() and MODULE_DEPEND(). Modified: stable/11/sys/dev/efidev/efirtc.c Directory Properties: stable/11/ (props changed) Modi

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 usin

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 queue

svn commit: r346538 - in stable/11: lib/libc/stdlib libexec/rtld-elf

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Mon Apr 22 10:02:34 2019 New Revision: 346538 URL: https://svnweb.freebsd.org/changeset/base/346538 Log: MFC r346225: Fix order of destructors between main binary and libraries. Modified: stable/11/lib/libc/stdlib/Symbol.map stable/11/lib/libc/stdlib/atexit.c stable/11

svn commit: r346548 - stable/11/sys/dev/iicbus

2019-09-03 Thread Ian Lepore
Author: ian Date: Mon Apr 22 13:51:25 2019 New Revision: 346548 URL: https://svnweb.freebsd.org/changeset/base/346548 Log: MFC r337731: Export the eeprom device size via readonly sysctl. Also export the write page size and address size, although they are likely to be inherently less-in

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 mphyp_pte

Re: svn commit: r346443 - head/tests/sys/opencrypto

2019-09-03 Thread Conrad Meyer
On Sat, Apr 20, 2019 at 9:54 AM John Baldwin wrote: > To be clear, I prefer the _new_ indentation. I kept having to go back and > manually > use tabify in emacs to work with the current scripts, so once my pending > stuff is > drained I will appreciate having it converted. > +1 as someone else w

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

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

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) were

svn commit: r346555 - svnadmin/conf

2019-09-03 Thread Ed Maste
Author: emaste Date: Mon Apr 22 14:49:24 2019 New Revision: 346555 URL: https://svnweb.freebsd.org/changeset/base/346555 Log: Release ngie@ from mentorship They've demonstrated they're back up to speed on current FreeBSD conventions and tooling. Discussed with: jtl Modified:

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

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

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 Modi

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 tests

Re: svn commit: r346348 - head/share/man/man4

2019-09-03 Thread Tom Jones
On Thu, Apr 18, 2019 at 11:06:45AM +, Tom Jones wrote: > Author: thj > Date: Thu Apr 18 11:06:45 2019 > New Revision: 346348 > URL: https://svnweb.freebsd.org/changeset/base/346348 > > Log: > Add a bugs section to pflog man page > > FreeBSD does not set the pid field in the pfloghdr str

svn commit: r346407 - head/stand/efi/include

2019-09-03 Thread Warner Losh
Author: imp Date: Fri Apr 19 19:44:59 2019 New Revision: 346407 URL: https://svnweb.freebsd.org/changeset/base/346407 Log: Add define for CONST. Newer interfaces take CONST parameters, so define CONST to minimize differences between our headers and the standards docs. Differential Re

svn commit: r346526 - in stable/11: share/man/man4/man4.arm sys/arm/freescale/imx sys/modules/imx sys/modules/imx/imx6_snvs

2019-09-03 Thread Ian Lepore
Author: ian Date: Mon Apr 22 05:00:29 2019 New Revision: 346526 URL: https://svnweb.freebsd.org/changeset/base/346526 Log: MFC r336094, r336096 r336094: Catch up with improvements in RTC handling... It's no longer necessary to ignore the timestamp passed in to settime() due to inaccurac

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 c

svn commit: r346416 - head/lib/libvgl

2019-09-03 Thread Bruce Evans
Author: bde Date: Fri Apr 19 20:29:49 2019 New Revision: 346416 URL: https://svnweb.freebsd.org/changeset/base/346416 Log: Fix copying of overlapping bitmaps. The cases of copying within the screen bitmap and within a single MEMBUF were broken when first source line is before the first dest

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 possibl

svn commit: r346563 - in vendor/wpa/dist: . hostapd hs20/client src src/ap src/common src/crypto src/drivers src/eap_common src/eap_peer src/eap_server src/eapol_supp src/fst src/p2p src/pae src/ra...

2019-09-03 Thread Cy Schubert
Author: cy Date: Mon Apr 22 15:42:53 2019 New Revision: 346563 URL: https://svnweb.freebsd.org/changeset/base/346563 Log: Import wpa_supplicant/hostapd 2.8 Added: vendor/wpa/dist/hostapd/README-MULTI-AP vendor/wpa/dist/hs20/client/.gitignore vendor/wpa/dist/src/common/ocv.c (contents, p

svn commit: r346537 - in stable/12: lib/libc/stdlib libexec/rtld-elf

2019-09-03 Thread Konstantin Belousov
Author: kib Date: Mon Apr 22 10:01:20 2019 New Revision: 346537 URL: https://svnweb.freebsd.org/changeset/base/346537 Log: MFC r346225: Fix order of destructors between main binary and libraries. Modified: stable/12/lib/libc/stdlib/Symbol.map stable/12/lib/libc/stdlib/atexit.c stable/12

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 Modifie

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

2019-09-03 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: r346562 - stable/11/share/man/man7

2019-09-03 Thread Ian Lepore
Author: ian Date: Mon Apr 22 15:26:21 2019 New Revision: 346562 URL: https://svnweb.freebsd.org/changeset/base/346562 Log: MFC r337364: Document 64-bit arm in terms of arch name (aarch64) not machine (arm64). Other architectures are documented in terms of the name that is displayed by '

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 head/sys/netine

svn commit: r346360 - head/sys/netinet

2019-09-03 Thread John Baldwin
Author: jhb Date: Thu Apr 18 23:21:26 2019 New Revision: 346360 URL: https://svnweb.freebsd.org/changeset/base/346360 Log: Push down INP_WLOCK slightly in tcp_ctloutput. The inp lock is not needed for testing the V6 flag as that flag is set once when the inp is created and never changes.

  1   2   3   4   5   6   7   8   9   10   >