Re: svn commit: r348090 - in head/libexec/bootpd: . bootpgw

2019-05-21 Thread Rodney W. Grimes
> Author: markj > Date: Wed May 22 04:13:57 2019 > New Revision: 348090 > URL: https://svnweb.freebsd.org/changeset/base/348090 > > Log: > Marginally improve usage() message style in bootpd. > > - Remove an extra space after "usage:". > - Avoid lines exceeding 80 columns. > > Based

svn commit: r348076 - head/sys/sys

2019-05-21 Thread Conrad Meyer
Author: cem Date: Wed May 22 00:21:42 2019 New Revision: 348076 URL: https://svnweb.freebsd.org/changeset/base/348076 Log: Revert r348070 Konstantin points out that lockmgr probably requires the whole lock.h anyway. Requested by: kib Modified: head/sys/sys/lockmgr.h Modified:

svn commit: r348080 - head/cddl/usr.sbin/dtrace/tests/tools

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:10:23 2019 New Revision: 348080 URL: https://svnweb.freebsd.org/changeset/base/348080 Log: Make it possible to generate makefiles for arch-dependent DTrace tests. MFC after:1 week Event:Waterloo Hackathon 2019 Modified:

svn commit: r348081 - in head: cddl/usr.sbin/dtrace/tests cddl/usr.sbin/dtrace/tests/i386 cddl/usr.sbin/dtrace/tests/i386/arrays cddl/usr.sbin/dtrace/tests/i386/funcs cddl/usr.sbin/dtrace/tests/i38...

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:42:03 2019 New Revision: 348081 URL: https://svnweb.freebsd.org/changeset/base/348081 Log: Hook up the existing i386 DTrace tests to the build. Now that it's relatively easy to do so, we might as well. MFC after:1 week Event:

svn commit: r348091 - head/sys/dev/aacraid

2019-05-21 Thread Maxim Sobolev
Author: sobomax Date: Wed May 22 04:51:08 2019 New Revision: 348091 URL: https://svnweb.freebsd.org/changeset/base/348091 Log: Make aacraid(4) working on ASR8805 & ASR8402 in particular. This patch has been in the PR system for 5 months and then on reviews for another 5. Nobody came with

svn commit: r348077 - head/lib/libc/sys

2019-05-21 Thread Alan Somers
Author: asomers Date: Wed May 22 01:11:21 2019 New Revision: 348077 URL: https://svnweb.freebsd.org/changeset/base/348077 Log: Link fhlinkat(2) man page Reviewed by: kib MFC after:3 days MFC-With: r341689 Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r348078 - head/usr.sbin/pmc

2019-05-21 Thread Conrad Meyer
Author: cem Date: Wed May 22 01:22:33 2019 New Revision: 348078 URL: https://svnweb.freebsd.org/changeset/base/348078 Log: pmc: Fix stack std::string lifetime It's invalid to reference a C++ string's c_str() buffer after the object goes out of scope. Adjust the scope of the string to

svn commit: r348083 - head/sbin/dumpon

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:52:39 2019 New Revision: 348083 URL: https://svnweb.freebsd.org/changeset/base/348083 Log: Update the example added in r348082 to specify a dump device priority. Event:Waterloo Hackathon 2019 Modified: head/sbin/dumpon/dumpon.8 Modified:

svn commit: r348082 - head/sbin/dumpon

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 03:49:38 2019 New Revision: 348082 URL: https://svnweb.freebsd.org/changeset/base/348082 Log: Provide an example of using dhclient-script(5) to configure netdump. Reviewed by: cem MFC after:1 week Event:Waterloo Hackathon 2019

svn commit: r348079 - head/sys/powerpc/booke

2019-05-21 Thread Justin Hibbits
Author: jhibbits Date: Wed May 22 02:43:17 2019 New Revision: 348079 URL: https://svnweb.freebsd.org/changeset/base/348079 Log: powerpc/booke: Use wrtee instead of msr to restore EE bit The MSR[EE] bit does not require synchronization when changing. This is a trivial micro-optimization,

svn commit: r348090 - in head/libexec/bootpd: . bootpgw

2019-05-21 Thread Mark Johnston
Author: markj Date: Wed May 22 04:13:57 2019 New Revision: 348090 URL: https://svnweb.freebsd.org/changeset/base/348090 Log: Marginally improve usage() message style in bootpd. - Remove an extra space after "usage:". - Avoid lines exceeding 80 columns. Based on notes from rgrimes.

svn commit: r348049 - head/sys/amd64/linux

2019-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 21 08:23:24 2019 New Revision: 348049 URL: https://svnweb.freebsd.org/changeset/base/348049 Log: Make linux_ptrace() use linux_msg() instead of printf(). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

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

2019-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 21 08:24:22 2019 New Revision: 348050 URL: https://svnweb.freebsd.org/changeset/base/348050 Log: Xr make_dev(9) from devfs(5). MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man5/devfs.5 Modified:

svn commit: r348052 - head/sys/kern

2019-05-21 Thread Konstantin Belousov
Author: kib Date: Tue May 21 15:12:13 2019 New Revision: 348052 URL: https://svnweb.freebsd.org/changeset/base/348052 Log: NDFREE(): Fix unlocking for LOCKPARENT|LOCKLEAF and ndp->ni_dvp == ndp->ni_vp. NDFREE() calculates unlock_dvp after ndp->ni_vp is unlocked and zeroed out. This makes

svn commit: r348051 - in head/sys: kern sys x86/x86

2019-05-21 Thread Stephen J. Kiernan
Author: stevek Date: Tue May 21 13:29:53 2019 New Revision: 348051 URL: https://svnweb.freebsd.org/changeset/base/348051 Log: The older detection methods (smbios.bios.vendor and smbios.system.product) are able to determine some virtual machines, but the vm_guest variable was still only

svn commit: r348057 - head/sys/compat/linux

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Tue May 21 18:05:57 2019 New Revision: 348057 URL: https://svnweb.freebsd.org/changeset/base/348057 Log: Do not use uninitialised sa. Reported by: tijl@ MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified:

svn commit: r348058 - head/sys/compat/linux

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Tue May 21 18:08:19 2019 New Revision: 348058 URL: https://svnweb.freebsd.org/changeset/base/348058 Log: Do not leak sa in linux_recvmsg() call if kern_recvit() fails. MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified:

svn commit: r348060 - head/sys/netinet

2019-05-21 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 21 19:18:55 2019 New Revision: 348060 URL: https://svnweb.freebsd.org/changeset/base/348060 Log: Similarly to r338257,338306 try to fold the two consecutive #ifdef RSS section in udp_output() into one by moving a '}' outside of the conditional block. MFC after:

svn commit: r348056 - head/sys/compat/linux

2019-05-21 Thread Dmitry Chagin
Author: dchagin Date: Tue May 21 18:03:58 2019 New Revision: 348056 URL: https://svnweb.freebsd.org/changeset/base/348056 Log: Do not leak sa in linux_recvfrom() call if kern_recvit() fails. MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified:

Re: svn commit: r347980 - head/lib/libsecureboot/openpgp

2019-05-21 Thread Simon J. Gerraty via svn-src-head
Rodney W. Grimes wrote: > > Sorry,should I wait until after freeze? > > This is all optional stuff anyway, so no great harm either way. > > No, please do merge this at 3 days, it is just that the > normal minimum bake time in ^head is 3 days, freeze or not. Ah, got it. Thanks --sjg

svn commit: r348059 - head/sys/dev/vt/hw/efifb

2019-05-21 Thread Ed Maste
Author: emaste Date: Tue May 21 18:42:36 2019 New Revision: 348059 URL: https://svnweb.freebsd.org/changeset/base/348059 Log: vt efifb: add suspend/resume calls Using the latest NVIDIA driver, upon resuming from suspend with X running the display remained blank. Additionally OpenGL

svn commit: r348061 - head/sys/netinet

2019-05-21 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 21 19:23:56 2019 New Revision: 348061 URL: https://svnweb.freebsd.org/changeset/base/348061 Log: Massively blow up the locking-related KASSERTs used to make sure that we end up in a consistent locking state at the end of udp_output() in order to be able to see what

svn commit: r348065 - head/sys/dev/acpica

2019-05-21 Thread Allan Jude
Author: allanjude Date: Tue May 21 21:14:22 2019 New Revision: 348065 URL: https://svnweb.freebsd.org/changeset/base/348065 Log: Correct the way remaining battery life is calculated Previously, if a system had multiple batteries, the remaining life percentage was calculated as the

svn commit: r348066 - in head/libexec/bootpd: . bootpgw

2019-05-21 Thread Mark Johnston
Author: markj Date: Tue May 21 21:22:43 2019 New Revision: 348066 URL: https://svnweb.freebsd.org/changeset/base/348066 Log: bootpd: Add an option to skip modifications to the ARP table. PR: 30854 Submitted by: Dan Lukes Reviewed by: imp (previous version) MFC after:1

svn commit: r348067 - head/sys/kern

2019-05-21 Thread Conrad Meyer
Author: cem Date: Tue May 21 21:26:14 2019 New Revision: 348067 URL: https://svnweb.freebsd.org/changeset/base/348067 Log: mqueuefs: Do not allow manipulation of the pseudo-dirents "." and ".." "." and ".." names are not maintained in the mqueuefs dirent datastructure and cannot be

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

2019-05-21 Thread Allan Jude
Author: allanjude Date: Tue May 21 21:26:18 2019 New Revision: 348068 URL: https://svnweb.freebsd.org/changeset/base/348068 Log: ZFS: Make deadman tunables no longer read-only This allows the user to enable, disable, and adjust the I/O deadman at runtime. This can be especially useful

svn commit: r348069 - head/libexec/bootpd

2019-05-21 Thread Ed Maste
Author: emaste Date: Tue May 21 21:27:14 2019 New Revision: 348069 URL: https://svnweb.freebsd.org/changeset/base/348069 Log: bootpd: avoid the same error indication for different issues There were several (apparently) copy-pasted NEED validation macros, leading to the same error string

svn commit: r348070 - head/sys/sys

2019-05-21 Thread Conrad Meyer
Author: cem Date: Tue May 21 21:35:37 2019 New Revision: 348070 URL: https://svnweb.freebsd.org/changeset/base/348070 Log: sys/lockmgr.h: Update #error to point at correct _lock.h After r347984, these macros live in sys/_lock.h. No functional change. Sponsored by: Dell EMC Isilon

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

2019-05-21 Thread Allan Jude
Author: allanjude Date: Tue May 21 21:39:03 2019 New Revision: 348071 URL: https://svnweb.freebsd.org/changeset/base/348071 Log: Fix typo in r348068 Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Modified:

svn commit: r348072 - head/lib/libmd

2019-05-21 Thread Allan Jude
Author: allanjude Date: Tue May 21 22:11:53 2019 New Revision: 348072 URL: https://svnweb.freebsd.org/changeset/base/348072 Log: Add missing errors section to md[2-5], ripemd160, sha*, and skein* manpages PR: 148987 Submitted by: Dan Lukes (original version) MFC after:1

svn commit: r348064 - in head/sys: arm64/arm64 dev/acpica dev/ixgbe fs/unionfs kern mips/mips riscv/riscv ufs/ffs ufs/ufs vm

2019-05-21 Thread Conrad Meyer
Author: cem Date: Tue May 21 20:38:48 2019 New Revision: 348064 URL: https://svnweb.freebsd.org/changeset/base/348064 Log: Include ktr.h in more compilation units Similar to r348026, exhaustive search for uses of CTRn() and cross reference ktr.h includes. Where it was obvious that an OS

svn commit: r348063 - head/tests/sys/netinet

2019-05-21 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 21 19:42:04 2019 New Revision: 348063 URL: https://svnweb.freebsd.org/changeset/base/348063 Log: Add very basic afinet socket tests which I started to write in order to then try to reproduce a kernel panic, which turned out to be a race condition and hard to test

svn commit: r348073 - head/lib/libmd

2019-05-21 Thread Allan Jude
Author: allanjude Date: Tue May 21 22:17:00 2019 New Revision: 348073 URL: https://svnweb.freebsd.org/changeset/base/348073 Log: Add admonitions against using MD5 and SHA1 to the API man pages Modified: head/lib/libmd/mdX.3 head/lib/libmd/sha.3 Modified: head/lib/libmd/mdX.3

svn commit: r348074 - head/sbin/fsck_ffs

2019-05-21 Thread Kirk McKusick
Author: mckusick Date: Tue May 21 22:24:38 2019 New Revision: 348074 URL: https://svnweb.freebsd.org/changeset/base/348074 Log: This revision began as a simple change to eliminate an uninitialized warning found by Coverity. However, upon closer inspection the implementation of fsck_ffs's

Re: svn commit: r348066 - in head/libexec/bootpd: . bootpgw

2019-05-21 Thread Rodney W. Grimes
> Author: markj > Date: Tue May 21 21:22:43 2019 > New Revision: 348066 > URL: https://svnweb.freebsd.org/changeset/base/348066 > > Log: > bootpd: Add an option to skip modifications to the ARP table. > > PR: 30854 > Submitted by: Dan Lukes > Reviewed by:imp

svn commit: r348075 - in head/sys: amd64/amd64 i386/i386 x86/x86

2019-05-21 Thread Konstantin Belousov
Author: kib Date: Tue May 21 22:56:21 2019 New Revision: 348075 URL: https://svnweb.freebsd.org/changeset/base/348075 Log: Do not call hw_mds_recalculate() from initializecpu(). If MDS mitigation is enabled by the tunable but MDS microcode is not early-loaded, software mitigation is

Re: svn commit: r348073 - head/lib/libmd

2019-05-21 Thread Rodney W. Grimes
> Author: allanjude > Date: Tue May 21 22:17:00 2019 > New Revision: 348073 > URL: https://svnweb.freebsd.org/changeset/base/348073 > > Log: > Add admonitions against using MD5 and SHA1 to the API man pages > > Modified: > head/lib/libmd/mdX.3 > head/lib/libmd/sha.3 > > Modified:

Re: svn commit: r348070 - head/sys/sys

2019-05-21 Thread Konstantin Belousov
On Tue, May 21, 2019 at 09:35:37PM +, Conrad Meyer wrote: > Author: cem > Date: Tue May 21 21:35:37 2019 > New Revision: 348070 > URL: https://svnweb.freebsd.org/changeset/base/348070 > > Log: > sys/lockmgr.h: Update #error to point at correct _lock.h > > After r347984, these macros