svn commit: r355978 - head/usr.bin/top

2019-12-20 Thread Philip Paeps
Author: philip Date: Sat Dec 21 05:03:21 2019 New Revision: 355978 URL: https://svnweb.freebsd.org/changeset/base/355978 Log: top: display battery capacity remaining Submitted by: Antranig Vartanian Reviewed by: imp, philip Differential Revision:

svn commit: r355977 - head/sys/conf

2019-12-20 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 21 04:44:17 2019 New Revision: 355977 URL: https://svnweb.freebsd.org/changeset/base/355977 Log: powerpc: Only build mpc85xx i2c driver for mpc85xx No need to build it for every other platform. Modified: head/sys/conf/files.powerpc Modified:

svn commit: r355976 - head/contrib/googletest/googlemock/include/gmock/internal

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:50 2019 New Revision: 355976 URL: https://svnweb.freebsd.org/changeset/base/355976 Log: googletest: pick from upstream: Don't allow signed/unsigned wchar_t in gcc 9 and later Pick 711fccf8317b4fb7adc21c00fc1e20823c5d875f from upstream googletest:

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

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:38 2019 New Revision: 355975 URL: https://svnweb.freebsd.org/changeset/base/355975 Log: jemalloc: pick from upstream: Fix GCC-9.1 warning with macro GET_ARG_NUMERIC Pick 2d6d099fed05b1509e81e54458516528bfbbf38d from upstream jemalloc: Fix

svn commit: r355974 - head/lib/libdevdctl

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:26 2019 New Revision: 355974 URL: https://svnweb.freebsd.org/changeset/base/355974 Log: libdevdctl: g++9 avoid Wdeprecated-copy g++9 now warns about having defined an assignment operator but using the default copy constructor, or vice versa. Avoid

svn commit: r355971 - head/share/mk

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:43:49 2019 New Revision: 355971 URL: https://svnweb.freebsd.org/changeset/base/355971 Log: gcc9: quiet Waddress-of-packed-member for user build Disable the warning for WARNS <= 3. This is lame, but it's what we already do for the clang build.

svn commit: r355970 - head/sys/conf

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:43:37 2019 New Revision: 355970 URL: https://svnweb.freebsd.org/changeset/base/355970 Log: gcc9: quiet Waddress-of-packed-member for kernel build This is lame, but it's what we already do for the clang build. We take misaligned pointers into network

svn commit: r355973 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:13 2019 New Revision: 355973 URL: https://svnweb.freebsd.org/changeset/base/355973 Log: dtrace: avoid gcc9 Walloca-larger-than gcc9 grew a new warning for unbounded allocas, such as the one in dt_options_load. Remove both uses of alloca in

svn commit: r355972 - in head: sbin/camcontrol sys/sys

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:44:00 2019 New Revision: 355972 URL: https://svnweb.freebsd.org/changeset/base/355972 Log: Declare packed struct ata_params as 2-byte-aligned This avoids gcc9 warning about unaligned access to the structure when casting to uint16_t pointer type.

svn commit: r355969 - head/sys/sys

2019-12-20 Thread Ryan Libby
Author: rlibby Date: Sat Dec 21 02:43:20 2019 New Revision: 355969 URL: https://svnweb.freebsd.org/changeset/base/355969 Log: gcc: quiet Wattribute for no_sanitize("address") This is an unfortunate instance where the __has_attribute check does not function usefully. Gcc does have the

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

2019-12-20 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 21 02:40:40 2019 New Revision: 355968 URL: https://svnweb.freebsd.org/changeset/base/355968 Log: MFC r355828: Double the size of ARG_MAX on LP64 platforms. As modern software keeps growing in size, we get requests to update the value of ARG_MAX in order to

svn commit: r355967 - stable/11/sys/rpc/rpcsec_gss

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 23:08:10 2019 New Revision: 355967 URL: https://svnweb.freebsd.org/changeset/base/355967 Log: MFC: r355157, r355161 Add a cap on credential lifetime for Kerberized NFS. The kernel RPCSEC_GSS code sets the credential (called a client) lifetime to the

svn commit: r355966 - stable/12/sys/rpc/rpcsec_gss

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 22:53:23 2019 New Revision: 355966 URL: https://svnweb.freebsd.org/changeset/base/355966 Log: MFC: r355157, r355161 Add a cap on credential lifetime for Kerberized NFS. The kernel RPCSEC_GSS code sets the credential (called a client) lifetime to the

Re: svn commit: r343631 - in head: . sbin sbin/pfilctl share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw sys/netpfil/pf

2019-12-20 Thread Gleb Smirnoff
On Wed, Dec 18, 2019 at 03:27:58PM +0300, Andrey V. Elsukov wrote: A> > Log: A> > New pfil(9) KPI together with newborn pfil API and control utility. A> > A> > The KPI have been reviewed and cleansed of features that were planned A> > back 20 years ago and never implemented. The pfil(9)

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

2019-12-20 Thread Brooks Davis
Author: brooks Date: Fri Dec 20 22:12:21 2019 New Revision: 355965 URL: https://svnweb.freebsd.org/changeset/base/355965 Log: MFC r355830: Avoid a tautological bitwise compare. This looks like a bit of debugging code that sliped into the initial import of the sos@ ATA framework.

svn commit: r355964 - stable/12/sys/dev/ata/chipsets

2019-12-20 Thread Brooks Davis
Author: brooks Date: Fri Dec 20 22:07:05 2019 New Revision: 355964 URL: https://svnweb.freebsd.org/changeset/base/355964 Log: MFC r355830: Avoid a tautological bitwise compare. This looks like a bit of debugging code that sliped into the initial import of the sos@ ATA framework.

svn commit: r355963 - in vendor/llvm-project/llvmorg-9.0.1: . clang/include/clang/CodeGen clang/lib/AST clang/lib/CodeGen clang/lib/Driver/ToolChains clang/lib/Sema compiler-rt/lib/profile lld/COFF...

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:56:45 2019 New Revision: 355963 URL: https://svnweb.freebsd.org/changeset/base/355963 Log: Tag vendor import of llvm-project llvmorg-9.0.1. Added: vendor/llvm-project/llvmorg-9.0.1/ - copied from r355955, vendor/llvm-project/release-9.x/

svn commit: r355962 - head/lib/libsecureboot

2019-12-20 Thread Simon J. Gerraty
Author: sjg Date: Fri Dec 20 21:56:28 2019 New Revision: 355962 URL: https://svnweb.freebsd.org/changeset/base/355962 Log: Avoid unused vars when VE_ECDSA_HASH_AGAIN undefined Reviewed by: emaste MFC after:1 week Modified: head/lib/libsecureboot/vets.c Modified:

svn commit: r355961 - in vendor/llvm-project/release-9.x: clang/include/clang/CodeGen clang/lib/AST clang/lib/CodeGen clang/lib/Driver/ToolChains clang/lib/Sema compiler-rt/lib/profile lld/COFF lld...

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:55:13 2019 New Revision: 355961 URL: https://svnweb.freebsd.org/changeset/base/355961 Log: Vendor import of llvm-project tag llvmorg-9.0.1: https://github.com/llvm/llvm-project/tree/llvmorg-9.0.1 Added:

svn commit: r355960 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:45:20 2019 New Revision: 355960 URL: https://svnweb.freebsd.org/changeset/base/355960 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Update all the references to NFSv4.1, so that they apply to NFSv4.1 and NFSv4.2. Also, change

svn commit: r355959 - in head/contrib/llvm-project: . clang compiler-rt libcxx libunwind lld lldb llvm openmp

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:42:10 2019 New Revision: 355959 URL: https://svnweb.freebsd.org/changeset/base/355959 Log: Consolidate FREEBSD-Xlist files of different llvm sub-projects into one. Added: head/contrib/llvm-project/FREEBSD-Xlist (contents, props changed) Deleted:

svn commit: r355958 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:41:33 2019 New Revision: 355958 URL: https://svnweb.freebsd.org/changeset/base/355958 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Include references to NFSv4.2 and Flexible File layout, plus clarify when

svn commit: r355957 - head/contrib/llvm-project/clang/lib/Basic

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:33:12 2019 New Revision: 355957 URL: https://svnweb.freebsd.org/changeset/base/355957 Log: Merge diff elimination updates from r355953 into vendor/llvm-project. Modified: head/contrib/llvm-project/clang/lib/Basic/Version.cpp Directory Properties:

svn commit: r355956 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:31:08 2019 New Revision: 355956 URL: https://svnweb.freebsd.org/changeset/base/355956 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Include references to NFSv4.2 and associated RFCs and note new features present in NFSv4.2.

svn commit: r355955 - in vendor/llvm-project/release-8.x: clang/lib/Basic clang/tools/scan-build/man clang/www llvm/utils/vim llvm/utils/vim/syntax

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:30:51 2019 New Revision: 355955 URL: https://svnweb.freebsd.org/changeset/base/355955 Log: Eliminate differences between Git version of llvm-project release/8.x, and our vendor import in ^/vendor/llvm-project/release-8.x. Modified:

svn commit: r355954 - head/usr.sbin/nfsd

2019-12-20 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 20 21:25:51 2019 New Revision: 355954 URL: https://svnweb.freebsd.org/changeset/base/355954 Log: Update the man page to reflect the addition of NFSv4.2 (r355677). Include references to NFSv4.2 and associated RFCs. Also clarify when a Linux client needs to

svn commit: r355953 - vendor/llvm-project/release-9.x/clang/lib/Basic

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:25:22 2019 New Revision: 355953 URL: https://svnweb.freebsd.org/changeset/base/355953 Log: Eliminate differences between Git version of llvm-project release/9.x, and our vendor import in ^/vendor/llvm-project/release-9.x. Modified:

svn commit: r355952 - vendor/llvm-project/master/clang/lib/Basic

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:21:52 2019 New Revision: 355952 URL: https://svnweb.freebsd.org/changeset/base/355952 Log: Eliminate differences between Git version of llvm-project master, and our vendor import in ^/vendor/llvm-project/master. Modified:

svn commit: r355951 - head/contrib/llvm-project/llvm/lib/Target/WebAssembly/InstPrinter

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:18:34 2019 New Revision: 355951 URL: https://svnweb.freebsd.org/changeset/base/355951 Log: Merge empty dir updates from r355950 in vendor/llvm-project. Deleted: head/contrib/llvm-project/llvm/lib/Target/WebAssembly/InstPrinter/ Modified: Directory Properties:

svn commit: r355950 - in vendor/llvm-project: master/compiler-rt/lib/builtins/armv6m master/lldb/source/Plugins/ExpressionParser/Go master/lldb/source/Plugins/Language/Go master/lldb/source/Plugins...

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:12:01 2019 New Revision: 355950 URL: https://svnweb.freebsd.org/changeset/base/355950 Log: Remove empty dirs under vendor/llvm-project, which are no longer stored in git. Deleted: vendor/llvm-project/master/compiler-rt/lib/builtins/armv6m/

svn commit: r355949 - head/sys/dev/random

2019-12-20 Thread Conrad Meyer
Author: cem Date: Fri Dec 20 21:11:00 2019 New Revision: 355949 URL: https://svnweb.freebsd.org/changeset/base/355949 Log: random(4): Flip default Fortuna generator over to Chacha20 The implementation was landed in r344913 and has had some bake time (at least on my personal systems).

svn commit: r355948 - in head/contrib/llvm-project: . clang compiler-rt libcxx libunwind lld lldb llvm openmp

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 20:58:13 2019 New Revision: 355948 URL: https://svnweb.freebsd.org/changeset/base/355948 Log: Bootstrap mergeinfo for contrib/llvm-project Merge (record-only) the following paths to contrib/llvm-project: * ^/vendor/llvm-project/master *

svn commit: r355947 - in vendor/llvm-project/release-8.x: clang compiler-rt libcxx libunwind lld lldb llvm openmp

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 20:51:16 2019 New Revision: 355947 URL: https://svnweb.freebsd.org/changeset/base/355947 Log: Copy llvm vendor/*/dist-release_80 to vendor/llvm-project/release-8.x This uses the new layout of the upstream repository, which was recently migrated to GitHub, and

svn commit: r355946 - in head/sys: amd64/amd64 arm64/arm64

2019-12-20 Thread Alan Cox
Author: alc Date: Fri Dec 20 20:46:26 2019 New Revision: 355946 URL: https://svnweb.freebsd.org/changeset/base/355946 Log: Correct a mistakenly inverted condition in r355833. Noticed by: kib X-MFC with: r355833 Modified: head/sys/amd64/amd64/pmap.c head/sys/arm64/arm64/pmap.c

svn commit: r355945 - in vendor/llvm-project/release-9.x: clang compiler-rt libcxx libunwind lld lldb llvm openmp

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 20:46:11 2019 New Revision: 355945 URL: https://svnweb.freebsd.org/changeset/base/355945 Log: Copy llvm vendor/*/dist-release_90 to vendor/llvm-project/release-9.x This uses the new layout of the upstream repository, which was recently migrated to GitHub, and

svn commit: r355944 - in vendor/llvm-project/master: clang compiler-rt libcxx libunwind lld lldb llvm openmp

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 20:44:58 2019 New Revision: 355944 URL: https://svnweb.freebsd.org/changeset/base/355944 Log: Copy llvm vendor/*/dist to vendor/llvm-project/master This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into

svn commit: r355943 - head/share/mk

2019-12-20 Thread Ed Maste
Author: emaste Date: Fri Dec 20 20:23:59 2019 New Revision: 355943 URL: https://svnweb.freebsd.org/changeset/base/355943 Log: add LDNS build knob dependency on OPENSSL Reported by: Michael Dexter's run of the Build Options Survey MFC after:1 week Sponsored by: The FreeBSD

svn commit: r355942 - head/sys/net

2019-12-20 Thread Mark Johnston
Author: markj Date: Fri Dec 20 20:15:34 2019 New Revision: 355942 URL: https://svnweb.freebsd.org/changeset/base/355942 Log: Deduplicate code between if_delgroup() and if_delgroups(). Fix some style in if_addgroup(). No functional change intended. Reviewed by: hselasky MFC after:

svn commit: r355941 - head/sys/dev/mii

2019-12-20 Thread Mark Johnston
Author: markj Date: Fri Dec 20 20:10:26 2019 New Revision: 355941 URL: https://svnweb.freebsd.org/changeset/base/355941 Log: mii(4): Fix ivars leak when the bus device or bus children detach. PR: 242727 Submitted by: ghuckri...@blackberry.com MFC after:1 week Modified:

svn commit: r355940 - in head: . contrib/compiler-rt contrib/libc++ contrib/libunwind contrib/llvm contrib/llvm-project/clang contrib/llvm-project/compiler-rt contrib/llvm-project/libcxx contrib/ll...

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 19:53:05 2019 New Revision: 355940 URL: https://svnweb.freebsd.org/changeset/base/355940 Log: Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and

svn commit: r355939 - vendor/llvm-project/release-8.x

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 18:23:50 2019 New Revision: 355939 URL: https://svnweb.freebsd.org/changeset/base/355939 Log: Create release-8.x branch off master. Added: vendor/llvm-project/release-8.x/ - copied from r355938, vendor/llvm-project/master/

svn commit: r355938 - head/sys/net

2019-12-20 Thread Mark Johnston
Author: markj Date: Fri Dec 20 17:21:57 2019 New Revision: 355938 URL: https://svnweb.freebsd.org/changeset/base/355938 Log: Fix a memory leak in if_delgroups() introduced in r334118. PR: 242712 Submitted by: ghuckri...@blackberry.com MFC after:3 days Modified:

svn commit: r355937 - head/sys/dev/vt

2019-12-20 Thread Kyle Evans
Author: kevans Date: Fri Dec 20 17:15:09 2019 New Revision: 355937 URL: https://svnweb.freebsd.org/changeset/base/355937 Log: vt: store a pointer to the keyboard instead of index This effectively reverts r355935, but is functionally equivalent. We gain no benefit from storing the index

svn commit: r355936 - in head/sys: arm/broadcom/bcm2835 arm/freescale/imx arm/ti/am335x arm/versatile powerpc/ofw

2019-12-20 Thread Kyle Evans
Author: kevans Date: Fri Dec 20 16:22:14 2019 New Revision: 355936 URL: https://svnweb.freebsd.org/changeset/base/355936 Log: Kill off dummy kbd drivers As far as I can tell, these are an artifact of times when linker sets couldn't be empty, otherwise the kernel build would fail due to

svn commit: r355935 - head/sys/dev/vt

2019-12-20 Thread Kyle Evans
Author: kevans Date: Fri Dec 20 16:20:38 2019 New Revision: 355935 URL: https://svnweb.freebsd.org/changeset/base/355935 Log: vt: fix post-boot keyboard attachment With absolutely no keyboards attached and no kbdmux in kernel, we descend down this error path. 0 is a valid keyboard index,

svn commit: r355934 - stable/11/sys/dev/an

2019-12-20 Thread Mark Johnston
Author: markj Date: Fri Dec 20 16:05:29 2019 New Revision: 355934 URL: https://svnweb.freebsd.org/changeset/base/355934 Log: MFC r355864: an(4): Require privileges for all SIOCGAIRONET requests. Modified: stable/11/sys/dev/an/if_an.c Directory Properties: stable/11/ (props changed)

svn commit: r355933 - stable/12/sys/dev/an

2019-12-20 Thread Mark Johnston
Author: markj Date: Fri Dec 20 16:04:26 2019 New Revision: 355933 URL: https://svnweb.freebsd.org/changeset/base/355933 Log: MFC r355864: an(4): Require privileges for all SIOCGAIRONET requests. Modified: stable/12/sys/dev/an/if_an.c Directory Properties: stable/12/ (props changed)

svn commit: r355932 - head/sys/arm/versatile

2019-12-20 Thread Kyle Evans
Author: kevans Date: Fri Dec 20 15:28:40 2019 New Revision: 355932 URL: https://svnweb.freebsd.org/changeset/base/355932 Log: VERSATILEPB: Unbreak after r355796 r355796 provided genkbd_get_fkeystr/genkbd_diag private and the default for get_fkeystr/diag if these members are NULL. Follow

svn commit: r355931 - head/sys/netinet

2019-12-20 Thread Michael Tuexen
Author: tuexen Date: Fri Dec 20 15:25:08 2019 New Revision: 355931 URL: https://svnweb.freebsd.org/changeset/base/355931 Log: Improve input validation for some parameters having a too small reported length. Thanks to Natalie Silvanovich from Google for finding one of these issues in

svn commit: r355930 - head/sys/dev/random

2019-12-20 Thread Conrad Meyer
Author: cem Date: Fri Dec 20 08:31:23 2019 New Revision: 355930 URL: https://svnweb.freebsd.org/changeset/base/355930 Log: random(4): Fortuna: Enable concurrent generation by default for 13 Flip the knob added in r349154 to "enabled." The commit message from that revision and associated

svn commit: r355929 - stable/12/stand/common

2019-12-20 Thread Toomas Soome
Author: tsoome Date: Fri Dec 20 08:15:55 2019 New Revision: 355929 URL: https://svnweb.freebsd.org/changeset/base/355929 Log: MFC r355702: loader: vdisk dereference after free print out the information and then free the memory used. Modified: stable/12/stand/common/vdisk.c Directory

svn commit: r355928 - stable/12/stand/common

2019-12-20 Thread Toomas Soome
Author: tsoome Date: Fri Dec 20 08:12:44 2019 New Revision: 355928 URL: https://svnweb.freebsd.org/changeset/base/355928 Log: MFC r355703: loader: clean up devopen and devclose a bit devopen should undo setup of f->f_dev in case of error. devclose can just call free(). Modified: