svn commit: r287650 - head/usr.sbin/gstat

2015-09-11 Thread Xin LI
Author: delphij Date: Fri Sep 11 06:52:57 2015 New Revision: 287650 URL: https://svnweb.freebsd.org/changeset/base/287650 Log: Use strlcpy() in favor of strncpy() as it's defined to have a nul character at the end of string buffer, and the code context do expects this to behave correctly

svn commit: r287674 - head/sys/contrib/ipfilter/netinet

2015-09-11 Thread Cy Schubert
Author: cy Date: Fri Sep 11 16:49:52 2015 New Revision: 287674 URL: https://svnweb.freebsd.org/changeset/base/287674 Log: Fix ipfilter bug 3600459 NAT bucket count wrong. Obtained from:ipfilter cvs repo r1.48.2.25 MFC after:2 weeks Modified:

svn commit: r287679 - in head/contrib/libc++: . include

2015-09-11 Thread Dimitry Andric
Author: dim Date: Fri Sep 11 17:14:58 2015 New Revision: 287679 URL: https://svnweb.freebsd.org/changeset/base/287679 Log: Since contrib/libc++'s ancestry was never correct, subversion 1.8 and higher cannot merge to it from the vendor area. Re-bootstrap the ancestry by doing (apologies

svn commit: r287675 - head/sys/contrib/ipfilter/netinet

2015-09-11 Thread Cy Schubert
Author: cy Date: Fri Sep 11 16:52:13 2015 New Revision: 287675 URL: https://svnweb.freebsd.org/changeset/base/287675 Log: Revert ip_fil_freebsd.c -r287674. This should not have gone in yet. Modified: head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Modified:

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

2015-09-11 Thread Slawa Olhovchenkov
On Thu, Sep 10, 2015 at 03:11:39PM -0700, Adrian Chadd wrote: > Hi, > > Fixed a couple of bugs, and: > > https://reviews.freebsd.org/D3630 May be you also can be sanitize and standartize enviroment for services started from init and from sheell? Currently some enviroment will be different if

svn commit: r287651 - head/sys/contrib/ipfilter/netinet

2015-09-11 Thread Cy Schubert
Author: cy Date: Fri Sep 11 08:27:32 2015 New Revision: 287651 URL: https://svnweb.freebsd.org/changeset/base/287651 Log: Fixup typos in comments. Obtained from:NetBSD r1.4. MFC after:1 week Modified: head/sys/contrib/ipfilter/netinet/ip_state.c Modified:

Re: svn commit: r287653 - head/sys/contrib/ipfilter/netinet

2015-09-11 Thread Alexey Dokuchaev
On Fri, Sep 11, 2015 at 08:48:17AM +, Cy Schubert wrote: > New Revision: 287653 > URL: https://svnweb.freebsd.org/changeset/base/287653 > > Log: > Revert $FreeBSD$. > > [...] > @@ -1,4 +1,4 @@ > -/* $NetBSD: ip_state.c,v 1.4 2012/12/20 21:42:28 christos Exp $*/ > +/* $FreeBSD$ */ >

svn commit: r287653 - head/sys/contrib/ipfilter/netinet

2015-09-11 Thread Cy Schubert
Author: cy Date: Fri Sep 11 08:48:16 2015 New Revision: 287653 URL: https://svnweb.freebsd.org/changeset/base/287653 Log: Revert $FreeBSD$. Modified: head/sys/contrib/ipfilter/netinet/ip_state.c Modified: head/sys/contrib/ipfilter/netinet/ip_state.c

svn commit: r287654 - head/sys/netgraph

2015-09-11 Thread Alexander Motin
Author: mav Date: Fri Sep 11 09:15:27 2015 New Revision: 287654 URL: https://svnweb.freebsd.org/changeset/base/287654 Log: Add support for PPP-Max-Payload PPPoE tag (RFC4638). Submitted by: Dmitry Luhtionov MFC after:2 weeks Modified:

svn commit: r287683 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 20:39:41 2015 New Revision: 287683 URL: https://svnweb.freebsd.org/changeset/base/287683 Log: Ignore error results from newaliases(1) MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/config Modified:

svn commit: r287689 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:01:26 2015 New Revision: 287689 URL: https://svnweb.freebsd.org/changeset/base/287689 Log: Explicitly exit with success MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/keymap Modified:

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

2015-09-11 Thread Adrian Chadd
On 11 September 2015 at 13:46, Alfred Perlstein wrote: > 64k hard is too low a number for large memory machines. Root can always bump it up all the way to kern.maxfilesperproc. I'm also a big fan of having the description of config of service stuff be in /etc/rc.conf, rather than

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

2015-09-11 Thread Adrian Chadd
Hi, That would be nice. Maybe after this particular bug is fixed though. -a On 11 September 2015 at 09:47, Slawa Olhovchenkov wrote: > On Thu, Sep 10, 2015 at 03:11:39PM -0700, Adrian Chadd wrote: > >> Hi, >> >> Fixed a couple of bugs, and: >> >>

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

2015-09-11 Thread Alfred Perlstein
64k hard is too low a number for large memory machines. -Alfred On 9/10/15 9:18 AM, Adrian Chadd wrote: 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

svn commit: r287688 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 20:59:13 2015 New Revision: 287688 URL: https://svnweb.freebsd.org/changeset/base/287688 Log: Explicitly exit with success MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/jail Modified:

svn commit: r287687 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 20:58:00 2015 New Revision: 287687 URL: https://svnweb.freebsd.org/changeset/base/287687 Log: Update copyrights MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/config head/usr.sbin/bsdinstall/scripts/docsinstall

svn commit: r287685 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 20:45:41 2015 New Revision: 287685 URL: https://svnweb.freebsd.org/changeset/base/287685 Log: Remove use of return outside of function MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/docsinstall Modified:

svn commit: r287686 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 20:56:36 2015 New Revision: 287686 URL: https://svnweb.freebsd.org/changeset/base/287686 Log: Produce meaningful exit code MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/hostname Modified:

svn commit: r287695 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:18:21 2015 New Revision: 287695 URL: https://svnweb.freebsd.org/changeset/base/287695 Log: Replace `return' outside of function with exit MFC after:3 days X-MFC-to: stable/10 Pointy hat to:me Modified:

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

2015-09-11 Thread Alfred Perlstein
The idea is sane defaults. Surely 256k makes sense for a machine with that much memory. Sent from my iPhone > On Sep 11, 2015, at 2:02 PM, Adrian Chadd wrote: > >> On 11 September 2015 at 13:46, Alfred Perlstein wrote: >> 64k hard is too low a number for

svn commit: r287691 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:09:39 2015 New Revision: 287691 URL: https://svnweb.freebsd.org/changeset/base/287691 Log: Remove trailing newline at EOF MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/rootpass Modified:

svn commit: r287693 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:13:34 2015 New Revision: 287693 URL: https://svnweb.freebsd.org/changeset/base/287693 Log: Update copyright MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/script Modified:

svn commit: r287692 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:12:41 2015 New Revision: 287692 URL: https://svnweb.freebsd.org/changeset/base/287692 Log: Better to reset trap and explicitly exit success MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/script Modified:

svn commit: r287696 - head/release

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:45:41 2015 New Revision: 287696 URL: https://svnweb.freebsd.org/changeset/base/287696 Log: The /mkisoimages.sh script in release knows how to add extra bits from an "xtra-bits-dir". This feature is unusable from release/Makefile. Add an XTRADIR setting to

svn commit: r287690 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:08:46 2015 New Revision: 287690 URL: https://svnweb.freebsd.org/changeset/base/287690 Log: Produce meaningful exit code MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4

svn commit: r287694 - head/usr.sbin/bsdinstall/scripts

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 21:14:48 2015 New Revision: 287694 URL: https://svnweb.freebsd.org/changeset/base/287694 Log: Use a variable for readability MFC after:3 days X-MFC-to: stable/10 Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified:

svn commit: r287697 - head/release

2015-09-11 Thread Devin Teske
Author: dteske Date: Fri Sep 11 22:42:26 2015 New Revision: 287697 URL: https://svnweb.freebsd.org/changeset/base/287697 Log: Whitespace alignment MFC after:3 weeks X-MFC-to: stable/10 X-MFC-with: 287696 Modified: head/release/Makefile Modified: head/release/Makefile

svn commit: r287698 - head/sys/gnu/fs/reiserfs

2015-09-11 Thread Tai-hwa Liang
Author: avatar Date: Fri Sep 11 22:43:35 2015 New Revision: 287698 URL: https://svnweb.freebsd.org/changeset/base/287698 Log: Fixing a memory leak on module unloading. MFC after:3 weeks Modified: head/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Modified:

svn commit: r287669 - head/sys/netinet

2015-09-11 Thread Michael Tuexen
Author: tuexen Date: Fri Sep 11 13:54:33 2015 New Revision: 287669 URL: https://svnweb.freebsd.org/changeset/base/287669 Log: Ensure that ERROR chunks are always padded by implementing this in the routine, which queues an ERROR chunk, instead on relyinh on the callers to do so. Since one

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

2015-09-11 Thread Alexander Motin
Author: mav Date: Fri Sep 11 12:50:52 2015 New Revision: 287664 URL: https://svnweb.freebsd.org/changeset/base/287664 Log: Reference/release devices on every I/O, rather on open/close. While this may be slower, it allows device destruction to complete, rather then block waiting for

Re: svn commit: r287653 - head/sys/contrib/ipfilter/netinet

2015-09-11 Thread Cy Schubert
In message <20150911091222.ga61...@freebsd.org>, Alexey Dokuchaev writes: > On Fri, Sep 11, 2015 at 08:48:17AM +, Cy Schubert wrote: > > New Revision: 287653 > > URL: https://svnweb.freebsd.org/changeset/base/287653 > > > > Log: > > Revert $FreeBSD$. > > > > [...] > > @@ -1,4 +1,4 @@ > >

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

2015-09-11 Thread Alexander Motin
Author: mav Date: Fri Sep 11 14:33:05 2015 New Revision: 287670 URL: https://svnweb.freebsd.org/changeset/base/287670 Log: Close races between device close and request processing. All requests arriving for processing after OFFLINE flag set are rejected with BUSY status. Races around

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

2015-09-11 Thread Alexander Motin
Author: mav Date: Fri Sep 11 14:47:35 2015 New Revision: 287671 URL: https://svnweb.freebsd.org/changeset/base/287671 Log: Make ctld restart on primary HA node less invasive for secondary. Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c

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

2015-09-11 Thread Kenneth D. Merry
On Thu, Sep 10, 2015 at 12:40:32 +, Alexander Motin wrote: > 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

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

2015-09-11 Thread Simon J. Gerraty
Julian Elischer wrote: > >If MAKEOBJDIR is empty or not a suitable value (no '/') > >set a default that works. > > if not suitable.. it should error (with a really explicit error > message), not do something else.. How about: $ MAKEOBJDIR='obj.${MACHINE}' make -C

svn commit: r287673 - head/sys/dev/drm2/radeon

2015-09-11 Thread Andriy Gapon
Author: avg Date: Fri Sep 11 15:51:20 2015 New Revision: 287673 URL: https://svnweb.freebsd.org/changeset/base/287673 Log: radeon_suspend_kms: don't mess with pci state that's managed by the bus The pci bus driver handles the power state, it also manages configuration state saving and