svn commit: r342721 - in head/stand/efi: include libefi loader

2019-01-03 Thread Toomas Soome
Author: tsoome Date: Thu Jan 3 09:03:58 2019 New Revision: 342721 URL: https://svnweb.freebsd.org/changeset/base/342721 Log: loader.efi: update memmap command to recognize new attributes Also move memory type to string translation to libefi for later use. MFC after:2 weeks Modifi

svn commit: r342730 - head/sys/dev/usb

2019-01-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jan 3 14:27:51 2019 New Revision: 342730 URL: https://svnweb.freebsd.org/changeset/base/342730 Log: Improve USB generic debug messages. Print process ID and name when opening and closing usb/ugenX.Y character device nodes. MFC after:1 week Sponsored by: M

svn commit: r342731 - head/sys/riscv/conf

2019-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:11:21 2019 New Revision: 342731 URL: https://svnweb.freebsd.org/changeset/base/342731 Log: Configure hz=100 in the QEMU target. We currently don't have a good way to dynamically detect whether the kernel is running as a guest. Reviewed by: jhb MFC

svn commit: r342732 - head/sys/riscv/riscv

2019-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:15:28 2019 New Revision: 342732 URL: https://svnweb.freebsd.org/changeset/base/342732 Log: Use regular stores to update PTEs in the riscv pmap layer. There's no need to use atomics when the previous value isn't needed. No functional change intended.

svn commit: r342733 - head/sys/riscv/riscv

2019-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:19:32 2019 New Revision: 342733 URL: https://svnweb.freebsd.org/changeset/base/342733 Log: Set PTE_U on PTEs created by pmap_enter_quick(). Otherwise prefaulted entries are not accessible from user mode and end up triggering a fault upon access, so prefau

svn commit: r342734 - head/sys/riscv/riscv

2019-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:21:44 2019 New Revision: 342734 URL: https://svnweb.freebsd.org/changeset/base/342734 Log: Fix some issues with the riscv pmap_protect() implementation. - Handle VM_PROT_EXECUTE. - Clear PTE_D and mark the page dirty when removing write access from a

svn commit: r342735 - head/sys/riscv/riscv

2019-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:24:03 2019 New Revision: 342735 URL: https://svnweb.freebsd.org/changeset/base/342735 Log: Synchronize access to the allpmaps list. The list will be removed with some future work. Reviewed by: jhb MFC after:1 week Sponsored by: The FreeBSD Fou

svn commit: r342736 - head/sys/riscv/riscv

2019-01-03 Thread Mark Johnston
Author: markj Date: Thu Jan 3 16:26:52 2019 New Revision: 342736 URL: https://svnweb.freebsd.org/changeset/base/342736 Log: Fix a use-after-free in the riscv pmap_release() implementation. Don't bother zeroing the top-level page before freeing it. Previously, the page was freed before b

svn commit: r342737 - head/tests/sys/netmap

2019-01-03 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Jan 3 16:47:05 2019 New Revision: 342737 URL: https://svnweb.freebsd.org/changeset/base/342737 Log: netmap: unit tests: fix issues found by coverity scan Reported by: asomers MFC after:1 week Sponsored by: Sunny Valley Networks Modified: head/tests/s

svn commit: r342739 - head/sys/i386/i386

2019-01-03 Thread Konstantin Belousov
Author: kib Date: Thu Jan 3 19:35:07 2019 New Revision: 342739 URL: https://svnweb.freebsd.org/changeset/base/342739 Log: Fix typo in r342710. Noted by: lidl MFC after:3 days Modified: head/sys/i386/i386/pmap.c Modified: head/sys/i386/i386/pmap.c =

svn commit: r342741 - head/bin/sh/tests/execution

2019-01-03 Thread Jilles Tjoelker
Author: jilles Date: Thu Jan 3 20:23:12 2019 New Revision: 342741 URL: https://svnweb.freebsd.org/changeset/base/342741 Log: sh: Add test for exported but unset variables PR: 233545 Added: head/bin/sh/tests/execution/env1.0 (contents, props changed) Modified: head/bin/sh/t

svn commit: r342740 - head/bin/sh

2019-01-03 Thread Jilles Tjoelker
Author: jilles Date: Thu Jan 3 20:22:35 2019 New Revision: 342740 URL: https://svnweb.freebsd.org/changeset/base/342740 Log: sh: Do not place exported but unset variables into the environment PR: 233545 Submitted by: Jan Beich Obtained from:NetBSD Modified: head/bi

svn commit: r342742 - in head/stand/efi: include include/Guid include/Protocol libefi loader

2019-01-03 Thread Toomas Soome
Author: tsoome Date: Thu Jan 3 20:27:50 2019 New Revision: 342742 URL: https://svnweb.freebsd.org/changeset/base/342742 Log: loader.efi: efi variable rework and lsefi command added This update does add diag and debug capabilities to interpret the efi variables, configuration and protocol

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

2019-01-03 Thread Romain Tartière
Author: romain (ports committer) Date: Thu Jan 3 21:31:17 2019 New Revision: 342743 URL: https://svnweb.freebsd.org/changeset/base/342743 Log: Add man page for dlvsym(3) Add a short description of the function to the appropriate man page and add reference to it where it makes sense.

svn commit: r342747 - head/sys/cddl/boot/zfs

2019-01-03 Thread Matt Macy
Author: mmacy Date: Thu Jan 3 22:49:11 2019 New Revision: 342747 URL: https://svnweb.freebsd.org/changeset/base/342747 Log: zfsboot: support newer ZFS versions declare v3 objset size/layout to fix userboot and possibly other loader issues - fix for userboot assertion failure in zfs_dev_c

svn commit: r342749 - head/sys/net

2019-01-03 Thread Matt Macy
Author: mmacy Date: Thu Jan 3 23:06:05 2019 New Revision: 342749 URL: https://svnweb.freebsd.org/changeset/base/342749 Log: mp_ring: avoid items offset difference between iflib and mp_ring on architectures without 64-bit atomics Reported by: Augustin Cavalier Modified: head/sys/net/

svn commit: r342754 - head/usr.bin/lam

2019-01-03 Thread Allan Jude
Author: allanjude Date: Fri Jan 4 02:48:43 2019 New Revision: 342754 URL: https://svnweb.freebsd.org/changeset/base/342754 Log: The lam(1) man page is unclear about the uppercase versions of the flags PR: 229571 Submitted by: Tim Chase Modified: head/usr.bin/lam/lam.1 Modi

svn commit: r342757 - head/lib/libc/stdlib

2019-01-03 Thread Kyle Evans
Author: kevans Date: Fri Jan 4 03:13:24 2019 New Revision: 342757 URL: https://svnweb.freebsd.org/changeset/base/342757 Log: getopt_long(3): fix case of malformed long opt When presented with an arg string like '-l-', getopt_long will successfully parse out the 'l' short option, then pro

svn commit: r342758 - head/sys/dev/cxgbe/common

2019-01-03 Thread Navdeep Parhar
Author: np Date: Fri Jan 4 04:15:17 2019 New Revision: 342758 URL: https://svnweb.freebsd.org/changeset/base/342758 Log: cxgbe(4): Clear FW_OK if the firmware reports an error. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_hw.c Modified: head/sys/dev/cxgbe

svn commit: r342759 - in head/sys/dev/rtwn: rtl8188e rtl8188e/pci rtl8192c

2019-01-03 Thread Andriy Voskoboinyk
Author: avos Date: Fri Jan 4 04:26:39 2019 New Revision: 342759 URL: https://svnweb.freebsd.org/changeset/base/342759 Log: rtwn_pci(4): sync r88ee_power_on() with OpenBSD Tested with RTL8188EE, STA mode Submitted by: Farhan Khan MFC after:3 days Differential Revision: