svn commit: r351246 - in stable: 11/sys/opencrypto 12/sys/opencrypto

2019-08-19 Thread John Baldwin
Author: jhb Date: Tue Aug 20 01:30:35 2019 New Revision: 351246 URL: https://svnweb.freebsd.org/changeset/base/351246 Log: MFC 348876: Add warnings to /dev/crypto for deprecated algorithms. These algorithms are deprecated algorithms that will have no in-kernel consumers in FreeBSD 13. Sp

svn commit: r351246 - in stable: 11/sys/opencrypto 12/sys/opencrypto

2019-08-19 Thread John Baldwin
Author: jhb Date: Tue Aug 20 01:30:35 2019 New Revision: 351246 URL: https://svnweb.freebsd.org/changeset/base/351246 Log: MFC 348876: Add warnings to /dev/crypto for deprecated algorithms. These algorithms are deprecated algorithms that will have no in-kernel consumers in FreeBSD 13. Sp

svn commit: r351245 - in head/sys/powerpc: booke include

2019-08-19 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 20 01:26:02 2019 New Revision: 351245 URL: https://svnweb.freebsd.org/changeset/base/351245 Log: powerpc: Link Book-E kernels at the same address as AIM kernels Summary: Reduce the diff between AIM and Book-E even more. This also cleans up vmparam.h signi

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

2019-08-19 Thread Stephen J. Kiernan
Author: stevek Date: Tue Aug 20 01:06:43 2019 New Revision: 351244 URL: https://svnweb.freebsd.org/changeset/base/351244 Log: usb_ethernet.h includes a number of mii headers, but only does so in order to have struct mii_data available. However, it only really needs a forward declaration of s

svn commit: r351243 - in stable: 11/sys/kgssapi/krb5 12/sys/kgssapi/krb5

2019-08-19 Thread John Baldwin
Author: jhb Date: Tue Aug 20 00:50:17 2019 New Revision: 351243 URL: https://svnweb.freebsd.org/changeset/base/351243 Log: MFC 348875: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. All of these algorithms are explicitly marked SHOULD NOT in one of these RFCs

svn commit: r351243 - in stable: 11/sys/kgssapi/krb5 12/sys/kgssapi/krb5

2019-08-19 Thread John Baldwin
Author: jhb Date: Tue Aug 20 00:50:17 2019 New Revision: 351243 URL: https://svnweb.freebsd.org/changeset/base/351243 Log: MFC 348875: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. All of these algorithms are explicitly marked SHOULD NOT in one of these RFCs

svn commit: r351242 - in stable: 11/sys/kern 12/sys/kern

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 23:57:37 2019 New Revision: 351242 URL: https://svnweb.freebsd.org/changeset/base/351242 Log: MFC 349616: Fix description of debug.obsolete_panic. Modified: stable/12/sys/kern/subr_bus.c Directory Properties: stable/12/ (props changed) Changes in other areas

svn commit: r351242 - in stable: 11/sys/kern 12/sys/kern

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 23:57:37 2019 New Revision: 351242 URL: https://svnweb.freebsd.org/changeset/base/351242 Log: MFC 349616: Fix description of debug.obsolete_panic. Modified: stable/11/sys/kern/subr_bus.c Directory Properties: stable/11/ (props changed) Changes in other areas

svn commit: r351241 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern vm

2019-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 23:09:38 2019 New Revision: 351241 URL: https://svnweb.freebsd.org/changeset/base/351241 Log: Use an atomic reference count for paging in progress so that callers do not require the object lock. Reviewed by: markj Tested by:pho (as part of a larger bra

svn commit: r351240 - head/sys/gdb

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 23:01:59 2019 New Revision: 351240 URL: https://svnweb.freebsd.org/changeset/base/351240 Log: Fix stylistic nit in r351239 Meant to fix this before committing, but forgot. Modified: head/sys/gdb/gdb_main.c Modified: head/sys/gdb/gdb_main.c ==

svn commit: r351239 - head/sys/gdb

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 22:58:30 2019 New Revision: 351239 URL: https://svnweb.freebsd.org/changeset/base/351239 Log: gdb(4): Support "qC" query Sometimes GDB gets confused about what the current thread is. When it does, it asks the remote: "Who am I?" Answer it. Modified: h

svn commit: r351238 - head/sys/gdb

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 22:57:03 2019 New Revision: 351238 URL: https://svnweb.freebsd.org/changeset/base/351238 Log: gdb(4): Pack 'info threads' responses into fewer packets We suffer at least one round trip ACK latency every command / packet that GDB has to send and receive, and th

svn commit: r351237 - in head/sys: conf libkern sys

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 22:53:05 2019 New Revision: 351237 URL: https://svnweb.freebsd.org/changeset/base/351237 Log: libkern: Implement strchrnul(3) Added: head/sys/libkern/strchrnul.c (contents, props changed) Modified: head/sys/conf/files head/sys/sys/libkern.h Modified: head/s

svn commit: r351236 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 22:31:04 2019 New Revision: 351236 URL: https://svnweb.freebsd.org/changeset/base/351236 Log: MFC 349467: Hold an explicit reference on the socket for the aiotx task. Previously, the aiotx task relied on the aio jobs in the queue to hold a reference on the soc

svn commit: r351236 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 22:31:04 2019 New Revision: 351236 URL: https://svnweb.freebsd.org/changeset/base/351236 Log: MFC 349467: Hold an explicit reference on the socket for the aiotx task. Previously, the aiotx task relied on the aio jobs in the queue to hold a reference on the soc

svn commit: r351235 - head/sys/vm

2019-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 22:25:28 2019 New Revision: 351235 URL: https://svnweb.freebsd.org/changeset/base/351235 Log: Permit vm_pager_has_page() to run with a shared lock. Introduce VM_OBJECT_DROP/VM_OBJECT_PICKUP to handle functions that are called with uncertain lock state. Rev

svn commit: r351234 - in stable: 11/sys/vm 12/sys/vm

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 21:59:02 2019 New Revision: 351234 URL: https://svnweb.freebsd.org/changeset/base/351234 Log: MFC 348874: Remove an overly-aggressive assertion. While it is true that the new vmspace passed to vmspace_switch_aio will always have a valid reference due to the AI

svn commit: r351234 - in stable: 11/sys/vm 12/sys/vm

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 21:59:02 2019 New Revision: 351234 URL: https://svnweb.freebsd.org/changeset/base/351234 Log: MFC 348874: Remove an overly-aggressive assertion. While it is true that the new vmspace passed to vmspace_switch_aio will always have a valid reference due to the AI

svn commit: r351233 - head/sys/dev/sound/pci/hda

2019-08-19 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 19 21:45:25 2019 New Revision: 351233 URL: https://svnweb.freebsd.org/changeset/base/351233 Log: Partially revert the previous commit. It was an experiment and not meant to be committed. :-( Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified: head/sy

svn commit: r351232 - head/usr.sbin/makefs

2019-08-19 Thread Ed Maste
Author: emaste Date: Mon Aug 19 21:38:10 2019 New Revision: 351232 URL: https://svnweb.freebsd.org/changeset/base/351232 Log: makefs.8: expand description of image size Submitted by: ryan_freqlabs.com, Siva Mahadevan Differential Revision:https://reviews.freebsd.org/D21316 Modifi

svn commit: r351231 - head/sys/dev/sound/pci/hda

2019-08-19 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 19 21:30:12 2019 New Revision: 351231 URL: https://svnweb.freebsd.org/changeset/base/351231 Log: Fix sound on headset jack for Lenovo Thinkpad X1 Carbon Gen 6 (model 20KH). Note this commit was inspired by r350433. MFC after:2 weeks Modified: head/sys/

svn commit: r351230 - head/usr.sbin/makefs

2019-08-19 Thread Ed Maste
Author: emaste Date: Mon Aug 19 21:21:32 2019 New Revision: 351230 URL: https://svnweb.freebsd.org/changeset/base/351230 Log: makefs.8: style updates from igor Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/makefs/makefs.8 Modified: head/usr.sbin/makefs/makefs.8 ==

svn commit: r351229 - head/sys/net

2019-08-19 Thread Kyle Evans
Author: kevans Date: Mon Aug 19 19:01:59 2019 New Revision: 351229 URL: https://svnweb.freebsd.org/changeset/base/351229 Log: tuntap: belatedly add MODULE_VERSION for if_tun and if_tap When tun/tap were merged, appropriate MODULE_VERSION should have been added for things like modfind(2) t

svn commit: r351228 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 18:50:56 2019 New Revision: 351228 URL: https://svnweb.freebsd.org/changeset/base/351228 Log: MFC 348791: Fix debug trace after removal of pdu_overhead. Modified: stable/12/sys/dev/cxgbe/tom/t4_tls.c Directory Properties: stable/12/ (props changed) Changes in

svn commit: r351228 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 18:50:56 2019 New Revision: 351228 URL: https://svnweb.freebsd.org/changeset/base/351228 Log: MFC 348791: Fix debug trace after removal of pdu_overhead. Modified: stable/11/sys/dev/cxgbe/tom/t4_tls.c Directory Properties: stable/11/ (props changed) Changes in

svn commit: r351227 - head/sys/mips/include

2019-08-19 Thread Kyle Evans
Author: kevans Date: Mon Aug 19 18:15:17 2019 New Revision: 351227 URL: https://svnweb.freebsd.org/changeset/base/351227 Log: mips: avoid empty mdproc struct Compiling with a more modern toolchain than GCC 4.2 in base warns about the empty struct. Take a hint and comment from r350902+r350

svn commit: r351226 - head/sbin/ping

2019-08-19 Thread Alan Somers
Author: asomers Date: Mon Aug 19 17:54:40 2019 New Revision: 351226 URL: https://svnweb.freebsd.org/changeset/base/351226 Log: Fix uninitialized variable warnings when MK_CASPER=no Submitted by: Ján Sučan MFC after:2 weeks Sponsored by: Google, inc. (Google Summer of Code 2019) D

svn commit: r351225 - in head/sys/dev: acpica nvdimm

2019-08-19 Thread D Scott Phillips
Author: scottph Date: Mon Aug 19 17:51:06 2019 New Revision: 351225 URL: https://svnweb.freebsd.org/changeset/base/351225 Log: Don't set the string "unknown" as a device's location_str Return an empty string when the location is unknown instead of the string "unknown". This ensures that a

svn commit: r351224 - head/share/man/man9

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 17:28:12 2019 New Revision: 351224 URL: https://svnweb.freebsd.org/changeset/base/351224 Log: Trim a spurious blank line I added in r348969. I did not bump .Dd since there is no content change. MFC after:3 days Modified: head/share/man/man9/sysctl.9

svn commit: r351223 - head/sbin/ping

2019-08-19 Thread Alan Somers
Author: asomers Date: Mon Aug 19 17:28:12 2019 New Revision: 351223 URL: https://svnweb.freebsd.org/changeset/base/351223 Log: ping: fix -Wformat-truncating warning with GCC Increase buffer size for the string representation of n_time ICMP timestamp is a 32-bit number. In pr_ntime(), n

svn commit: r351222 - in stable: 11/share/man/man9 12/share/man/man9

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 17:27:06 2019 New Revision: 351222 URL: https://svnweb.freebsd.org/changeset/base/351222 Log: MFC 348969: Document sysctl nodes that translate their values. This documents the behavior of sysctl_msec_to_ticks. The MFC does not document SYSCTL_{ADD,}_SBINTIM

svn commit: r351222 - in stable: 11/share/man/man9 12/share/man/man9

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 17:27:06 2019 New Revision: 351222 URL: https://svnweb.freebsd.org/changeset/base/351222 Log: MFC 348969: Document sysctl nodes that translate their values. This documents the behavior of sysctl_msec_to_ticks. The MFC does not document SYSCTL_{ADD,}_SBINTIM

svn commit: r351221 - head/share/man/man4

2019-08-19 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Aug 19 17:26:04 2019 New Revision: 351221 URL: https://svnweb.freebsd.org/changeset/base/351221 Log: link ptnet(4) man page to the build system Reported by: kevans Reviewed by: kevans, bcr MFC after:1 week Differential Revision:https://reviews

svn commit: r351220 - head/sys/net

2019-08-19 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Aug 19 17:23:22 2019 New Revision: 351220 URL: https://svnweb.freebsd.org/changeset/base/351220 Log: if_tuntap: minor improvements Rewrite a loop to avoid duplicating the exit condition. Simplify mask processing in tunpoll(). Fix minor typos. Reviewed by

svn commit: r351219 - head/sys/netinet/netdump

2019-08-19 Thread Mark Johnston
Author: markj Date: Mon Aug 19 16:29:51 2019 New Revision: 351219 URL: https://svnweb.freebsd.org/changeset/base/351219 Log: Fix netdump buffering after r348473. nd_buf is used to buffer headers (for both the kernel dump itself and for EKCD) before the final call to netdump_dumper(), whic

svn commit: r351218 - head/sys/arm/ti

2019-08-19 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 19 14:33:22 2019 New Revision: 351218 URL: https://svnweb.freebsd.org/changeset/base/351218 Log: ti: sdhci: Correct voltage caps ti,dual-volt property say that the eMMC support 1.8V and 3.3V not 3.0V Use the correct caps for the mmc stack. Note that the MMCHS_

svn commit: r351217 - head/sys/arm/mv

2019-08-19 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 19 14:28:54 2019 New Revision: 351217 URL: https://svnweb.freebsd.org/changeset/base/351217 Log: arm64: a37x0_gpio: Use syscon instead of MMIO region The fdt node for this driver is a simple-mfd and syscon compatible one meaning that simplemfd will be the driver

svn commit: r351216 - head/sbin/ping6

2019-08-19 Thread Alan Somers
Author: asomers Date: Mon Aug 19 14:20:26 2019 New Revision: 351216 URL: https://svnweb.freebsd.org/changeset/base/351216 Log: ping6: revert r350857 Some socket options require root privileges to set. The old code did indeed drop privileges at the earliest opportunity. Submitted by:

svn commit: r351215 - head/sys/kern

2019-08-19 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 19 14:11:54 2019 New Revision: 351215 URL: https://svnweb.freebsd.org/changeset/base/351215 Log: vfs: fix up r351193 ("stop always overwriting ->mnt_stat in VFS_STATFS") fs-specific part of vfs_statfs routines only fill in small portion of the structure. Previous

Re: svn commit: r351200 - in head/sys: amd64/amd64 dev/acpica

2019-08-19 Thread Andrew Gallatin
On 2019-08-18 19:44, Jeff Roberson wrote: Author: jeff Date: Sun Aug 18 23:44:23 2019 New Revision: 351200 <..> Log: Allocate all per-cpu datastructures in domain correct memory. Reviewed by: kib, gallatin (some objections) No objection to what you actually committed. The only obj

svn commit: r351214 - head/sys/kern

2019-08-19 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 19 12:42:03 2019 New Revision: 351214 URL: https://svnweb.freebsd.org/changeset/base/351214 Log: Use TAILQ_FOREACH_SAFE() macro to avoid use after free in soclose(). PR: 239893 MFC after:1 week Modified: head/sys/kern/uipc_socket.c Modified: head

svn commit: r351213 - head/sys/kern

2019-08-19 Thread Andriy Gapon
Author: avg Date: Mon Aug 19 11:18:36 2019 New Revision: 351213 URL: https://svnweb.freebsd.org/changeset/base/351213 Log: assert that td_lk_slocks is not leaked upon return from kernel This is similar to checks for td_sx_slocks and td_rw_rlocks. Although td_lk_slocks is an implementation

svn commit: r351212 - in head: . tests/sys/netpfil/common tests/sys/netpfil/pf

2019-08-19 Thread Kristof Provost
Author: kp Date: Mon Aug 19 10:48:27 2019 New Revision: 351212 URL: https://svnweb.freebsd.org/changeset/base/351212 Log: netpfil tests: Move pft_ping.py and sniffer.py to the common test directory The pft_ping.py and sniffer.py tool is moved from tests/sys/netpfil/pf to tests/sys/netpfil

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

2019-08-19 Thread Konstantin Belousov
Author: kib Date: Mon Aug 19 09:33:09 2019 New Revision: 351211 URL: https://svnweb.freebsd.org/changeset/base/351211 Log: sys.kern.pdeathsig.signal_delivered_ptrace: fix startup. Inform D that C executed procctl(PROC_PDEATHSIG_CTL). Otherwise D might allow B to exit before C is set up t

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

2019-08-19 Thread Konstantin Belousov
Author: kib Date: Mon Aug 19 09:29:27 2019 New Revision: 351210 URL: https://svnweb.freebsd.org/changeset/base/351210 Log: sys.kern.pdeathsig.signal_delivered_ptrace: fix debugger detach ptrace(PT_DETACH) requires stopped debuggee, otherwise it fails. When the call fails, the C process i

svn commit: r351209 - stable/11/cddl/contrib/opensolaris/cmd/zfs

2019-08-19 Thread Andriy Gapon
Author: avg Date: Mon Aug 19 07:47:09 2019 New Revision: 351209 URL: https://svnweb.freebsd.org/changeset/base/351209 Log: MFC r350893: Allow ZVOL bookmarks to be listed recursively PR: 197821 Modified: stable/11/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c Directory Properties:

svn commit: r351208 - stable/12/cddl/contrib/opensolaris/cmd/zfs

2019-08-19 Thread Andriy Gapon
Author: avg Date: Mon Aug 19 07:45:39 2019 New Revision: 351208 URL: https://svnweb.freebsd.org/changeset/base/351208 Log: MFC r350893: Allow ZVOL bookmarks to be listed recursively PR: 197821 Modified: stable/12/cddl/contrib/opensolaris/cmd/zfs/zfs_iter.c Directory Properties:

svn commit: r351207 - stable/11/share/man/man8

2019-08-19 Thread Andriy Gapon
Author: avg Date: Mon Aug 19 07:42:09 2019 New Revision: 351207 URL: https://svnweb.freebsd.org/changeset/base/351207 Log: MFC r350701,r350702: rc.8: add a reference to service(8) Modified: stable/11/share/man/man8/rc.8 Directory Properties: stable/11/ (props changed) Modified: stable/11

svn commit: r351206 - stable/12/share/man/man8

2019-08-19 Thread Andriy Gapon
Author: avg Date: Mon Aug 19 07:40:42 2019 New Revision: 351206 URL: https://svnweb.freebsd.org/changeset/base/351206 Log: MFC r350701,r350702: rc.8: add a reference to service(8) Modified: stable/12/share/man/man8/rc.8 Directory Properties: stable/12/ (props changed) Modified: stable/12