svn commit: r332465 - in stable: 10/sbin/reboot 11/sbin/reboot

2018-04-12 Thread Rodney W. Grimes
Author: rgrimes Date: Fri Apr 13 03:47:41 2018 New Revision: 332465 URL: https://svnweb.freebsd.org/changeset/base/332465 Log: MFC: r332075 Exit with usage when extra arguments are on command line preventing mistakes such as "halt 0p" for "halt -p". Approved by: bde (mentor,

svn commit: r332465 - in stable: 10/sbin/reboot 11/sbin/reboot

2018-04-12 Thread Rodney W. Grimes
Author: rgrimes Date: Fri Apr 13 03:47:41 2018 New Revision: 332465 URL: https://svnweb.freebsd.org/changeset/base/332465 Log: MFC: r332075 Exit with usage when extra arguments are on command line preventing mistakes such as "halt 0p" for "halt -p". Approved by: bde (mentor,

svn commit: r332464 - stable/11/usr.bin/yes

2018-04-12 Thread Kyle Evans
Author: kevans Date: Fri Apr 13 03:32:18 2018 New Revision: 332464 URL: https://svnweb.freebsd.org/changeset/base/332464 Log: MFC r319897-r319898, r319904: Improve yes' throughput r319897: Improve yes' throughput On my system, this brings up the throughput from ~20 to ~600 MiB/s.

svn commit: r332463 - in stable/11: bin/echo bin/sleep usr.bin/basename usr.bin/dc usr.bin/dirname usr.bin/getopt usr.bin/locate/bigram usr.bin/logname usr.bin/printenv usr.bin/yes

2018-04-12 Thread Kyle Evans
Author: kevans Date: Fri Apr 13 03:30:10 2018 New Revision: 332463 URL: https://svnweb.freebsd.org/changeset/base/332463 Log: MFC r308432, r308657: Capsicumize some trivial stdio programs r308432: Capsicumize some trivial stdio programs Trivially capsicumize some simple programs that

svn commit: r332462 - stable/11/usr.bin/locate/locate

2018-04-12 Thread Kyle Evans
Author: kevans Date: Fri Apr 13 02:40:10 2018 New Revision: 332462 URL: https://svnweb.freebsd.org/changeset/base/332462 Log: MFC r306758 (emaste): locate: ANSIfy Modified: stable/11/usr.bin/locate/locate/locate.c stable/11/usr.bin/locate/locate/util.c Directory Properties: stable/11/

svn commit: r332461 - stable/11/sys/cam/scsi

2018-04-12 Thread Alexander Motin
Author: mav Date: Fri Apr 13 00:29:42 2018 New Revision: 332461 URL: https://svnweb.freebsd.org/changeset/base/332461 Log: MFC r332145: Do not fail devices just for errors in descriptor format. Sponsored by: iXsystems, Inc. Modified: stable/11/sys/cam/scsi/scsi_cd.c

svn commit: r332460 - stable/11/usr.sbin/makefs

2018-04-12 Thread Ed Maste
Author: emaste Date: Fri Apr 13 00:25:53 2018 New Revision: 332460 URL: https://svnweb.freebsd.org/changeset/base/332460 Log: MFC r331758: makefs: sync fragment and block size with newfs r222319 in newfs raised the default blocksize for UFS/FFS filesystems from 16K to 32K and the default

svn commit: r332459 - head/sys/netpfil/ipfw/nat64

2018-04-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 12 21:29:40 2018 New Revision: 332459 URL: https://svnweb.freebsd.org/changeset/base/332459 Log: Fix integer types mismatch for flags field in nat64stl_cfg structure. Also preserve internal flags on NAT64STL reconfiguration. Obtained from:Yandex LLC

svn commit: r332458 - head/sys/cam/scsi

2018-04-12 Thread Kenneth D. Merry
Author: ken Date: Thu Apr 12 21:21:18 2018 New Revision: 332458 URL: https://svnweb.freebsd.org/changeset/base/332458 Log: Handle Programmable Early Warning for control commands in sa(4). When the tape position is inside the Early Warning area, the tape drive will return a sense key of

Re: svn commit: r332453 - in head: share/mk sys/conf

2018-04-12 Thread Rodney W. Grimes
> Author: bdrewery > Date: Thu Apr 12 20:27:57 2018 > New Revision: 332453 > URL: https://svnweb.freebsd.org/changeset/base/332453 > > Log: > Fix using wrong SYSDIR after r331683. > > This was inadvertently overriding the first found SYSDIR with the last > of /usr/src which could result

svn commit: r332457 - head/sys/netpfil/ipfw/nat64

2018-04-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 12 21:13:30 2018 New Revision: 332457 URL: https://svnweb.freebsd.org/changeset/base/332457 Log: Use cfg->nomatch_verdict as return value from NAT64LSN handler when given mbuf is considered as not matched. If mbuf was consumed or freed during handling, we must

svn commit: r332456 - head/sys/netpfil/ipfw/nat64

2018-04-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 12 21:05:20 2018 New Revision: 332456 URL: https://svnweb.freebsd.org/changeset/base/332456 Log: Migrate NAT64 to FIB KPI. Obtained from:Yandex LLC MFC after:1 week Modified: head/sys/netpfil/ipfw/nat64/nat64_translate.c

svn commit: r332455 - in head: share/mk sys/conf

2018-04-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 12 20:48:17 2018 New Revision: 332455 URL: https://svnweb.freebsd.org/changeset/base/332455 Log: Use known SRCTOP if possible to determine SYSDIR. Suggested by: sjg Sponsored by: Dell EMC Modified: head/share/mk/bsd.dtb.mk head/share/mk/bsd.kmod.mk

svn commit: r332454 - in head/sys: amd64/amd64 amd64/ia32 amd64/linux amd64/linux32 i386/i386

2018-04-12 Thread Konstantin Belousov
Author: kib Date: Thu Apr 12 20:43:39 2018 New Revision: 332454 URL: https://svnweb.freebsd.org/changeset/base/332454 Log: Fix PSL_T inheritance on exec for x86. The miscellaneous x86 sysent->sv_setregs() implementations tried to migrate PSL_T from the previous program to the new

svn commit: r332453 - in head: share/mk sys/conf

2018-04-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 12 20:27:57 2018 New Revision: 332453 URL: https://svnweb.freebsd.org/changeset/base/332453 Log: Fix using wrong SYSDIR after r331683. This was inadvertently overriding the first found SYSDIR with the last of /usr/src which could result in the wrong headers

svn commit: r332452 - head/sys/dev/vt/font

2018-04-12 Thread Ed Maste
Author: emaste Date: Thu Apr 12 20:21:04 2018 New Revision: 332452 URL: https://svnweb.freebsd.org/changeset/base/332452 Log: Update vt(4) "Terminus BSD Console" font to v4.46 "Terminus BSD Console" is a derivative of Terminus that is provided by Mr. Dimitar Zhekov under the 2-clause BSD

svn commit: r332451 - head/sbin/ipfw

2018-04-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 12 20:05:26 2018 New Revision: 332451 URL: https://svnweb.freebsd.org/changeset/base/332451 Log: Fix indenting in ipv6.c file, use tabs instead of mixing tabs and spaces. MFC after:1 week Modified: head/sbin/ipfw/ipv6.c Modified: head/sbin/ipfw/ipv6.c

Re: svn commit: r332447 - stable/11/sys/dev/ixgbe

2018-04-12 Thread Ryan Stone
Spinning in the kernel for a full second is a really bad idea. At minimum this is going to hold off all callouts from one of the callout threads for up to a full second as ixgbe_local_timer() waits for the core mutex. That chews up two CPU cores doing busy-wait loops (the ixgbe_stop() thread

svn commit: r332450 - head/sys/amd64/amd64

2018-04-12 Thread Konstantin Belousov
Author: kib Date: Thu Apr 12 19:59:36 2018 New Revision: 332450 URL: https://svnweb.freebsd.org/changeset/base/332450 Log: Optimize context switch for PTI on PCID pmap. In pti-enabled pmap, the PCID allocation scheme assigns temporal id for the kernel page table, and user page table twin

svn commit: r332449 - head/sbin/ipfw

2018-04-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 12 19:44:04 2018 New Revision: 332449 URL: https://svnweb.freebsd.org/changeset/base/332449 Log: Remove printing of "not" keyword from print_ip6() function. After r331668 handling of F_NOT flag done in one place by print_instruction() function. Also remove unused

svn commit: r332448 - head/sbin/ipfw

2018-04-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 12 19:34:35 2018 New Revision: 332448 URL: https://svnweb.freebsd.org/changeset/base/332448 Log: Remove printing of "not" keyword from print_ip() function. After r331668 handling of F_NOT flag done in one place by print_instruction() function. MFC after:

svn commit: r332447 - stable/11/sys/dev/ixgbe

2018-04-12 Thread Stephen Hurd
Author: shurd Date: Thu Apr 12 19:06:15 2018 New Revision: 332447 URL: https://svnweb.freebsd.org/changeset/base/332447 Log: Work around netmap issue with ixgbe After multiple start/stop of netmap, ixgbe will get into a bad state requiring a reboot to recover. Adding a delay before

svn commit: r332446 - head/release/i386

2018-04-12 Thread Ed Maste
Author: emaste Date: Thu Apr 12 19:00:22 2018 New Revision: 332446 URL: https://svnweb.freebsd.org/changeset/base/332446 Log: switch i386 memstick installer images to MBR Some BIOSes have trouble booting from GPT in non-UEFI mode. This is commonly reported with Lenovo laptops, including

svn commit: r332445 - head

2018-04-12 Thread Brooks Davis
Author: brooks Date: Thu Apr 12 18:25:53 2018 New Revision: 332445 URL: https://svnweb.freebsd.org/changeset/base/332445 Log: Add fpa.4.gz missing in the removal of FDDI in r332412. Reported by: trasz Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r332444 - head

2018-04-12 Thread Brooks Davis
Author: brooks Date: Thu Apr 12 18:24:00 2018 New Revision: 332444 URL: https://svnweb.freebsd.org/changeset/base/332444 Log: Allow -DNO_CLEAN builds across r332443. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r332443 - in head/lib/libc: amd64 amd64/sys gen i386 i386/sys mips/sys powerpc powerpc/sys powerpc64 powerpc64/sys sparc64 sparc64/sys

2018-04-12 Thread Brooks Davis
Author: brooks Date: Thu Apr 12 18:23:14 2018 New Revision: 332443 URL: https://svnweb.freebsd.org/changeset/base/332443 Log: Replace MD assembly exect() with a portable version. Originally, on the VAX exect() enable tracing once the new executable image was loaded. This was possible

Re: svn commit: r332434 - head/sys/conf

2018-04-12 Thread Ruslan Bukin
On Thu, Apr 12, 2018 at 06:41:37PM +0100, Ruslan Bukin wrote: > On Thu, Apr 12, 2018 at 09:48:10AM -0700, John Baldwin wrote: > > On Thursday, April 12, 2018 03:12:40 PM Ruslan Bukin wrote: > > > Author: br > > > Date: Thu Apr 12 15:12:40 2018 > > > New Revision: 332434 > > > URL:

Re: svn commit: r332434 - head/sys/conf

2018-04-12 Thread Ruslan Bukin
On Thu, Apr 12, 2018 at 09:48:10AM -0700, John Baldwin wrote: > On Thursday, April 12, 2018 03:12:40 PM Ruslan Bukin wrote: > > Author: br > > Date: Thu Apr 12 15:12:40 2018 > > New Revision: 332434 > > URL: https://svnweb.freebsd.org/changeset/base/332434 > > > > Log: > > Add ld emulation

svn commit: r332442 - head/lib/libc/gen

2018-04-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Apr 12 17:47:36 2018 New Revision: 332442 URL: https://svnweb.freebsd.org/changeset/base/332442 Log: Bump .Dd value (forgot to do this in r332439) MFC after:3 days X-MFC-With: 332439 Modified: head/lib/libc/gen/syslog.3 Modified:

svn commit: r332441 - in head/sys: conf mips/beri mips/include mips/mips

2018-04-12 Thread Ruslan Bukin
Author: br Date: Thu Apr 12 17:43:19 2018 New Revision: 332441 URL: https://svnweb.freebsd.org/changeset/base/332441 Log: Add SMP support for BERI CPU. Obtained from:CheriBSD Sponsored by: DARPA, AFRL Added: head/sys/mips/beri/beri_mp.c (contents, props changed)

svn commit: r332440 - head/usr.bin/mkimg

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 17:16:13 2018 New Revision: 332440 URL: https://svnweb.freebsd.org/changeset/base/332440 Log: Fix a conditional that got mucked up. Sponsored by: iXsystems, Inc. Modified: head/usr.bin/mkimg/mkimg.c Modified: head/usr.bin/mkimg/mkimg.c

svn commit: r332439 - head/lib/libc/gen

2018-04-12 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Apr 12 17:05:27 2018 New Revision: 332439 URL: https://svnweb.freebsd.org/changeset/base/332439 Log: Fix quotes in the example code in syslog(3) BUGS section mdoc treats verbatim quotes in .Dl as a string delimiter and does not pass them to the rendered output.

svn commit: r332438 - head/usr.bin/etdump

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 17:00:36 2018 New Revision: 332438 URL: https://svnweb.freebsd.org/changeset/base/332438 Log: Remove a debugging printf that crept in. Sponsored by: iXsystems, Inc. Modified: head/usr.bin/etdump/etdump.c Modified: head/usr.bin/etdump/etdump.c

Re: svn commit: r332434 - head/sys/conf

2018-04-12 Thread John Baldwin
On Thursday, April 12, 2018 03:12:40 PM Ruslan Bukin wrote: > Author: br > Date: Thu Apr 12 15:12:40 2018 > New Revision: 332434 > URL: https://svnweb.freebsd.org/changeset/base/332434 > > Log: > Add ld emulation types for hard-float mipses. > > Sponsored by: DARPA, AFRL We actually

Re: svn commit: r332091 - stable/11/sys/vm

2018-04-12 Thread John Baldwin
On Thursday, April 12, 2018 12:49:35 AM Slawa Olhovchenkov wrote: > On Wed, Apr 11, 2018 at 02:27:48PM -0700, John Baldwin wrote: > > > On Wednesday, April 11, 2018 10:49:20 PM Konstantin Belousov wrote: > > > On Wed, Apr 11, 2018 at 08:52:08AM -0700, John Baldwin wrote: > > > > On Monday, April

svn commit: r332437 - head/usr.bin/etdump

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 15:50:19 2018 New Revision: 332437 URL: https://svnweb.freebsd.org/changeset/base/332437 Log: Check the return value of fseek. Reported by: Coverity CID: 1388267 Sponsored by: iXsystems, Inc. Modified: head/usr.bin/etdump/etdump.c Modified:

svn commit: r332436 - head/usr.bin/mkimg

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 15:47:47 2018 New Revision: 332436 URL: https://svnweb.freebsd.org/changeset/base/332436 Log: Add the ability to specify absolute and relative offsets to size partitions. To create hybrid boot media we want to specify a partition at a known location. This

svn commit: r332435 - in head/sys: conf dev/xdma mips/ingenic

2018-04-12 Thread Ruslan Bukin
Author: br Date: Thu Apr 12 15:36:24 2018 New Revision: 332435 URL: https://svnweb.freebsd.org/changeset/base/332435 Log: Tune xDMA interface slightly: o Move descriptors allocation to DMA engine driver o Add generic xdma_request() routine o Add less-generic scatter-gather application

svn commit: r332434 - head/sys/conf

2018-04-12 Thread Ruslan Bukin
Author: br Date: Thu Apr 12 15:12:40 2018 New Revision: 332434 URL: https://svnweb.freebsd.org/changeset/base/332434 Log: Add ld emulation types for hard-float mipses. Sponsored by: DARPA, AFRL Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r332433 - head/sys/sys

2018-04-12 Thread Bjoern A. Zeeb
Author: bz Date: Thu Apr 12 14:57:48 2018 New Revision: 332433 URL: https://svnweb.freebsd.org/changeset/base/332433 Log: Fix a typo. Sponsored by: iXsystems, Inc. Modified: head/sys/sys/proc.h Modified: head/sys/sys/proc.h

svn commit: r332432 - head/sys/net

2018-04-12 Thread Sean Bruno
Author: sbruno Date: Thu Apr 12 14:35:37 2018 New Revision: 332432 URL: https://svnweb.freebsd.org/changeset/base/332432 Log: Restore r332389 after resolution of locking fixes. Add one extra lock initialization to iflib_register() that was missed in the git<->phab conversion. Split

svn commit: r332431 - head/usr.sbin/cron/cron

2018-04-12 Thread Kyle Evans
Author: kevans Date: Thu Apr 12 14:32:26 2018 New Revision: 332431 URL: https://svnweb.freebsd.org/changeset/base/332431 Log: cron(8): Correct test sense We're about to use the result of fstat(2) either way, so don't do that if it fails... X-MFC-With: r332429 Modified:

svn commit: r332430 - head/share/misc

2018-04-12 Thread Ram Kishore Vegesna
Author: ram Date: Thu Apr 12 14:05:27 2018 New Revision: 332430 URL: https://svnweb.freebsd.org/changeset/base/332430 Log: Added entry in the correct section. Reported by: Rodney,kevans Approved by: ken Modified: head/share/misc/committers-src.dot Modified:

svn commit: r332429 - head/usr.sbin/cron/cron

2018-04-12 Thread Kyle Evans
Author: kevans Date: Thu Apr 12 13:52:55 2018 New Revision: 332429 URL: https://svnweb.freebsd.org/changeset/base/332429 Log: cron(8): Reload database if an existing job in cron.d changed as well Directory mtime will only change if a file is added or removed, not modified. For

svn commit: r332428 - stable/11/sys/amd64/ia32

2018-04-12 Thread Konstantin Belousov
Author: kib Date: Thu Apr 12 13:40:02 2018 New Revision: 332428 URL: https://svnweb.freebsd.org/changeset/base/332428 Log: MFC r332061: Fix ERESTART for lcall $7,$0 syscalls. Modified: stable/11/sys/amd64/ia32/ia32_syscall.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332427 - stable/11/sys/amd64/amd64

2018-04-12 Thread Konstantin Belousov
Author: kib Date: Thu Apr 12 13:39:01 2018 New Revision: 332427 URL: https://svnweb.freebsd.org/changeset/base/332427 Log: MFC r332060: Make the INTO instruction operational in 32bit mode. Modified: stable/11/sys/amd64/amd64/machdep.c Directory Properties: stable/11/ (props changed)

Re: svn commit: r332386 - head/share/misc

2018-04-12 Thread Ram Kishore Vegesna via svn-src-all
oho, my bad added to the wrong section. Will fix and update. Ken, I will send you the patch. Thanks, Ram On Wed, Apr 11, 2018 at 7:57 PM, Kenneth D. Merry wrote: > On Tue, Apr 10, 2018 at 14:27:26 -0500, Kyle Evans wrote: > > On Tue, Apr 10, 2018 at 2:22 PM, Rodney W. Grimes

svn commit: r332426 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs s...

2018-04-12 Thread Andriy Gapon
Author: avg Date: Thu Apr 12 10:37:26 2018 New Revision: 332426 URL: https://svnweb.freebsd.org/changeset/base/332426 Log: allow ZFS pool to have temporary name for duration of current import The change adds -t option to zpool create and -t option to zpool import in its form with an old

svn commit: r332425 - head/share/misc

2018-04-12 Thread Maxim Konovalov
Author: maxim Date: Thu Apr 12 07:39:24 2018 New Revision: 332425 URL: https://svnweb.freebsd.org/changeset/base/332425 Log: o OpenBSD 6.3 and DragonFly BSD 5.2.0 releases added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

svn commit: r332424 - head/share/misc

2018-04-12 Thread Tom Jones
Author: thj Date: Thu Apr 12 07:25:36 2018 New Revision: 332424 URL: https://svnweb.freebsd.org/changeset/base/332424 Log: Add myself to committers-src.dot Approved by: jtl (mentor) Differential Revision:https://reviews.freebsd.org/D15042 Modified:

svn commit: r332423 - in head/sys: conf dev/cxgbe dev/ixgbe dev/ixl dev/netmap dev/re modules/netmap net sys

2018-04-12 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Apr 12 07:20:50 2018 New Revision: 332423 URL: https://svnweb.freebsd.org/changeset/base/332423 Log: netmap: align codebase to the current upstream (commit id 3fb001303718146) Changelist: - Turn tx_rings and rx_rings arrays into arrays of pointers to kring