svn commit: r350495 - stable/12/sbin/swapon

2019-07-31 Thread Doug Moore
Author: dougm Date: Thu Aug 1 05:30:31 2019 New Revision: 350495 URL: https://svnweb.freebsd.org/changeset/base/350495 Log: MFC r350183, r350359 In trimming on startup, define swapon_trim() to invoke swapon before closing the fd used for trimming so that a geli device isn't detached

svn commit: r350494 - head/sys/powerpc/powernv

2019-07-31 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 1 03:59:25 2019 New Revision: 350494 URL: https://svnweb.freebsd.org/changeset/base/350494 Log: powerpc/powernv: Only clear EEH freeze for some errors Only clear an EEH freeze if an error occurs. However, if an OPAL_HARDWARE error is returned, this

svn commit: r350493 - in head/sys/powerpc: aim include

2019-07-31 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 1 03:55:58 2019 New Revision: 350493 URL: https://svnweb.freebsd.org/changeset/base/350493 Log: powerpc64/mmu: Use a SLIST for the PVO delete list, instead of a RB_TREE Summary: Although it's convenient to reuse the pvo_plist for deletion, RB_TREE

svn commit: r350492 - in head/sys/amd64: include vmm vmm/intel vmm/io

2019-07-31 Thread Ed Maste
Author: emaste Date: Thu Aug 1 02:16:48 2019 New Revision: 350492 URL: https://svnweb.freebsd.org/changeset/base/350492 Log: 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. Reviewed by: jhb, kib,

svn commit: r350491 - head

2019-07-31 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 31 23:36:23 2019 New Revision: 350491 URL: https://svnweb.freebsd.org/changeset/base/350491 Log: Add an entry for the copy_file_range(2) syscall. Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r350490 - in head/sys/ufs: ffs ufs

2019-07-31 Thread Kirk McKusick
Author: mckusick Date: Wed Jul 31 22:44:58 2019 New Revision: 350490 URL: https://svnweb.freebsd.org/changeset/base/350490 Log: When updating the user or group disk quotas for the return of inodes or disk blocks, set the FORCE flag in the call to chkiq() or chkdq() since the user is always

svn commit: r350488 - head/sys/netinet

2019-07-31 Thread Michael Tuexen
Author: tuexen Date: Wed Jul 31 21:39:03 2019 New Revision: 350488 URL: https://svnweb.freebsd.org/changeset/base/350488 Log: Small cleanup, no functional change intended. MFC after:3 days Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c

svn commit: r350487 - head/sys/netinet

2019-07-31 Thread Michael Tuexen
Author: tuexen Date: Wed Jul 31 21:29:17 2019 New Revision: 350487 URL: https://svnweb.freebsd.org/changeset/base/350487 Log: Consistently cleanup mbufs in case of other memory errors. MFC after:3 days Modified: head/sys/netinet/sctp_output.c Modified:

svn commit: r350486 - head/cddl/contrib/opensolaris/cmd/zfs

2019-07-31 Thread Wolfram Schneider
Author: wosch Date: Wed Jul 31 21:21:34 2019 New Revision: 350486 URL: https://svnweb.freebsd.org/changeset/base/350486 Log: add forgotten opening bracket "(" PR: 237514 Reviewed by: allanjude MFC after:soon for 11.3 and 12 series Differential Revision:

svn commit: r350485 - head/stand/powerpc/ofw

2019-07-31 Thread Leandro Lupori
Author: luporl Date: Wed Jul 31 20:31:36 2019 New Revision: 350485 URL: https://svnweb.freebsd.org/changeset/base/350485 Log: [PPC64] Implement CAS Guest PPC OSs running under a hypervisor may communicate the features they support, in order for the hypervisor to expose a virtualized

svn commit: r350484 - in head/sys: amd64/amd64 compat/freebsd32 compat/ia32 kern sys

2019-07-31 Thread Konstantin Belousov
Author: kib Date: Wed Jul 31 20:23:10 2019 New Revision: 350484 URL: https://svnweb.freebsd.org/changeset/base/350484 Log: Make randomized stack gap between strings and pointers to argv/envs. This effectively makes the stack base on the csu _start entry randomized. The gap is

svn commit: r350483 - head/lib/libthr/thread

2019-07-31 Thread Konstantin Belousov
Author: kib Date: Wed Jul 31 20:04:39 2019 New Revision: 350483 URL: https://svnweb.freebsd.org/changeset/base/350483 Log: Avoid conflicts with libc symbols in libthr jump table. In some corner cases of static linking and unexpected libraries order on the linker command line, libc symbol

Re: svn commit: r350005 - head/sys/kern

2019-07-31 Thread Bryan Drewery
On 7/31/19 12:42 PM, Konstantin Belousov wrote: > On Wed, Jul 31, 2019 at 10:08:39AM -0700, Bryan Drewery wrote: >> On 7/30/19 10:14 PM, Konstantin Belousov wrote: >>> No, you should create a situation where the python process ends the endless >>> loop, as reported. Then, it should become

Re: svn commit: r350005 - head/sys/kern

2019-07-31 Thread Konstantin Belousov
On Wed, Jul 31, 2019 at 10:08:39AM -0700, Bryan Drewery wrote: > On 7/30/19 10:14 PM, Konstantin Belousov wrote: > > No, you should create a situation where the python process ends the endless > > loop, as reported. Then, it should become killable by 9 with the first > > chunk only applied. > >

svn commit: r350482 - head

2019-07-31 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jul 31 19:32:39 2019 New Revision: 350482 URL: https://svnweb.freebsd.org/changeset/base/350482 Log: gnop: add note to the RELNOTES Submitted by: markj Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r350481 - head/lib/libthr/thread

2019-07-31 Thread Konstantin Belousov
Author: kib Date: Wed Jul 31 19:27:20 2019 New Revision: 350481 URL: https://svnweb.freebsd.org/changeset/base/350481 Log: Avoid conflicts with libc symbols in libthr jump table. In some corner cases of static linking and unexpected libraries order on the linker command line, libc symbol

svn commit: r350479 - head/sys/compat/freebsd32

2019-07-31 Thread Konstantin Belousov
Author: kib Date: Wed Jul 31 19:20:05 2019 New Revision: 350479 URL: https://svnweb.freebsd.org/changeset/base/350479 Log: freebsd32 shims for copy_file_range(2). Reviewed by: brooks, rmacklem (previous version) Sponsored by: The FreeBSD Foundation Differential revision:

svn commit: r350480 - head/sys/compat/freebsd32

2019-07-31 Thread Konstantin Belousov
Author: kib Date: Wed Jul 31 19:20:39 2019 New Revision: 350480 URL: https://svnweb.freebsd.org/changeset/base/350480 Log: Regen. Modified: head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compat/freebsd32/freebsd32_sysent.c

svn commit: r350478 - head/sys/kern

2019-07-31 Thread Konstantin Belousov
Author: kib Date: Wed Jul 31 19:16:49 2019 New Revision: 350478 URL: https://svnweb.freebsd.org/changeset/base/350478 Log: Fix handling of transient casueword(9) failures in do_sem_wait(). In particular, restart should be only done when the failure is transient. For this, recheck the

svn commit: r350477 - head/sbin/nvmecontrol

2019-07-31 Thread Alexander Motin
Author: mav Date: Wed Jul 31 18:44:20 2019 New Revision: 350477 URL: https://svnweb.freebsd.org/changeset/base/350477 Log: Feature-complete NVMe Namespace Management. This adds several previously missed but important subcommands to list namespaces and controllers. It also fixes few

svn commit: r350476 - stable/12/share/mk

2019-07-31 Thread Brooks Davis
Author: brooks Date: Wed Jul 31 18:40:43 2019 New Revision: 350476 URL: https://svnweb.freebsd.org/changeset/base/350476 Log: MFC r350159: Make setting mips endian and ABI less verbose. Allow ABI to be over ridden to allow (with other changes) programs to be built targeting ABIs

svn commit: r350475 - stable/12/lib/libproc

2019-07-31 Thread Brooks Davis
Author: brooks Date: Wed Jul 31 18:25:52 2019 New Revision: 350475 URL: https://svnweb.freebsd.org/changeset/base/350475 Log: MFC r350158: Remove an unneeded temporary variable in two functions. There is no need to convert an intptr_t to a long just to cast it to a (void *).

svn commit: r350474 - stable/11/lib/libgssapi

2019-07-31 Thread Brooks Davis
Author: brooks Date: Wed Jul 31 18:10:50 2019 New Revision: 350474 URL: https://svnweb.freebsd.org/changeset/base/350474 Log: MFC r350157: Use the __DECONST macro rather than hand rolling it. Obtained from:CheriBSD Sponsored by: DARPA, AFRL Modified:

svn commit: r350473 - stable/12/lib/libgssapi

2019-07-31 Thread Brooks Davis
Author: brooks Date: Wed Jul 31 17:56:07 2019 New Revision: 350473 URL: https://svnweb.freebsd.org/changeset/base/350473 Log: MFC r350157: Use the __DECONST macro rather than hand rolling it. Obtained from:CheriBSD Sponsored by: DARPA, AFRL Modified:

svn commit: r350472 - head/sys/geom/nop

2019-07-31 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jul 31 17:51:06 2019 New Revision: 350472 URL: https://svnweb.freebsd.org/changeset/base/350472 Log: gnop: style nits Modified: head/sys/geom/nop/g_nop.c Modified: head/sys/geom/nop/g_nop.c

svn commit: r350471 - in head: lib/geom/nop sys/geom/nop

2019-07-31 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jul 31 17:47:12 2019 New Revision: 350471 URL: https://svnweb.freebsd.org/changeset/base/350471 Log: gnop: Introduce requests delay. This allows to simulated disk that is responding slowly to the IO requests. Reviewed by: markj, bcr, pjd (previous version)

svn commit: r350470 - in stable/11/libexec/bootpd: . tools

2019-07-31 Thread Brooks Davis
Author: brooks Date: Wed Jul 31 17:29:14 2019 New Revision: 350470 URL: https://svnweb.freebsd.org/changeset/base/350470 Log: MFC r350143, r350148 r350143: Chain Makefile.inc's so default are inherited as expected. Remove unneeded or duplicate variables. No functional change.

Re: svn commit: r350005 - head/sys/kern

2019-07-31 Thread Bryan Drewery
On 7/30/19 10:14 PM, Konstantin Belousov wrote: > On Tue, Jul 30, 2019 at 08:40:28PM -0700, Bryan Drewery wrote: >> This 2nd change alone (&& count1 == 0) was sufficient to fix the endless >> loop problem. > Good, thank you. > >> >> I am not sure how to test the umtxq_check_susp() change. Do I

svn commit: r350469 - in stable/12/libexec/bootpd: . tools

2019-07-31 Thread Brooks Davis
Author: brooks Date: Wed Jul 31 17:01:23 2019 New Revision: 350469 URL: https://svnweb.freebsd.org/changeset/base/350469 Log: MFC r350143, r350148 r350143: Chain Makefile.inc's so default are inherited as expected. Remove unneeded or duplicate variables. No functional change.

svn commit: r350468 - head/sys/netpfil/pf

2019-07-31 Thread Ed Maste
Author: emaste Date: Wed Jul 31 16:58:09 2019 New Revision: 350468 URL: https://svnweb.freebsd.org/changeset/base/350468 Log: pf: zero (another) output buffer in pfioctl Avoid potential structure padding leak. r350294 identified a leak via static analysis; although there's no report of

svn commit: r350467 - head/contrib/llvm/tools/lld/ELF

2019-07-31 Thread Leandro Lupori
Author: luporl Date: Wed Jul 31 16:22:05 2019 New Revision: 350467 URL: https://svnweb.freebsd.org/changeset/base/350467 Log: [PPC64] Backport fix for missing IRELATIVE relocations This is a backport of LLVM commit 8331f61a51a7a0a1efbf5ed398e181593023d151, llvm-svn: 353981: ELF:

svn commit: r350465 - in stable: 11/sys/net 12/sys/net

2019-07-31 Thread Kyle Evans
Author: kevans Date: Wed Jul 31 15:56:40 2019 New Revision: 350465 URL: https://svnweb.freebsd.org/changeset/base/350465 Log: MFC r350336: if_tun(4): Add TUNGIFNAME This is effectively a direct commit to stable branches as tun/tap have been merged in head. The code here is identical,

svn commit: r350465 - in stable: 11/sys/net 12/sys/net

2019-07-31 Thread Kyle Evans
Author: kevans Date: Wed Jul 31 15:56:40 2019 New Revision: 350465 URL: https://svnweb.freebsd.org/changeset/base/350465 Log: MFC r350336: if_tun(4): Add TUNGIFNAME This is effectively a direct commit to stable branches as tun/tap have been merged in head. The code here is identical,

svn commit: r350464 - in head/sys: compat/cloudabi kern

2019-07-31 Thread Kyle Evans
Author: kevans Date: Wed Jul 31 15:16:51 2019 New Revision: 350464 URL: https://svnweb.freebsd.org/changeset/base/350464 Log: kern_shm_open: push O_CLOEXEC into caller control The motivation for this change is to allow wrappers around shm to be written that don't set CLOEXEC.