Re: svn commit: r337936 - in head/sys/contrib/libsodium: . builds builds/msvc builds/msvc/build builds/msvc/properties builds/msvc/vs2010 builds/msvc/vs2010/libsodium builds/msvc/vs2012 builds/msvc

2018-08-16 Thread Cy Schubert
In message <201808170023.w7h0np0h027...@repo.freebsd.org>, Conrad Meyer writes: > Author: cem > Date: Fri Aug 17 00:23:50 2018 > New Revision: 337936 > URL: https://svnweb.freebsd.org/changeset/base/337936 > > Log: > Bring in libsodium to sys/contrib > > Bring in

svn commit: r337958 - head/sys/opencrypto

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 04:40:01 2018 New Revision: 337958 URL: https://svnweb.freebsd.org/changeset/base/337958 Log: cryptosoft: Reduce generality of supported algorithm composition Fix a regression introduced in r336439. Rather than allowing any linked list of algorithms, allow

svn commit: r337957 - in head: lib/libefivar share/man/man4 share/man/man9

2018-08-16 Thread Kyle Evans
Author: kevans Date: Fri Aug 17 04:17:51 2018 New Revision: 337957 URL: https://svnweb.freebsd.org/changeset/base/337957 Log: Add efidev(4)/efirt(9) Document efidev(4), provider of userland access to EFI Runtime Services. A link is created to efirtc(4), which handles the time-of-day clock

svn commit: r337956 - in head: . bin/ls

2018-08-16 Thread Kyle Evans
Author: kevans Date: Fri Aug 17 04:15:51 2018 New Revision: 337956 URL: https://svnweb.freebsd.org/changeset/base/337956 Log: ls(1): Add --color=when --color may be set to one of: 'auto', 'always', and 'never'. 'auto' is the default behavior- output colors only if -G or COLORTERM are

svn commit: r337953 - in head/sys: conf dev/random sys

2018-08-16 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 17 03:49:07 2018 New Revision: 337953 URL: https://svnweb.freebsd.org/changeset/base/337953 Log: random: Add PowerPC 'darn' instruction entropy source Summary: PowerISA 3.0 adds a 'darn' instruction to "deliver a random number". This driver was modeled

svn commit: r337952 - head/sys/kern

2018-08-16 Thread Kyle Evans
Author: kevans Date: Fri Aug 17 03:42:57 2018 New Revision: 337952 URL: https://svnweb.freebsd.org/changeset/base/337952 Log: subr_prf: Don't write kern.boot_tag if it's empty This change allows one to set kern.boot_tag="" and not get a blank line preceding other boot messages. While

svn commit: r337947 - head/sbin/bectl

2018-08-16 Thread Kyle Evans
Author: kevans Date: Fri Aug 17 01:59:19 2018 New Revision: 337947 URL: https://svnweb.freebsd.org/changeset/base/337947 Log: bectl(8): Add batch mode to jail subcommand Adding batch mode to the jail `bectl(8)` subcommand enables jailing of ZFS Boot Environments in a scriptable fashion.

svn commit: r337945 - head/sys/riscv/conf

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 01:08:22 2018 New Revision: 337945 URL: https://svnweb.freebsd.org/changeset/base/337945 Log: Riscv: Include crypto for IPSec Similar to r337944. I think this is the last configuration that includes IPsec but not crypto. Modified:

svn commit: r337944 - head/sys/arm/conf

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 01:04:02 2018 New Revision: 337944 URL: https://svnweb.freebsd.org/changeset/base/337944 Log: arm: Define crypto option on platforms that include IPsec Missed in r337940. (It's not like there are any crypto files IPsec doesn't pull in, so it is unclear

svn commit: r337943 - head/sys/net

2018-08-16 Thread Navdeep Parhar
Author: np Date: Fri Aug 17 01:03:23 2018 New Revision: 337943 URL: https://svnweb.freebsd.org/changeset/base/337943 Log: if_vlan(4): A VLAN always has a PCP and its ifnet's if_pcp should be set to the PCP value in use instead of IFNET_PCP_NONE. MFC after:1 week Sponsored by:

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Marcelo Araujo
2018-08-17 7:33 GMT+08:00 Brooks Davis : > On Thu, Aug 16, 2018 at 05:23:26PM -0600, Warner Losh wrote: > > On Thu, Aug 16, 2018 at 5:16 PM, Brooks Davis > wrote: > > > > > On Fri, Aug 17, 2018 at 07:04:05AM +0800, Marcelo Araujo wrote: > > > > 2018-08-17 3:29 GMT+08:00 Rodney W. Grimes > > >

svn commit: r337941 - head/tests/sys/opencrypto

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 00:32:00 2018 New Revision: 337941 URL: https://svnweb.freebsd.org/changeset/base/337941 Log: Add test cases for Poly1305 from RFC 7539 Added: head/tests/sys/opencrypto/poly1305_test.c (contents, props changed) Modified: head/tests/sys/opencrypto/Makefile

svn commit: r337940 - head/sys/opencrypto

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 00:31:06 2018 New Revision: 337940 URL: https://svnweb.freebsd.org/changeset/base/337940 Log: crypto(4): Add cryptosoft, cryptodev support for Poly-1305 Modified: head/sys/opencrypto/cryptodev.c head/sys/opencrypto/cryptosoft.c Modified:

svn commit: r337939 - in head/sys: conf modules/crypto opencrypto

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 00:30:04 2018 New Revision: 337939 URL: https://svnweb.freebsd.org/changeset/base/337939 Log: Add xform-conforming auth_hash wrapper for Poly-1305 The wrapper is a thin shim around libsodium's Poly-1305 implementation. For now, we just use the C algorithm

svn commit: r337938 - head/sys/crypto/libsodium

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 00:27:56 2018 New Revision: 337938 URL: https://svnweb.freebsd.org/changeset/base/337938 Log: Bring in compatibility glue for libsodium The idea is untouched upstream sources live in sys/contrib/libsodium. sys/crypto/libsodium are support routines or

svn commit: r337936 - in head/sys/contrib/libsodium: . builds builds/msvc builds/msvc/build builds/msvc/properties builds/msvc/vs2010 builds/msvc/vs2010/libsodium builds/msvc/vs2012 builds/msvc/vs2...

2018-08-16 Thread Conrad Meyer
Author: cem Date: Fri Aug 17 00:23:50 2018 New Revision: 337936 URL: https://svnweb.freebsd.org/changeset/base/337936 Log: Bring in libsodium to sys/contrib Bring in https://github.com/jedisct1/libsodium at 461ac93b260b91db8ad957f5a576860e3e9c88a1 (August 7, 2018), unmodified.

Re: svn commit: r337933 - in head/tests: freebsd_test_suite sys/opencrypto

2018-08-16 Thread Conrad Meyer
On Thu, Aug 16, 2018 at 4:49 PM, Alan Somers wrote: > Author: asomers > Date: Thu Aug 16 23:49:56 2018 > New Revision: 337933 > URL: https://svnweb.freebsd.org/changeset/base/337933 > > Log: > Fix sys/opencrypto/blake2_test when kern.cryptodevallowsoft=0 Thanks!

svn commit: r337934 - head/sys/conf

2018-08-16 Thread Glen Barber
Author: gjb Date: Thu Aug 16 23:58:22 2018 New Revision: 337934 URL: https://svnweb.freebsd.org/changeset/base/337934 Log: Rename head from ALPHA1 to ALPHA2 in preparation for the next set of snapshot builds. Hashtag: MaximumEffort Approved by: re (implicit) Sponsored by: The

svn commit: r337933 - in head/tests: freebsd_test_suite sys/opencrypto

2018-08-16 Thread Alan Somers
Author: asomers Date: Thu Aug 16 23:49:56 2018 New Revision: 337933 URL: https://svnweb.freebsd.org/changeset/base/337933 Log: Fix sys/opencrypto/blake2_test when kern.cryptodevallowsoft=0 Two of these testcases require software crypto to be enabled. Curiously, it isn't by default.

svn commit: r337932 - in head/sys: net netinet

2018-08-16 Thread Navdeep Parhar
Author: np Date: Thu Aug 16 23:46:38 2018 New Revision: 337932 URL: https://svnweb.freebsd.org/changeset/base/337932 Log: Add the ability to look up the 3b PCP of a VLAN interface. Use it in toe_l2_resolve to fill up the complete vtag and not just the vid. Reviewed by: kib@ MFC

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Brooks Davis
On Thu, Aug 16, 2018 at 05:23:26PM -0600, Warner Losh wrote: > On Thu, Aug 16, 2018 at 5:16 PM, Brooks Davis wrote: > > > On Fri, Aug 17, 2018 at 07:04:05AM +0800, Marcelo Araujo wrote: > > > 2018-08-17 3:29 GMT+08:00 Rodney W. Grimes > net>: > > > > > > > > On Thu, Aug 16, 2018 at 11:06 AM,

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Warner Losh
On Thu, Aug 16, 2018 at 5:16 PM, Brooks Davis wrote: > On Fri, Aug 17, 2018 at 07:04:05AM +0800, Marcelo Araujo wrote: > > 2018-08-17 3:29 GMT+08:00 Rodney W. Grimes net>: > > > > > > On Thu, Aug 16, 2018 at 11:06 AM, John-Mark Gurney > > > > wrote: > > > > > > > > > Marcelo Araujo wrote this

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Brooks Davis
On Fri, Aug 17, 2018 at 07:04:05AM +0800, Marcelo Araujo wrote: > 2018-08-17 3:29 GMT+08:00 Rodney W. Grimes : > > > > On Thu, Aug 16, 2018 at 11:06 AM, John-Mark Gurney > > wrote: > > > > > > > Marcelo Araujo wrote this message on Thu, Aug 16, 2018 at 06:31 +: > > > > > Author: araujo > > >

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Marcelo Araujo
2018-08-17 3:29 GMT+08:00 Rodney W. Grimes : > > On Thu, Aug 16, 2018 at 11:06 AM, John-Mark Gurney > wrote: > > > > > Marcelo Araujo wrote this message on Thu, Aug 16, 2018 at 06:31 +: > > > > Author: araujo > > > > Date: Thu Aug 16 06:31:54 2018 > > > > New Revision: 337887 > > > > URL:

svn commit: r337931 - head/tools/tools/nanobsd

2018-08-16 Thread Warner Losh
Author: imp Date: Thu Aug 16 22:13:43 2018 New Revision: 337931 URL: https://svnweb.freebsd.org/changeset/base/337931 Log: Specify DB_FROM_SRC=yes when doing any installation target. We want to use the UIDs from the installed system, not the host system, when installing things.

svn commit: r337930 - in head/tests/sys: aio file kern kern/pipe posixshm

2018-08-16 Thread Alan Somers
Author: asomers Date: Thu Aug 16 22:04:00 2018 New Revision: 337930 URL: https://svnweb.freebsd.org/changeset/base/337930 Log: Revert r337929 FreeBSD's mkstemp sets the temporary file's permissions to 600, and has ever since mkstemp was added in 1987. Coverity's warning is still

svn commit: r337929 - in head/tests/sys: aio file kern kern/pipe posixshm

2018-08-16 Thread Alan Somers
Author: asomers Date: Thu Aug 16 21:36:19 2018 New Revision: 337929 URL: https://svnweb.freebsd.org/changeset/base/337929 Log: Fix Coverity warnings about mkstemp in tests umask(2) should always be used prior to mkstemp(3) so the temporary file won't be created with insecure permissions.

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

2018-08-16 Thread Bryan Drewery
On 7/23/18 9:11 AM, Brad Davis wrote: > Author: brd > Date: Mon Jul 23 16:11:03 2018 > New Revision: 336640 > URL: https://svnweb.freebsd.org/changeset/base/336640 > > Log: > Add the initial DIRS infrastructure for creating directories with the > necessary owner, group, mode and flags. > >

Re: svn commit: r337922 - in head: [Until the partial revert this broke a bunch of the ci.freebsd.org's FreeBSD-head-*-build's]

2018-08-16 Thread Mark Millard via svn-src-head
Examples appear to include: #9029 for https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/ #1182 for https://ci.freebsd.org/job/FreeBSD-head-armv7-build/ #7274 for https://ci.freebsd.org/job/FreeBSD-head-powerpc-build/ #7039 for https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/ #7331 for

Re: svn commit: r337928 - head/secure/usr.sbin/sshd

2018-08-16 Thread Ravi Pokala
My amd64 buildworld with this change just completed. Thanks Bryan! -Ravi (rpokala@) -Original Message- From: on behalf of Bryan Drewery Date: 2018-08-16, Thursday at 12:48 To: , , Subject: svn commit: r337928 - head/secure/usr.sbin/sshd Author: bdrewery Date: Thu Aug 16 19:48:07

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread James Gritton
On 2018-08-16 13:58, Rodney W. Grimes wrote: On 2018-08-16 13:36, Rodney W. Grimes wrote: >> OK, so noted. But seeing as I've already done the partial in this >> case, >> what's best to do now? Should I add another commit to revert the >> so-far >> unreverted files? > > Thats a mixed bag,

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread Rodney W. Grimes
> On 2018-08-16 13:36, Rodney W. Grimes wrote: > >> OK, so noted. But seeing as I've already done the partial in this > >> case, > >> what's best to do now? Should I add another commit to revert the > >> so-far > >> unreverted files? > > > > Thats a mixed bag, how many files is it, and what

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
On 8/16/18 12:31 PM, Bryan Drewery wrote: > On 8/16/18 12:14 PM, Ian Lepore wrote: >> On Thu, 2018-08-16 at 12:10 -0700, Bryan Drewery wrote: >>> On 8/16/18 11:47 AM, Larry Rosenman wrote: On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drewery wrote: > > On 8/16/18 11:21 AM,

svn commit: r337928 - head/secure/usr.sbin/sshd

2018-08-16 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 16 19:48:07 2018 New Revision: 337928 URL: https://svnweb.freebsd.org/changeset/base/337928 Log: Fix build after r337852: Don't rebuild moduli based on unrelated moduli.c Reported by: many, delphij (moduli.c issue) Modified:

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread James Gritton
On 2018-08-16 13:36, Rodney W. Grimes wrote: OK, so noted. But seeing as I've already done the partial in this case, what's best to do now? Should I add another commit to revert the so-far unreverted files? Thats a mixed bag, how many files is it, and what would the commit message before

svn commit: r337927 - head/stand/libsa

2018-08-16 Thread Warner Losh
Author: imp Date: Thu Aug 16 19:39:02 2018 New Revision: 337927 URL: https://svnweb.freebsd.org/changeset/base/337927 Log: Add ashldi3 and ashrdi3 to mips. Now that we're using -Os, mips needs these routines. Modified: head/stand/libsa/Makefile Modified: head/stand/libsa/Makefile

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread Rodney W. Grimes
> OK, so noted. But seeing as I've already done the partial in this case, > what's best to do now? Should I add another commit to revert the so-far > unreverted files? Thats a mixed bag, how many files is it, and what would the commit message before for them? Usually these are seperable

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread James Gritton
OK, so noted. But seeing as I've already done the partial in this case, what's best to do now? Should I add another commit to revert the so-far unreverted files? - Jamie On 2018-08-16 13:27, Rodney W. Grimes wrote: Author: jamie Date: Thu Aug 16 19:09:43 2018 New Revision: 337925 URL:

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
On 8/16/18 12:14 PM, Ian Lepore wrote: > On Thu, 2018-08-16 at 12:10 -0700, Bryan Drewery wrote: >> On 8/16/18 11:47 AM, Larry Rosenman wrote: >>> >>> On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drewery wrote: On 8/16/18 11:21 AM, Larry Rosenman wrote: > > On Thu, Aug 16,

svn commit: r337926 - head/cddl/contrib/opensolaris/cmd/dtrace

2018-08-16 Thread Mark Johnston
Author: markj Date: Thu Aug 16 19:28:44 2018 New Revision: 337926 URL: https://svnweb.freebsd.org/changeset/base/337926 Log: Add partial documentation for dtrace(1)'s -x configuration options. Some options are still missing descriptions, but they can be filled in over time.

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Rodney W. Grimes
> On Thu, Aug 16, 2018 at 11:06 AM, John-Mark Gurney wrote: > > > Marcelo Araujo wrote this message on Thu, Aug 16, 2018 at 06:31 +: > > > Author: araujo > > > Date: Thu Aug 16 06:31:54 2018 > > > New Revision: 337887 > > > URL: https://svnweb.freebsd.org/changeset/base/337887 > > > > > >

Re: svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread Rodney W. Grimes
> Author: jamie > Date: Thu Aug 16 19:09:43 2018 > New Revision: 337925 > URL: https://svnweb.freebsd.org/changeset/base/337925 > > Log: > Revert r337922, except for some documention-only bits. This needs to wait > until user is changed to stop using jail(2). Can we please stop doing

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Warner Losh
On Thu, Aug 16, 2018 at 11:06 AM, John-Mark Gurney wrote: > Marcelo Araujo wrote this message on Thu, Aug 16, 2018 at 06:31 +: > > Author: araujo > > Date: Thu Aug 16 06:31:54 2018 > > New Revision: 337887 > > URL: https://svnweb.freebsd.org/changeset/base/337887 > > > > Log: > > Add a

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Ian Lepore
On Thu, 2018-08-16 at 12:10 -0700, Bryan Drewery wrote: > On 8/16/18 11:47 AM, Larry Rosenman wrote: > > > > On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drewery wrote: > > > > > > On 8/16/18 11:21 AM, Larry Rosenman wrote: > > > > > > > > On Thu, Aug 16, 2018 at 02:02:52PM -0400, Jung-uk

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
On 8/16/18 11:47 AM, Larry Rosenman wrote: > On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drewery wrote: >> On 8/16/18 11:21 AM, Larry Rosenman wrote: >>> On Thu, Aug 16, 2018 at 02:02:52PM -0400, Jung-uk Kim wrote: On 18. 8. 16., Larry Rosenman wrote: > On Thu, Aug 16, 2018 at

svn commit: r337925 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2018-08-16 Thread Jamie Gritton
Author: jamie Date: Thu Aug 16 19:09:43 2018 New Revision: 337925 URL: https://svnweb.freebsd.org/changeset/base/337925 Log: Revert r337922, except for some documention-only bits. This needs to wait until user is changed to stop using jail(2). Differential Revision:D14791

svn commit: r337924 - head/lib/libbe

2018-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 16 18:58:34 2018 New Revision: 337924 URL: https://svnweb.freebsd.org/changeset/base/337924 Log: libbe(3): Impose dataset length restrictions on boot env name validation Previously, we only validated names for character restrictions. This is helpful, but we

Re: svn commit: r337922 - in head: lib/libc/gen lib/libc/sys share/man/man9 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/freebsd32 sys/fs/nandfs sys/kern sys/sys sys/ufs/ufs

2018-08-16 Thread Antoine Brodin
On Thu, Aug 16, 2018 at 8:40 PM, Jamie Gritton wrote: > Author: jamie > Date: Thu Aug 16 18:40:16 2018 > New Revision: 337922 > URL: https://svnweb.freebsd.org/changeset/base/337922 > > Log: > Put jail(2) under COMPAT_FREEBSD11. It has been the "old" way of creating > jails since FreeBSD 7.

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Larry Rosenman
On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drewery wrote: > On 8/16/18 11:21 AM, Larry Rosenman wrote: > > On Thu, Aug 16, 2018 at 02:02:52PM -0400, Jung-uk Kim wrote: > >> On 18. 8. 16., Larry Rosenman wrote: > >>> On Thu, Aug 16, 2018 at 01:48:40PM -0400, Jung-uk Kim wrote: > On 18. 8.

svn commit: r337923 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-08-16 Thread Alexander Motin
Author: mav Date: Thu Aug 16 18:44:50 2018 New Revision: 337923 URL: https://svnweb.freebsd.org/changeset/base/337923 Log: Make vfs.zfs.zio.dva_throttle_enabled sysctl writable. Not sure what I thought originally, but as I see now runtime changes are working fine, and the code seems like

svn commit: r337922 - in head: lib/libc/gen lib/libc/sys share/man/man9 sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/freebsd32 sys/fs/nandfs sys/kern sys/sys sys/ufs/ufs

2018-08-16 Thread Jamie Gritton
Author: jamie Date: Thu Aug 16 18:40:16 2018 New Revision: 337922 URL: https://svnweb.freebsd.org/changeset/base/337922 Log: Put jail(2) under COMPAT_FREEBSD11. It has been the "old" way of creating jails since FreeBSD 7. Along with the system call, put the various

svn commit: r337921 - head/lib/libbe

2018-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 16 18:37:47 2018 New Revision: 337921 URL: https://svnweb.freebsd.org/changeset/base/337921 Log: libbe(3): Prefer safer versions of strcat/strcpy Or, in the activate case, just use snprintf since that's effectively what we're doing anyways. Modified:

svn commit: r337920 - head/usr.bin/sed

2018-08-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 16 18:35:39 2018 New Revision: 337920 URL: https://svnweb.freebsd.org/changeset/base/337920 Log: Revert r337419. The fix is only partial and causes an asymmetry which breaks a test in multi_test.sh. We should consider both parts of the issue found in

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
On 8/16/18 11:21 AM, Larry Rosenman wrote: > On Thu, Aug 16, 2018 at 02:02:52PM -0400, Jung-uk Kim wrote: >> On 18. 8. 16., Larry Rosenman wrote: >>> On Thu, Aug 16, 2018 at 01:48:40PM -0400, Jung-uk Kim wrote: On 18. 8. 16., Ravi Pokala wrote: > -Original Message- > From: on

Re: svn commit: r337736 - in head/sys: netinet netinet6

2018-08-16 Thread Alan Somers
On Tue, Aug 14, 2018 at 1:54 AM, Andrey V. Elsukov wrote: > Author: ae > Date: Tue Aug 14 07:54:14 2018 > New Revision: 337736 > URL: https://svnweb.freebsd.org/changeset/base/337736 > > Log: > Restore ability to send ICMP and ICMPv6 redirects. > > It was lost when tryforward appeared. Now

svn commit: r337918 - head/sbin/bectl

2018-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 16 18:27:43 2018 New Revision: 337918 URL: https://svnweb.freebsd.org/changeset/base/337918 Log: bectl(8): Kit-kat bar Modified: head/sbin/bectl/bectl.c Modified: head/sbin/bectl/bectl.c

svn commit: r337919 - head/usr.sbin/jail

2018-08-16 Thread Jamie Gritton
Author: jamie Date: Thu Aug 16 18:30:49 2018 New Revision: 337919 URL: https://svnweb.freebsd.org/changeset/base/337919 Log: security.jail.enforce_statfs is handled by jail_set(2), so handling it in userspace jail(8) is redundant. Differential Revision:D14791 Modified:

svn commit: r337917 - head/sbin/bectl

2018-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 16 18:26:43 2018 New Revision: 337917 URL: https://svnweb.freebsd.org/changeset/base/337917 Log: bectl(8): Implement the 'create a snapshot' variant of create Modified: head/sbin/bectl/bectl.c Modified: head/sbin/bectl/bectl.c

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Larry Rosenman
On Thu, Aug 16, 2018 at 02:02:52PM -0400, Jung-uk Kim wrote: > On 18. 8. 16., Larry Rosenman wrote: > > On Thu, Aug 16, 2018 at 01:48:40PM -0400, Jung-uk Kim wrote: > >> On 18. 8. 16., Ravi Pokala wrote: > >>> -Original Message- > >>> From: on behalf of Jung-uk Kim > >>> > >>> Date:

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Jung-uk Kim
On 18. 8. 16., Larry Rosenman wrote: > On Thu, Aug 16, 2018 at 01:48:40PM -0400, Jung-uk Kim wrote: >> On 18. 8. 16., Ravi Pokala wrote: >>> -Original Message- >>> From: on behalf of Jung-uk Kim >>> >>> Date: 2018-08-14, Tuesday at 10:48 >>> To: , , >>> >>> Subject: svn commit:

svn commit: r337916 - head/sbin/bectl

2018-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 16 17:59:49 2018 New Revision: 337916 URL: https://svnweb.freebsd.org/changeset/base/337916 Log: bectl(8): Appease clang-scan Use strlcpy instead of a plain strcpy Modified: head/sbin/bectl/bectl_jail.c Modified: head/sbin/bectl/bectl_jail.c

svn commit: r337915 - in head: lib/libbe sbin/bectl

2018-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 16 17:56:03 2018 New Revision: 337915 URL: https://svnweb.freebsd.org/changeset/base/337915 Log: libbe(3)/bectl(8): Hit rewind on a bunch of off-by-ones While here, use sizeof() in some places that it makes sense to reduce room for error and prefer strlcpy to

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Larry Rosenman
On Thu, Aug 16, 2018 at 01:48:40PM -0400, Jung-uk Kim wrote: > On 18. 8. 16., Ravi Pokala wrote: > > -Original Message- > > From: on behalf of Jung-uk Kim > > > > Date: 2018-08-14, Tuesday at 10:48 > > To: , , > > > > Subject: svn commit: r337791 - in head: crypto/openssl

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Jung-uk Kim
On 18. 8. 16., Ravi Pokala wrote: > -Original Message- > From: on behalf of Jung-uk Kim > > Date: 2018-08-14, Tuesday at 10:48 > To: , , > > Subject: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps > crypto/openssl/crypto crypto/openssl/crypto/asn1

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Larry Rosenman
On Thu, Aug 16, 2018 at 10:42:42AM -0700, Ravi Pokala wrote: > -Original Message- > From: on behalf of Jung-uk Kim > > Date: 2018-08-14, Tuesday at 10:48 > To: , , > > Subject: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps > crypto/openssl/crypto

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Ravi Pokala
-Original Message- From: on behalf of Jung-uk Kim Date: 2018-08-14, Tuesday at 10:48 To: , , Subject: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread John-Mark Gurney
Marcelo Araujo wrote this message on Thu, Aug 16, 2018 at 06:31 +: > Author: araujo > Date: Thu Aug 16 06:31:54 2018 > New Revision: 337887 > URL: https://svnweb.freebsd.org/changeset/base/337887 > > Log: > Add a comment explaining how the PSN works and why there is no need for > a null

Re: svn commit: r337419 - head/usr.bin/sed

2018-08-16 Thread Pedro Giffuni
On 8/16/2018 10:30 AM, Alan Somers wrote: On Tue, Aug 7, 2018 at 8:47 AM, Pedro F. Giffuni > wrote: Author: pfg Date: Tue Aug  7 14:47:39 2018 New Revision: 337419 URL: https://svnweb.freebsd.org/changeset/base/337419

Re: svn commit: r337913 - in head/sys: dev/ipmi modules/ipmi

2018-08-16 Thread Doug Ambrisko
On Thu, Aug 16, 2018 at 11:23:31AM -0500, Justin Hibbits wrote: | Woops, my fault way back when I made powerpc64's IPMI OPAL buildable as | a module. Can't believe I had i386 twice in there. I was glad it was a simple fix ... the panic issue I'm not so happy about since I can't fix it on a live

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

2018-08-16 Thread Warner Losh
Author: imp Date: Thu Aug 16 16:30:23 2018 New Revision: 337914 URL: https://svnweb.freebsd.org/changeset/base/337914 Log: Install links for loader.efi. Submitted by: ben wilber Modified: head/stand/efi/loader/Makefile Modified: head/stand/efi/loader/Makefile

Re: svn commit: r337913 - in head/sys: dev/ipmi modules/ipmi

2018-08-16 Thread Justin Hibbits
Woops, my fault way back when I made powerpc64's IPMI OPAL buildable as a module. Can't believe I had i386 twice in there. - Justin On Thu, 16 Aug 2018 09:11:01 -0700 Ravi Pokala wrote: > The confluence of these two issues is that on amd64 ipmi.ko loads, > but doesn't attach to the BMC or

Re: svn commit: r337913 - in head/sys: dev/ipmi modules/ipmi

2018-08-16 Thread Ravi Pokala
The confluence of these two issues is that on amd64 ipmi.ko loads, but doesn't attach to the BMC or create /dev/ipmi, and that the kernel panics when trying to unload. Right? If so, that's exactly the issue I hit on Monday, but didn't get a chance to triage. Thanks! -Ravi -Original

svn commit: r337913 - in head/sys: dev/ipmi modules/ipmi

2018-08-16 Thread Doug Ambrisko
Author: ambrisko Date: Thu Aug 16 15:59:02 2018 New Revision: 337913 URL: https://svnweb.freebsd.org/changeset/base/337913 Log: Fix a module Makefile error on amd64 so the IPMI HW interfaces are built. When the module is being unloaded and no HW interfaces were created don't clean up. This

svn commit: r337911 - head/tests/sys/opencrypto

2018-08-16 Thread Alan Somers
Author: asomers Date: Thu Aug 16 15:44:48 2018 New Revision: 337911 URL: https://svnweb.freebsd.org/changeset/base/337911 Log: Fix the sys/opencrypto/runtests test when aesni(4) is already loaded Apparently kldstat requires the full module name, including busname Reported by: Jenkins

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Warner Losh
On Thu, Aug 16, 2018 at 8:34 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Thu, Aug 16, 2018 at 8:03 AM, Rodney W. Grimes < > > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > Author: araujo > > > > Date: Thu Aug 16 06:31:54 2018 > > > > New Revision: 337887 > > > > URL:

Re: svn commit: r337419 - head/usr.bin/sed

2018-08-16 Thread Alan Somers
On Tue, Aug 7, 2018 at 8:47 AM, Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Aug 7 14:47:39 2018 > New Revision: 337419 > URL: https://svnweb.freebsd.org/changeset/base/337419 > > Log: > sed(1): partial fix for the case of the regex delimited with '['. > > We don't generally support

svn commit: r337907 - head/lib/libcasper/libcasper

2018-08-16 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 16 14:46:49 2018 New Revision: 337907 URL: https://svnweb.freebsd.org/changeset/base/337907 Log: Fix typo. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/lib/libcasper/libcasper/libcasper.3 Modified: head/lib/libcasper/libcasper/libcasper.3

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Rodney W. Grimes
> On Thu, Aug 16, 2018 at 8:03 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > Author: araujo > > > Date: Thu Aug 16 06:31:54 2018 > > > New Revision: 337887 > > > URL: https://svnweb.freebsd.org/changeset/base/337887 > > > > > > Log: > > > Add a comment explaining how

Re: svn commit: r337878 - head/stand/i386/libi386

2018-08-16 Thread Warner Losh
On Thu, Aug 16, 2018 at 8:00 AM, Toomas Soome wrote: > > > On 16 Aug 2018, at 16:03, Warner Losh wrote: > > > > On Thu, Aug 16, 2018 at 1:10 AM, Toomas Soome wrote: > >> >> >> > On 16 Aug 2018, at 09:59, John Baldwin wrote: >> > >> > On 8/15/18 11:59 PM, Warner Losh wrote: >> >> >> >> >> >>

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Warner Losh
On Thu, Aug 16, 2018 at 8:03 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Author: araujo > > Date: Thu Aug 16 06:31:54 2018 > > New Revision: 337887 > > URL: https://svnweb.freebsd.org/changeset/base/337887 > > > > Log: > > Add a comment explaining how the PSN works and why

Re: svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Rodney W. Grimes
> Author: araujo > Date: Thu Aug 16 06:31:54 2018 > New Revision: 337887 > URL: https://svnweb.freebsd.org/changeset/base/337887 > > Log: > Add a comment explaining how the PSN works and why there is no need for > a null terminator. Also mark CID 1394825 as intentional. > > Reported by:

Re: svn commit: r337878 - head/stand/i386/libi386

2018-08-16 Thread Toomas Soome via svn-src-head
> On 16 Aug 2018, at 16:03, Warner Losh wrote: > > > > On Thu, Aug 16, 2018 at 1:10 AM, Toomas Soome > wrote: > > > > On 16 Aug 2018, at 09:59, John Baldwin wrote: > > > > On 8/15/18 11:59 PM, Warner Losh wrote: > >> > >> > >> On Wed, Aug 15, 2018 at 4:28 PM,

svn commit: r337906 - head/share/man/man7

2018-08-16 Thread Kyle Evans
Author: kevans Date: Thu Aug 16 13:42:08 2018 New Revision: 337906 URL: https://svnweb.freebsd.org/changeset/base/337906 Log: build(7): Document KERNCONFDIR - directory in which KERNCONF resides MFC after:1 week Modified: head/share/man/man7/build.7 Modified:

svn commit: r337905 - head/share/man/man7

2018-08-16 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Thu Aug 16 13:29:23 2018 New Revision: 337905 URL: https://svnweb.freebsd.org/changeset/base/337905 Log: Tidy up the ports.7 manual page. - Use "Dq Li" for inline commands as we do in other manuals. - Pet "igor" and "mandoc -Tlint". - Reword

Re: svn commit: r337648 - in head: etc etc/defaults etc/periodic usr.sbin/periodic usr.sbin/periodic/etc usr.sbin/periodic/etc/daily usr.sbin/periodic/etc/monthly usr.sbin/periodic/etc/security usr.sb

2018-08-16 Thread John Baldwin
On 8/11/18 6:11 PM, Brad Davis wrote: > Author: brd > Date: Sat Aug 11 17:11:08 2018 > New Revision: 337648 > URL: https://svnweb.freebsd.org/changeset/base/337648 > > Log: > Move all periodic related config and scripts to usr.sbin/periodic/ > > This makes pkgbase easier by tagging these

svn commit: r337904 - in head: lib/libc/resolv share/man/man5

2018-08-16 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 16 13:18:40 2018 New Revision: 337904 URL: https://svnweb.freebsd.org/changeset/base/337904 Log: Allow the use of TCP instead of UDP for queries by setting options usevc in resolv.conf which sets RES_USEVC. Reviewed by: ume MFC after:17 days Differential

Re: svn commit: r337878 - head/stand/i386/libi386

2018-08-16 Thread Warner Losh
On Thu, Aug 16, 2018 at 1:10 AM, Toomas Soome wrote: > > > > On 16 Aug 2018, at 09:59, John Baldwin wrote: > > > > On 8/15/18 11:59 PM, Warner Losh wrote: > >> > >> > >> On Wed, Aug 15, 2018 at 4:28 PM, Ian Lepore i...@freebsd.org>> wrote: > >> > >>On Wed, 2018-08-15 at 22:25 +, Toomas

svn commit: r337903 - in head/sys/arm: arm include

2018-08-16 Thread Andrew Turner
Author: andrew Date: Thu Aug 16 10:00:51 2018 New Revision: 337903 URL: https://svnweb.freebsd.org/changeset/base/337903 Log: Remove the L1 and L2 xscale page defines and rename the generic macros to the common name. While here move the macros to check these into pmap-v4.c as they're only

svn commit: r337901 - head/share/man/man5

2018-08-16 Thread Ed Maste
Author: emaste Date: Thu Aug 16 09:36:59 2018 New Revision: 337901 URL: https://svnweb.freebsd.org/changeset/base/337901 Log: src.conf.5: regen after r337899 WITH_LLD_IS_LD on armv7 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r337900 - head/sys/netinet6

2018-08-16 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 16 09:19:06 2018 New Revision: 337900 URL: https://svnweb.freebsd.org/changeset/base/337900 Log: Properly initialize IP version in IPv6 header. This was missed in r334673. Reported by: Lars Schotte Modified: head/sys/netinet6/in6_gif.c Modified:

svn commit: r337892 - head/share/misc

2018-08-16 Thread Eitan Adler
Author: eadler Date: Thu Aug 16 07:34:10 2018 New Revision: 337892 URL: https://svnweb.freebsd.org/changeset/base/337892 Log: [pci_vendors] Update pci_vendors to 2018.08.12 Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors

svn commit: r337891 - head/stand/i386/libi386

2018-08-16 Thread Toomas Soome
Author: tsoome Date: Thu Aug 16 07:13:36 2018 New Revision: 337891 URL: https://svnweb.freebsd.org/changeset/base/337891 Log: libi386: bd_io_workaround() is to be called for reads only bd_io() can perform either reads or writes, we only need bd_io_workaround() for reads. Modified:

Re: svn commit: r337878 - head/stand/i386/libi386

2018-08-16 Thread Toomas Soome via svn-src-head
> On 16 Aug 2018, at 09:59, John Baldwin wrote: > > On 8/15/18 11:59 PM, Warner Losh wrote: >> >> >> On Wed, Aug 15, 2018 at 4:28 PM, Ian Lepore > > wrote: >> >>On Wed, 2018-08-15 at 22:25 +, Toomas Soome wrote: >>> Author: tsoome >>> Date: Wed Aug 15

Re: svn commit: r337878 - head/stand/i386/libi386

2018-08-16 Thread John Baldwin
On 8/15/18 11:59 PM, Warner Losh wrote: > > > On Wed, Aug 15, 2018 at 4:28 PM, Ian Lepore > wrote: > > On Wed, 2018-08-15 at 22:25 +, Toomas Soome wrote: > > Author: tsoome > > Date: Wed Aug 15 22:25:05 2018 > > New Revision: 337878 > > URL:

svn commit: r337890 - head/stand/i386/libi386

2018-08-16 Thread Toomas Soome
Author: tsoome Date: Thu Aug 16 06:50:53 2018 New Revision: 337890 URL: https://svnweb.freebsd.org/changeset/base/337890 Log: libi386: small style updates in biosdisk Use break instead of return in for loop, as done earlier. Insert and remove some blank lines. No functional changes

svn commit: r337889 - head/usr.sbin/bhyve

2018-08-16 Thread Marcelo Araujo
Author: araujo Date: Thu Aug 16 06:38:01 2018 New Revision: 337889 URL: https://svnweb.freebsd.org/changeset/base/337889 Log: Fix a resource leak when using strdup(3) and also fix few style(9). Reported by: Coverity CID: 1394929 MFC after:1 week Sponsored by: iXsystems

svn commit: r337888 - head/usr.sbin/bhyve

2018-08-16 Thread Marcelo Araujo
Author: araujo Date: Thu Aug 16 06:35:44 2018 New Revision: 337888 URL: https://svnweb.freebsd.org/changeset/base/337888 Log: Remove duplicated code. Reported by: Coverity CID: 1394893 MFC after:1 week Sponsored by: iXsystems Inc. Modified:

svn commit: r337887 - head/usr.sbin/bhyve

2018-08-16 Thread Marcelo Araujo
Author: araujo Date: Thu Aug 16 06:31:54 2018 New Revision: 337887 URL: https://svnweb.freebsd.org/changeset/base/337887 Log: Add a comment explaining how the PSN works and why there is no need for a null terminator. Also mark CID 1394825 as intentional. Reported by: Coverity CID:

svn commit: r337886 - head/usr.sbin/bhyve

2018-08-16 Thread Marcelo Araujo
Author: araujo Date: Thu Aug 16 06:20:25 2018 New Revision: 337886 URL: https://svnweb.freebsd.org/changeset/base/337886 Log: Increase the mask from 15 to 255 or otherwise NVME_FEAT_SOFTWARE_PROGRESS will never be reached. Discussed with: Leon Dang and Darius Mihai MFC after: