svn commit: r339774 - head/sys/riscv/riscv

2018-10-26 Thread Ruslan Bukin
Author: br Date: Fri Oct 26 12:27:07 2018 New Revision: 339774 URL: https://svnweb.freebsd.org/changeset/base/339774 Log: o Add pmap lock around pmap_fault_fixup() to ensure other thread will not modify l3 pte after we loaded old value and before we stored new value. o Preset A(accessed),

svn commit: r339775 - head/sys/dev/nvme

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 14:27:37 2018 New Revision: 339775 URL: https://svnweb.freebsd.org/changeset/base/339775 Log: Put a workaround in for command timeout malfunctioning At least one NVMe drive has a bug that makeing the Command Time Out PCIe feature unreliable. The workaround is

Re: svn commit: r339563 - in head: . share/man/man4 sys/conf sys/dev/joy sys/modules sys/modules/joy sys/sys tools/kerneldoc/subsys

2018-10-26 Thread Ian Lepore
On Fri, 2018-10-26 at 05:30 +0200, Jan Beich wrote: > > Your tone is not acceptable. Please try again, only this time with > the > > required level of professionalism. I'm not an idiot, and you will > treat me > > with respect. > > Apologies for the snide remark. I've expected someone with ports/

svn commit: r339773 - head/lib/csu/common

2018-10-26 Thread Andrew Turner
Author: andrew Date: Fri Oct 26 11:53:20 2018 New Revision: 339773 URL: https://svnweb.freebsd.org/changeset/base/339773 Log: Add __dso_handle to the BSD crtbegin. This is used to identify shared objects. MFC with: r339738 Sponsored by: DARPA, AFRL Modified:

Re: svn commit: r339751 - head/contrib/libarchive/libarchive

2018-10-26 Thread Ed Maste
On Thu, 25 Oct 2018 at 19:13, Martin Matuska wrote: > > Author: mm > Date: Thu Oct 25 23:13:19 2018 > New Revision: 339751 > URL: https://svnweb.freebsd.org/changeset/base/339751 > > Log: > MFV r339750: > Sync libarchive with vendor. > > Relevant vendor changes: > RAR5 reader: FreeBSD

svn commit: r339776 - in head: . share/man/man4 sys/conf sys/dev/joy sys/modules/joy tools/kerneldoc/subsys

2018-10-26 Thread Warner Losh
) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20181026: joy(4) removal +OLD_FILES+=usr/share/man/man4/joy.4.gz # 20181025: OpenSSL libraries version bump to avoid conflict with ports OLD_LIBS+=lib/libcrypto.so.9 OLD_LIBS+=usr/lib/libssl.so.9 Modified: head/share/man/man4

svn commit: r339777 - in head/sys/cam: ata nvme scsi

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 16:23:51 2018 New Revision: 339777 URL: https://svnweb.freebsd.org/changeset/base/339777 Log: Add statistics for TRIM comands Add a counter for the LBAs, Ranges and hardware commands so that we can provide additional color to the statistics we provide to

svn commit: r339779 - in head/sys: compat/freebsd32 fs/devfs kern sys

2018-10-26 Thread Brooks Davis
Author: brooks Date: Fri Oct 26 17:59:25 2018 New Revision: 339779 URL: https://svnweb.freebsd.org/changeset/base/339779 Log: Move 32-bit compat support for FIODGNAME to the right place. ioctl(2) commands only have meaning in the context of a file descriptor so translating them in the

svn commit: r339780 - head/bin/setfacl

2018-10-26 Thread Mark Johnston
Author: markj Date: Fri Oct 26 18:56:58 2018 New Revision: 339780 URL: https://svnweb.freebsd.org/changeset/base/339780 Log: Avoid leaking memory in error paths. CID: 1390906 MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/bin/setfacl/setfacl.c

svn commit: r339781 - head/bin/setfacl

2018-10-26 Thread Mark Johnston
Author: markj Date: Fri Oct 26 19:01:52 2018 New Revision: 339781 URL: https://svnweb.freebsd.org/changeset/base/339781 Log: Don't print pathconf() errors if the target file doesn't exist. The subsequent acl_get_file(3) call will simply echo the same error. PR: 229930 MFC

svn commit: r339783 - head/usr.sbin/ngctl

2018-10-26 Thread Devin Teske
Author: dteske Date: Fri Oct 26 19:16:17 2018 New Revision: 339783 URL: https://svnweb.freebsd.org/changeset/base/339783 Log: Add blank line after each item in "ngctl ls -l" The output of "ngctl ls -l" is hard to read. To make it easier, add a blank line after each listed item much how

svn commit: r339778 - in head/sys: dev/joy modules/joy

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 16:34:19 2018 New Revision: 339778 URL: https://svnweb.freebsd.org/changeset/base/339778 Log: Remove empty directories after r339776. git svn won't remove empty directories without --rmdir which I forgot in r339776. Deleted: head/sys/dev/joy/

svn commit: r339782 - head/tests/sys/acl

2018-10-26 Thread Mark Johnston
Author: markj Date: Fri Oct 26 19:03:30 2018 New Revision: 339782 URL: https://svnweb.freebsd.org/changeset/base/339782 Log: Update and re-enable ACL tests following r332396 and r339781. PR: 229930 MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r339786 - head/sys/kern

2018-10-26 Thread Conrad Meyer
Author: cem Date: Fri Oct 26 20:07:46 2018 New Revision: 339786 URL: https://svnweb.freebsd.org/changeset/base/339786 Log: poll: Unify userspace pollfd pointer name Some of the poll code used 'fds' and some used 'ufds' to refer to the uap->fds userspace pointer that was passed around to

svn commit: r339801 - head/usr.sbin/efivar

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 23:44:39 2018 New Revision: 339801 URL: https://svnweb.freebsd.org/changeset/base/339801 Log: Fix pointer arithmetic botch. Pointer subtraction to find size only works with char pointers. Noticed by: jhb@ Sponsored by: Netflix, Inc Modified:

svn commit: r339802 - head/stand/efi/loader

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 23:44:50 2018 New Revision: 339802 URL: https://svnweb.freebsd.org/changeset/base/339802 Log: Fix pointer arithmetic Pointer math to find the size in bytes only works with char types. Use correct pointer math to determine if we have enough of a header to

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

2018-10-26 Thread Conrad Meyer
Author: cem Date: Fri Oct 26 20:55:01 2018 New Revision: 339788 URL: https://svnweb.freebsd.org/changeset/base/339788 Log: Fortuna: fix a correctness issue in reseed (fortuna_pre_read) 'i' counts the number of pools included in the array 's'. Passing 'i+1' to reseed_internal() as the

svn commit: r339792 - vendor/libarchive/dist/libarchive

2018-10-26 Thread Martin Matuska
Author: mm Date: Fri Oct 26 21:15:36 2018 New Revision: 339792 URL: https://svnweb.freebsd.org/changeset/base/339792 Log: Update vendor/libarchive/dist to git d661131393def793a9919d1e3fd54c9992888bd6 Relevant vendor changes: RAR5 reader: more maybe-uninitialized size_t fixes for

svn commit: r339787 - head/sys/crypto/rijndael

2018-10-26 Thread Conrad Meyer
Author: cem Date: Fri Oct 26 20:53:01 2018 New Revision: 339787 URL: https://svnweb.freebsd.org/changeset/base/339787 Log: rijndael (AES): Avoid leaking sensitive data on kernel stack Noticed this investigating Fortuna. Remove useless duplicate stack copies of sensitive contents when

svn commit: r339795 - head/tests/sys/acl

2018-10-26 Thread Mark Johnston
Author: markj Date: Fri Oct 26 21:20:04 2018 New Revision: 339795 URL: https://svnweb.freebsd.org/changeset/base/339795 Log: Add a very basic regression test for setfacl -R with NFSv4 ACLs. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r339797 - head/usr.sbin/efivar

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 22:13:40 2018 New Revision: 339797 URL: https://svnweb.freebsd.org/changeset/base/339797 Log: Implenent --fromfile to read variable values when printing variables So ./efivar --fromfile Boot0001.bin --print --load-option will take the value from

svn commit: r339799 - head/lib/libefivar

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 22:49:36 2018 New Revision: 339799 URL: https://svnweb.freebsd.org/changeset/base/339799 Log: Ensure that the device path is sane before trying to decode and print it. Sponsored by: Netflix, Inc Modified: head/lib/libefivar/efivar-dp-format.c Modified:

svn commit: r339798 - head/usr.sbin/efivar

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 22:49:25 2018 New Revision: 339798 URL: https://svnweb.freebsd.org/changeset/base/339798 Log: Require that we have at least a device path header before trying to decode the next device path. Sponsored by: Netflix, Inc Modified:

svn commit: r339800 - head/stand/efi/loader

2018-10-26 Thread Warner Losh
Author: imp Date: Fri Oct 26 23:08:22 2018 New Revision: 339800 URL: https://svnweb.freebsd.org/changeset/base/339800 Log: Ensure we have a full EFI_DEVICE_PATH header before we try to look at its length. Some BIOSes pad the length of the device path to an even amount. When we had a device

svn commit: r339784 - head/sbin/dumpon

2018-10-26 Thread Conrad Meyer
Author: cem Date: Fri Oct 26 19:53:59 2018 New Revision: 339784 URL: https://svnweb.freebsd.org/changeset/base/339784 Log: dumpon(8): Provide seatbelt against weak RSA keys The premise of dumpon -k foo.pem is that dump contents will be confidential except to anyone holding the

svn commit: r339785 - head/sbin/dumpon

2018-10-26 Thread Conrad Meyer
Author: cem Date: Fri Oct 26 20:03:59 2018 New Revision: 339785 URL: https://svnweb.freebsd.org/changeset/base/339785 Log: dumpon.8: Significantly revamp page Start with a short summary and cover the options in a standard list style. Organize sections by common focus and prioritize

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

2018-10-26 Thread Conrad Meyer
Author: cem Date: Fri Oct 26 21:00:26 2018 New Revision: 339789 URL: https://svnweb.freebsd.org/changeset/base/339789 Log: fortuna: Drop global lock to zero stack variables Also drop explicit zeroing of hash context -- hash finish() operation is expected to do this. PR:

svn commit: r339791 - in head: share/man/man4 sys/netinet

2018-10-26 Thread Michael Tuexen
Author: tuexen Date: Fri Oct 26 21:04:17 2018 New Revision: 339791 URL: https://svnweb.freebsd.org/changeset/base/339791 Log: Add initial descriptions for SCTP related MIB variable. This work was mostly done by Marie-Helene Kvello-Aune. MFC after:3 days Differential

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

2018-10-26 Thread Conrad Meyer
Author: cem Date: Fri Oct 26 21:03:57 2018 New Revision: 339790 URL: https://svnweb.freebsd.org/changeset/base/339790 Log: Fortuna: Add failpoints to simulate initial seeding conditions Set debug.fail_point.random_fortuna_pre_read=return(1) and

svn commit: r339793 - head/bin/setfacl

2018-10-26 Thread Mark Johnston
Author: markj Date: Fri Oct 26 21:17:06 2018 New Revision: 339793 URL: https://svnweb.freebsd.org/changeset/base/339793 Log: Don't set NFSv4 ACL inheritance flags on non-directories. They only make sense in the context of directory ACLs, and attempting to set them on regular files

svn commit: r339794 - head/contrib/libarchive/libarchive

2018-10-26 Thread Martin Matuska
Author: mm Date: Fri Oct 26 21:17:50 2018 New Revision: 339794 URL: https://svnweb.freebsd.org/changeset/base/339794 Log: MFV r339792: Sync libarchive with vendor. Relevant vendor changes: RAR5 reader: more maybe-uninitialized size_t fixes for riscv64 FreeBSD build

svn commit: r339796 - head/stand/efi/libefi

2018-10-26 Thread Rebecca Cran
Author: bcran Date: Fri Oct 26 21:57:22 2018 New Revision: 339796 URL: https://svnweb.freebsd.org/changeset/base/339796 Log: Simplify the EFI delay() function by calling BS->Stall() Differential Revision: https://reviews.freebsd.org/D16753 Modified: head/stand/efi/libefi/delay.c

Re: svn commit: r339738 - in head: gnu/lib lib/csu lib/csu/aarch64 lib/csu/amd64 lib/csu/common lib/csu/i386 lib/csu/powerpc64 lib/csu/tests lib/csu/tests/dynamic lib/csu/tests/static share/mk tools/b

2018-10-26 Thread Andrew Turner
> On 26 Oct 2018, at 03:40, Kyle Evans wrote: > > On Thu, Oct 25, 2018 at 12:40 PM Andrew Turner > wrote: >> >> Author: andrew >> Date: Thu Oct 25 17:39:41 2018 >> New Revision: 339738 >> URL: https://svnweb.freebsd.org/changeset/base/339738 >> >> Log: >>

svn commit: r339771 - stable/11/sys/dev/hwpmc

2018-10-26 Thread Matt Macy
Author: mmacy Date: Fri Oct 26 08:52:22 2018 New Revision: 339771 URL: https://svnweb.freebsd.org/changeset/base/339771 Log: fix up more issues introduced by failing to have run TB before r339767 Modified: stable/11/sys/dev/hwpmc/hwpmc_amd.c Modified: stable/11/sys/dev/hwpmc/hwpmc_amd.c

svn commit: r339770 - in head/lib/csu/tests: . dynamic static

2018-10-26 Thread Andrew Turner
Author: andrew Date: Fri Oct 26 08:12:28 2018 New Revision: 339770 URL: https://svnweb.freebsd.org/changeset/base/339770 Log: Drop the csu tests WARNS to 5 to fix the powerpc64 build. MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/lib/csu/tests/Makefile.tests

svn commit: r339769 - in stable/11/sys: dev/hwpmc i386/include

2018-10-26 Thread Matt Macy
Author: mmacy Date: Fri Oct 26 06:12:56 2018 New Revision: 339769 URL: https://svnweb.freebsd.org/changeset/base/339769 Log: fix i386 breakage caused by r339767 Modified: stable/11/sys/dev/hwpmc/hwpmc_amd.c stable/11/sys/i386/include/pmc_mdep.h Modified:

svn commit: r339772 - stable/12/sys/net

2018-10-26 Thread Andrey V. Elsukov
Author: ae Date: Fri Oct 26 10:20:03 2018 New Revision: 339772 URL: https://svnweb.freebsd.org/changeset/base/339772 Log: MFC r339532 (by glebius): Fix exiting an epoch(9) we never entered. May happen only with MAC. Approved by: re (kib) Modified: stable/12/sys/net/if_gif.c