svn commit: r360684 - stable/11/sys/dev/ata/chipsets

2020-05-05 Thread Dimitry Andric
Author: dim Date: Wed May 6 05:41:02 2020 New Revision: 360684 URL: https://svnweb.freebsd.org/changeset/base/360684 Log: MFC r335894 (by sbruno): Reset indentation of this flag. No functional change intended. Found with gcc. sys/dev/ata/chipsets/ata-siliconimage.c: In function

svn commit: r360683 - stable/11/sys/dev/ata

2020-05-05 Thread Dimitry Andric
Author: dim Date: Wed May 6 05:35:00 2020 New Revision: 360683 URL: https://svnweb.freebsd.org/changeset/base/360683 Log: MFC r335896 (by sbruno): Reset indentiation of ata_suspend() such that its clear we fall through this function and that we aren't supposed to be controlled by the

svn commit: r360682 - stable/11/sys/cam/ctl

2020-05-05 Thread Dimitry Andric
Author: dim Date: Wed May 6 05:32:50 2020 New Revision: 360682 URL: https://svnweb.freebsd.org/changeset/base/360682 Log: MFC r333465 (by lwhsu): Fix build for platforms using GCC: - Remove unused or dead store variable - Remove unused function ctl_copyin_alloc - Add missing

svn commit: r360681 - stable/12/sys/mips/conf

2020-05-05 Thread John Baldwin
Author: jhb Date: Wed May 6 05:29:00 2020 New Revision: 360681 URL: https://svnweb.freebsd.org/changeset/base/360681 Log: Update a few more kernel configs for tun -> tuntap. Modified: stable/12/sys/mips/conf/GXEMUL stable/12/sys/mips/conf/GXEMUL32 Modified: stable/12/sys/mips/conf/GXEMUL

Re: svn commit: r360648 - in head: lib/libvmmapi share/man/man5 share/mk sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io sys/conf sys/modules/vmm tools/build/opt

2020-05-05 Thread Li-Wen Hsu
On Tue, May 5, 2020 at 8:02 AM John Baldwin wrote: > > Author: jhb > Date: Tue May 5 00:02:04 2020 > New Revision: 360648 > URL: https://svnweb.freebsd.org/changeset/base/360648 ... > Added: > head/sys/amd64/include/vmm_snapshot.h (contents, props changed) >

svn commit: r360679 - head/contrib/binutils/gas

2020-05-05 Thread Ed Maste
Author: emaste Date: Wed May 6 01:08:19 2020 New Revision: 360679 URL: https://svnweb.freebsd.org/changeset/base/360679 Log: GNU as: print a deprecation warning on program start GNU as 2.17.50 will be removed before FreeBSD 13. Modified: head/contrib/binutils/gas/as.c Modified:

svn commit: r360678 - head/sys/fs/nfs

2020-05-05 Thread Rick Macklem
Author: rmacklem Date: Wed May 6 00:44:03 2020 New Revision: 360678 URL: https://svnweb.freebsd.org/changeset/base/360678 Log: Delete unused function newnfs_trimleading. The NFS function called newnfs_trimleading() has not been used by the code in long time. To give you a clue, it still

svn commit: r360677 - stable/12/lib/liblua

2020-05-05 Thread Ed Maste
Author: emaste Date: Wed May 6 00:25:43 2020 New Revision: 360677 URL: https://svnweb.freebsd.org/changeset/base/360677 Log: MFC r360460: liblua: ensure that "require" will fail in bootstrap flua We do not want to support bootstrapping lua modules, so ensure that require will fail by

svn commit: r360676 - head/usr.bin/elfctl

2020-05-05 Thread Ed Maste
Author: emaste Date: Tue May 5 21:50:52 2020 New Revision: 360676 URL: https://svnweb.freebsd.org/changeset/base/360676 Log: elfctl: update earliest FreeBSD revision to 12.2 elfctl has been merged to stable/12, and so will appear in FreeBSD 12.2 Reported by: Dewayne Geraghty MFC

svn commit: r360675 - stable/11/usr.sbin/lmcconfig

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 21:01:43 2020 New Revision: 360675 URL: https://svnweb.freebsd.org/changeset/base/360675 Log: Fix misleading indentation warning: usr.sbin/lmcconfig/lmcconfig.c:941:39: error: misleading indentation; statement is not part of the previous 'if'

svn commit: r360674 - stable/11/sbin/pfctl

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 20:56:41 2020 New Revision: 360674 URL: https://svnweb.freebsd.org/changeset/base/360674 Log: MFC r335608 (by sbruno): Assuming that the intent (from the white space) is that the fprintf() be executed in the if() conditional. If its not supposed to be

svn commit: r360673 - stable/11/libexec/rshd

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 20:53:45 2020 New Revision: 360673 URL: https://svnweb.freebsd.org/changeset/base/360673 Log: Fix misleading indentation warning: libexec/rshd/rshd.c:442:5: error: misleading indentation; statement is not part of the previous 'else'

svn commit: r360672 - stable/11/usr.sbin/mpsutil

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 20:45:54 2020 New Revision: 360672 URL: https://svnweb.freebsd.org/changeset/base/360672 Log: MFC r334075 (by eadler): mpsutil: add missing braces Obtained from:DragonFly (c5d53f11a9510c5c79e196857a1200925fffacc8) MFC r334085 (by eadler):

svn commit: r360671 - head/sys/netinet

2020-05-05 Thread Michael Tuexen
Author: tuexen Date: Tue May 5 19:54:30 2020 New Revision: 360671 URL: https://svnweb.freebsd.org/changeset/base/360671 Log: Avoid underflowing a variable, which would result in taking more data from the stream queues then needed. Thanks to Timo Voelker for finding this bug and

svn commit: r360670 - in head/lib: libc/sys libthr

2020-05-05 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Tue May 5 19:31:47 2020 New Revision: 360670 URL: https://svnweb.freebsd.org/changeset/base/360670 Log: Add HISTORY sections to document when this functionality first appeared in FreeBSD. Submitted by: Gordon Bergling gbergling_gmail.com Approved by:

svn commit: r360669 - head/share/man/man4

2020-05-05 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Tue May 5 19:00:26 2020 New Revision: 360669 URL: https://svnweb.freebsd.org/changeset/base/360669 Log: Fix broken links in the man page by pointing to a source that works or is the new location on the same page. Submitted by: alfix86_gmail.com

svn commit: r360668 - in stable/11: . contrib/llvm-project/clang contrib/llvm-project/compiler-rt contrib/llvm-project/libcxx contrib/llvm-project/libunwind contrib/llvm-project/lld contrib/llvm-pr...

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 18:49:04 2020 New Revision: 360668 URL: https://svnweb.freebsd.org/changeset/base/360668 Log: Record-only merge of r310775 and its reversal, r310792. This is so these do not show up in any future merge attempts. Modified: Directory Properties: stable/11/

svn commit: r360667 - in stable/11: gnu/usr.bin/binutils/ld lib/clang/libllvm usr.bin/clang/lld

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 18:44:06 2020 New Revision: 360667 URL: https://svnweb.freebsd.org/changeset/base/360667 Log: MFC r330366 (by emaste): When lld is ld, install bfd's man page as ld.bfd.1 When WITH_LLD_IS_LD is set, lld's man page is installed as ld.1.gz, as was GNU BFD's

svn commit: r360666 - in stable/11: . contrib/llvm-project/clang contrib/llvm-project/compiler-rt contrib/llvm-project/libcxx contrib/llvm-project/libunwind contrib/llvm-project/lld contrib/llvm-pr...

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 18:09:06 2020 New Revision: 360666 URL: https://svnweb.freebsd.org/changeset/base/360666 Log: Record-only merge of r332501 and its reversal, r332503. This is so these do not show up in any future merge attempts. Modified: Directory Properties: stable/11/

svn commit: r360665 - head/bin/ls

2020-05-05 Thread Conrad Meyer
Author: cem Date: Tue May 5 18:06:32 2020 New Revision: 360665 URL: https://svnweb.freebsd.org/changeset/base/360665 Log: ls(1): Fix trivial SEGV due to NULL deref in OOM path Reported by: Anton Rang Sponsored by: Dell EMC Isilon Modified: head/bin/ls/ls.c Modified:

svn commit: r360664 - head/lib/libc/string

2020-05-05 Thread Conrad Meyer
Author: cem Date: Tue May 5 17:57:04 2020 New Revision: 360664 URL: https://svnweb.freebsd.org/changeset/base/360664 Log: strdup.3: Slightly canonicalize OOM return/error status Attempted to clean up the language around "this is a malloc'd object." May be passed as a parameter to

svn commit: r360663 - head/contrib/libc-pwcache

2020-05-05 Thread Conrad Meyer
Author: cem Date: Tue May 5 17:55:45 2020 New Revision: 360663 URL: https://svnweb.freebsd.org/changeset/base/360663 Log: pwcache.3: Explicitly document OOM condition The pwcache functions allocate memory, and may return NULL pointers if that allocation fails and the corresponding uid

svn commit: r360662 - head/sys/netinet

2020-05-05 Thread Michael Tuexen
Author: tuexen Date: Tue May 5 17:52:44 2020 New Revision: 360662 URL: https://svnweb.freebsd.org/changeset/base/360662 Log: Fix the computation of the numbers of entries of the mapping array to look at when generating a SACK. This was wrong in case of sequence numbers wrap arounds.

svn commit: r360661 - in stable/11: . contrib/llvm-project contrib/llvm-project/clang contrib/llvm-project/clang/include/clang/Basic contrib/llvm-project/clang/include/clang/CodeGen contrib/llvm-pr...

2020-05-05 Thread Dimitry Andric
== --- stable/11/ObsoleteFiles.inc Tue May 5 17:10:49 2020(r360660) +++ stable/11/ObsoleteFiles.inc Tue May 5 17:50:27 2020(r360661) @@ -38,6 +38,243 @@ # xargs -n1 | sort | uniq -d; # done +# 20200505: new clang import which bumps version from 9.0.0 to 9.0.1. +OLD_FILES+=usr/lib/clan

svn commit: r360660 - in stable/11: . contrib/compiler-rt contrib/libc++ contrib/libunwind contrib/llvm contrib/llvm-project/libcxx/include contrib/openmp gnu/usr.bin/cc/include lib/clang lib/clang...

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 17:10:49 2020 New Revision: 360660 URL: https://svnweb.freebsd.org/changeset/base/360660 Log: MFC r355940: Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated

Re: svn commit: r360648 - in head: lib/libvmmapi share/man/man5 share/mk sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io sys/conf sys/modules/vmm tools/build/opt

2020-05-05 Thread John Baldwin
On 5/4/20 5:02 PM, John Baldwin wrote: > Author: jhb > Date: Tue May 5 00:02:04 2020 > New Revision: 360648 > URL: https://svnweb.freebsd.org/changeset/base/360648 > > Log: > Initial support for bhyve save and restore. This represents a lot of work by the folks at UPB. I merely fixed a few

Re: svn commit: r360648 - in head: lib/libvmmapi share/man/man5 share/mk sys/amd64/include sys/amd64/vmm sys/amd64/vmm/amd sys/amd64/vmm/intel sys/amd64/vmm/io sys/conf sys/modules/vmm tools/build/

2020-05-05 Thread Cy Schubert
In message <202005050002.04502576094...@repo.freebsd.org>, John Baldwin writes: > Author: jhb > Date: Tue May 5 00:02:04 2020 > New Revision: 360648 > URL: https://svnweb.freebsd.org/changeset/base/360648 > > Log: > Initial support for bhyve save and restore. > > Save and restore (also

svn commit: r360659 - stable/11/sys/arm/include

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 15:29:16 2020 New Revision: 360659 URL: https://svnweb.freebsd.org/changeset/base/360659 Log: Fix-up for arm, armeb and armv6 builds erroring after r360658, with: In file included from /usr/src/contrib/compiler-rt/lib/builtins/clear_cache.c:26:

svn commit: r360657 - head/sys/dev/acpica

2020-05-05 Thread Andriy Gapon
Author: avg Date: Tue May 5 12:14:11 2020 New Revision: 360657 URL: https://svnweb.freebsd.org/changeset/base/360657 Log: acpi_video: try our best to work on systems without non-essential methods Only _BCL and _BCM methods seem to be essential to the driver's operation. If _BQC is

svn commit: r360656 - stable/11/sys/conf

2020-05-05 Thread Dimitry Andric
Author: dim Date: Tue May 5 11:14:28 2020 New Revision: 360656 URL: https://svnweb.freebsd.org/changeset/base/360656 Log: MFC r316513 (by jhb): Sync SYSTEM_LD in Makefile.arm with kern.pre.mk. - Add --no-warn-mismatch. - Use same whitespace to make future updates simpler.

svn commit: r360655 - head/stand/efi/boot1

2020-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 10:01:10 2020 New Revision: 360655 URL: https://svnweb.freebsd.org/changeset/base/360655 Log: Fix the EFI_DEBUG case, prio_str is only used when EFI_DEBUG is unset. Sponsored by: Innovate UK Modified: head/stand/efi/boot1/proto.c Modified:

svn commit: r360654 - head/stand/efi/boot1

2020-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 09:42:26 2020 New Revision: 360654 URL: https://svnweb.freebsd.org/changeset/base/360654 Log: As with r352446 align blocks in boot1.efi We need to ensure the buffers are aligned before passing them to ReadBlocks. Assume 512 bytes is enough for now.