Re: svn commit: r329340 - head/sys/amd64/include

2018-02-15 Thread Bruce Evans
On Thu, 15 Feb 2018, Jung-uk Kim wrote: Log: Change size of padding to reflect reality. No functional change. Discussed with:kib Modified: head/sys/amd64/include/pcpu.h Modified: head/sys/amd64/include/pcpu.h

svn commit: r329364 - head/sys/amd64/vmm/amd

2018-02-15 Thread Andriy Gapon
Author: avg Date: Fri Feb 16 07:02:14 2018 New Revision: 329364 URL: https://svnweb.freebsd.org/changeset/base/329364 Log: move vintr_intercept_enabled under INVARIANTS The function is not used outside of INVARIANTS since r328622. MFC after:1 week Modified: head/sys/amd64/vmm/am

svn commit: r329363 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2018-02-15 Thread Andriy Gapon
Author: avg Date: Fri Feb 16 06:59:35 2018 New Revision: 329363 URL: https://svnweb.freebsd.org/changeset/base/329363 Log: read-behind / read-ahead support for zfs_getpages() ZFS caches blocks it reads in its ARC, so in general the optional pages are not as useful as with filesystems that

svn commit: r329362 - head/sbin/savecore

2018-02-15 Thread Mike Silbersack
Author: silby Date: Fri Feb 16 06:51:39 2018 New Revision: 329362 URL: https://svnweb.freebsd.org/changeset/base/329362 Log: Prevent savecore from reading bounds from the current directory. Rev 244218 removed the requirement that you provide a dump directory when checking if there is a co

svn commit: r329361 - head/lib/libc/string

2018-02-15 Thread Cy Schubert
Author: cy Date: Fri Feb 16 05:48:45 2018 New Revision: 329361 URL: https://svnweb.freebsd.org/changeset/base/329361 Log: Document memset_s(3). memset_s(3) is defined in C11 standard (ISO/IEC 9899:2011) K.3.7.4.1 The memset_s function (p: 621-622) Fix memset(3) portion of the man page b

svn commit: r329360 - in head/sys: amd64/vmm/amd contrib/dev/acpica/include

2018-02-15 Thread Anish Gupta
Author: anish Date: Fri Feb 16 05:17:00 2018 New Revision: 329360 URL: https://svnweb.freebsd.org/changeset/base/329360 Log: This change fixes duplicate detection of same IOMMU/AMD-Vi device for Ryzen with EFR support. IVRS can have entry of type legacy and non-legacy present at same time

svn commit: r329359 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 04:59:21 2018 New Revision: 329359 URL: https://svnweb.freebsd.org/changeset/base/329359 Log: stand/lua: Remove a magic number/string (not a trivial literal) We'll arbitrarily use KEYSTR_ for string representations of non-trivial characters. Modified: he

svn commit: r329358 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 04:50:14 2018 New Revision: 329358 URL: https://svnweb.freebsd.org/changeset/base/329358 Log: stand/lua: Say "loader prompt" instead of "lua interpreter" Noting that we're in lualoader is nice, but it's not a difference we raelly need to expose to Fred. Re-

svn commit: r329357 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 04:45:53 2018 New Revision: 329357 URL: https://svnweb.freebsd.org/changeset/base/329357 Log: stand/lua: Remove explicit alias from "Back to main menu" This removes a redundant alias that has since been converted into a global alias. It was converted to a g

svn commit: r329356 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 04:44:47 2018 New Revision: 329356 URL: https://svnweb.freebsd.org/changeset/base/329356 Log: stand/lua: Allow menu items to not have explicit aliases This will generally be used for cases like "Back to main menu" that already have global aliases installed.

svn commit: r329354 - head/usr.sbin/trpt

2018-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 16 04:30:57 2018 New Revision: 329354 URL: https://svnweb.freebsd.org/changeset/base/329354 Log: trpt(8): Work around GCC4 shenanigans Reduce warns to known good value and do not add -Wno- flag the ancient GCC4 does not understand. Reported by: jhibbits S

svn commit: r329355 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 04:31:09 2018 New Revision: 329355 URL: https://svnweb.freebsd.org/changeset/base/329355 Log: stand/lua: Move kernel selection into main menu This matches the corresponding 4th behavior. Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

svn commit: r329353 - head/cddl/lib/libdtrace

2018-02-15 Thread Devin Teske
Author: dteske Date: Fri Feb 16 04:22:29 2018 New Revision: 329353 URL: https://svnweb.freebsd.org/changeset/base/329353 Log: Add inline to errno.d for translating int to string Gives DTrace scripts strerror(3) functionality. Reviewed by: markj Sponsored by: Smule, Inc. Differenti

svn commit: r329352 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 04:10:10 2018 New Revision: 329352 URL: https://svnweb.freebsd.org/changeset/base/329352 Log: stand/lua: Consistently use semicolons for line endings Modified: head/stand/lua/core.lua Modified: head/stand/lua/core.lua ==

svn commit: r329351 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 04:03:15 2018 New Revision: 329351 URL: https://svnweb.freebsd.org/changeset/base/329351 Log: stand/lua: Set reasonable ACPI default based on presence Set it based on hint.acpi.0.rsdp. Initially, hint.acpi.0.disabled will be respected. "Using System Default

svn commit: r329350 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 03:14:23 2018 New Revision: 329350 URL: https://svnweb.freebsd.org/changeset/base/329350 Log: stand/lua: Don't descend into an empty kernels submenu This submenu is likely going to go away in favor of kernel selection as it is done in forth at the moment, b

svn commit: r329349 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 03:12:24 2018 New Revision: 329349 URL: https://svnweb.freebsd.org/changeset/base/329349 Log: stand/lua: Reduce magic numbers Enter/backspace values are hardcoded in both the menu and password scripts. Separate these out to core for reuse between the two.

svn commit: r329348 - in head: sys/sys usr.bin/ipcrm usr.bin/ipcs

2018-02-15 Thread Brooks Davis
Author: brooks Date: Fri Feb 16 01:33:01 2018 New Revision: 329348 URL: https://svnweb.freebsd.org/changeset/base/329348 Log: Get rid of the requirement to include SysV IPC headers with _KERNEL defined in ipcrm by introducing _WANT_SYSVxxx_INTERNALS defines. Reviewed by: jhb Sponsored

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

2018-02-15 Thread Konstantin Belousov
Author: kib Date: Fri Feb 16 01:08:32 2018 New Revision: 329347 URL: https://svnweb.freebsd.org/changeset/base/329347 Log: Note that on amd64 pmap_enter(psind = 1) works (since r321378). Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/share/man/man9/pmap_enter.

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

2018-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 16 01:03:08 2018 New Revision: 329346 URL: https://svnweb.freebsd.org/changeset/base/329346 Log: rc.conf.5: Flip default background_fsck language to match defaults Reviewed by: Daniel O'Connor Sponsored by: Dell EMC Isilon Modified: head/share/man/man5/rc.co

svn commit: r329345 - in head: share/mk stand stand/fdt stand/ficl stand/geli stand/libsa stand/mips/uboot stand/uboot/fdt stand/uboot/lib stand/zfs

2018-02-15 Thread Warner Losh
Author: imp Date: Fri Feb 16 00:17:32 2018 New Revision: 329345 URL: https://svnweb.freebsd.org/changeset/base/329345 Log: Eliminate bsd.stand.mk and -fPIC 32-bit intel builds OK. We don't really need a bsd.stand.mk, and it was causing a -fPIC for the toolchain to be added (bogusly) when

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

2018-02-15 Thread John Baldwin
On Wednesday, February 14, 2018 03:49:31 PM Alan Somers wrote: > Author: asomers > Date: Wed Feb 14 15:49:31 2018 > New Revision: 329265 > URL: https://svnweb.freebsd.org/changeset/base/329265 > > Log: > Implement .vop_pathconf and .vop_getacl for the .zfs ctldir > > zfsctl_common_pathconf

svn commit: r329344 - head/cddl/usr.sbin/zfsd

2018-02-15 Thread Alan Somers
Author: asomers Date: Thu Feb 15 21:30:30 2018 New Revision: 329344 URL: https://svnweb.freebsd.org/changeset/base/329344 Log: Optimize zfsd for the happy case If there are no damaged pools, then ignore all GEOM events. We only use them to fix damaged pools. However, still pay attention

svn commit: r329342 - head/sys/kern

2018-02-15 Thread Brooks Davis
Author: brooks Date: Thu Feb 15 21:24:43 2018 New Revision: 329342 URL: https://svnweb.freebsd.org/changeset/base/329342 Log: Reduce duplication in __acl_*_(file|link). Add const to new kern_ functions and push down as required. Reviewed by: rwatson Obtained from:CheriBSD

svn commit: r329341 - head/usr.sbin/trpt

2018-02-15 Thread Conrad Meyer
Author: cem Date: Thu Feb 15 21:06:56 2018 New Revision: 329341 URL: https://svnweb.freebsd.org/changeset/base/329341 Log: trpt(8): Sprinkle style(9) and adddress warnings Update function definitions to post-ISO style; remove deprecated "register" keyword. Correct indentation. Sprinkle

svn commit: r329340 - head/sys/amd64/include

2018-02-15 Thread Jung-uk Kim
Author: jkim Date: Thu Feb 15 20:42:38 2018 New Revision: 329340 URL: https://svnweb.freebsd.org/changeset/base/329340 Log: Change size of padding to reflect reality. No functional change. Discussed with: kib Modified: head/sys/amd64/include/pcpu.h Modified: head/sys/amd6

svn commit: r329339 - head/stand/libsa

2018-02-15 Thread Kyle Evans
Author: kevans Date: Thu Feb 15 19:49:15 2018 New Revision: 329339 URL: https://svnweb.freebsd.org/changeset/base/329339 Log: libsa: Consolidate tftp sendrecv into net.c sendrecv bootp/arp/rarp/rpc all use the sendrecv implementation in net.c. tftp has its own implementation because it pa

svn commit: r329338 - head/tools/boot

2018-02-15 Thread Warner Losh
Author: imp Date: Thu Feb 15 18:58:03 2018 New Revision: 329338 URL: https://svnweb.freebsd.org/changeset/base/329338 Log: Simplify building before installing. Modified: head/tools/boot/lua-img.sh Modified: head/tools/boot/lua-img.sh ==

svn commit: r329337 - head/sys/cam

2018-02-15 Thread Warner Losh
Author: imp Date: Thu Feb 15 18:57:54 2018 New Revision: 329337 URL: https://svnweb.freebsd.org/changeset/base/329337 Log: Report the number of remaining retries when we have an error that we're retrying. Modified: head/sys/cam/cam_periph.c Modified: head/sys/cam/cam_periph.c =

svn commit: r329336 - head/sys/security/mac

2018-02-15 Thread Brooks Davis
Author: brooks Date: Thu Feb 15 18:57:22 2018 New Revision: 329336 URL: https://svnweb.freebsd.org/changeset/base/329336 Log: Reduce duplication in __mac_*_(file|link)(2) implementation. Reviewed by: rwatson Obtained from:CheriBSD Sponsored by: DARPA, AFRL Differential Revisi

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

2018-02-15 Thread Stephen Hurd
Author: shurd Date: Thu Feb 15 18:39:43 2018 New Revision: 329335 URL: https://svnweb.freebsd.org/changeset/base/329335 Log: bnxt: Update man page with newly supported devices, options, etc update man page with * Newly supported devices * Newly added options * 'maintained by' Email

svn commit: r329334 - head/cddl/lib/libdtrace

2018-02-15 Thread Devin Teske
Author: dteske Date: Thu Feb 15 18:37:32 2018 New Revision: 329334 URL: https://svnweb.freebsd.org/changeset/base/329334 Log: Add the following errno definitions to /usr/lib/dtrace/errno.d ENOTCAPABLE (93) ECAPMODE (94) ENOTRECOVERABLE (95) EOWNERDEAD (96) ERELOOKUP (-5) and up

svn commit: r329333 - head/sys/compat/freebsd32

2018-02-15 Thread Brooks Davis
Author: brooks Date: Thu Feb 15 18:32:11 2018 New Revision: 329333 URL: https://svnweb.freebsd.org/changeset/base/329333 Log: Regen after r329322. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscal

svn commit: r329332 - head/sys/compat/freebsd32

2018-02-15 Thread Brooks Davis
Author: brooks Date: Thu Feb 15 18:31:43 2018 New Revision: 329332 URL: https://svnweb.freebsd.org/changeset/base/329332 Log: Remove freebsd32_getdirentries(), it will be unused after the next commit. Modified: head/sys/compat/freebsd32/freebsd32_misc.c Modified: head/sys/compat/freebsd32/

svn commit: r329331 - head/usr.sbin/trpt

2018-02-15 Thread Conrad Meyer
Author: cem Date: Thu Feb 15 18:26:45 2018 New Revision: 329331 URL: https://svnweb.freebsd.org/changeset/base/329331 Log: trpt(8): Fully remove and undocument '-t' option disabled in 1999 The relevant code was commented out in r50680. PR: 57045 Submitted by: Fernando Apest

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

2018-02-15 Thread Conrad Meyer
Author: cem Date: Thu Feb 15 18:19:25 2018 New Revision: 329330 URL: https://svnweb.freebsd.org/changeset/base/329330 Log: pmap_qenter.9: Clarify that not all arch can map NX The goal is to use security features when architectures provide them. Reported by: kib Sponsored by: Dell EM

svn commit: r329329 - head/stand/lua

2018-02-15 Thread Kyle Evans
Author: kevans Date: Thu Feb 15 18:16:16 2018 New Revision: 329329 URL: https://svnweb.freebsd.org/changeset/base/329329 Log: stand/lua: Always boot on 'enter' keypress in menus Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua ==

svn commit: r329328 - head/sys/compat/freebsd32

2018-02-15 Thread Brooks Davis
Author: brooks Date: Thu Feb 15 17:58:51 2018 New Revision: 329328 URL: https://svnweb.freebsd.org/changeset/base/329328 Log: Revert r329323. I missed something in my testing. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/com

svn commit: r329327 - head/tools/boot

2018-02-15 Thread Kyle Evans
Author: kevans Date: Thu Feb 15 17:56:45 2018 New Revision: 329327 URL: https://svnweb.freebsd.org/changeset/base/329327 Log: Build loader before installing it in lua-img.sh Slightly more foolproof when all you're wanting to do is quickly get off the ground with testing the lua loader. M

svn commit: r329326 - head/tools/boot

2018-02-15 Thread Kyle Evans
Author: kevans Date: Thu Feb 15 17:47:43 2018 New Revision: 329326 URL: https://svnweb.freebsd.org/changeset/base/329326 Log: Set svn:executable on lua-img.sh Modified: Directory Properties: head/tools/boot/lua-img.sh (props changed) ___ svn-src-h

svn commit: r329325 - head/sys/kern

2018-02-15 Thread Mark Johnston
Author: markj Date: Thu Feb 15 17:35:40 2018 New Revision: 329325 URL: https://svnweb.freebsd.org/changeset/base/329325 Log: Fix the test for SET_FOREACH termination. Unlike the queue(3) _FOREACH macros, the iterator for a SET_FOREACH is not NULL after the end of the set is reached. Modi

svn commit: r329323 - head/sys/compat/freebsd32

2018-02-15 Thread Brooks Davis
Author: brooks Date: Thu Feb 15 17:27:19 2018 New Revision: 329323 URL: https://svnweb.freebsd.org/changeset/base/329323 Log: Regen after r329322: Fix getdirentries(2) under 32-bit compat. Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D14379 Modified

svn commit: r329322 - head/sys/compat/freebsd32

2018-02-15 Thread Brooks Davis
Author: brooks Date: Thu Feb 15 17:26:30 2018 New Revision: 329322 URL: https://svnweb.freebsd.org/changeset/base/329322 Log: Fix getdirentries(2) under 32-bit compat. The latest version of getdirentries (syscall 554) takes a pointer an an off_t as the last argument. The old version which

svn commit: r329317 - head/sys/arm/arm

2018-02-15 Thread Olivier Houchard
Author: cognet Date: Thu Feb 15 15:46:14 2018 New Revision: 329317 URL: https://svnweb.freebsd.org/changeset/base/329317 Log: Rename the ACPI variant of the gicv2m driver from "gicv2m" to "gicv2m_acpi". The FDT variant is called "gicv2m" too, and as both would try to register on gic, only on

svn commit: r329315 - head/stand/common

2018-02-15 Thread Kyle Evans
Author: kevans Date: Thu Feb 15 15:01:07 2018 New Revision: 329315 URL: https://svnweb.freebsd.org/changeset/base/329315 Log: stand: Fix ubldr after r329190 metadata load files were consolidated in r329190, and these relocation fixup bits were inadvertently dropped in the process. Re-add

svn commit: r329314 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2018-02-15 Thread Andriy Gapon
Author: avg Date: Thu Feb 15 14:46:29 2018 New Revision: 329314 URL: https://svnweb.freebsd.org/changeset/base/329314 Log: MFV r329313: 8857 zio_remove_child() panic due to already destroyed parent zio illumos/illumos-gate@d6e1c446d7897003fd9fd36ef5aa7da350b7f6af https://github.com/illum

Re: svn commit: r329296 - head/sbin/devd

2018-02-15 Thread Bruce Evans
On Wed, 14 Feb 2018, Warner Losh wrote: On Wed, Feb 14, 2018 at 8:51 PM, Eitan Adler wrote: On 14 February 2018 at 19:48, Warner Losh wrote: On Wed, Feb 14, 2018 at 8:39 PM, Warner Losh wrote: On Feb 14, 2018 8:23 PM, "Eitan Adler" wrote: Log: devd: don't pass &fds in useless paramet

svn commit: r329312 - head/etc/autofs

2018-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 15 11:41:38 2018 New Revision: 329312 URL: https://svnweb.freebsd.org/changeset/base/329312 Log: etc: clean up trailing whitespace in autofs Obtained from:DragonFlyBSD (48a93f514f93ff671b7b6c9bbed54d45b3f65180) Modified: head/etc/autofs/special_media

Re: svn commit: r329282 - head/share/man/man9

2018-02-15 Thread Konstantin Belousov
On Wed, Feb 14, 2018 at 11:47:04PM +, Conrad Meyer wrote: > Author: cem > Date: Wed Feb 14 23:47:04 2018 > New Revision: 329282 > URL: https://svnweb.freebsd.org/changeset/base/329282 > > Log: > pmap_qenter.9: Document API NX mapping > > A follow-up to r329281. > > Sponsored by:

svn commit: r329311 - head/share/misc

2018-02-15 Thread Eitan Adler
Author: eadler Date: Thu Feb 15 11:13:21 2018 New Revision: 329311 URL: https://svnweb.freebsd.org/changeset/base/329311 Log: share: update pci_vendors to 2018.02.15 MFC After:1 week Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors

Re: svn commit: r327058 - head/stand/efi/boot1

2018-02-15 Thread Tomoaki AOKI
> On Thu, Dec 21, 2017 at 6:21 AM, Michael Zhilin wrote: >> Author: mizhka >> Date: Thu Dec 21 12:21:35 2017 >> New Revision: 327058 >> URL: https://svnweb.freebsd.org/changeset/base/327058 >> >> Log: >> [boot/efi] scan all display modes rather than sequential try-fail way >> >> This patch all