svn commit: r365358 - head/usr.bin/script

2020-09-04 Thread Warner Losh
Author: imp Date: Sat Sep 5 04:20:29 2020 New Revision: 365358 URL: https://svnweb.freebsd.org/changeset/base/365358 Log: Fix typo in comment. Noticed by: bapt@ Modified: head/usr.bin/script/script.c Modified: head/usr.bin/script/script.c ===

Re: svn commit: r365071 - in head/sys: net net/altq net/route net80211 netgraph netgraph/atm netgraph/atm/ccatm netgraph/atm/sscfu netgraph/atm/sscop netgraph/atm/uni netgraph/bluetooth/common netgrap

2020-09-04 Thread Warner Losh
On Fri, Sep 4, 2020, 7:05 PM Mark Linimon wrote: > On Fri, Sep 04, 2020 at 02:15:04PM -0400, Andrew Gallatin wrote: > > and I also anticipate it will cause problems with MFCs > > And existing PRs and DRs. > Or we could just not bother we these changes at all. It's a pipe dream we will ever be st

Re: svn commit: r365071 - in head/sys: net net/altq net/route net80211 netgraph netgraph/atm netgraph/atm/ccatm netgraph/atm/sscfu netgraph/atm/sscop netgraph/atm/uni netgraph/bluetooth/common netgrap

2020-09-04 Thread Mark Linimon
On Fri, Sep 04, 2020 at 02:15:04PM -0400, Andrew Gallatin wrote: > and I also anticipate it will cause problems with MFCs And existing PRs and DRs. mcl ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To

svn commit: r365355 - head/sys/rpc

2020-09-04 Thread Rick Macklem
Author: rmacklem Date: Sat Sep 5 00:50:52 2020 New Revision: 365355 URL: https://svnweb.freebsd.org/changeset/base/365355 Log: Fix a potential memory leak in the NFS over TLS handling code. For the TLS case where there is a "user@domain" name specified in the X.509 v3 certificate present

svn commit: r365354 - head/libexec/rc/rc.d

2020-09-04 Thread Xin LI
Author: delphij Date: Sat Sep 5 00:45:46 2020 New Revision: 365354 URL: https://svnweb.freebsd.org/changeset/base/365354 Log: Declare dependency relationship once instead of twice for zpool and zvol. Modified: head/libexec/rc/rc.d/zpool Modified: head/libexec/rc/rc.d/zpool ===

svn commit: r365351 - head/sys/kern

2020-09-04 Thread Chuck Silvers
Author: chs Date: Sat Sep 5 00:26:03 2020 New Revision: 365351 URL: https://svnweb.freebsd.org/changeset/base/365351 Log: vfs: avoid exposing partially constructed vnodes If multiple threads race calling vfs_hash_insert() while creating vnodes with the same identity, all of the vnodes wh

svn commit: r365350 - head/sys/netinet/tcp_stacks

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 5 00:20:32 2020 New Revision: 365350 URL: https://svnweb.freebsd.org/changeset/base/365350 Log: bbr: remove unused static function bbr_log_type_hrdwtso() is a file local static unused function. Remove it to avoid warnings on kernel compiles. Reviewed by: ga

svn commit: r365349 - head/sys/kern

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 5 00:19:40 2020 New Revision: 365349 URL: https://svnweb.freebsd.org/changeset/base/365349 Log: uipc_ktls: remove unused static function m_segments() was added with r363464 but never used. Remove it to avoid warnings when compiling kernels. Reported by: rma

svn commit: r365348 - head/libexec/rc/rc.d

2020-09-04 Thread Xin LI
Author: delphij Date: Fri Sep 4 23:36:43 2020 New Revision: 365348 URL: https://svnweb.freebsd.org/changeset/base/365348 Log: Make zpool on GELI work again. After OpenZFS import, zpool auto import behavior was moved to an explicit "zpool import -a", and the zpool rc.d script was added

svn commit: r365347 - in head: lib/libbe sys/conf sys/contrib/openzfs sys/contrib/openzfs/cmd/zfs sys/contrib/openzfs/config sys/contrib/openzfs/etc/systemd/system sys/contrib/openzfs/etc/systemd/s...

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 22:25:14 2020 New Revision: 365347 URL: https://svnweb.freebsd.org/changeset/base/365347 Log: ZFS: MFV 2.0-rc1-gfd20a8 - fixes jail delegation - fixes raw kstat unsupported complaints - exposes dbgmsg, dbuf, and checksum benchmark stats - restore rename

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

2020-09-04 Thread Brooks Davis
Author: brooks Date: Fri Sep 4 21:55:22 2020 New Revision: 365344 URL: https://svnweb.freebsd.org/changeset/base/365344 Log: Round TF_SIZE up to the stack alignment (16-bytes). The kernel adjusts the stack by TF_SIZE and the RISC-V ABI requires that it remain 16-byte aligned. Report

svn commit: r365342 - head/libexec/rtld-elf/riscv

2020-09-04 Thread Brooks Davis
Author: brooks Date: Fri Sep 4 21:46:10 2020 New Revision: 365342 URL: https://svnweb.freebsd.org/changeset/base/365342 Log: Maintain a stack alignment of 16-bytes. This violated the RISC-V 64-bit ABI. On CheriBSD this manifested as a trap when attempting to store 16-byte aligned types

svn commit: r365338 - head/sys/fs/tmpfs

2020-09-04 Thread Mateusz Guzik
Author: mjg Date: Fri Sep 4 19:30:15 2020 New Revision: 365338 URL: https://svnweb.freebsd.org/changeset/base/365338 Log: tmpfs: drop spurious cache_purge in tmpfs_reclaim vgone already performs it. Modified: head/sys/fs/tmpfs/tmpfs_vnops.c Modified: head/sys/fs/tmpfs/tmpfs_vnops.c ===

svn commit: r365337 - head/tests/sys/kern

2020-09-04 Thread Li-Wen Hsu
Author: lwhsu Date: Fri Sep 4 19:24:27 2020 New Revision: 365337 URL: https://svnweb.freebsd.org/changeset/base/365337 Log: Initialize len to avoid ENOMEM from sysctl(3). PR: 248933 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/kern/kern_copyin.c Modified: h

Re: svn commit: r365071 - in head/sys: net net/altq net/route net80211 netgraph netgraph/atm netgraph/atm/ccatm netgraph/atm/sscfu netgraph/atm/sscop netgraph/atm/uni netgraph/bluetooth/common netgrap

2020-09-04 Thread Mateusz Guzik
On 9/4/20, Andrew Gallatin wrote: > On 2020-09-02 22:42, Alexey Dokuchaev wrote: > >>> I want to understand which rules have to be followed (and why). >> >> In general, FreeBSD code we write should follow style(9); it specifically >> mentions "do not add whitespace at the end of a line" and "... f

svn commit: r365336 - head/sys/modules/zfs

2020-09-04 Thread Mark Johnston
Author: markj Date: Fri Sep 4 18:55:03 2020 New Revision: 365336 URL: https://svnweb.freebsd.org/changeset/base/365336 Log: Stop setting DEBUG_FLAGS in the zfs.ko Makefile. Rely on system settings to decide whether or not to build with debug symbols and extract them to a separate file.

svn commit: r365335 - head/sys/dev/usb/storage

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 4 18:29:59 2020 New Revision: 365335 URL: https://svnweb.freebsd.org/changeset/base/365335 Log: umass: enhance debugging Investigating a hang I found having some more error information available would be helpful, so be more verbose and also tell cam/xpt status

svn commit: r365334 - head/sys/dev/usb/storage

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 4 18:26:35 2020 New Revision: 365334 URL: https://svnweb.freebsd.org/changeset/base/365334 Log: umass: fix a cam_sim leak in error case While debugging a hang I noticed that in case of error in umass_cam_attach_sim() we miss a cam_sim_free() call. Added that to

Re: svn commit: r365071 - in head/sys: net net/altq net/route net80211 netgraph netgraph/atm netgraph/atm/ccatm netgraph/atm/sscfu netgraph/atm/sscop netgraph/atm/uni netgraph/bluetooth/common netgrap

2020-09-04 Thread Brandon Bergren
On Fri, Sep 4, 2020, at 1:15 PM, Andrew Gallatin wrote: > Rather than doing more sweeps like this, is it possible to > come up with a clang-format rule that's 95% of style(9), do > just one more sweep of the tree to apply that rule, add that > rule as a pre-commit hook, and be done forever with

svn commit: r365333 - head/sys/cam

2020-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 4 18:18:05 2020 New Revision: 365333 URL: https://svnweb.freebsd.org/changeset/base/365333 Log: cam_sim: harmonize code related to acquiring a mtx cam_sim_free(), cam_sim_release(), and cam_sim_hold() all assign a mtx variable during declaration and then if NULL

Re: svn commit: r365071 - in head/sys: net net/altq net/route net80211 netgraph netgraph/atm netgraph/atm/ccatm netgraph/atm/sscfu netgraph/atm/sscop netgraph/atm/uni netgraph/bluetooth/common netgrap

2020-09-04 Thread Andrew Gallatin
On 2020-09-02 22:42, Alexey Dokuchaev wrote: I want to understand which rules have to be followed (and why). In general, FreeBSD code we write should follow style(9); it specifically mentions "do not add whitespace at the end of a line" and "... followed by one blank line" but doesn't go as fa

svn commit: r365332 - in head/sys: conf contrib/dev/ice modules/ice_ddp

2020-09-04 Thread Eric Joyner
Author: erj Date: Fri Sep 4 17:37:58 2020 New Revision: 365332 URL: https://svnweb.freebsd.org/changeset/base/365332 Log: ice_ddp: Update package file to 1.3.16.0 This package is intended to be used with ice(4) version 0.26.16. That update will happen in a forthcoming commit. MFC af

svn commit: r365331 - head/sys/kern

2020-09-04 Thread Andrew Gallatin
Author: gallatin Date: Fri Sep 4 17:36:15 2020 New Revision: 365331 URL: https://svnweb.freebsd.org/changeset/base/365331 Log: ktls: Check for a NULL send tag in ktls_cleanup() When using ifnet ktls, and when ktls_reset_send_tag() fails to allocate a replacement tag, it leaves the tls

svn commit: r365328 - head/usr.bin/fortune/datfiles

2020-09-04 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Sep 4 13:05:00 2020 New Revision: 365328 URL: https://svnweb.freebsd.org/changeset/base/365328 Log: fortune(6): Grammar fix for a hint on searching ports PR: 249078 Submitted by: PauAmma Reported by: PauAmma MFC after:3 days Mod

svn commit: r365327 - head/tests/sys/kern

2020-09-04 Thread Konstantin Belousov
Author: kib Date: Fri Sep 4 12:52:16 2020 New Revision: 365327 URL: https://svnweb.freebsd.org/changeset/base/365327 Log: Fix kern_copyin test. Main part is that kern_copyin on amd64 after LA57 should query the top of UVA for correct operations. In fact it should started doing that aft