svn commit: r287619 - head/lib/libc/net

2015-09-10 Thread Michael Tuexen
Author: tuexen Date: Thu Sep 10 10:23:23 2015 New Revision: 287619 URL: https://svnweb.freebsd.org/changeset/base/287619 Log: Zero out a local variable also when PURIFY is not defined. This silence a warning brought up by valgrind whenever if_nametoindex is used. This was already discussed

svn commit: r287618 - head/sys/cam/ctl

2015-09-10 Thread Alexander Motin
Author: mav Date: Thu Sep 10 09:27:22 2015 New Revision: 287618 URL: https://svnweb.freebsd.org/changeset/base/287618 Log: Disable CTL_IO_DELAY feature. It is too developer-oriented to be enabled by default. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_io.h Modified:

svn commit: r287615 - head/etc/rc.d

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:56:56 2015 New Revision: 287615 URL: https://svnweb.freebsd.org/changeset/base/287615 Log: Use read to parse a line instead of set. MFC after:3 days Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail

svn commit: r287614 - head/etc/rc.d

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:55:28 2015 New Revision: 287614 URL: https://svnweb.freebsd.org/changeset/base/287614 Log: - Add uid check. - Report delay<0 as a warning. MFC after:3 days Modified: head/etc/rc.d/bgfsck Modified: head/etc/rc.d/bgfsck

svn commit: r287616 - head/sys/dev/usb/serial

2015-09-10 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 10 07:36:54 2015 New Revision: 287616 URL: https://svnweb.freebsd.org/changeset/base/287616 Log: Update USB quirk. MFC after:1 month PR: 202968 Modified: head/sys/dev/usb/serial/u3g.c Modified: head/sys/dev/usb/serial/u3g.c

svn commit: r287617 - head/sys/netinet6

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 08:37:03 2015 New Revision: 287617 URL: https://svnweb.freebsd.org/changeset/base/287617 Log: Remove SIOCGDRLST_IN6 and SIOCGPRLST_IN6 forgotten in the previous commit. MFC after:3 days Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c

svn commit: r287621 - in head/sys: cam/ctl conf modules/ctl

2015-09-10 Thread Alexander Motin
Author: mav Date: Thu Sep 10 12:40:31 2015 New Revision: 287621 URL: https://svnweb.freebsd.org/changeset/base/287621 Log: Reimplement CTL High Availability. CTL HA functionality was originally implemented by Copan many years ago, but large part of the sources was never published. This

svn commit: r287620 - in head: sys/cam/ctl usr.sbin/ctladm

2015-09-10 Thread Alexander Motin
Author: mav Date: Thu Sep 10 10:46:21 2015 New Revision: 287620 URL: https://svnweb.freebsd.org/changeset/base/287620 Log: Remove unused target and initiator IDs. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_frontend.h head/sys/cam/ctl/ctl_frontend_cam_sim.c

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

2015-09-10 Thread Ed Maste
On 10 September 2015 at 04:05, Adrian Chadd wrote: > Author: adrian > Date: Thu Sep 10 04:05:58 2015 > New Revision: 287606 > URL: https://svnweb.freebsd.org/changeset/base/287606 > > Log: > Also make kern.maxfilesperproc a boot time tunable. > ... > TODO: Also "we"

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

2015-09-10 Thread Warner Losh
On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: > On 10 September 2015 at 04:05, Adrian Chadd wrote: > > Author: adrian > > Date: Thu Sep 10 04:05:58 2015 > > New Revision: 287606 > > URL: https://svnweb.freebsd.org/changeset/base/287606 > > > > Log: > >

svn commit: r287624 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2015-09-10 Thread Andriy Gapon
Author: avg Date: Thu Sep 10 16:13:44 2015 New Revision: 287624 URL: https://svnweb.freebsd.org/changeset/base/287624 Log: 5987 zfs prefetch code needs work illumos/illumos-gate@cf6106c8a0d6598b045811f9650d66e07eb332af https://www.illumos.org/issues/5987 The existing ZFS prefetch

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

2015-09-10 Thread Adrian Chadd
On 10 September 2015 at 09:04, Warner Losh wrote: > > > On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: >> >> On 10 September 2015 at 04:05, Adrian Chadd wrote: >> > Author: adrian >> > Date: Thu Sep 10 04:05:58 2015 >> > New Revision:

svn commit: r287623 - in vendor-sys/illumos/dist/uts/common: fs/zfs sys/sysevent

2015-09-10 Thread Andriy Gapon
Author: avg Date: Thu Sep 10 16:00:04 2015 New Revision: 287623 URL: https://svnweb.freebsd.org/changeset/base/287623 Log: 5997 FRU field not set during pool creation and never updated illumos/illumos-gate@1437283407f89cab03860accf49408f94559bc34 https://www.illumos.org/issues/5997

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

2015-09-10 Thread John-Mark Gurney
Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: > On 10 September 2015 at 09:04, Warner Losh wrote: > > > > > > On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: > >> > >> On 10 September 2015 at 04:05, Adrian Chadd

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

2015-09-10 Thread Allan Jude
On 2015-09-10 13:53, John-Mark Gurney wrote: > Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: >> On 10 September 2015 at 09:04, Warner Losh wrote: >>> >>> >>> On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: On 10 September

svn commit: r287638 - in head/sys: kern sys

2015-09-10 Thread Warner Losh
Author: imp Date: Fri Sep 11 00:38:58 2015 New Revision: 287638 URL: https://svnweb.freebsd.org/changeset/base/287638 Log: dev_strategy and dev_strategy_csw are unused since r281825. Remove them. Differential Revision: https://reviews.freebsd.org/D3620 Modified:

svn commit: r287631 - head/sys/dev/cxgbe/tom

2015-09-10 Thread John Baldwin
Author: jhb Date: Thu Sep 10 21:41:11 2015 New Revision: 287631 URL: https://svnweb.freebsd.org/changeset/base/287631 Log: Add a comment that to clarify how to determine the amount of received DDP data. Reviewed by: np Differential Revision:https://reviews.freebsd.org/D3619

svn commit: r287633 - head/usr.bin/systat

2015-09-10 Thread Xin LI
Author: delphij Date: Thu Sep 10 22:07:52 2015 New Revision: 287633 URL: https://svnweb.freebsd.org/changeset/base/287633 Log: - Avoid accessing window properties directly, instead, use accessors. This should be no-op for now, but allows the code to work if we move to NCURSES_OPAQUE.

svn commit: r287637 - in stable: 10/sys/ofed/include/linux 9/sys/ofed/include/linux

2015-09-10 Thread John Baldwin
Author: jhb Date: Fri Sep 11 00:20:15 2015 New Revision: 287637 URL: https://svnweb.freebsd.org/changeset/base/287637 Log: MFC 287440: Currently the Linux character device mmap handling only supports mmap operations that map a single page that has an associated vm_page_t. This does not

svn commit: r287637 - in stable: 10/sys/ofed/include/linux 9/sys/ofed/include/linux

2015-09-10 Thread John Baldwin
Author: jhb Date: Fri Sep 11 00:20:15 2015 New Revision: 287637 URL: https://svnweb.freebsd.org/changeset/base/287637 Log: MFC 287440: Currently the Linux character device mmap handling only supports mmap operations that map a single page that has an associated vm_page_t. This does not

svn commit: r287636 - head/share/mk

2015-09-10 Thread Simon J. Gerraty
Author: sjg Date: Fri Sep 11 00:19:49 2015 New Revision: 287636 URL: https://svnweb.freebsd.org/changeset/base/287636 Log: Handle default MAKEOBJDIR for META_MODE. If MAKEOBJDIRPREFIX is set, use it for default OBJROOT. If MAKEOBJDIR is empty or not a suitable value (no '/') set a default

Re: svn commit: r287636 - head/share/mk

2015-09-10 Thread Bryan Drewery
On 9/10/2015 5:19 PM, Simon J. Gerraty wrote: > Author: sjg > Date: Fri Sep 11 00:19:49 2015 > New Revision: 287636 > URL: https://svnweb.freebsd.org/changeset/base/287636 > > Log: > Handle default MAKEOBJDIR for META_MODE. > If MAKEOBJDIRPREFIX is set, use it for default OBJROOT. > If

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

2015-09-10 Thread Adrian Chadd
Hi, Fixed a couple of bugs, and: https://reviews.freebsd.org/D3630 -adrian On 10 September 2015 at 15:02, Adrian Chadd wrote: > I'd love for rc.subr to grow the ability to set per-daemon cpuset, > class, environment, etc. We have some of that in the rc script >

svn commit: r287635 - in head/release: amd64 i386 pc98 powerpc sparc64

2015-09-10 Thread Devin Teske
Author: dteske Date: Thu Sep 10 22:47:26 2015 New Revision: 287635 URL: https://svnweb.freebsd.org/changeset/base/287635 Log: Fix argument quoting and remove unnecessary braces MFC after:3 weeks X-MFC-to: stable/10 Modified: head/release/amd64/mkisoimages.sh

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

2015-09-10 Thread Adrian Chadd
I'd love for rc.subr to grow the ability to set per-daemon cpuset, class, environment, etc. We have some of that in the rc script already. What I have so far for local hacking is this, which at least gets the default login class bits and runs things as user daemon. Yes, there are issues with

svn commit: r287634 - head/usr.bin/login

2015-09-10 Thread Xin LI
Author: delphij Date: Thu Sep 10 22:25:40 2015 New Revision: 287634 URL: https://svnweb.freebsd.org/changeset/base/287634 Log: login.c doesn't really need libutil.h, don't include it. login_fbtab.c includes paths.h and pathnames.h, and pathnames.h includes paths.h. Eliminate the paths.h

svn commit: r287639 - stable/10/cddl/contrib/opensolaris/tools/ctf/cvt

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 02:53:22 2015 New Revision: 287639 URL: https://svnweb.freebsd.org/changeset/base/287639 Log: MFC r274569, r276848, r287234: Only compare visitation counters if they've both been set for the current type graph walk. Modified:

svn commit: r287642 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 03:06:34 2015 New Revision: 287642 URL: https://svnweb.freebsd.org/changeset/base/287642 Log: MFV r283513: 5930 fasttrap_pid_enable() panics when prfind() fails in forking process Reviewed by: Adam Leventhal Reviewed by: Gordon Ross

svn commit: r287644 - in head/sys: cddl/dev/dtrace/amd64 x86/include

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 03:31:22 2015 New Revision: 287644 URL: https://svnweb.freebsd.org/changeset/base/287644 Log: Remove the arg0 field from struct amd64_frame. Its existence was a bug, since on amd64 the first argument to a function is generally not on the stack. Revert an

svn commit: r287648 - head/sys/kern

2015-09-10 Thread Warner Losh
Author: imp Date: Fri Sep 11 04:20:04 2015 New Revision: 287648 URL: https://svnweb.freebsd.org/changeset/base/287648 Log: bufdonebio is now unused. Retire it too. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

Re: svn commit: r287636 - head/share/mk

2015-09-10 Thread Julian Elischer
On 9/11/15 8:19 AM, Simon J. Gerraty wrote: Author: sjg Date: Fri Sep 11 00:19:49 2015 New Revision: 287636 URL: https://svnweb.freebsd.org/changeset/base/287636 Log: Handle default MAKEOBJDIR for META_MODE. If MAKEOBJDIRPREFIX is set, use it for default OBJROOT. If MAKEOBJDIR is empty

svn commit: r287640 - in head: lib/libc/gen sys/sys sys/vm usr.bin/vmstat

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 03:00:20 2015 New Revision: 287640 URL: https://svnweb.freebsd.org/changeset/base/287640 Log: Remove the v_cache_min and v_cache_max sysctls. They are unused and have no effect. Reviewed by: alc Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r287643 - in head/sys: amd64/amd64 amd64/include conf i386/i386 i386/include x86/include x86/x86

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 03:24:07 2015 New Revision: 287643 URL: https://svnweb.freebsd.org/changeset/base/287643 Log: Merge stack(9) implementations for i386 and amd64 under x86/. Reviewed by: jhb, kib Sponsored by: EMC / Isilon Storage Division Differential Revision:

svn commit: r287647 - head/usr.bin/netstat

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 04:02:05 2015 New Revision: 287647 URL: https://svnweb.freebsd.org/changeset/base/287647 Log: Remove prototypes for undefined functions from netstat.h. Modified: head/usr.bin/netstat/netstat.h Modified: head/usr.bin/netstat/netstat.h

svn commit: r287641 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 03:04:24 2015 New Revision: 287641 URL: https://svnweb.freebsd.org/changeset/base/287641 Log: MFV r283512: 3599 dtrace_dynvar tail calls can blow stack Reviewed by: Adam Leventhal Reviewed by: Gordon Ross

svn commit: r287645 - in head/sys: amd64/amd64 arm/arm arm64/arm64 i386/i386 kern mips/mips powerpc/powerpc sparc64/sparc64 sys x86/include x86/x86

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 03:54:37 2015 New Revision: 287645 URL: https://svnweb.freebsd.org/changeset/base/287645 Log: Add stack_save_td_running(), a function to trace the kernel stack of a running thread. It is currently implemented only on amd64 and i386; on these

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

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 03:56:04 2015 New Revision: 287646 URL: https://svnweb.freebsd.org/changeset/base/287646 Log: Document stack_save_td(9) and stack_save_td_running(9). Reviewed by: wblock Sponsored by: EMC / Isilon Storage Division Differential Revision:

svn commit: r287649 - head/usr.bin/netstat

2015-09-10 Thread Mark Johnston
Author: markj Date: Fri Sep 11 04:37:01 2015 New Revision: 287649 URL: https://svnweb.freebsd.org/changeset/base/287649 Log: Use a common subroutine to fetch and zero protocol stats instead of duplicating roughly similar code for each protocol. MFC after:2 weeks Modified:

Re: svn commit: r287635 - in head/release: amd64 i386 pc98 powerpc sparc64

2015-09-10 Thread Alexey Dokuchaev
On Thu, Sep 10, 2015 at 10:47:27PM +, Devin Teske wrote: > New Revision: 287635 > URL: https://svnweb.freebsd.org/changeset/base/287635 > > Log: > Fix argument quoting and remove unnecessary braces > [...] > > if [ $# -lt 3 ]; then > - echo Usage: $0 '[-b] image-label image-name

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

2015-09-10 Thread Eric van Gyzen
On 09/10/2015 12:53, John-Mark Gurney wrote: > Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: >> On 10 September 2015 at 09:04, Warner Losh wrote: >>> >>> >>> On Thu, Sep 10, 2015 at 9:53 AM, Ed Maste wrote: On 10 September

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

2015-09-10 Thread John-Mark Gurney
Eric van Gyzen wrote this message on Thu, Sep 10, 2015 at 14:56 -0500: > On 09/10/2015 12:53, John-Mark Gurney wrote: > > Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: > >> On 10 September 2015 at 09:04, Warner Losh wrote: > >>> > >>> > >>> On Thu, Sep 10,

svn commit: r287607 - in head: sbin/ifconfig share/man/man4 sys/net

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 05:59:39 2015 New Revision: 287607 URL: https://svnweb.freebsd.org/changeset/base/287607 Log: - Remove GIF_{SEND,ACCEPT}_REVETHIP. - Simplify EADDRNOTAVAIL and EAFNOSUPPORT conditions. MFC after:3 days Modified: head/sbin/ifconfig/ifgif.c

svn commit: r287608 - head/sys/netinet6

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:08:42 2015 New Revision: 287608 URL: https://svnweb.freebsd.org/changeset/base/287608 Log: Remove IN6_IFF_NOPFX. This flag was no longer used. MFC after:3 days Modified: head/sys/netinet6/in6_ifattach.c head/sys/netinet6/in6_var.h Modified:

svn commit: r287609 - head/sys/netinet6

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:10:30 2015 New Revision: 287609 URL: https://svnweb.freebsd.org/changeset/base/287609 Log: Do not add IN6_IFF_TENTATIVE when ND6_IFF_NO_DAD. MFC after:3 days Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c

svn commit: r287610 - head/sys/netinet6

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:29:18 2015 New Revision: 287610 URL: https://svnweb.freebsd.org/changeset/base/287610 Log: - Remove SIOCGDRLST_IN6 and SIOCGPRLST_IN6. These are quite old APIs and there is no consumer now. - Simplify first and duplicate LLA check. MFC after:3

svn commit: r287611 - head/sys/netinet6

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:31:24 2015 New Revision: 287611 URL: https://svnweb.freebsd.org/changeset/base/287611 Log: - Remove SIOCGDRLST_IN6 and SIOCGPRLST_IN6. These are quite old APIs and there is no consumer now. MFC after:3 days Modified: head/sys/netinet6/in6_var.h

svn commit: r287612 - in head: sbin/rtsol usr.sbin/rtsold

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:40:28 2015 New Revision: 287612 URL: https://svnweb.freebsd.org/changeset/base/287612 Log: - Remove #ifdef HAVE_POLL_H. - Use nitems(). MFC after:3 days Modified: head/sbin/rtsol/Makefile head/usr.sbin/rtsold/Makefile head/usr.sbin/rtsold/if.c

svn commit: r287613 - head/etc/rc.d

2015-09-10 Thread Hiroki Sato
Author: hrs Date: Thu Sep 10 06:47:23 2015 New Revision: 287613 URL: https://svnweb.freebsd.org/changeset/base/287613 Log: Update only static routes when an interface is specified. This fixed a bad side-effect reported in PR 202144. PR: 202144 MFC after:3 days Modified:

svn commit: r287625 - in head/sys: amd64/amd64 arm/arm arm64/arm64 i386/i386 mips/mips powerpc/powerpc sparc64/sparc64

2015-09-10 Thread Konstantin Belousov
Author: kib Date: Thu Sep 10 17:46:48 2015 New Revision: 287625 URL: https://svnweb.freebsd.org/changeset/base/287625 Log: Do not hold the process around the vm_fault() call from the trap()s. The only operation which is prevented by the hold is the kernel stack swapout for the faulted