svn commit: r357903 - head/contrib/ncurses/ncurses/base

2020-02-13 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 04:16:22 2020 New Revision: 357903 URL: https://svnweb.freebsd.org/changeset/base/357903 Log: ncurses: correct check for gcc >= 5.0 The hack in question is intended to workaround seemingly bogus #line markers in cpp output. As far as I can tell, llvm cpp do

svn commit: r357902 - svnadmin/conf

2020-02-13 Thread Joseph Mingrone
Author: jrm (ports committer) Date: Fri Feb 14 03:21:03 2020 New Revision: 357902 URL: https://svnweb.freebsd.org/changeset/base/357902 Log: Take in Garrett Wollman (wollman's) commit bit for safe keeping and after discussion with Garrett. Thank you for nearly a quarter century of contrib

svn commit: r357901 - stable/12/release/tools

2020-02-13 Thread Colin Percival
Author: cperciva Date: Fri Feb 14 02:31:20 2020 New Revision: 357901 URL: https://svnweb.freebsd.org/changeset/base/357901 Log: MFC r353022: Switch EC2 AMIs from using the dual-dhclient script to using the new dual-dhclient-daemon daemon. This makes it possible to stop/restart the dhcli

svn commit: r357900 - in stable: 11/etc/periodic/daily 12/usr.sbin/periodic/etc/daily

2020-02-13 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 02:27:01 2020 New Revision: 357900 URL: https://svnweb.freebsd.org/changeset/base/357900 Log: MFC r357756: backup-passwd: mask out all passwords in the diff The previous expression borked if a username had a plus or hyphen in it. This is needlessly restrict

svn commit: r357900 - in stable: 11/etc/periodic/daily 12/usr.sbin/periodic/etc/daily

2020-02-13 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 02:27:01 2020 New Revision: 357900 URL: https://svnweb.freebsd.org/changeset/base/357900 Log: MFC r357756: backup-passwd: mask out all passwords in the diff The previous expression borked if a username had a plus or hyphen in it. This is needlessly restrict

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

2020-02-13 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 02:22:08 2020 New Revision: 357899 URL: https://svnweb.freebsd.org/changeset/base/357899 Log: u_char -> vm_prot_t in a couple of places, NFC The latter is a typedef of the former; the typedef exists and these bits are representing vmprot values, so use the

Re: svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Ravi Pokala
-Original Message- From: on behalf of Konstantin Belousov Date: 2020-02-13, Thursday at 14:08 To: Ravi Pokala Cc: , , Subject: Re: svn commit: r357865 - in head/sys/amd64/vmm: . io On Thu, Feb 13, 2020 at 01:49:09PM -0800, Ravi Pokala wrote: > Why "svm"? Because this is

svn commit: r357898 - head/sys/dev/usb/input

2020-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 14 00:29:21 2020 New Revision: 357898 URL: https://svnweb.freebsd.org/changeset/base/357898 Log: Exclude modifier keys from keyboard repeat logic. This restores USB keyboard driver behaviour prior to r357861. Requested by: jkim@ MFC after:1 week Spon

svn commit: r357897 - head/sys/cam

2020-02-13 Thread Warner Losh
Author: imp Date: Fri Feb 14 00:13:23 2020 New Revision: 357897 URL: https://svnweb.freebsd.org/changeset/base/357897 Log: Add a KASSERT that there's no outstanding CCBs when we call camperiphfree. We know that if there are any outstanding CCBs, then when they dereference the path that's fr

svn commit: r357896 - head/sys/cam

2020-02-13 Thread Warner Losh
Author: imp Date: Fri Feb 14 00:12:59 2020 New Revision: 357896 URL: https://svnweb.freebsd.org/changeset/base/357896 Log: xpt_release_simq_timeout is unused. Remove it. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c

svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 23:42:09 2020 New Revision: 357895 URL: https://svnweb.freebsd.org/changeset/base/357895 Log: Handle non-plt IRELATIVE relocations, at least for x86. lld 10.0 seems to generate this relocation for rdtsc_mb() ifunc in our libc. Reported, reviewed, and tested

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

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 23:22:12 2020 New Revision: 357894 URL: https://svnweb.freebsd.org/changeset/base/357894 Log: Return success, instead of ESRCH, from pthread_cancel(3) applied to the exited but not yet joined thread. Before, if the thread exited but was not yet joined, we retu

svn commit: r357893 - head/sys/vm

2020-02-13 Thread Mark Johnston
Author: markj Date: Thu Feb 13 23:18:35 2020 New Revision: 357893 URL: https://svnweb.freebsd.org/changeset/base/357893 Log: Fix handling of WAITFAIL in vm_page_grab() and vm_page_grab_pages(). After sleeping through a memory shortage, we must return NULL rather than retry. Discussed

svn commit: r357892 - head/sys/vm

2020-02-13 Thread Mark Johnston
Author: markj Date: Thu Feb 13 23:15:21 2020 New Revision: 357892 URL: https://svnweb.freebsd.org/changeset/base/357892 Log: Update the zone-global count of cached items in bucket_cache_reclaim(). This was missed in r351673. The count is used to enfore cache limits, which are rarely used

svn commit: r357891 - head/sys/dev/mlx5/mlx5_en

2020-02-13 Thread John Baldwin
Author: jhb Date: Thu Feb 13 23:04:11 2020 New Revision: 357891 URL: https://svnweb.freebsd.org/changeset/base/357891 Log: Don't check the auth algorithm for GCM. The upstream OpenSSL changes only set the cipher for GCM since the authentication is redundant, and changes to OCF will soon r

svn commit: r357890 - in head/sys/dev/cxgbe: . crypto

2020-02-13 Thread John Baldwin
Author: jhb Date: Thu Feb 13 22:55:45 2020 New Revision: 357890 URL: https://svnweb.freebsd.org/changeset/base/357890 Log: Remove the per-TXQ tls_wrs stat. It duplicated the kern_tls_records stat and was not conditional on NIC TLS being enabled. Reviewed by: np Sponsored by: Chels

svn commit: r357889 - in head/sys: kern security/mac

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:22:55 2020 New Revision: 357889 URL: https://svnweb.freebsd.org/changeset/base/357889 Log: vfs: use mac fastpath for lookup, open, read, write, mmap Modified: head/sys/kern/vfs_lookup.c head/sys/security/mac/mac_framework.c head/sys/security/mac/mac_framewo

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

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:22:15 2020 New Revision: 357888 URL: https://svnweb.freebsd.org/changeset/base/357888 Log: Partially decompose priv_check by adding priv_check_cred_vfs_generation During buildkernel there are very frequent calls to priv_check and they all are for PRIV_VFS_G

svn commit: r357887 - head/sys/security/mac

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:19:17 2020 New Revision: 357887 URL: https://svnweb.freebsd.org/changeset/base/357887 Log: mac: implement fast path for checks All checking routines walk a linked list of all modules in order to determine if given hook is installed. This became a significan

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

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:16:30 2020 New Revision: 357886 URL: https://svnweb.freebsd.org/changeset/base/357886 Log: Inline jailed(). It is constantly called from priv_check. Modified: head/sys/kern/kern_jail.c head/sys/sys/jail.h Modified: head/sys/kern/kern_jail.c

svn commit: r357885 - head/sys/kern

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:16:02 2020 New Revision: 357885 URL: https://svnweb.freebsd.org/changeset/base/357885 Log: Annotate suser_enabled as __read_mostly It is read a lot in priv code. Modified: head/sys/kern/kern_priv.c Modified: head/sys/kern/kern_priv.c =

Re: svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Konstantin Belousov
On Thu, Feb 13, 2020 at 01:49:09PM -0800, Ravi Pokala wrote: > Why "svm"? Because this is how AMD calls its virtualization extensions. Secure Virtual Machine. > > -Ravi (rpokala@) > > -Original Message- > From: on behalf of Konstantin Belousov > > Date: 2020-02-13, Thursday at 11:03

Re: svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Ravi Pokala
Why "svm"? -Ravi (rpokala@) -Original Message- From: on behalf of Konstantin Belousov Date: 2020-02-13, Thursday at 11:03 To: , , Subject: svn commit: r357865 - in head/sys/amd64/vmm: . io Author: kib Date: Thu Feb 13 19:03:12 2020 New Revision: 357865 URL: https://

Re: svn commit: r357867 - head/tests/sys/net

2020-02-13 Thread Konstantin Belousov
On Thu, Feb 13, 2020 at 07:05:19PM +, Li-Wen Hsu wrote: > Author: lwhsu > Date: Thu Feb 13 19:05:19 2020 > New Revision: 357867 > URL: https://svnweb.freebsd.org/changeset/base/357867 > > Log: > Fix GCC build. > > Sponsored by: The FreeBSD Foundation > > Modified: > head/tests/

svn commit: r357884 - head/sys/kern

2020-02-13 Thread Jeff Roberson
Author: jeff Date: Thu Feb 13 21:10:17 2020 New Revision: 357884 URL: https://svnweb.freebsd.org/changeset/base/357884 Log: Since r357804 pcpu zones are required to use zalloc_pcpu(). Prior to this it was only required if you were zeroing. Switch to these interfaces. Reviewed by: mjg

svn commit: r357883 - head/sys/vm

2020-02-13 Thread Jeff Roberson
Author: jeff Date: Thu Feb 13 20:58:51 2020 New Revision: 357883 URL: https://svnweb.freebsd.org/changeset/base/357883 Log: Fix a case where ub_seq would fail to be set if the cross bucket was flushed due to memory pressure. Reviewed by: markj Differential Revision:http://revie

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

2020-02-13 Thread Jeff Roberson
Author: jeff Date: Thu Feb 13 20:50:21 2020 New Revision: 357882 URL: https://svnweb.freebsd.org/changeset/base/357882 Log: Add more precise SMR entry asserts. Modified: head/sys/kern/subr_smr.c head/sys/sys/smr.h Modified: head/sys/kern/subr_smr.c =

svn commit: r357881 - stable/12/cddl/contrib/opensolaris/lib/libzfs/common

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 20:49:45 2020 New Revision: 357881 URL: https://svnweb.freebsd.org/changeset/base/357881 Log: MFC r357235: Speed up "zpool import" in the presence of many zvols By default, zpools may not be backed by zvols (that can be changed with the "vfs.zfs.vol.r

svn commit: r357879 - stable/12/usr.sbin/extattr

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 20:45:32 2020 New Revision: 357879 URL: https://svnweb.freebsd.org/changeset/base/357879 Log: MFC r356809: setextattr: Increase stdin buffer size to 4096 Extended attribute values can potentially be quite large. One test for ZFS is supposed to set a 2

svn commit: r357880 - stable/12/tests/sys/geom/class/eli

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 20:46:05 2020 New Revision: 357880 URL: https://svnweb.freebsd.org/changeset/base/357880 Log: MFC r357211: geli: add a test case for attaching multiple providers with 1 command Reviewed by: cem Sponsored by: Axcient Differential Revision:ht

svn commit: r357878 - stable/12/lib/libc/sys

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 20:41:20 2020 New Revision: 357878 URL: https://svnweb.freebsd.org/changeset/base/357878 Log: MFC r355488-r355489 r355488: lio_listio(2): add a HISTORY section r355489: clock_gettime(2): add a HISTORY section Modified: stable/12/lib/libc/sys/cloc

svn commit: r357877 - stable/12/sys/cam/scsi

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 20:40:36 2020 New Revision: 357877 URL: https://svnweb.freebsd.org/changeset/base/357877 Log: MFC r355430: ses: sanitize illegal strings in SES element descriptors The SES4r3 standard requires that element descriptors may only contain ASCII characters

svn commit: r357876 - in stable/12: etc/mtree sys/geom sys/geom/multipath tests/sys/geom/class tests/sys/geom/class/multipath

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 20:32:05 2020 New Revision: 357876 URL: https://svnweb.freebsd.org/changeset/base/357876 Log: MFC r355431: gmultipath: add ATF tests Add ATF tests for most gmultipath operations. Add some dtrace probes too, primarily for configuration changes that hap

svn commit: r357875 - in head/usr.bin/diff: . tests

2020-02-13 Thread Kyle Evans
Author: kevans Date: Thu Feb 13 20:23:55 2020 New Revision: 357875 URL: https://svnweb.freebsd.org/changeset/base/357875 Log: diff: fix segfault with --tabsize and no/malformed argument --tabsize was previously listed as optional_argument, but didn't account for the optionality of it in t

svn commit: r357874 - in head/sys: conf modules/ce modules/cp

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 19:29:57 2020 New Revision: 357874 URL: https://svnweb.freebsd.org/changeset/base/357874 Log: Merge r357872 from the clang1000-import branch: Disable new clang 10.0.0 warnings about misleading indentation in ce(4) and cp(4). These are false positives, sin

svn commit: r357873 - head/sbin/sconfig

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 19:28:30 2020 New Revision: 357873 URL: https://svnweb.freebsd.org/changeset/base/357873 Log: Merge r357864 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in sconfig: sbin/sconfig/sconfig.c:909:5: error: misleading ind

svn commit: r357871 - head/sys/dev/hyperv/vmbus/amd64

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:12:07 2020 New Revision: 357871 URL: https://svnweb.freebsd.org/changeset/base/357871 Log: hyperv: Add Hygon Dhyana support. Submitted by: Pu Wen MFC after:1 week Differential revision:https://reviews.freebsd.org/D23563 Modified: head/sys/

svn commit: r357870 - head/sys/dev/amd_ecc_inject

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:10:51 2020 New Revision: 357870 URL: https://svnweb.freebsd.org/changeset/base/357870 Log: ecc_inject: Add Hygon Dhyana support. Submitted by: Pu Wen MFC after:1 week Differential revision:https://reviews.freebsd.org/D23561 Modified: head/

svn commit: r357869 - in head/sys/dev: amdsbwd intpm

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:09:24 2020 New Revision: 357869 URL: https://svnweb.freebsd.org/changeset/base/357869 Log: amdsbwd, intpm: Add Hygon Dhyana support. Initialize the FCH SMBus controller for Hygon Dhyana CPU. Set the vendor of the FCH description via the exact CPU vendor.

svn commit: r357868 - head/sys/dev/amdpm

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:07:42 2020 New Revision: 357868 URL: https://svnweb.freebsd.org/changeset/base/357868 Log: amdpm: Add Hygon Dhyana support. Submitted by: Pu Wen MFC after:1 week Differential revision:https://reviews.freebsd.org/D23557 Modified: head/sys/d

svn commit: r357866 - in head/usr.sbin: bhyve bhyvectl

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:05:14 2020 New Revision: 357866 URL: https://svnweb.freebsd.org/changeset/base/357866 Log: bhyve, bhyvectl: Add Hygon Dhyana support. Submitted by: Pu Wen Reviewed by: jhb MFC after:1 week Differential revision:https://reviews.freebsd.org/

svn commit: r357867 - head/tests/sys/net

2020-02-13 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Feb 13 19:05:19 2020 New Revision: 357867 URL: https://svnweb.freebsd.org/changeset/base/357867 Log: Fix GCC build. Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/net/randsleep.c Modified: head/tests/sys/net/randsleep.c

svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:03:12 2020 New Revision: 357865 URL: https://svnweb.freebsd.org/changeset/base/357865 Log: vmm: Add Hygon Dhyana support. Submitted by: Pu Wen Discussed with: grehan Reviewed by: jhb (previous version) MFC after:1 week Differential revisio

svn commit: r357863 - stable/12/lib/geom/eli

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 18:26:07 2020 New Revision: 357863 URL: https://svnweb.freebsd.org/changeset/base/357863 Log: MFC r354234: geli: raise WARNS to 6 Sponsored by: Axcient Modified: stable/12/lib/geom/eli/Makefile stable/12/lib/geom/eli/geom_eli.c Directory Properties

svn commit: r357862 - head/contrib/elftoolchain/addr2line

2020-02-13 Thread Ed Maste
Author: emaste Date: Thu Feb 13 16:17:05 2020 New Revision: 357862 URL: https://svnweb.freebsd.org/changeset/base/357862 Log: addr2line: use stdbool.h header for bool Presumably a bool definition is obtained via header contamination on FreeBSD-CURRENT. Found while trying to upstream Free

svn commit: r357861 - head/sys/dev/usb/input

2020-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 13 16:03:12 2020 New Revision: 357861 URL: https://svnweb.freebsd.org/changeset/base/357861 Log: Improve USB gaming keyboard support. Add support for decoding pressed keys as a bitmap. The keys in the bitmap are described in the interface specific HID descri

Re: svn commit: r357849 - head/sys/cam/scsi

2020-02-13 Thread Slawa Olhovchenkov
On Thu, Feb 13, 2020 at 08:36:08AM -0700, Warner Losh wrote: > On Thu, Feb 13, 2020 at 7:05 AM Slawa Olhovchenkov wrote: > > > On Thu, Feb 13, 2020 at 01:23:45AM +, Warner Losh wrote: > > > > > Author: imp > > > Date: Thu Feb 13 01:23:44 2020 > > > New Revision: 357849 > > > URL: https://svn

svn commit: r357860 - head/usr.sbin/services_mkdb

2020-02-13 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 13 15:42:14 2020 New Revision: 357860 URL: https://svnweb.freebsd.org/changeset/base/357860 Log: Revert r357343: services: Add PROFInet and EtherCAT. Both are admitedly very niche features and no known users exist currently. I am doing a further review/update o

Re: svn commit: r357849 - head/sys/cam/scsi

2020-02-13 Thread Warner Losh
On Thu, Feb 13, 2020 at 7:05 AM Slawa Olhovchenkov wrote: > On Thu, Feb 13, 2020 at 01:23:45AM +, Warner Losh wrote: > > > Author: imp > > Date: Thu Feb 13 01:23:44 2020 > > New Revision: 357849 > > URL: https://svnweb.freebsd.org/changeset/base/357849 > > > > Log: > > Convert rotating and

svn commit: r357859 - head/usr.sbin/sesutil

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 15:28:56 2020 New Revision: 357859 URL: https://svnweb.freebsd.org/changeset/base/357859 Log: sesutil: fix Coverity CIDs * 1411604: file descriptor leak * 1411586: memory leaks, null dereference on ENOMEM Reported by: Coverity Scan Coverity CIDs:

svn commit: r357858 - in head: cddl/lib/libdtrace sys/netinet

2020-02-13 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 13 15:14:46 2020 New Revision: 357858 URL: https://svnweb.freebsd.org/changeset/base/357858 Log: sack_newdata and snd_recover hold the same value. Therefore, use only a single instance: use snd_recover also where sack_newdata was used. Submitted by: Ri

Re: svn commit: r357857 - head/tests/sys

2020-02-13 Thread Alexander V . Chernikov
13.02.2020, 14:09, "Kristof Provost" : > Author: kp > Date: Thu Feb 13 14:09:09 2020 > New Revision: 357857 > URL: https://svnweb.freebsd.org/changeset/base/357857 > > Log: >   tests: Enable net tests > >   We have a number of tests in the net subdirectory that were not executed. > List >   the ne

svn commit: r357857 - head/tests/sys

2020-02-13 Thread Kristof Provost
Author: kp Date: Thu Feb 13 14:09:09 2020 New Revision: 357857 URL: https://svnweb.freebsd.org/changeset/base/357857 Log: tests: Enable net tests We have a number of tests in the net subdirectory that were not executed. List the net directory so we run those tests. Modified: head/tests

Re: svn commit: r357849 - head/sys/cam/scsi

2020-02-13 Thread Slawa Olhovchenkov
On Thu, Feb 13, 2020 at 01:23:45AM +, Warner Losh wrote: > Author: imp > Date: Thu Feb 13 01:23:44 2020 > New Revision: 357849 > URL: https://svnweb.freebsd.org/changeset/base/357849 > > Log: > Convert rotating and unmapped_io to a DA flag > > Rotating and unmapped_io are really da fla

svn commit: r357856 - head/sys/netinet

2020-02-13 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 13 13:58:34 2020 New Revision: 357856 URL: https://svnweb.freebsd.org/changeset/base/357856 Log: Whitespace cleanup. No functional change. Sponsored by: Netflix, Inc. Modified: head/sys/netinet/tcp_log_buf.h Modified: head/sys/netinet/tcp_log_buf.h =

svn commit: r357854 - head

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 11:00:20 2020 New Revision: 357854 URL: https://svnweb.freebsd.org/changeset/base/357854 Log: Cleanup gsched tool and geom_sched.so library after r356185. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==