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:https://reviews.freebsd.org/D22

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

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

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 GCC-9

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. Revie

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. Sub

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 dt_options

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 hea

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 att

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

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: head/lib/libsecur

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 t

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: head/contri

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 vfs.nfsd.flexlinuxhac

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: head/contrib

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

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: 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). The

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 * ^/vendor/llvm-project

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 Mo

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 Foundatio

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 conv

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

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 an

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 un

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

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 the

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