svn commit: r322646 - head/sys/kern

2017-08-17 Thread Mark Johnston
Author: markj Date: Fri Aug 18 04:07:25 2017 New Revision: 322646 URL: https://svnweb.freebsd.org/changeset/base/322646 Log: Remove some unneeded subroutines for padding writes to dump devices. Right now we only need to pad when writing kernel dump headers, so flatten three related subrou

svn commit: r322645 - in head/sys: amd64/amd64 arm/arm arm64/arm64 ddb i386/i386 kern mips/mips sparc64/sparc64 sys

2017-08-17 Thread Mark Johnston
Author: markj Date: Fri Aug 18 04:04:09 2017 New Revision: 322645 URL: https://svnweb.freebsd.org/changeset/base/322645 Log: Rename mkdumpheader() and group EKCD functions in kern_shutdown.c. This helps simplify the code in kern_shutdown.c and reduces the number of globally visible functi

svn commit: r322644 - in head/sys: amd64/amd64 arm/arm arm64/arm64 i386/i386 kern mips/mips sparc64/sparc64 sys

2017-08-17 Thread Mark Johnston
Author: markj Date: Fri Aug 18 03:52:35 2017 New Revision: 322644 URL: https://svnweb.freebsd.org/changeset/base/322644 Log: Factor out duplicated kernel dump code into dump_{start,finish}(). dump_start() and dump_finish() are responsible for writing kernel dump headers, optionally writin

svn commit: r322643 - head/sys/kern

2017-08-17 Thread Lawrence Stewart
Author: lstewart Date: Fri Aug 18 02:06:28 2017 New Revision: 322643 URL: https://svnweb.freebsd.org/changeset/base/322643 Log: An off-by-one error exists in sbuf_vprintf()'s use of SBUF_HASROOM() when an sbuf is filled to capacity by vsnprintf(), the loop exits without error, and the sbuf i

svn commit: r322638 - head/usr.bin/calendar/calendars

2017-08-17 Thread Greg Lehey
Author: grog Date: Fri Aug 18 00:25:27 2017 New Revision: 322638 URL: https://svnweb.freebsd.org/changeset/base/322638 Log: Goodbye, ache. Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd ===

svn commit: r322636 - head/usr.sbin/bootparamd/bootparamd

2017-08-17 Thread Ngie Cooper
Author: ngie Date: Thu Aug 17 20:41:28 2017 New Revision: 322636 URL: https://svnweb.freebsd.org/changeset/base/322636 Log: Don't leak bpf on early return when YP isn't defined (NIS support) MFC after:1 week Reported by: cppcheck Modified: head/usr.sbin/bootparamd/bootparamd/bootp

svn commit: r322635 - head/usr.sbin/bootparamd/callbootd

2017-08-17 Thread Ngie Cooper
Author: ngie Date: Thu Aug 17 20:37:01 2017 New Revision: 322635 URL: https://svnweb.freebsd.org/changeset/base/322635 Log: Fix WARNS - Remove ad hoc inet_ntoa prototype declaration; it's already handled by the included headers. - De-K&Rify the function prototypes for eachres_whoami(.

svn commit: r322634 - head/usr.sbin/vidcontrol

2017-08-17 Thread Bruce Evans
Author: bde Date: Thu Aug 17 20:25:50 2017 New Revision: 322634 URL: https://svnweb.freebsd.org/changeset/base/322634 Log: I misplaced a newline in the previous commit. Fix this, and move line breaks in the vt case to the same places that the man(1) puts then in the SYNOPSIS. This was alre

svn commit: r322633 - head

2017-08-17 Thread Ngie Cooper
Author: ngie Date: Thu Aug 17 20:15:20 2017 New Revision: 322633 URL: https://svnweb.freebsd.org/changeset/base/322633 Log: Honor NO_RTLD for rtld-elf, similar to what's done in libexec/Makefile, with libexec/rtld-elf/... for MK_{LIB32,LIBSOFT}. MFC after:1 week Modified: head/Make

svn commit: r322628 - head/sys/boot/common

2017-08-17 Thread Oleg Bulyzhin
Author: oleg Date: Thu Aug 17 19:39:42 2017 New Revision: 322628 URL: https://svnweb.freebsd.org/changeset/base/322628 Log: Fix BSD label partition end sector calculation. Reviewed by: ae MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D12066 Modified:

svn commit: r322627 - head/sys/arm64/arm64

2017-08-17 Thread Ed Maste
Author: emaste Date: Thu Aug 17 19:16:23 2017 New Revision: 322627 URL: https://svnweb.freebsd.org/changeset/base/322627 Log: arm64: return error instead of panic in unimplemented ptrace ops We don't need a panic as a reminder that these need to be implemented. Reported by: Shawn Webb

svn commit: r322626 - head/usr.sbin/vidcontrol

2017-08-17 Thread Bruce Evans
Author: bde Date: Thu Aug 17 18:08:45 2017 New Revision: 322626 URL: https://svnweb.freebsd.org/changeset/base/322626 Log: Update vidcontrol -c to support all cursor appearance setting capabilities. Most of the capabilities (all of the arcane ones) were in FreeBSD-2.0.5, but were harder

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

2017-08-17 Thread John Baldwin
On Thursday, August 17, 2017 10:42:51 AM Andriy Gapon wrote: > On 17/08/2017 02:40, John Baldwin wrote: > > Author: jhb > > Date: Wed Aug 16 23:40:32 2017 > > New Revision: 322601 > > URL: https://svnweb.freebsd.org/changeset/base/322601 > > > > Log: > > Mark ZFS ABD inline functions static. > >

svn commit: r322621 - head/sys/x86/x86

2017-08-17 Thread Conrad Meyer
Author: cem Date: Thu Aug 17 16:54:37 2017 New Revision: 322621 URL: https://svnweb.freebsd.org/changeset/base/322621 Log: Discover CPU topology on multi-die AMD Zen systems The Nodes per Processor topology information determines how many bits of the APIC ID represent the Node (Zeppelin d

svn commit: r322618 - head/usr.bin/grep

2017-08-17 Thread Kyle Evans
Author: kevans Date: Thu Aug 17 13:40:45 2017 New Revision: 322618 URL: https://svnweb.freebsd.org/changeset/base/322618 Log: bsdgrep: cast pmatch.rm_so to fix build when linking against libgnuregex Reported by: many Approved by: emaste (mentor) MFC after:immediate Modified: he

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

2017-08-17 Thread Andriy Gapon
On 17/08/2017 02:40, John Baldwin wrote: > Author: jhb > Date: Wed Aug 16 23:40:32 2017 > New Revision: 322601 > URL: https://svnweb.freebsd.org/changeset/base/322601 > > Log: > Mark ZFS ABD inline functions static. > > When built with -fno-inline-functions zfs.ko contains undefined referen

svn commit: r322614 - in head: share/man/man9 sys/kern sys/sys

2017-08-17 Thread Lawrence Stewart
Author: lstewart Date: Thu Aug 17 07:20:09 2017 New Revision: 322614 URL: https://svnweb.freebsd.org/changeset/base/322614 Log: Implement simple record boundary tracking in sbuf(9) to avoid record splitting during drain operations. When an sbuf is configured to use this feature by way of the