svn commit: r351416 - head/lib/libc/tests/gen

2019-08-22 Thread Li-Wen Hsu
Author: lwhsu Date: Fri Aug 23 05:25:21 2019 New Revision: 351416 URL: https://svnweb.freebsd.org/changeset/base/351416 Log: lib.libc.gen.getmntinfo_test.getmntinfo_test is unstable since 8/20, skip it in CI env temporarily for more offline diagnosis PR: 240049 Sponsored by:

Re: svn commit: r351406 - head/sys/dev/nvme

2019-08-22 Thread Warner Losh
This creates some funky names for the modules (like nvme_pci_pci)... I'd prefer we not do that. Here's a patch that I think will create the module in a way that avoids the bug that we're hitting. It's late here, and I've not had time to test it on all the cases yet. Does it work for you? It

svn commit: r351415 - in head/usr.sbin/makefs: . msdos

2019-08-22 Thread Xin LI
Author: delphij Date: Fri Aug 23 05:23:45 2019 New Revision: 351415 URL: https://svnweb.freebsd.org/changeset/base/351415 Log: Properly update FSInfo block after generation. After populating the filesystem, write a FSInfo block with proper information. Reviewed by: emaste, cem

Re: svn commit: r351413 - head/usr.bin/last

2019-08-22 Thread Conrad Meyer
Hi Eugene, Should this be done more generally? Last time I looked it seemed like libxo was completely locale-unaware and just assumed all input was UTF-8. It might make more sense to have libxo take locale into account when formatting %s strings. Best, Conrad On Thu, Aug 22, 2019 at 6:25 PM

svn commit: r351413 - head/usr.bin/last

2019-08-22 Thread Eugene Grosbein
Author: eugen Date: Fri Aug 23 01:25:38 2019 New Revision: 351413 URL: https://svnweb.freebsd.org/changeset/base/351413 Log: last(1): unbreak for 8-bit locales Ouput format of last(1) is broken for non UTF-8 locales since it got libxo(3) support. It uses strftime(3) that produces non

svn commit: r351412 - head/stand/i386/boot2

2019-08-22 Thread Kyle Evans
Author: kevans Date: Fri Aug 23 01:16:12 2019 New Revision: 351412 URL: https://svnweb.freebsd.org/changeset/base/351412 Log: stand: boot2: fix amd64-xtoolchain-gcc build -Wno-missing-declarations is the GCC equivalent of -Wno-missing-prototypes... this was overlooked in r351135.

Re: svn commit: r351406 - head/sys/dev/nvme

2019-08-22 Thread Jung-uk Kim
On 19. 8. 22., Warner Losh wrote: > On Thu, Aug 22, 2019, 3:27 PM John Baldwin > wrote: > > On 8/22/19 2:12 PM, Warner Losh wrote: > > Author: imp > > Date: Thu Aug 22 21:12:51 2019 > > New Revision: 351406 > > URL:

Re: svn commit: r351406 - head/sys/dev/nvme

2019-08-22 Thread Warner Losh
On Thu, Aug 22, 2019, 3:27 PM John Baldwin wrote: > On 8/22/19 2:12 PM, Warner Losh wrote: > > Author: imp > > Date: Thu Aug 22 21:12:51 2019 > > New Revision: 351406 > > URL: https://svnweb.freebsd.org/changeset/base/351406 > > > > Log: > > We need to define version 1 of nvme, not nvme_foo.

Re: svn commit: r351244 - head/sys/dev/usb/net

2019-08-22 Thread Gleb Smirnoff
Stephen, On Tue, Aug 20, 2019 at 01:06:43AM +, Stephen J. Kiernan wrote: S> Author: stevek S> Date: Tue Aug 20 01:06:43 2019 S> New Revision: 351244 S> URL: https://svnweb.freebsd.org/changeset/base/351244 S> S> Log: S> usb_ethernet.h includes a number of mii headers, but only does so in

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

2019-08-22 Thread Warner Losh
Author: imp Date: Thu Aug 22 21:56:11 2019 New Revision: 351411 URL: https://svnweb.freebsd.org/changeset/base/351411 Log: When we have errors resetting the device before we allocate the queues, don't try to tear them down in the ctrlr_destroy path. Otherwise, we dereference queue

svn commit: r351410 - head/stand/libsa/mips

2019-08-22 Thread Kyle Evans
Author: kevans Date: Thu Aug 22 21:49:13 2019 New Revision: 351410 URL: https://svnweb.freebsd.org/changeset/base/351410 Log: libsa: mips: fix typo that had slipped into the diff on local machine MFC after:1 week X-MFC-With: r351408 Modified: head/stand/libsa/mips/_setjmp.S

svn commit: r351409 - in head: lib/libc/mips/gen lib/libproc lib/libthread_db/arch/mips sys/mips/include tests/sys/kern

2019-08-22 Thread Kyle Evans
Author: kevans Date: Thu Aug 22 21:43:21 2019 New Revision: 351409 URL: https://svnweb.freebsd.org/changeset/base/351409 Log: mips: hide regnum definitions behind _KERNEL/_WANT_MIPS_REGNUM machine/regnum.h ends up being included by sys/procfs.h and sys/ptrace.h via machine/reg.h. Many of

svn commit: r351408 - head/stand/libsa/mips

2019-08-22 Thread Kyle Evans
Author: kevans Date: Thu Aug 22 21:42:11 2019 New Revision: 351408 URL: https://svnweb.freebsd.org/changeset/base/351408 Log: libsa: mips: use _JB_* from machine/asm.h, remove regnum dep This brings the libsa/mips _setjmp implementation closer to parity with the libc version.

svn commit: r351407 - head/lib/libc/mips/gen

2019-08-22 Thread Kyle Evans
Author: kevans Date: Thu Aug 22 21:40:56 2019 New Revision: 351407 URL: https://svnweb.freebsd.org/changeset/base/351407 Log: libc: mips: remove unused longjmp.c Reviewed by: imp, jhb MFC after:1 week Differential Revision:https://reviews.freebsd.org/D21330 Deleted:

Re: svn commit: r351406 - head/sys/dev/nvme

2019-08-22 Thread John Baldwin
On 8/22/19 2:12 PM, Warner Losh wrote: > Author: imp > Date: Thu Aug 22 21:12:51 2019 > New Revision: 351406 > URL: https://svnweb.freebsd.org/changeset/base/351406 > > Log: > We need to define version 1 of nvme, not nvme_foo. Otherwise nvd won't > load and people who pull in nvme/nvd from

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

2019-08-22 Thread Warner Losh
Author: imp Date: Thu Aug 22 21:12:51 2019 New Revision: 351406 URL: https://svnweb.freebsd.org/changeset/base/351406 Log: We need to define version 1 of nvme, not nvme_foo. Otherwise nvd won't load and people who pull in nvme/nvd from modules can't load nvd.ko since it depends on nvme, not

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

2019-08-22 Thread Warner Losh
Author: imp Date: Thu Aug 22 20:09:32 2019 New Revision: 351403 URL: https://svnweb.freebsd.org/changeset/base/351403 Log: Move releasing of resources to later Turn off bus master after we detach the device (to match the prior order). Release MSI after we're done detaching and have

svn commit: r351399 - head/tests/sys/fs

2019-08-22 Thread Kyle Evans
Author: kevans Date: Thu Aug 22 19:10:31 2019 New Revision: 351399 URL: https://svnweb.freebsd.org/changeset/base/351399 Log: Fix the build with WITHOUT_GOOGLETEST Attempting to build the fusefs tests WITHOUT_GOOGLETEST will result in an error if the host system or sysroot doesn't

svn commit: r351398 - in head/sbin/ping: . tests

2019-08-22 Thread Alan Somers
Author: asomers Date: Thu Aug 22 18:57:24 2019 New Revision: 351398 URL: https://svnweb.freebsd.org/changeset/base/351398 Log: ping: By default, don't reverse lookup IP addresses ping's default is now not to attempt reverse DNS lookups. The -H flag will enable them. This change is not

svn commit: r351397 - in head/contrib/wpa: hostapd hs20/client src/ap src/common src/crypto src/drivers src/eap_common src/eap_peer src/eap_server src/eapol_auth src/eapol_supp src/p2p src/pae src/...

2019-08-22 Thread Cy Schubert
Author: cy Date: Thu Aug 22 18:52:30 2019 New Revision: 351397 URL: https://svnweb.freebsd.org/changeset/base/351397 Log: MFV r346563: Update wpa 2.8 --> 2.9 hostapd: * SAE changes - disable use of groups using Brainpool curves - improved protection against side channel

svn commit: r351396 - head/usr.sbin/makefs/msdos

2019-08-22 Thread Ed Maste
Author: emaste Date: Thu Aug 22 17:49:34 2019 New Revision: 351396 URL: https://svnweb.freebsd.org/changeset/base/351396 Log: makefs: diff reduction to sys/fs/msdosfs No functional change. Modified: head/usr.sbin/makefs/msdos/direntry.h head/usr.sbin/makefs/msdos/msdosfs_conv.c

Re: svn commit: r351364 - in head/sys: crypto/blowfish crypto/chacha20 crypto/des opencrypto

2019-08-22 Thread John Baldwin
On 8/22/19 2:39 AM, Bjoern A. Zeeb wrote: > On 22 Aug 2019, at 0:02, John Baldwin wrote: > > Hi, > >> Author: jhb >> Date: Thu Aug 22 00:02:08 2019 >> New Revision: 351364 >> URL: https://svnweb.freebsd.org/changeset/base/351364 >> >> Log: >> Use 'const' for keys and IVs passed to software

Re: svn commit: r351368 - head/sys/gdb

2019-08-22 Thread John Baldwin
On 8/21/19 5:34 PM, Conrad Meyer wrote: > Author: cem > Date: Thu Aug 22 00:34:11 2019 > New Revision: 351368 > URL: https://svnweb.freebsd.org/changeset/base/351368 > > Log: > gdb(4): Implement qXfer:threads:read > > This streams out an XML document over several GDB packets describing all

svn commit: r351395 - head/sys/fs/msdosfs

2019-08-22 Thread Ed Maste
Author: emaste Date: Thu Aug 22 16:06:52 2019 New Revision: 351395 URL: https://svnweb.freebsd.org/changeset/base/351395 Log: msdosfs_fat: reduce diffs with NetBSD and makefs Use pointer arithmetic (as now done in makefs, and in NetBSD) instead of taking the address of array element. No

svn commit: r351394 - in head: etc/mtree sbin/ping6 sbin/ping6/tests

2019-08-22 Thread Alan Somers
Author: asomers Date: Thu Aug 22 15:08:04 2019 New Revision: 351394 URL: https://svnweb.freebsd.org/changeset/base/351394 Log: ping6: add a basic functional test Submitted by: Ján Sučan MFC after:2 weeks Sponsored by: Google, inc. (Google Summer of Code 2019) Differential

svn commit: r351393 - head/sbin/ping/tests

2019-08-22 Thread Alan Somers
Author: asomers Date: Thu Aug 22 15:00:36 2019 New Revision: 351393 URL: https://svnweb.freebsd.org/changeset/base/351393 Log: ping: add a basic functional test Submitted by: Ján Sučan MFC after:2 weeks Sponsored by: Google, inc. (Google Summer of Code 2019) Differential

Re: svn commit: r351392 - stable/11

2019-08-22 Thread Baptiste Daroussin
On Thu, Aug 22, 2019 at 12:09:35PM +, Baptiste Daroussin wrote: > Author: bapt > Date: Thu Aug 22 12:09:34 2019 > New Revision: 351392 > URL: https://svnweb.freebsd.org/changeset/base/351392 > > Log: > MFC r350351: > > Update mandoc to cvs snapshot 2019-07-23 > > This snapshot

svn commit: r351392 - stable/11

2019-08-22 Thread Baptiste Daroussin
Author: bapt Date: Thu Aug 22 12:09:34 2019 New Revision: 351392 URL: https://svnweb.freebsd.org/changeset/base/351392 Log: MFC r350351: Update mandoc to cvs snapshot 2019-07-23 This snapshot among other things includes a fix for a crash of mandoc with empty tbl reported by rea@

svn commit: r351391 - head/tests/sys/netpfil/pf

2019-08-22 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Aug 22 12:08:35 2019 New Revision: 351391 URL: https://svnweb.freebsd.org/changeset/base/351391 Log: Fix path issues after r351212 This fixes sys.netpfil.pf.forward.v4 and sys.netpfil.pf.icmp.cve_2019_5598 failures in CI system. Sponsored by: The FreeBSD

svn commit: r351390 - stable/12/contrib/mandoc

2019-08-22 Thread Baptiste Daroussin
Author: bapt Date: Thu Aug 22 11:32:03 2019 New Revision: 351390 URL: https://svnweb.freebsd.org/changeset/base/351390 Log: MFC r350351: Update mandoc to cvs snapshot 2019-07-23 This snapshot among other things includes a fix for a crash of mandoc with empty tbl reported by rea@

svn commit: r351389 - head/sys/kern

2019-08-22 Thread Brooks Davis
Author: brooks Date: Thu Aug 22 10:21:07 2019 New Revision: 351389 URL: https://svnweb.freebsd.org/changeset/base/351389 Log: Reorganise conditionals to reduce duplication. No functional change. Obtained from:CheriBSD MFC after:3 days Sponsored by: DARPA, AFRL

Re: svn commit: r351364 - in head/sys: crypto/blowfish crypto/chacha20 crypto/des opencrypto

2019-08-22 Thread Bjoern A. Zeeb
On 22 Aug 2019, at 0:02, John Baldwin wrote: Hi, Author: jhb Date: Thu Aug 22 00:02:08 2019 New Revision: 351364 URL: https://svnweb.freebsd.org/changeset/base/351364 Log: Use 'const' for keys and IVs passed to software encryption algorithms. Specifically, use 'const' for the key

svn commit: r351388 - head/sys/dev/usb/net

2019-08-22 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 22 09:24:43 2019 New Revision: 351388 URL: https://svnweb.freebsd.org/changeset/base/351388 Log: usb: fix usb_fdt_support.c when altq enabled (usb_ehernet.h changes) After r351243 when ALTQ was enabled in the kernel, the inline functions in ifq.h would not have

svn commit: r351387 - stable/11/sys/netpfil/ipfw

2019-08-22 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 22 08:49:21 2019 New Revision: 351387 URL: https://svnweb.freebsd.org/changeset/base/351387 Log: MFC r351071: Fix rule truncation on external action module unloading. Modified: stable/11/sys/netpfil/ipfw/ip_fw_eaction.c Directory Properties: stable/11/ (props

svn commit: r351386 - stable/12/sys/netpfil/ipfw

2019-08-22 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 22 08:47:18 2019 New Revision: 351386 URL: https://svnweb.freebsd.org/changeset/base/351386 Log: MFC r351071: Fix rule truncation on external action module unloading. Modified: stable/12/sys/netpfil/ipfw/ip_fw_eaction.c Directory Properties: stable/12/ (props

svn commit: r351385 - head/usr.bin/w

2019-08-22 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 22 07:52:06 2019 New Revision: 351385 URL: https://svnweb.freebsd.org/changeset/base/351385 Log: w: initialize save_p to silence 'may be used uninitilized' After r351379 save_p may be used uninitialized. Set it to NULL before first assignment so that a later

svn commit: r351384 - in stable/12: 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/opensolari...

2019-08-22 Thread Toomas Soome
Author: tsoome Date: Thu Aug 22 07:37:34 2019 New Revision: 351384 URL: https://svnweb.freebsd.org/changeset/base/351384 Log: loader: support com.delphix:removing MFC r348353: boot1.efi should also provide Calloc MFC r350772: loader: support com.delphix:removing MFC r350825: loader:

svn commit: r351383 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-08-22 Thread Andriy Gapon
Author: avg Date: Thu Aug 22 07:17:49 2019 New Revision: 351383 URL: https://svnweb.freebsd.org/changeset/base/351383 Log: MFC r350894: a stop gap fix for a race between dnode_hold and dnode_sync_free The race was introduced in r337669, the large dnode feature import from ZoL. The

svn commit: r351382 - head/sbin/newfs_msdos

2019-08-22 Thread Xin LI
Author: delphij Date: Thu Aug 22 06:14:06 2019 New Revision: 351382 URL: https://svnweb.freebsd.org/changeset/base/351382 Log: When creating a new FAT32 filesystem, use "unknown" (0x) for FSI_Nxt_Free instead of providing a wrong value. With this change, fsck_msdosfs would no