svn commit: r351969 - in head/sys: kern riscv/conf

2019-09-06 Thread Philip Paeps
Author: philip Date: Sat Sep 7 05:13:31 2019 New Revision: 351969 URL: https://svnweb.freebsd.org/changeset/base/351969 Log: riscv: restore default HZ=1000, keep QEMU at HZ=100 This reverts r351918 and r351919. Discussed with: br, ian, imp Modified:

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

2019-09-06 Thread Philip Paeps
On 2019-09-07 12:06:32 (+0800), Warner Losh wrote: On Fri, Sep 6, 2019 at 9:54 PM Philip Paeps wrote: On 2019-09-06 22:18:36 (+0800), Ian Lepore wrote: On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: On Fri, 2019-09-06 at 01:19 +,

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

2019-09-06 Thread Warner Losh
On Fri, Sep 6, 2019 at 9:54 PM Philip Paeps wrote: > On 2019-09-06 22:18:36 (+0800), Ian Lepore wrote: > > On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: > >> On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: > >>> On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > Log: >

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

2019-09-06 Thread Philip Paeps
On 2019-09-06 22:18:36 (+0800), Ian Lepore wrote: On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: Log: riscv: default to HZ=100 This seems like a bad idea. I've run a 90mhz

svn commit: r351967 - head/sys/dev/usb

2019-09-06 Thread Warner Losh
Author: imp Date: Sat Sep 7 03:51:26 2019 New Revision: 351967 URL: https://svnweb.freebsd.org/changeset/base/351967 Log: Some newer HID devices have descriptors that are larger than 1k. Bump this to 2k to prevent them from being truncated and ignored. It appears to be a sanity check only,

svn commit: r351966 - stable/12/usr.bin/w

2019-09-06 Thread Mike Karels
Author: karels Date: Fri Sep 6 21:53:04 2019 New Revision: 351966 URL: https://svnweb.freebsd.org/changeset/base/351966 Log: MFC r351379 r351385 r351592: Change w(1) to compute FROM (host) field size dynamically It's nice to be able to display a full IPv6 host address if needed,

svn commit: r351964 - stable/12/sbin/ping6

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 20:16:08 2019 New Revision: 351964 URL: https://svnweb.freebsd.org/changeset/base/351964 Log: MFC r350858-r350859, r350987, r351170 r350858: ping6: Add missing static keyword for a global variable This fixes -Wmissing-variable-declarations error when

svn commit: r351963 - head/tests/sys/fs/fusefs

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 19:50:45 2019 New Revision: 351963 URL: https://svnweb.freebsd.org/changeset/base/351963 Log: fusefs: coverity cleanup in the tests Address the following defects reported by Coverity: * Structurally dead code (CID 1404366): set m_quit before FAIL, not

svn commit: r351962 - stable/12/sbin/ping6

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 19:46:27 2019 New Revision: 351962 URL: https://svnweb.freebsd.org/changeset/base/351962 Log: MFC r350556: Capsicumize ping6 Add capsicum support to ping6, mostly copying the strategy used for ping. Submitted by: Ján Sučan Reviewed by: markj

svn commit: r351961 - head/sys/fs/fuse

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 19:40:11 2019 New Revision: 351961 URL: https://svnweb.freebsd.org/changeset/base/351961 Log: Coverity fixes in fusefs(5) CID 1404532 fixes a signed vs unsigned comparison error in fuse_vnop_bmap. It could potentially have resulted in VOP_BMAP reporting

svn commit: r351960 - stable/12/share/mk

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 19:36:41 2019 New Revision: 351960 URL: https://svnweb.freebsd.org/changeset/base/351960 Log: MFC r350453: Add a CXXWARNFLAGS variable Some warning flags are valid for C++ but not C. GCC 8 complains if you pass such flags when building a C file.

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

2019-09-06 Thread Toomas Soome
Author: tsoome Date: Fri Sep 6 19:30:23 2019 New Revision: 351959 URL: https://svnweb.freebsd.org/changeset/base/351959 Log: loader.efi: UEFI text mode background colors are only using 3 bits Need to mask background colors to pass allowed value. Modified:

svn commit: r351958 - stable/12/sys/kern

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 19:29:02 2019 New Revision: 351958 URL: https://svnweb.freebsd.org/changeset/base/351958 Log: MFC r350426: sendfile: don't panic when VOP_GETPAGES_ASYNC returns an error This is a partial merge of 350144 from projects/fuse2 PR: 236466

svn commit: r351957 - in stable/12/sys: kern sys

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 19:22:33 2019 New Revision: 351957 URL: https://svnweb.freebsd.org/changeset/base/351957 Log: MFC r350386, r350390 r350386: Add v_inval_buf_range, like vtruncbuf but for a range of a file v_inval_buf_range invalidates all buffers within a certain LBA

svn commit: r351955 - stable/12/lib/libc/gen

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 19:07:34 2019 New Revision: 351955 URL: https://svnweb.freebsd.org/changeset/base/351955 Log: MFC r350314: special-case getvfsbyname(3) for fusefs(5) fusefs file systems may have a fsname subtype (set by mount_fusefs's "-o subtype" option) that gets

svn commit: r351954 - head/share/mk

2019-09-06 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 6 19:05:01 2019 New Revision: 351954 URL: https://svnweb.freebsd.org/changeset/base/351954 Log: Use file destdir for stage_as sets We cannot use file (without :T) to name targets but we can use the destination directory (with / replaced by _) This has the

svn commit: r351953 - head/share/man/man8

2019-09-06 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Fri Sep 6 18:51:41 2019 New Revision: 351953 URL: https://svnweb.freebsd.org/changeset/base/351953 Log: rc.8: Update documentation regarding old-style rc scripts The EXAMPLES section does not contain any examples of output formats for the old-style

svn commit: r351952 - head/sys/netinet

2019-09-06 Thread Conrad Meyer
Author: cem Date: Fri Sep 6 18:33:39 2019 New Revision: 351952 URL: https://svnweb.freebsd.org/changeset/base/351952 Log: Fix build after r351934 tcp_queue_pkts() is only used if TCPHPTS is defined (and it is not by default). Reported by: gcc Modified:

svn commit: r351951 - head/sys/netinet

2019-09-06 Thread Randall Stewart
Author: rrs Date: Fri Sep 6 18:29:48 2019 New Revision: 351951 URL: https://svnweb.freebsd.org/changeset/base/351951 Log: This adds in the missing counter initialization which I had forgotten to bring over.. opps. Differential Revision: https://reviews.freebsd.org/D21127 Modified:

svn commit: r351950 - head/sys/netinet

2019-09-06 Thread Warner Losh
Author: imp Date: Fri Sep 6 18:25:42 2019 New Revision: 351950 URL: https://svnweb.freebsd.org/changeset/base/351950 Log: Initialize if_hw_tsomaxsegsize to 0 to appease gcc's flow analysis as a fail-safe. Modified: head/sys/netinet/tcp_output.c Modified: head/sys/netinet/tcp_output.c

svn commit: r351949 - stable/12/share/mk

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 18:23:00 2019 New Revision: 351949 URL: https://svnweb.freebsd.org/changeset/base/351949 Log: MFC r350291: Add c++14 and c++17 to COMPILER_FEATURES This will be used to gate the fusefs tests. It's a partial merge of r348281 from projects/fuse2.

svn commit: r351948 - stable/12/share/man/man9

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 18:14:14 2019 New Revision: 351948 URL: https://svnweb.freebsd.org/changeset/base/351948 Log: MFC r350268: VOP_FSYNC.9: update copyright after r345677 MFC-With: r345677 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r351947 - stable/12/sys/kern

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 18:11:39 2019 New Revision: 351947 URL: https://svnweb.freebsd.org/changeset/base/351947 Log: MFC r350227: [skip ci] Fix the comment for cache_purge(9) This is a merge of r348738 from projects/fuse2 Reviewed by: kib Sponsored by: The FreeBSD

svn commit: r351946 - stable/12/share/man/man5

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 18:10:03 2019 New Revision: 351946 URL: https://svnweb.freebsd.org/changeset/base/351946 Log: MFC r346186: fusefs: add a fusefs(5) man page PR: 233393 Reported by: tech-li...@zyxst.net Reviewed by: cem Sponsored by: The FreeBSD

svn commit: r351945 - stable/12/sys/fs/fuse

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 18:08:13 2019 New Revision: 351945 URL: https://svnweb.freebsd.org/changeset/base/351945 Log: MFC r345986: fusefs: fix a panic on mount Don't page fault if the file descriptor provided with "-o fd" is invalid. This is a merge of r345419 from the

svn commit: r351944 - stable/12/sys/fs/fuse

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 18:02:58 2019 New Revision: 351944 URL: https://svnweb.freebsd.org/changeset/base/351944 Log: MFC r345675, r345689 r345675: fusefs: convert debug printfs into dtrace probes fuse(4) was heavily instrumented with debug printf statements that could

svn commit: r351943 - stable/12/sys/fs/fuse

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 17:56:24 2019 New Revision: 351943 URL: https://svnweb.freebsd.org/changeset/base/351943 Log: MFC r344183-r344187, r344333-r344334, r344407, r344857, r344865 (by cem) r344183: FUSE: Respect userspace FS "do-not-cache" of file attributes The FUSE

svn commit: r351942 - in stable/12: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/net sys/dev/usb/template sys/modules/usb sys/modules/usb/cdceem sys/modules/usb/template

2019-09-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Sep 6 17:54:51 2019 New Revision: 351942 URL: https://svnweb.freebsd.org/changeset/base/351942 Log: MFC r350685: Add cdceem(4) driver, for virtual ethernet devices compliant with Communication Device Class Ethernet Emulation Model (CDC EEM). The driver supports

svn commit: r351941 - in stable/12: sbin/ping6 usr.sbin/mld6query usr.sbin/traceroute6

2019-09-06 Thread Alan Somers
Author: asomers Date: Fri Sep 6 17:43:00 2019 New Revision: 351941 URL: https://svnweb.freebsd.org/changeset/base/351941 Log: MFC r350225: Remove the USE_RFC2292BIS option and reap dead code This option was imported as part of the KAME project in r62627 (in 2000). It was turned on

svn commit: r351940 - in stable/12: . lib/libjail sbin/mount_fusefs sys/conf sys/fs/fuse sys/modules sys/modules/em sys/modules/fuse sys/modules/fusefs sys/modules/iavf

2019-09-06 Thread Alan Somers
Sep 6 17:21:21 2019(r351940) @@ -16,6 +16,12 @@ from older versions of FreeBSD, try WITHOUT_CLANG and the tip of head, and then rebuild without this option. The bootstrap process from older version of current across the gcc/clang cutover is a bit fragile. +20190906: + The fus

svn commit: r351939 - head/share/misc

2019-09-06 Thread Scott Long
Author: scottl Date: Fri Sep 6 17:06:48 2019 New Revision: 351939 URL: https://svnweb.freebsd.org/changeset/base/351939 Log: Add myself as a mentor for Scott Phillip (scottph) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot

svn commit: r351938 - head/contrib/llvm/lib/CodeGen

2019-09-06 Thread Dimitry Andric
Author: dim Date: Fri Sep 6 16:06:37 2019 New Revision: 351938 URL: https://svnweb.freebsd.org/changeset/base/351938 Log: Pull in r37 from upstream llvm trunk (by Eli Friedman): [IfConversion] Fix diamond conversion with unanalyzable branches. The code was incorrectly

svn commit: r351937 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-09-06 Thread Johannes Lundberg
Author: johalun Date: Fri Sep 6 15:43:53 2019 New Revision: 351937 URL: https://svnweb.freebsd.org/changeset/base/351937 Log: LinuxKPI: Improve sysfs support. - Add functions for creating and merging sysfs groups. - Add sysfs_streq function to compare strings ignoring newline from the

svn commit: r351936 - head/sbin/ggate/shared

2019-09-06 Thread Warner Losh
Author: imp Date: Fri Sep 6 15:01:47 2019 New Revision: 351936 URL: https://svnweb.freebsd.org/changeset/base/351936 Log: Fix typo not -> nor and add 'the' because we are talking about specific flags and make the punctuation parallel between the three cases. Submitted by: Yoshihiro

svn commit: r351935 - head/sys/netipsec

2019-09-06 Thread Fabien Thomas
Author: fabient Date: Fri Sep 6 14:30:23 2019 New Revision: 351935 URL: https://svnweb.freebsd.org/changeset/base/351935 Log: Fix broken window replay check that will allow old packet to be accepted. This was introduced in r309144. Submitted by: Jean-Francois HREN Approved by: ae@

svn commit: r351934 - in head/sys: netinet netinet/tcp_stacks sys

2019-09-06 Thread Randall Stewart
Author: rrs Date: Fri Sep 6 14:25:41 2019 New Revision: 351934 URL: https://svnweb.freebsd.org/changeset/base/351934 Log: This adds the final tweaks to LRO that will now allow me to add BBR. These changes make it so you can get an array of timestamps instead of a compressed ack/data

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

2019-09-06 Thread Ian Lepore
On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: > On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: > > On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > > > Author: philip > > > Date: Fri Sep 6 01:19:31 2019 > > > New Revision: 351918 > > > URL:

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

2019-09-06 Thread Ruslan Bukin
On Fri, Sep 06, 2019 at 12:15:07PM +0800, Philip Paeps wrote: > On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: > > On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > >> Author: philip > >> Date: Fri Sep 6 01:19:31 2019 > >> New Revision: 351918 > >> URL:

svn commit: r351933 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-09-06 Thread Andriy Gapon
Author: avg Date: Fri Sep 6 12:29:51 2019 New Revision: 351933 URL: https://svnweb.freebsd.org/changeset/base/351933 Log: MFC r351593: zfs_ioc_snapshot: check user-prop permissions on snapshotted datasets Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c

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

2019-09-06 Thread Andriy Gapon
Author: avg Date: Fri Sep 6 12:27:47 2019 New Revision: 351932 URL: https://svnweb.freebsd.org/changeset/base/351932 Log: MFC r351593: zfs_ioc_snapshot: check user-prop permissions on snapshotted datasets Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c

svn commit: r351931 - head/share/mk

2019-09-06 Thread Emmanuel Vadot
Author: manu Date: Fri Sep 6 12:26:45 2019 New Revision: 351931 URL: https://svnweb.freebsd.org/changeset/base/351931 Log: pkgbase: r351861 didn't solve everything, we need to default to the utilities package too Modified: head/share/mk/bsd.files.mk Modified: head/share/mk/bsd.files.mk

svn commit: r351930 - in head: share/man/man4 sys/dev/acpi_support

2019-09-06 Thread Takanori Watanabe
Author: takawata Date: Fri Sep 6 10:12:05 2019 New Revision: 351930 URL: https://svnweb.freebsd.org/changeset/base/351930 Log: Add embedded Managed Object Format blob access to acpi_wmi(4). This blob is can be converted to human readable form by bmfdec. (http://github.com/pali/bmfdec)

Re: svn commit: r351831 - in head: . stand/efi/boot1 stand/efi/gptboot tools/build/mk

2019-09-06 Thread Andrew Turner
> On 4 Sep 2019, at 21:55, Rebecca Cran wrote: > > Author: bcran > Date: Wed Sep 4 20:55:48 2019 > New Revision: 351831 > URL: https://svnweb.freebsd.org/changeset/base/351831 > > Log: > The efifat files are no longer used: remove the code to build them I use them in a Jenkins instance to

svn commit: r351929 - head/sys/ufs/ffs

2019-09-06 Thread Conrad Meyer
Author: cem Date: Fri Sep 6 08:08:33 2019 New Revision: 351929 URL: https://svnweb.freebsd.org/changeset/base/351929 Log: ufs: Remove redundant brelse() after r294954 Same automation. No functional change. Modified: head/sys/ufs/ffs/ffs_alloc.c head/sys/ufs/ffs/ffs_balloc.c

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

2019-09-06 Thread Conrad Meyer
Author: cem Date: Fri Sep 6 08:08:10 2019 New Revision: 351928 URL: https://svnweb.freebsd.org/changeset/base/351928 Log: msdosfs: Remove redundant brelse() after r294954 Same automation. No functional change. Modified: head/sys/fs/msdosfs/msdosfs_fat.c

svn commit: r351927 - head/sys/fs/cd9660

2019-09-06 Thread Conrad Meyer
Author: cem Date: Fri Sep 6 08:07:36 2019 New Revision: 351927 URL: https://svnweb.freebsd.org/changeset/base/351927 Log: cd9660: Remove redundant brelse() after r294954 Same automation. No functional change. Modified: head/sys/fs/cd9660/cd9660_vfsops.c

svn commit: r351926 - head/sys/fs/ext2fs

2019-09-06 Thread Conrad Meyer
Author: cem Date: Fri Sep 6 08:07:12 2019 New Revision: 351926 URL: https://svnweb.freebsd.org/changeset/base/351926 Log: ext2fs: Remove redundant brelse() after r294954 Coccinelle: @ rule1 @ identifier __error; @@ ... int __error; ... @ rule2 depends on rule1 @