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

2018-11-06 Thread Marcelo Araujo
Author: araujo Date: Wed Nov 7 06:29:01 2018 New Revision: 340211 URL: https://svnweb.freebsd.org/changeset/base/340211 Log: Comestic change to try to inline the memset with SSE/AVX instructions. Also switch from int to size_t to keep portability. Reviewed by: brooks Sponsored by:

Re: svn commit: r340187 - head/sys/geom

2018-11-06 Thread Rodney W. Grimes
> Hi Maxim, > > There are 5 regression tests failing since this change: > > https://ci.freebsd.org/job/FreeBSD-head-amd64-test/9184/testReport/ > > sys.geom.class.* > > Can you help check them? Maybe this should be backed out and looked at more closely? -- Rod Grimes

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

2018-11-06 Thread Marcelo Araujo
Author: araujo Date: Wed Nov 7 04:20:29 2018 New Revision: 340210 URL: https://svnweb.freebsd.org/changeset/base/340210 Log: Revert my bogus attempt to silence coverity on r340045, it created more bad side effects than good. PR: 233038 Submitted by: We Maag Modified:

Re: svn commit: r340187 - head/sys/geom

2018-11-06 Thread Li-Wen Hsu
Hi Maxim, There are 5 regression tests failing since this change: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/9184/testReport/ sys.geom.class.* Can you help check them? Best, Li-Wen ___ svn-src-all@freebsd.org mailing list

svn commit: r340209 - head/sys/powerpc/include

2018-11-06 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 7 01:42:00 2018 New Revision: 340209 URL: https://svnweb.freebsd.org/changeset/base/340209 Log: powerpc/atomic: Loosen the memory barrier on atomic_load_acq_*() 'sync' is pretty heavy-handed, and is unnecessary for this use case. It's a full barrier,

Re: svn commit: r340187 - head/sys/geom

2018-11-06 Thread Rodney W. Grimes
> Rodney, this was actually my original intention, however then I noticed in > the GEOM code there is at least one case when BIO_FLUSH request is being > generated internally with bio_offset == mediasize and bio_lenth == 0, so I > thought there might be some need to allow such requests through.

svn commit: r340208 - in head/sys: kern sys

2018-11-06 Thread Mark Johnston
Author: markj Date: Tue Nov 6 23:41:44 2018 New Revision: 340208 URL: https://svnweb.freebsd.org/changeset/base/340208 Log: Avoid fixing the tty_info() buffer size in tty.h. Different compilation units may otherwise get a different view of the layout of struct tty depending on whether

svn commit: r340207 - head/sys/fs/nfsclient

2018-11-06 Thread Rick Macklem
Author: rmacklem Date: Tue Nov 6 22:50:50 2018 New Revision: 340207 URL: https://svnweb.freebsd.org/changeset/base/340207 Log: Change nfs_advlock() so that the NFSVOPUNLOCK() is mostly done at the end. Prior to this patch, nfs_advlock() did NFSVOPUNLOCK(); return (error); in many

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

2018-11-06 Thread John Baldwin
Author: jhb Date: Tue Nov 6 22:33:36 2018 New Revision: 340206 URL: https://svnweb.freebsd.org/changeset/base/340206 Log: Treat the memory lengths for CHELSIO_T4_GET_MEM as unsigned. Previously attempts to read the MC region were failing since the length was greater than 2^31.

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

2018-11-06 Thread Mark Johnston
Author: markj Date: Tue Nov 6 21:57:03 2018 New Revision: 340205 URL: https://svnweb.freebsd.org/changeset/base/340205 Log: Avoid specifying VM_PROT_EXECUTE in mappings from pipe_map and exec_map. These submaps are used for mapping pipe buffers and execv() argument strings respectively,

svn commit: r340204 - in head/tools/tools/locale: . etc tools

2018-11-06 Thread Yuri Pankov
Author: yuripv Date: Tue Nov 6 21:49:50 2018 New Revision: 340204 URL: https://svnweb.freebsd.org/changeset/base/340204 Log: Cleanup locale tools: - Simplify the source dir specification, and update README appropriately - Drop the LC (doonly) processing, it's broken, and even if

svn commit: r340203 - head/sys/kern

2018-11-06 Thread Mark Johnston
Author: markj Date: Tue Nov 6 21:47:22 2018 New Revision: 340203 URL: https://svnweb.freebsd.org/changeset/base/340203 Log: We need opt_stack.h after r339605. Reviewed by: cem Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/tty_info.c Modified: head/sys/kern/tty_info.c

svn commit: r340201 - head/sys/kern

2018-11-06 Thread Brooks Davis
Author: brooks Date: Tue Nov 6 20:45:15 2018 New Revision: 340201 URL: https://svnweb.freebsd.org/changeset/base/340201 Log: Update some comments made obsolete by recent commits. Modified: head/sys/kern/syscalls.master Modified: head/sys/kern/syscalls.master

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

2018-11-06 Thread Stephen Hurd
Author: shurd Date: Tue Nov 6 20:46:00 2018 New Revision: 340202 URL: https://svnweb.freebsd.org/changeset/base/340202 Log: MFC r339861: Drain grouptaskqueue of the gtask before detaching it. taskqgroup_detach() would remove the task even if it was running or enqueued, which could

Re: svn commit: r339636 - in head: . share/mk

2018-11-06 Thread Markiyan Kushnir
Here it is. Environment: # env SSH_CLIENT=10.1.2.10 43379 22 REPLYTO=markiyan.kush...@gmail.com LSCOLORS=gxfxcxdxbxegedabagacad LOGNAME=root PAGER=less MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin EDITOR=vim ENV=/root/.shrc

svn commit: r340199 - in head/sys: compat/freebsd32 compat/linux fs/nfsclient kern sys

2018-11-06 Thread Brooks Davis
Author: brooks Date: Tue Nov 6 18:46:38 2018 New Revision: 340199 URL: https://svnweb.freebsd.org/changeset/base/340199 Log: Use declared types for caddr_t arguments. Leave ptrace(2) alone for the moment as it's defined to take a caddr_t. Reviewed by: kib Obtained from:

svn commit: r340200 - in head/sys: compat/freebsd32 kern sys

2018-11-06 Thread Brooks Davis
Author: brooks Date: Tue Nov 6 18:47:29 2018 New Revision: 340200 URL: https://svnweb.freebsd.org/changeset/base/340200 Log: Regen after r340199: Use declared types for caddr_t arguments. Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D17852

Re: svn commit: r340195 - head/sys/compat/freebsd32

2018-11-06 Thread Mariusz Zaborski
Right. Thanks! On Tue, 6 Nov 2018 at 19:16, John Baldwin wrote: > > On 11/6/18 10:05 AM, Mariusz Zaborski wrote: > > Author: oshogbo > > Date: Tue Nov 6 18:05:46 2018 > > New Revision: 340195 > > URL: https://svnweb.freebsd.org/changeset/base/340195 > > > > Log: > > capsicum: Add ppoll and

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

2018-11-06 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Nov 6 18:26:40 2018 New Revision: 340198 URL: https://svnweb.freebsd.org/changeset/base/340198 Log: Remove ppoll. freebsd32 doesn't define a ppoll syscall. Reported by: jhb Modified: head/sys/compat/freebsd32/capabilities.conf Modified:

Re: svn commit: r340195 - head/sys/compat/freebsd32

2018-11-06 Thread John Baldwin
On 11/6/18 10:05 AM, Mariusz Zaborski wrote: > Author: oshogbo > Date: Tue Nov 6 18:05:46 2018 > New Revision: 340195 > URL: https://svnweb.freebsd.org/changeset/base/340195 > > Log: > capsicum: Add ppoll and freebsd32_ppoll to compat32. > > PR: 232495 > Pointed out by: brooks >

svn commit: r340196 - head

2018-11-06 Thread Alex Richardson
Author: arichardson Date: Tue Nov 6 18:06:52 2018 New Revision: 340196 URL: https://svnweb.freebsd.org/changeset/base/340196 Log: Turn off BUILD_WITH_STRICT_TMPPATH by default Building with a strict $PATH (without inheriting from the parent environment) still causes build failures in

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

2018-11-06 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Nov 6 18:06:52 2018 New Revision: 340197 URL: https://svnweb.freebsd.org/changeset/base/340197 Log: Regenerate after r340195. Modified: head/sys/compat/freebsd32/freebsd32_sysent.c Modified: head/sys/compat/freebsd32/freebsd32_sysent.c

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

2018-11-06 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Nov 6 18:05:46 2018 New Revision: 340195 URL: https://svnweb.freebsd.org/changeset/base/340195 Log: capsicum: Add ppoll and freebsd32_ppoll to compat32. PR: 232495 Pointed out by: brooks MFC after:2 weeks Modified:

svn commit: r340194 - head/sys/kern

2018-11-06 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Nov 6 18:03:04 2018 New Revision: 340194 URL: https://svnweb.freebsd.org/changeset/base/340194 Log: Regenerate after r340129. Pointed out by: brooks Modified: head/sys/kern/init_sysent.c Modified: head/sys/kern/init_sysent.c

svn commit: r340193 - in head/sys: amd64/conf arm64/conf

2018-11-06 Thread Andrew Turner
Author: andrew Date: Tue Nov 6 17:47:58 2018 New Revision: 340193 URL: https://svnweb.freebsd.org/changeset/base/340193 Log: Add the KUBSAN options to the arm64 and amd64 GENERIC kernel config files. As the kernel file size may be too large to run with a stock loader comment them out for

Re: svn commit: r339636 - in head: . share/mk

2018-11-06 Thread Alexander Richardson
Hi Markiyan, This looks exactly like the SYSTEM_COMPILER/SYSTEM_LINKER build failure that should have been fixed by r340167. Does passing BUILD_WITH_STRICT_TMPPATH=0 on the make command line fix the build error? If so it seems like I missed one more SYSTEM_COMPILER case. Could you send me your

svn commit: r340191 - in head/sys: conf kern

2018-11-06 Thread Andrew Turner
Author: andrew Date: Tue Nov 6 17:32:07 2018 New Revision: 340191 URL: https://svnweb.freebsd.org/changeset/base/340191 Log: Port the NetBSD ubsan runtime to the FreeBSD kernel. This allows us to build the ubsan code added in r340189 into the kernel with the KUBSAN option. This will

svn commit: r340192 - in head/sys: dev/mrsas kern

2018-11-06 Thread Mark Johnston
Author: markj Date: Tue Nov 6 17:32:25 2018 New Revision: 340192 URL: https://svnweb.freebsd.org/changeset/base/340192 Log: Use plain atomic_{add,subtract} when that's sufficient. CID: 1386920 MFC after:2 weeks Modified: head/sys/dev/mrsas/mrsas.h

svn commit: r340190 - stable/12/sys/dev/ichwd

2018-11-06 Thread Andriy Gapon
Author: avg Date: Tue Nov 6 17:31:09 2018 New Revision: 340190 URL: https://svnweb.freebsd.org/changeset/base/340190 Log: MFC r339591: ichwd: add support for TCO watchdog timer in Lewisburg PCH (C620) PR: 222079 Approved by: re (rgrimes) Relnotes: maybe Sponsored by:

Re: svn commit: r339636 - in head: . share/mk

2018-11-06 Thread Markiyan Kushnir
Alexander, Cannot tell exactly what change it was, might be one of your recent changes to bsd.compiler.mk or Makefile.inc1? ... Now running "make buildworld" I can proceed with "3.1: recording build metadata" only having USING_SYSTEM_COMPILER=yes USING_SYSTEM_LINKER=yes set in my environment.

Re: svn commit: r340187 - head/sys/geom

2018-11-06 Thread Maxim Sobolev
Rodney, this was actually my original intention, however then I noticed in the GEOM code there is at least one case when BIO_FLUSH request is being generated internally with bio_offset == mediasize and bio_lenth == 0, so I thought there might be some need to allow such requests through. But I'd

svn commit: r340189 - head/sys/kern

2018-11-06 Thread Andrew Turner
Author: andrew Date: Tue Nov 6 16:56:49 2018 New Revision: 340189 URL: https://svnweb.freebsd.org/changeset/base/340189 Log: Import the NetBSD micro ubsan code for the kernel. This imports revision 1.3 of common/lib/libc/misc/ubsan.c from NetBSD, the micro-ubsan code. It is an

Re: svn commit: r340187 - head/sys/geom

2018-11-06 Thread Rodney W. Grimes
> Author: sobomax > Date: Tue Nov 6 15:55:41 2018 > New Revision: 340187 > URL: https://svnweb.freebsd.org/changeset/base/340187 > > Log: > Don't allow BIO_READ, BIO_WRITE or BIO_DELETE requests that are > fully beyond the end of providers media. The only exception is made > for the zero

Re: svn commit: r340181 - in head/sys: amd64/linux32 compat/linux

2018-11-06 Thread Tijl Coosemans
On Tue, 06 Nov 2018 16:17:23 +0100 Alexander Leidinger wrote: > Targeted for 12.0-release? > Relnotes yes (linux64 support for NVidia driver)? Yes, if re@ approves it. The ports also need to be modified to install linux64 libraries (PR 217901). ___

svn commit: r340188 - head/share/man/man5

2018-11-06 Thread Ed Maste
Author: emaste Date: Tue Nov 6 15:57:17 2018 New Revision: 340188 URL: https://svnweb.freebsd.org/changeset/base/340188 Log: Regen src.conf.5 after r340186 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r340187 - head/sys/geom

2018-11-06 Thread Maxim Sobolev
Author: sobomax Date: Tue Nov 6 15:55:41 2018 New Revision: 340187 URL: https://svnweb.freebsd.org/changeset/base/340187 Log: Don't allow BIO_READ, BIO_WRITE or BIO_DELETE requests that are fully beyond the end of providers media. The only exception is made for the zero length transfers

svn commit: r340186 - in head: share/mk tools/build/options

2018-11-06 Thread Ed Maste
Author: emaste Date: Tue Nov 6 15:52:49 2018 New Revision: 340186 URL: https://svnweb.freebsd.org/changeset/base/340186 Log: Add a WITH_BIND_NOW build knob The linker's -z now flag sets the DF_BIND_NOW flag, which signals to the runtime loader that all relocation processing should be

Re: svn commit: r340176 - head

2018-11-06 Thread Warner Losh
On Tue, Nov 6, 2018 at 2:37 AM Alex Richardson wrote: > Author: arichardson > Date: Tue Nov 6 09:36:59 2018 > New Revision: 340176 > URL: https://svnweb.freebsd.org/changeset/base/340176 > > Log: > Remove btxld from symlinked host tools > > It is only present on amd64/i386 systems which

svn commit: r340185 - head/sys/amd64/linux32

2018-11-06 Thread Tijl Coosemans
Author: tijl Date: Tue Nov 6 15:29:44 2018 New Revision: 340185 URL: https://svnweb.freebsd.org/changeset/base/340185 Log: Fix builds with COMPAT_LINUX32 in the kernel config. MFC after:3 days Modified: head/sys/amd64/linux32/linux32_sysvec.c Modified:

Re: svn commit: r340181 - in head/sys: amd64/linux32 compat/linux

2018-11-06 Thread Alexander Leidinger
Targeted for 12.0-release? Relnotes yes (linux64 support for NVidia driver)? -- Send from a mobile device, please forgive brevity and misspellings. Am 06.11.2018 2:51 nachm. schrieb Tijl Coosemans : > > Author: tijl > Date: Tue Nov  6 13:51:08 2018 > New Revision: 340181 > URL:

svn commit: r340184 - stable/10/sys/fs/nfsserver

2018-11-06 Thread Andriy Gapon
Author: avg Date: Tue Nov 6 14:22:44 2018 New Revision: 340184 URL: https://svnweb.freebsd.org/changeset/base/340184 Log: MFC r339595: nfsrvd_readdirplus: for some errors, do not fail the entire request Sponsored by: Panzura Modified: stable/10/sys/fs/nfsserver/nfs_nfsdport.c

svn commit: r340183 - stable/11/sys/fs/nfsserver

2018-11-06 Thread Andriy Gapon
Author: avg Date: Tue Nov 6 14:21:26 2018 New Revision: 340183 URL: https://svnweb.freebsd.org/changeset/base/340183 Log: MFC r339595: nfsrvd_readdirplus: for some errors, do not fail the entire request Sponsored by: Panzura Modified: stable/11/sys/fs/nfsserver/nfs_nfsdport.c

svn commit: r340182 - stable/11/sys/dev/ichwd

2018-11-06 Thread Andriy Gapon
Author: avg Date: Tue Nov 6 13:54:24 2018 New Revision: 340182 URL: https://svnweb.freebsd.org/changeset/base/340182 Log: MFC r339591: ichwd: add support for TCO watchdog timer in Lewisburg PCH (C620) PR: 222079 Relnotes: maybe Sponsored by: Panzura Modified:

svn commit: r340181 - in head/sys: amd64/linux32 compat/linux

2018-11-06 Thread Tijl Coosemans
Author: tijl Date: Tue Nov 6 13:51:08 2018 New Revision: 340181 URL: https://svnweb.freebsd.org/changeset/base/340181 Log: On amd64 both Linux compat modules, linux.ko and linux64.ko, provide linux_ioctl_(un)register_handler that allows other driver modules to register ioctl handlers. The

svn commit: r340180 - stable/11/sys/dev/mrsas

2018-11-06 Thread Ed Maste
Author: emaste Date: Tue Nov 6 12:57:38 2018 New Revision: 340180 URL: https://svnweb.freebsd.org/changeset/base/340180 Log: MFC r306024: mrsas: update for sys/capability.h rename Also followup fix in r312672 by jkim. Modified: stable/11/sys/dev/mrsas/mrsas_linux.c Directory

svn commit: r340179 - head/sys/netinet

2018-11-06 Thread Michael Tuexen
Author: tuexen Date: Tue Nov 6 12:55:03 2018 New Revision: 340179 URL: https://svnweb.freebsd.org/changeset/base/340179 Log: Don't use a function when neither INET nor INET6 are defined. This is a valid case for the userland stack, where this fixes two set-but-not-used warnings in this

svn commit: r340178 - stable/11/contrib/openbsm/bin/auditdistd

2018-11-06 Thread Ed Maste
Author: emaste Date: Tue Nov 6 12:52:58 2018 New Revision: 340178 URL: https://svnweb.freebsd.org/changeset/base/340178 Log: MFC r306023: auditdistd: update for sys/capability.h rename Reported by: dhw Modified: stable/11/contrib/openbsm/bin/auditdistd/sandbox.c Directory Properties:

svn commit: r340177 - head/contrib/jemalloc/src

2018-11-06 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 6 12:05:46 2018 New Revision: 340177 URL: https://svnweb.freebsd.org/changeset/base/340177 Log: Pick 50b473c8839f5408df179bdf6f2b3fd2cf5c3b2f from upstream: Set commit properly for FreeBSD w/ overcommit. When overcommit is enabled, commit needs to

Re: svn commit: r340157 - in head: . tools/build tools/tools/nanobsd/embedded

2018-11-06 Thread Alexander Richardson
On Tue, 6 Nov 2018 at 07:10, Michal Meloun wrote: > > > > On 05.11.2018 20:51, Alex Richardson wrote: > > Author: arichardson > > Date: Mon Nov 5 19:51:10 2018 > > New Revision: 340157 > > URL: https://svnweb.freebsd.org/changeset/base/340157 > > > > Log: > > Allow building world without

svn commit: r340176 - head

2018-11-06 Thread Alex Richardson
Author: arichardson Date: Tue Nov 6 09:36:59 2018 New Revision: 340176 URL: https://svnweb.freebsd.org/changeset/base/340176 Log: Remove btxld from symlinked host tools It is only present on amd64/i386 systems which breaks buildworld on other hosts. In fact there is no need to add it to