Re: svn commit: r350764 - head/sys/arm64/arm64

2019-08-08 Thread Konstantin Belousov
On Thu, Aug 08, 2019 at 07:38:28PM -0600, Warner Losh wrote: > On Thu, Aug 8, 2019, 4:59 PM Gleb Smirnoff wrote: > > > Hi, > > > > why do we need COMPAT_43 for arm64 at all? I can't imagine an > > application that would require this compatibility. > > > > A more general question is how far in t

svn commit: r350815 - head/sys/kern

2019-08-08 Thread Jonathan T. Looney
Author: jtl Date: Fri Aug 9 05:18:59 2019 New Revision: 350815 URL: https://svnweb.freebsd.org/changeset/base/350815 Log: In m_pulldown(), before trying to prepend bytes to the subsequent mbuf, ensure that the subsequent mbuf contains the remainder of the bytes the caller sought. If this is

Re: svn commit: r350550 - head/share/mk

2019-08-08 Thread Jamie Landeg-Jones
Glen Barber wrote: > after stable/12 branched, I have seen no public complaints about > enabling REPRODUCIBLE_BUILD by default (and quite honestly, do not see > the benefit of disabling it by default -- why wouldn't we want > reproducibility?). I track stable. I had no need to complain because I

svn commit: r350814 - head/usr.sbin/autofs

2019-08-08 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 9 02:20:26 2019 New Revision: 350814 URL: https://svnweb.freebsd.org/changeset/base/350814 Log: autofs: Fix autounmountd's printing of mount time. time_t should be printed as intmax_t. Even though duration should be short, the correct way to print is intm

svn commit: r350813 - head/tools/tools/crypto

2019-08-08 Thread Conrad Meyer
Author: cem Date: Fri Aug 9 02:11:47 2019 New Revision: 350813 URL: https://svnweb.freebsd.org/changeset/base/350813 Log: tools/tools/crypto: cryptokeytest: Fix build with newer OpenSSL Also, drag into this decade. Modified: head/tools/tools/crypto/cryptokeytest.c Modified: head/tools/

Re: svn commit: r350764 - head/sys/arm64/arm64

2019-08-08 Thread Warner Losh
On Thu, Aug 8, 2019, 4:59 PM Gleb Smirnoff wrote: > Hi, > > why do we need COMPAT_43 for arm64 at all? I can't imagine an > application that would require this compatibility. > > A more general question is how far in the future are we going > to carry COMPAT_43 for i386/amd64? > COMPAT_43 is a

Re: svn commit: r350764 - head/sys/arm64/arm64

2019-08-08 Thread Gleb Smirnoff
Hi, why do we need COMPAT_43 for arm64 at all? I can't imagine an application that would require this compatibility. A more general question is how far in the future are we going to carry COMPAT_43 for i386/amd64? On Thu, Aug 08, 2019 at 05:48:07PM +, Warner Losh wrote: W> Author: imp W> D

Re: svn commit: r350778 - head/sys/contrib/zstd/lib/common

2019-08-08 Thread Warner Losh
Thanks Conrad for upstreaming... Warner On Thu, Aug 8, 2019 at 3:29 PM Conrad Meyer wrote: > Thanks Warner for noticing and fixing this. > > I've sent the patch upstream to hopefully be addressed there as well: > > https://github.com/facebook/zstd/pull/1713 > > Best, > Conrad > > On Thu, Aug 8,

Re: svn commit: r350778 - head/sys/contrib/zstd/lib/common

2019-08-08 Thread Conrad Meyer
Thanks Warner for noticing and fixing this. I've sent the patch upstream to hopefully be addressed there as well: https://github.com/facebook/zstd/pull/1713 Best, Conrad On Thu, Aug 8, 2019 at 1:09 PM Warner Losh wrote: > > Author: imp > Date: Thu Aug 8 20:09:36 2019 > New Revision: 350778 >

svn commit: r350782 - head/usr.bin/du

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:16:15 2019 New Revision: 350782 URL: https://svnweb.freebsd.org/changeset/base/350782 Log: Flesh out the STANDARDS and AUTHORS sections in the du(1) man page. PR: 239722 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr

svn commit: r350781 - head/usr.bin/whois

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:15:02 2019 New Revision: 350781 URL: https://svnweb.freebsd.org/changeset/base/350781 Log: Update RFC references in the whois(1) man page. PR: 239720 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr.bin/whois/whois.1

Re: svn commit: r350678 - head/share/mk

2019-08-08 Thread Warner Losh
On Thu, Aug 8, 2019 at 1:49 PM Ed Maste wrote: > On Wed, 7 Aug 2019 at 12:19, Warner Losh wrote: > > > > Author: imp > > Date: Wed Aug 7 16:19:06 2019 > > New Revision: 350678 > > URL: https://svnweb.freebsd.org/changeset/base/350678 > > > > Log: > > Enable nvme on aarch64 > > > > Don't mar

svn commit: r350780 - head/usr.sbin/mountd

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:08:13 2019 New Revision: 350780 URL: https://svnweb.freebsd.org/changeset/base/350780 Log: Add a reference to the NFSv3 RFC. PR: 239721 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr.sbin/mountd/mountd.8 Modified: h

svn commit: r350779 - head/sbin/iscontrol

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 20:56:52 2019 New Revision: 350779 URL: https://svnweb.freebsd.org/changeset/base/350779 Log: Fix formatting. PR: 239726 Submitted by: Gordon Bergling MFC after:3 days Modified: head/sbin/iscontrol/iscontrol.8 Modified: head/sbin/iscontr

svn commit: r350778 - head/sys/contrib/zstd/lib/common

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 20:09:36 2019 New Revision: 350778 URL: https://svnweb.freebsd.org/changeset/base/350778 Log: Stopgap fix for gcc platforms. Our in-tree gcc doesn't have a no-tree-vectorize optimization knob, so we get a warning that it's unused. This causes the build to fai

svn commit: r350777 - head/sys/kern

2019-08-08 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 8 20:07:38 2019 New Revision: 350777 URL: https://svnweb.freebsd.org/changeset/base/350777 Log: Remove some harmless cruft from vn_generic_copy_file_range(). An earlier version of the patch had code that set "error" between line#s 2797-2799. When that code

svn commit: r350776 - head/sys/kern

2019-08-08 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 8 19:53:07 2019 New Revision: 350776 URL: https://svnweb.freebsd.org/changeset/base/350776 Log: Fix copy_file_range(2) for an unlikely race during hole finding. Since the VOP_IOCTL(FIOSEEKDATA/FIOSEEKHOLE) calls are done with the vnode unlocked, it is possi

Re: svn commit: r350678 - head/share/mk

2019-08-08 Thread Ed Maste
On Wed, 7 Aug 2019 at 12:19, Warner Losh wrote: > > Author: imp > Date: Wed Aug 7 16:19:06 2019 > New Revision: 350678 > URL: https://svnweb.freebsd.org/changeset/base/350678 > > Log: > Enable nvme on aarch64 > > Don't mark nvme as broken on aarch64. It compiles, at least, and people are >

svn commit: r350772 - in head: cddl/contrib/opensolaris/lib/libzfs/common stand/efi/boot1 stand/i386/gptzfsboot stand/i386/zfsboot stand/libsa/zfs sys/cddl/boot/zfs sys/cddl/contrib/opensolaris/uts...

2019-08-08 Thread Toomas Soome
Author: tsoome Date: Thu Aug 8 18:08:13 2019 New Revision: 350772 URL: https://svnweb.freebsd.org/changeset/base/350772 Log: loader: support com.delphix:removing We should support removing vdev from boot pool. Update loader zfs reader to support com.delphix:removing. Reviewed by: a

svn commit: r350766 - head/sys/arm64/conf

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 17:55:19 2019 New Revision: 350766 URL: https://svnweb.freebsd.org/changeset/base/350766 Log: First pass at a LINT for arm64. Create a rough and ready NOTES file from GENERIC, remove the duplication from sys/conf/NOTES and add relevant no* directives to make t

svn commit: r350764 - head/sys/arm64/arm64

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 17:48:07 2019 New Revision: 350764 URL: https://svnweb.freebsd.org/changeset/base/350764 Log: Make arm64 32-bit mode compile with COMPAT_43 The COMPAT_43 option isn't quite like the other compat options, and arm64 makes attempts to support it in 64-bit mode.

svn commit: r350761 - in head/stand: efi/loader i386/loader

2019-08-08 Thread Marcin Wojtas
Author: mw Date: Thu Aug 8 17:03:30 2019 New Revision: 350761 URL: https://svnweb.freebsd.org/changeset/base/350761 Log: Verify files loaded in chain command. The chain command can be used to chain load another binary. If veriexec is enabled we should verify it first. Note that on EFI

svn commit: r350760 - in head: lib/libzstd sys/conf sys/contrib/zstd sys/contrib/zstd/contrib/largeNbDicts sys/contrib/zstd/contrib/seekable_format sys/contrib/zstd/contrib/seekable_format/examples...

2019-08-08 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 16:54:22 2019 New Revision: 350760 URL: https://svnweb.freebsd.org/changeset/base/350760 Log: Update to Zstandard 1.4.2 The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.1 h

svn commit: r350759 - head/sys/security/mac_veriexec_parser

2019-08-08 Thread Marcin Wojtas
Author: mw Date: Thu Aug 8 16:51:49 2019 New Revision: 350759 URL: https://svnweb.freebsd.org/changeset/base/350759 Log: Fix mac_veriexec_parser build after r347938 In r347938 the definition of mac_veriexec_metadata_add_file so adjust the argument list accordingly. Submitted by: Kor

svn commit: r350758 - head/sys/vm

2019-08-08 Thread Konstantin Belousov
Author: kib Date: Thu Aug 8 16:48:19 2019 New Revision: 350758 URL: https://svnweb.freebsd.org/changeset/base/350758 Log: Fix stack grow for init. During early stages of kern_exec(), including strings copyout, p_textvp for init is NULL. This prevented stack grow from working for init

svn commit: r350757 - head/sys/kern

2019-08-08 Thread Konstantin Belousov
Author: kib Date: Thu Aug 8 16:42:53 2019 New Revision: 350757 URL: https://svnweb.freebsd.org/changeset/base/350757 Log: Update comment explaining create_init(). Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/kern/init_main.c Modified: head/sys/kern/ini

Re: svn commit: r350756 - head/lib/libproc

2019-08-08 Thread Justin Hibbits
On Thu, 8 Aug 2019 16:37:32 + (UTC) Justin Hibbits wrote: > Author: jhibbits > Date: Thu Aug 8 16:37:32 2019 > New Revision: 350756 > URL: https://svnweb.freebsd.org/changeset/base/350756 > > Log: > mips: Fix register target for SP setting in libproc > > Copy-paste-o from r233042 >

svn commit: r350756 - head/lib/libproc

2019-08-08 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 16:37:32 2019 New Revision: 350756 URL: https://svnweb.freebsd.org/changeset/base/350756 Log: mips: Fix register target for SP setting in libproc Copy-paste-o from r233042 Reviewed by: imp Differential Revision:https://reviews.freebsd.org/D2118

Re: svn commit: r350737 - head/usr.sbin/autofs

2019-08-08 Thread Justin Hibbits
On Thu, 08 Aug 2019 08:00:16 -0600 Ian Lepore wrote: > On Thu, 2019-08-08 at 03:16 +, Justin Hibbits wrote: > > Author: jhibbits > > Date: Thu Aug 8 03:16:32 2019 > > New Revision: 350737 > > URL: https://svnweb.freebsd.org/changeset/base/350737 > > > > Log: > > Change autounmountd(8) to

svn commit: r350751 - head/sys/conf

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 15:11:37 2019 New Revision: 350751 URL: https://svnweb.freebsd.org/changeset/base/350751 Log: Add TCP_RFC7413 We should be linting this This isn't enabled on all platforms, but compiles on them all. Noticed by: jhb in another review Modified: head/sys/

svn commit: r350750 - head/sys/crypto/armv8

2019-08-08 Thread Ed Maste
Author: emaste Date: Thu Aug 8 14:34:53 2019 New Revision: 350750 URL: https://svnweb.freebsd.org/changeset/base/350750 Log: armv8crypto: add missing unlock for session (after r336439) Attempts to use cryptodev (e.g. tests at /usr/src/tests/sys/opencrypto with armv8crypto added to the mo

Re: svn commit: r350737 - head/usr.sbin/autofs

2019-08-08 Thread Ian Lepore
On Thu, 2019-08-08 at 03:16 +, Justin Hibbits wrote: > Author: jhibbits > Date: Thu Aug 8 03:16:32 2019 > New Revision: 350737 > URL: https://svnweb.freebsd.org/changeset/base/350737 > > Log: > Change autounmountd(8) to use time_t for duration instead of double > > Summary: > autounm

svn commit: r350749 - head/sys/netinet

2019-08-08 Thread Tom Jones
Author: thj Date: Thu Aug 8 11:43:09 2019 New Revision: 350749 URL: https://svnweb.freebsd.org/changeset/base/350749 Log: Rename IPPROTO 33 from SEP to DCCP IPPROTO 33 is DCCP in the IANA Registry: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml IPPROTO_SEP

svn commit: r350748 - head/sys/netinet6

2019-08-08 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 8 10:59:54 2019 New Revision: 350748 URL: https://svnweb.freebsd.org/changeset/base/350748 Log: frag6: move public structure into file local space. Move ip6asfrag and the accompanying IP6_REASS_MBUF macro from ip6_var.h into frag6.c as they are not used outside f

Re: svn commit: r350713 - head/sys/kern

2019-08-08 Thread Bruce Evans
On Thu, 8 Aug 2019, Conrad Meyer wrote: Log: ddb(4): Add 'sysctl' command Implement `sysctl` in `ddb` by overriding `SYSCTL_OUT`. When handling the req, we install custom ddb in/out handlers. The out handler prints straight to the debugger, while the in handler ignores all input. This is

svn commit: r350747 - head/sys/netinet6

2019-08-08 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 8 10:15:47 2019 New Revision: 350747 URL: https://svnweb.freebsd.org/changeset/base/350747 Log: frag6.c: cleanup varaibles and return statements. Consitently put () around return values. Do not assign variables at the time of variable declaration. Sort variable

Re: svn commit: r350512 - head/tests/sys/kern

2019-08-08 Thread Enji Cooper
> On Aug 7, 2019, at 2:04 PM, Li-Wen Hsu wrote: > > On Thu, Aug 8, 2019 at 4:27 AM Mark Johnston > wrote: >> >> On Thu, Aug 01, 2019 at 06:19:16PM +, Li-Wen Hsu wrote: >>> Author: lwhsu >>> Date: Thu Aug 1 18:19:16 2019 >>> New Revision: 350512 >>> URL: https://

svn commit: r350746 - head/sys/netinet6

2019-08-08 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 8 09:42:57 2019 New Revision: 350746 URL: https://svnweb.freebsd.org/changeset/base/350746 Log: frag6.c: initial comment and whitespace cleanup. Cleanup some comments (start with upper case, ends in punctuation, use width and do not consume vertical space). Upda

svn commit: r350745 - head/sys/netinet

2019-08-08 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 8 08:23:27 2019 New Revision: 350745 URL: https://svnweb.freebsd.org/changeset/base/350745 Log: Fix a typo. Submitted by: Thomas Dreibholz MFC after:1 week Modified: head/sys/netinet/sctp_asconf.c Modified: head/sys/netinet/sctp_asconf

svn commit: r350744 - head/sys/kern

2019-08-08 Thread Xin LI
Author: delphij Date: Thu Aug 8 07:27:49 2019 New Revision: 350744 URL: https://svnweb.freebsd.org/changeset/base/350744 Log: Convert DDB_CTF to use newer version of ZLIB. PR: 229763 Submitted by: Yoshihiro Ota Differential Revision:https://reviews.freebsd.org/D21176