svn commit: r295963 - in stable/9/cddl/contrib/opensolaris/cmd: zfs zpool

2016-02-23 Thread Dimitry Andric
Author: dim Date: Wed Feb 24 07:53:57 2016 New Revision: 295963 URL: https://svnweb.freebsd.org/changeset/base/295963 Log: MFC r295844: Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). Currently, zfs(8) and zpool(8) print "invalid type '(null)'" or similar messages,

svn commit: r295962 - in head/sys: arm64/cavium conf dev/pci

2016-02-23 Thread Wojciech Macek
Author: wma Date: Wed Feb 24 06:05:30 2016 New Revision: 295962 URL: https://svnweb.freebsd.org/changeset/base/295962 Log: Make pci_host_generic and thunderx_pci common * provided OFW interface for pci_host_generic (for handling devices which are present in DTS under the PCI node) * rem

svn commit: r295961 - stable/10/contrib/libarchive/libarchive

2016-02-23 Thread Xin LI
Author: delphij Date: Wed Feb 24 05:40:03 2016 New Revision: 295961 URL: https://svnweb.freebsd.org/changeset/base/295961 Log: MFC r295914: MFV r295913: Partially apply upstream changeset 6e06b1c8 (kientzle). Limit filter recursion level to 25 (instead of infinite). This fixes a pot

Re: svn: head/sys/mips/conf

2016-02-23 Thread Adrian Chadd
I'll do them soonish. :) -a On 23 February 2016 at 21:21, Maxim Sobolev wrote: > Thanks Adrian, sorry, missed those. I've also noticed that few of the MIPS > configs use: > > device geom_uncompress > > Few: > > option GEOM_UNCOMPRESS > > and majority actually both: > > device

Re: svn: head/sys/mips/conf

2016-02-23 Thread Maxim Sobolev
Thanks Adrian, sorry, missed those. I've also noticed that few of the MIPS configs use: device geom_uncompress Few: option GEOM_UNCOMPRESS and majority actually both: device geom_uncompress option GEOM_UNCOMPRESS I think the canonical form is "option GEOM_Z

svn commit: r295960 - head/sys/conf

2016-02-23 Thread Maxim Sobolev
Author: sobomax Date: Wed Feb 24 05:17:52 2016 New Revision: 295960 URL: https://svnweb.freebsd.org/changeset/base/295960 Log: o kill few remaining references to the GEOM_UNCOMPRESS; o add GEOM_UZIP_DEBUG. Modified: head/sys/conf/options Modified: head/sys/conf/options =

svn commit: r295959 - in head: share/man/man4 sys/conf

2016-02-23 Thread Maxim Sobolev
Author: sobomax Date: Wed Feb 24 05:16:24 2016 New Revision: 295959 URL: https://svnweb.freebsd.org/changeset/base/295959 Log: Kill few remaininng instances of GEOM_UNCOMPRESS. Modified: head/share/man/man4/geom.4 head/sys/conf/NOTES Modified: head/share/man/man4/geom.4 ===

svn commit: r295958 - in head/sys: conf dev/hyperv/include dev/hyperv/utilities modules/hyperv/utilities

2016-02-23 Thread Sepherosa Ziehau
Author: sephe Date: Wed Feb 24 05:01:18 2016 New Revision: 295958 URL: https://svnweb.freebsd.org/changeset/base/295958 Log: hyperv/utils: Code rearrange and cleanup Split heartbeat, shutdown and timesync out of utils code and name them properly. Submitted by: Jun Su Reviewed by:

svn commit: r295956 - head/sys/mips/conf

2016-02-23 Thread Adrian Chadd
Author: adrian Date: Wed Feb 24 03:06:26 2016 New Revision: 295956 URL: https://svnweb.freebsd.org/changeset/base/295956 Log: Migrate UNCOMPRESS -> UZIP Modified: head/sys/mips/conf/DIR-825C1 head/sys/mips/conf/MT7620 Modified: head/sys/mips/conf/DIR-825C1 =

svn commit: r295952 - head/sys/geom/uzip

2016-02-23 Thread Adrian Chadd
Author: adrian Date: Wed Feb 24 02:52:49 2016 New Revision: 295952 URL: https://svnweb.freebsd.org/changeset/base/295952 Log: Fixes to make it compile under gcc-4.2. Modified: head/sys/geom/uzip/g_uzip.c head/sys/geom/uzip/g_uzip.h Modified: head/sys/geom/uzip/g_uzip.c

svn commit: r295951 - in stable/10: sys/compat/linprocfs sys/compat/linsysfs sys/kern sys/sys usr.sbin/jail

2016-02-23 Thread Marcelo Araujo
Author: araujo Date: Wed Feb 24 02:34:11 2016 New Revision: 295951 URL: https://svnweb.freebsd.org/changeset/base/295951 Log: MFH: 285685 Add support to the jail framework to be able to mount linsysfs(5) and linprocfs(5). PR: 207179 Requested by: tho...@gibfest.dk Reviewed

svn commit: r295950 - head/sys/ufs/ffs

2016-02-23 Thread Kirk McKusick
Author: mckusick Date: Wed Feb 24 01:58:40 2016 New Revision: 295950 URL: https://svnweb.freebsd.org/changeset/base/295950 Log: The UFS filesystem requires that the last block of a file always be allocated. When shortening the length of a file in which the new end of the file contains a hole

svn commit: r295949 - in head: etc etc/defaults share/man/man8

2016-02-23 Thread Marcelo Araujo
Author: araujo Date: Wed Feb 24 01:32:12 2016 New Revision: 295949 URL: https://svnweb.freebsd.org/changeset/base/295949 Log: - Add a global option where we can protect processes when swap space is exhausted. How to use: Basically we need to add on rc.conf an another option like:

svn commit: r295948 - in stable/10/sys/dev/hyperv: netvsc vmbus

2016-02-23 Thread Sepherosa Ziehau
Author: sephe Date: Wed Feb 24 01:30:50 2016 New Revision: 295948 URL: https://svnweb.freebsd.org/changeset/base/295948 Log: MFC [Hyper-V]: r294553, r294700 r294553 hyperv/vmbus: Lookup channel through id table Vmbus event handler will need to find the channel by its relative id

Re: svn commit: r295927 - in head/sys/netinet: . tcp_stacks

2016-02-23 Thread John Baldwin
On Tuesday, February 23, 2016 05:53:39 PM Randall Stewart wrote: > Author: rrs > Date: Tue Feb 23 17:53:39 2016 > New Revision: 295927 > URL: https://svnweb.freebsd.org/changeset/base/295927 > > Log: > This fixes the fastpath code to have a better module initialization > sequence when > inclu

svn commit: r295947 - head/sys/dev/ixl

2016-02-23 Thread Eric Joyner
Author: erj Date: Wed Feb 24 01:11:51 2016 New Revision: 295947 URL: https://svnweb.freebsd.org/changeset/base/295947 Log: ixl(4)/ixlv(4): Remove a couple unnecessary register writes/flushes. The one in ixl_xmit() has brought up to us as being unnecessary at least a couple times. Dif

svn commit: r295946 - head/sys/dev/ixl

2016-02-23 Thread Eric Joyner
Author: erj Date: Wed Feb 24 00:42:43 2016 New Revision: 295946 URL: https://svnweb.freebsd.org/changeset/base/295946 Log: ixl(4): Fix potential driver interrupt setup issues and startup crash. - Limit queue autoconfiguration to 8 queues to prevent the driver from requesting a large num

svn commit: r295945 - in head: . share/man/man4 sys/boot/forth sys/conf sys/geom/uncompress sys/mips/conf sys/modules/geom sys/modules/geom/geom_uncompress targets/pseudo/userland usr.bin usr.bin/m...

2016-02-23 Thread Maxim Sobolev
:36 2016(r295945) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20160223: functionality from mkulzma(1) merged into mkuzip(1) +OLD_FILES+=usr/bin/mkulzma # 20160211: Remove obsolete unbound-control-setup OLD_FILES+=usr/sbin/unbound-control-setup # 20160116: Update mandoc

svn commit: r295944 - head/sys/dev/nvme

2016-02-23 Thread Jim Harris
Author: jimharris Date: Wed Feb 24 00:01:10 2016 New Revision: 295944 URL: https://svnweb.freebsd.org/changeset/base/295944 Log: nvme: fix intx handler to not dereference ioq during initialization This was a regression from r293328, which deferred allocation of the controller's ioq array

svn commit: r295943 - in head: share/man/man4 sys/conf sys/geom/uzip sys/modules/geom/geom_uzip usr.bin/mkuzip

2016-02-23 Thread Maxim Sobolev
Author: sobomax Date: Tue Feb 23 23:59:08 2016 New Revision: 295943 URL: https://svnweb.freebsd.org/changeset/base/295943 Log: Improve mkuzip(8) and geom_uzip(4), merge in LZMA support from mkulzma(8) and geom_uncompress(4): 1. mkuzip(8): - Proper support for eliminating all-zero bl

svn commit: r295942 - head/sys/x86/isa

2016-02-23 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 23:57:24 2016 New Revision: 295942 URL: https://svnweb.freebsd.org/changeset/base/295942 Log: Silence PVS-Studio warning (V595). It can never be NULL here. Modified: head/sys/x86/isa/clock.c Modified: head/sys/x86/isa/clock.c ===

Re: svn commit: r295934 - head/sys/kern

2016-02-23 Thread Bryan Drewery
On 2/23/2016 2:02 PM, Mariusz Zaborski wrote: > Author: oshogbo > Date: Tue Feb 23 22:02:25 2016 > New Revision: 295934 > URL: https://svnweb.freebsd.org/changeset/base/295934 > > Log: > According to the sys/kern/capabilities.conf, gethostid(3) should be allowed. > > Pointed out by: Mil

svn commit: r295941 - head/sys/kern

2016-02-23 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 23 23:37:10 2016 New Revision: 295941 URL: https://svnweb.freebsd.org/changeset/base/295941 Log: Fix build after r295934. Modified: head/sys/kern/kern_mib.c Modified: head/sys/kern/kern_mib.c =

svn commit: r295940 - head/sys/dev/acpica

2016-02-23 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 23:09:45 2016 New Revision: 295940 URL: https://svnweb.freebsd.org/changeset/base/295940 Log: Silence PVS-Studio warning (V595). Modified: head/sys/dev/acpica/acpi_ec.c Modified: head/sys/dev/acpica/acpi_ec.c =

svn commit: r295939 - head/sys/dev/acpica

2016-02-23 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 22:55:44 2016 New Revision: 295939 URL: https://svnweb.freebsd.org/changeset/base/295939 Log: Silence PVS-Studio warning (V595). Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c ===

svn commit: r295938 - head/sys/dev/acpica

2016-02-23 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 22:50:45 2016 New Revision: 295938 URL: https://svnweb.freebsd.org/changeset/base/295938 Log: Remove brightness notify handler before reinstalling new one. Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c

svn commit: r295937 - in head/bin/sh: . tests/parser

2016-02-23 Thread Jilles Tjoelker
Author: jilles Date: Tue Feb 23 22:44:01 2016 New Revision: 295937 URL: https://svnweb.freebsd.org/changeset/base/295937 Log: sh: Fix set -v and multiline history after r295825. r295825 erroneously dropped the newline from the input data for 'set -v' output and multiline history. Rep

svn commit: r295936 - head/sys/dev/acpica

2016-02-23 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 22:30:45 2016 New Revision: 295936 URL: https://svnweb.freebsd.org/changeset/base/295936 Log: Fix white spaces. Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c

svn commit: r295935 - head/sys/dev/acpica

2016-02-23 Thread Jung-uk Kim
Author: jkim Date: Tue Feb 23 22:22:15 2016 New Revision: 295935 URL: https://svnweb.freebsd.org/changeset/base/295935 Log: Fix style(9) bugs. Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c ===

svn commit: r295934 - head/sys/kern

2016-02-23 Thread Mariusz Zaborski
Author: oshogbo Date: Tue Feb 23 22:02:25 2016 New Revision: 295934 URL: https://svnweb.freebsd.org/changeset/base/295934 Log: According to the sys/kern/capabilities.conf, gethostid(3) should be allowed. Pointed out by: Milosz Kaniewski Approved by: pjd (mentor) MFC after:3

svn commit: r295933 - head/sys/netinet

2016-02-23 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 23 21:21:47 2016 New Revision: 295933 URL: https://svnweb.freebsd.org/changeset/base/295933 Log: Fix build after r29592. Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c

svn commit: r295932 - head/sys/net80211

2016-02-23 Thread Andriy Voskoboinyk
Author: avos Date: Tue Feb 23 21:11:42 2016 New Revision: 295932 URL: https://svnweb.freebsd.org/changeset/base/295932 Log: net80211: fix TIM cleanup. Remove duplicate 'ni->ni_associd = 0' assignment from ieee80211_node_leave(), since it breaks iv_set_tim() in ic->ic_node_cleanup() (ass

svn commit: r295931 - in head: lib/libsysdecode usr.bin/kdump usr.bin/truss

2016-02-23 Thread John Baldwin
Author: jhb Date: Tue Feb 23 20:00:55 2016 New Revision: 295931 URL: https://svnweb.freebsd.org/changeset/base/295931 Log: Add handling for non-native error values to libsysdecode. Add two new functions, sysdecode_abi_to_freebsd_errno() and sysdecode_freebsd_to_abi_errno(), which convert

svn commit: r295930 - head/usr.bin/truss

2016-02-23 Thread John Baldwin
Author: jhb Date: Tue Feb 23 19:56:29 2016 New Revision: 295930 URL: https://svnweb.freebsd.org/changeset/base/295930 Log: Add support for displaying thread IDs to truss(1). - Consolidate duplicate code for printing the metadata at the start of each line into a shared function. - Add

svn commit: r295929 - head/sys/netinet6

2016-02-23 Thread Michael Tuexen
Author: tuexen Date: Tue Feb 23 18:50:34 2016 New Revision: 295929 URL: https://svnweb.freebsd.org/changeset/base/295929 Log: Don't leak an address in an error path. CID: 1351729 MFC after:3 days Modified: head/sys/netinet6/sctp6_usrreq.c Modified: head/sys/netinet6/sctp6

svn commit: r295928 - head/sys/dev/usb/controller

2016-02-23 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 23 18:17:01 2016 New Revision: 295928 URL: https://svnweb.freebsd.org/changeset/base/295928 Log: Configure the correct bMaxPacketSize for control endpoints before requesting the initial complete device descriptor and not as part of the subsequent babble error r

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

2016-02-23 Thread Randall Stewart
Author: rrs Date: Tue Feb 23 17:53:39 2016 New Revision: 295927 URL: https://svnweb.freebsd.org/changeset/base/295927 Log: This fixes the fastpath code to have a better module initialization sequence when included in loader.conf. It also fixes it so that no matter if some one incorrectly s

svn commit: r295925 - head/usr.sbin/pwd_mkdb

2016-02-23 Thread David Malone
Author: dwmalone Date: Tue Feb 23 15:28:13 2016 New Revision: 295925 URL: https://svnweb.freebsd.org/changeset/base/295925 Log: Following revision r295924, the changes to a db file should be fsynced before the file is closed. Consequently, it shouldn't be necessary to open the file with O_SY

svn commit: r295924 - head/lib/libc/db/hash

2016-02-23 Thread David Malone
Author: dwmalone Date: Tue Feb 23 15:21:13 2016 New Revision: 295924 URL: https://svnweb.freebsd.org/changeset/base/295924 Log: If we close or sync a hash-based db file, make sure to call fsync to make sure the changes are on disk. The people at pfSense noticed that it didn't always make it

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

2016-02-23 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 23 14:58:20 2016 New Revision: 295923 URL: https://svnweb.freebsd.org/changeset/base/295923 Log: Be more verbose when truncating number of HID items. Suggested by: Larry Rosenman MFC after:1 week Modified: head/sys/dev/usb/usb_hid.c Modified: head/s

svn commit: r295922 - head/sys/conf

2016-02-23 Thread Ruslan Bukin
Author: br Date: Tue Feb 23 14:29:22 2016 New Revision: 295922 URL: https://svnweb.freebsd.org/changeset/base/295922 Log: Set a dependencies for stack(9) RISC-V MD part. Pointed out by: andrew Modified: head/sys/conf/files.riscv Modified: head/sys/conf/files.riscv

svn commit: r295921 - in head/sys: boot/fdt/dts/riscv riscv/riscv

2016-02-23 Thread Ruslan Bukin
Author: br Date: Tue Feb 23 14:21:46 2016 New Revision: 295921 URL: https://svnweb.freebsd.org/changeset/base/295921 Log: o Grab physical memory regions information from the device tree. o Increase memory size. Modified: head/sys/boot/fdt/dts/riscv/qemu.dts head/sys/boot/fdt/dts/riscv/spi

svn commit: r295920 - in head/sys/arm: arm include

2016-02-23 Thread Svatopluk Kraus
Author: skra Date: Tue Feb 23 10:12:50 2016 New Revision: 295920 URL: https://svnweb.freebsd.org/changeset/base/295920 Log: Remove redundant __ARM_ARCH >= 6 check in armv6 specific files. Modified: head/sys/arm/arm/cpu_asm-v6.S head/sys/arm/include/cpu-v6.h Modified: head/sys/arm/arm/cpu_a

svn commit: r295919 - head/sys/dev/hyperv/storvsc

2016-02-23 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 23 09:29:45 2016 New Revision: 295919 URL: https://svnweb.freebsd.org/changeset/base/295919 Log: hyperv/stor: Fix print format Detected by: PVS Static Analysis MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.

svn commit: r295918 - head/sys/dev/hyperv/netvsc

2016-02-23 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 23 09:25:20 2016 New Revision: 295918 URL: https://svnweb.freebsd.org/changeset/base/295918 Log: hyperv/hn: Use IFQ_DRV_PREPEND instead of IF_PREPEND IF_PREPEND promises out-of-order packet sending when the TX desc list is depleted. It was overlooked and copied

svn commit: r295917 - head/sys/compat/cloudabi

2016-02-23 Thread Ed Schouten
Author: ed Date: Tue Feb 23 09:22:00 2016 New Revision: 295917 URL: https://svnweb.freebsd.org/changeset/base/295917 Log: Make handling of mmap()'s prot argument more strict. - Make the system call fail if prot contains bits other than read, write and exec. - Similar to OpenBSD's W^X,

svn commit: r295916 - head/sys/dev/hyperv/netvsc

2016-02-23 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 23 09:20:33 2016 New Revision: 295916 URL: https://svnweb.freebsd.org/changeset/base/295916 Log: hyperv/hn: Factor out hn_send_pkt() from hn_start_locked() It will be shared w/ the upcoming ifnet.if_transmit method implementation. No functional change.

svn commit: r295915 - stable/9/contrib/libarchive/libarchive

2016-02-23 Thread Xin LI
Author: delphij Date: Tue Feb 23 08:12:39 2016 New Revision: 295915 URL: https://svnweb.freebsd.org/changeset/base/295915 Log: Instant-MFC r295914: MFV r295913: Partially apply upstream changeset 6e06b1c8 (kientzle). Limit filter recursion level to 25 (instead of infinite). This fixes