svn commit: r316723 - in head/sys/dev/rtwn: rtl8188e rtl8192c rtl8812a

2017-04-12 Thread Andriy Voskoboinyk
Author: avos Date: Wed Apr 12 07:21:54 2017 New Revision: 316723 URL: https://svnweb.freebsd.org/changeset/base/316723 Log: rtwn: remove out-of-bounds access + fix debug output. Omit unused rates while initializing / dumping Tx power values. They were not accessed anywhere (except for

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

2017-04-12 Thread Ruslan Bukin
Author: br Date: Wed Apr 12 10:34:50 2017 New Revision: 316728 URL: https://svnweb.freebsd.org/changeset/base/316728 Log: Provide a NULL pointer to device tree blob so GENERIC kernel can be compiled. We will need to get pointer to DTB from hardware, so mark as TODO. Sponsored by: DARPA,

svn commit: r316729 - head/sys/conf

2017-04-12 Thread Ruslan Bukin
Author: br Date: Wed Apr 12 10:40:30 2017 New Revision: 316729 URL: https://svnweb.freebsd.org/changeset/base/316729 Log: Disable fformat-extensions for RISC-V target as GCC 6.1 external compiler has no support for that. Sponsored by: DARPA, AFRL Differential Revision:https://re

svn commit: r316730 - head

2017-04-12 Thread Ruslan Bukin
Author: br Date: Wed Apr 12 10:45:19 2017 New Revision: 316730 URL: https://svnweb.freebsd.org/changeset/base/316730 Log: Include RISC-V target to universe build. Check if RISC-V external toolchain package is installed, otherwise skip build. Reviewed by: emaste Sponsored by: DARPA

svn commit: r316731 - head/share/misc

2017-04-12 Thread Maxim Konovalov
Author: maxim Date: Wed Apr 12 11:41:35 2017 New Revision: 316731 URL: https://svnweb.freebsd.org/changeset/base/316731 Log: OpenBSD 6.1 release added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

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

2017-04-12 Thread Andrew Turner
Author: andrew Date: Wed Apr 12 12:34:27 2017 New Revision: 316732 URL: https://svnweb.freebsd.org/changeset/base/316732 Log: Use the unprivileged variant of the load and store instructions most places possible in the kernel. This forces these functions to fail if userspace is unable to acce

Re: svn commit: r316718 - head/sbin/mksnap_ffs

2017-04-12 Thread Conrad Meyer
Hi Maxim, This breaks several stbuf checks in main() following the stat() call you removed to isdir(). Coverity reported this as CID 1374247. On Tue, Apr 11, 2017 at 2:55 PM, Maxim Sobolev wrote: > Author: sobomax > Date: Tue Apr 11 21:55:39 2017 > New Revision: 316718 > URL: https://svnweb.fre

svn commit: r316733 - head/sys/dev/syscons

2017-04-12 Thread Bruce Evans
Author: bde Date: Wed Apr 12 16:21:55 2017 New Revision: 316733 URL: https://svnweb.freebsd.org/changeset/base/316733 Log: Fix clobbering of the default attribute and the screen position in scteken_init(). Move the internals of scteken_sync() into a local function to help do this. scte

svn commit: r316734 - in head/sys/arm64: arm64 include

2017-04-12 Thread Andrew Turner
Author: andrew Date: Wed Apr 12 16:28:40 2017 New Revision: 316734 URL: https://svnweb.freebsd.org/changeset/base/316734 Log: Start to use the User and Privileged execute-never bits in the arm64 pagetables. This sets both bits when entering an address we know shouldn't be executed. I ex

svn commit: r316735 - head/sys/dev/syscons

2017-04-12 Thread Bruce Evans
Author: bde Date: Wed Apr 12 17:06:24 2017 New Revision: 316735 URL: https://svnweb.freebsd.org/changeset/base/316735 Log: Fix removing of the mouse image in vga planar mode with 8x8 fonts, and reduce hard-coded assumptions on font sizes so that the cursor size can be more independent of the

Re: svn commit: r314690 - in head: share/man/man5 sys/conf sys/fs/procfs sys/modules/procfs

2017-04-12 Thread Mark Johnston
On Sun, Mar 05, 2017 at 03:05:24AM +, Eric Badger wrote: > Author: badger > Date: Sun Mar 5 03:05:24 2017 > New Revision: 314690 > URL: https://svnweb.freebsd.org/changeset/base/314690 > > Log: > remove procfs ctl interface > > This interface has no in-tree consumers and has been more

svn commit: r316736 - head/sys/dev/syscons

2017-04-12 Thread Bruce Evans
Author: bde Date: Wed Apr 12 17:38:00 2017 New Revision: 316736 URL: https://svnweb.freebsd.org/changeset/base/316736 Log: Trival style fix to previous commit to add this detail. The previous commit also fixed the coordinates passed to the mouse removal renderer. The coordinates were rou

Re: svn commit: r316718 - head/sbin/mksnap_ffs

2017-04-12 Thread Maxim Sobolev
Ah, that's right. Good catch, sorry about that. I will fix it momentarily. -Maxim On Wed, Apr 12, 2017 at 8:51 AM, Conrad Meyer wrote: > Hi Maxim, > > This breaks several stbuf checks in main() following the stat() call > you removed to isdir(). Coverity reported this as CID 1374247. > > On Tu

svn commit: r316737 - head/sys/dev/syscons

2017-04-12 Thread Bruce Evans
Author: bde Date: Wed Apr 12 18:52:06 2017 New Revision: 316737 URL: https://svnweb.freebsd.org/changeset/base/316737 Log: Fix removal of mouse image by the vga planar renderer in the right border in unusual cases. Optimize and significantly clean up removal in this renderer. Optimize remo

svn commit: r316738 - head/sbin/mksnap_ffs

2017-04-12 Thread Maxim Sobolev
Author: sobomax Date: Wed Apr 12 19:23:41 2017 New Revision: 316738 URL: https://svnweb.freebsd.org/changeset/base/316738 Log: Fix an issue in the rev.316718 causing variable to be unsed uninitialized. Reported by:Coverity Nudged by: cem MFC after:2 weeks Modified: head/

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

2017-04-12 Thread Konstantin Belousov
Author: kib Date: Wed Apr 12 19:27:14 2017 New Revision: 316739 URL: https://svnweb.freebsd.org/changeset/base/316739 Log: Report _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX which show parameters of the current usermode implementation of the POSIX semaphores. For NSEMS_MAX, return -1 without

svn commit: r316740 - head/sbin/savecore

2017-04-12 Thread Ngie Cooper
Author: ngie Date: Wed Apr 12 20:08:39 2017 New Revision: 316740 URL: https://svnweb.freebsd.org/changeset/base/316740 Log: Clarify `minfree` warning message in check_space(..) - State that the units are kB. - Be more complete/concise in terms of what is required (in this case `minfre

svn commit: r316741 - head/sys/dev/syscons

2017-04-12 Thread Bruce Evans
Author: bde Date: Wed Apr 12 20:18:38 2017 New Revision: 316741 URL: https://svnweb.freebsd.org/changeset/base/316741 Log: Improve drawing of the vga planar mode mouse image a little. Unobfuscate the method a lot. Reduce the AND mask to the complement of the cursor's frame, so that area

svn commit: r316742 - head/sbin/savecore

2017-04-12 Thread Ngie Cooper
Author: ngie Date: Wed Apr 12 20:20:04 2017 New Revision: 316742 URL: https://svnweb.freebsd.org/changeset/base/316742 Log: Clarify units for mediasize and sectorsize in DoFile(..) They're byte quantities. MFC after:7 weeks Sponsored by: Dell EMC Isilon Modified: head/sbin/sav

svn commit: r316743 - in head/sys/netinet: . tcp_stacks

2017-04-12 Thread Michael Tuexen
Author: tuexen Date: Wed Apr 12 20:27:15 2017 New Revision: 316743 URL: https://svnweb.freebsd.org/changeset/base/316743 Log: The sysctl variable net.inet.tcp.drop_synfin is not honored in all states, for example not in SYN-SENT. This patch adds code to check the sysctl variable in other sta

svn commit: r316744 - head/bin/sh

2017-04-12 Thread Jilles Tjoelker
Author: jilles Date: Wed Apr 12 21:15:55 2017 New Revision: 316744 URL: https://svnweb.freebsd.org/changeset/base/316744 Log: sh: Reduce size of limits table. Modified: head/bin/sh/miscbltin.c Modified: head/bin/sh/miscbltin.c =

svn commit: r316745 - head/sys/fs/nfsclient

2017-04-12 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 12 21:37:12 2017 New Revision: 316745 URL: https://svnweb.freebsd.org/changeset/base/316745 Log: Fix the NFS client for "text file modified, process killed" mmap'd case. When an mmap'd text file is written and then executed immediately afterwards, it was pos

svn commit: r316746 - head/share/examples/bhyve

2017-04-12 Thread Allan Jude
Author: allanjude Date: Thu Apr 13 00:07:39 2017 New Revision: 316746 URL: https://svnweb.freebsd.org/changeset/base/316746 Log: Add UEFI support to vmrun.sh Adds: -E: Use UEFI mode -f: path to UEFI firmware image (default: path to uefi-edk2-bhyve package) -F: UEFI framebuffer size

svn commit: r316747 - head/sys/dev/qlnx/qlnxe

2017-04-12 Thread David C Somayajulu
Author: davidcs Date: Thu Apr 13 01:17:49 2017 New Revision: 316747 URL: https://svnweb.freebsd.org/changeset/base/316747 Log: Fix rss_ind_table entry for num_funcs > 1 MFC after:3 days Modified: head/sys/dev/qlnx/qlnxe/qlnx_os.c Modified: head/sys/dev/qlnx/qlnxe/qlnx_os.c =

svn commit: r316749 - in head/sys/dev/drm2: . i915

2017-04-12 Thread Conrad Meyer
Author: cem Date: Thu Apr 13 01:56:15 2017 New Revision: 316749 URL: https://svnweb.freebsd.org/changeset/base/316749 Log: drm2: Add some missing PCIIDs for some Haswell systems Submitted by: Jia-Shiun Li Modified: head/sys/dev/drm2/drm_pciids.h head/sys/dev/drm2/i915/i915_drv.c Modi

svn commit: r316750 - head/contrib/netbsd-tests/usr.bin/grep

2017-04-12 Thread Ngie Cooper
Author: ngie Date: Thu Apr 13 04:10:27 2017 New Revision: 316750 URL: https://svnweb.freebsd.org/changeset/base/316750 Log: Fix expectations for testcases per bsdgrep vs gnu grep from base/ports The following failures occur with various versions of grep: BSD grep: - :context - :con

Re: svn commit: r316750 - head/contrib/netbsd-tests/usr.bin/grep

2017-04-12 Thread Ngie Cooper (yaneurabeya)
> On Apr 12, 2017, at 21:10, Ngie Cooper wrote: > > Author: ngie > Date: Thu Apr 13 04:10:27 2017 > New Revision: 316750 > URL: https://svnweb.freebsd.org/changeset/base/316750 … > Reported by: Jenkins (bsdgrep failures) Slight correction: Jenkins is reporting failures with gnu grep from bas