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

2017-05-02 Thread Adrian Chadd
Author: adrian Date: Wed May 3 05:45:43 2017 New Revision: 317727 URL: https://svnweb.freebsd.org/changeset/base/317727 Log: [mips] default AR933x/AR934x to include mips24k hwpmc and limit umtx chain memory wastage. Tested: * AR933x SoC (Carambola2) * AR934x SoC (TP-Link WDR3600)

svn commit: r317726 - head/sys/cam

2017-05-02 Thread Scott Long
Author: scottl Date: Wed May 3 05:33:15 2017 New Revision: 317726 URL: https://svnweb.freebsd.org/changeset/base/317726 Log: Fix an unsafe malloc usage with sbufs. Reported by: ken Sponsored by: Netflix Modified: head/sys/cam/cam_periph.c Modified: head/sys/cam/cam_periph.c

Re: svn commit: r301198 - head/sys/dev/xen/netfront

2017-05-02 Thread Colin Percival
On 06/02/16 04:16, Roger Pau Monné wrote: > Author: royger > Date: Thu Jun 2 11:16:35 2016 > New Revision: 301198 > URL: https://svnweb.freebsd.org/changeset/base/301198 I think this commit is responsible for panics I'm seeing in EC2 on T2 family instances. Every time a DHCP request is made, we

svn commit: r317723 - head/sys/net

2017-05-02 Thread Alexander Motin
Author: mav Date: Wed May 3 02:54:11 2017 New Revision: 317723 URL: https://svnweb.freebsd.org/changeset/base/317723 Log: Fix r317696 build without debug. MFC after:2 weeks Modified: head/sys/net/if_lagg.c Modified: head/sys/net/if_lagg.c

svn commit: r317715 - head/sbin/ifconfig

2017-05-02 Thread Alan Somers
Author: asomers Date: Wed May 3 01:46:39 2017 New Revision: 317715 URL: https://svnweb.freebsd.org/changeset/base/317715 Log: ifconfig displays ND6_IFF_NO_DAD as "IGNORELOOP" PR: 218958 Reviewed by: kristof MFC after:3 weeks Differential Revision:

svn commit: r317713 - head/tests/sys/geom/class/mirror

2017-05-02 Thread Mark Johnston
Author: markj Date: Tue May 2 23:31:39 2017 New Revision: 317713 URL: https://svnweb.freebsd.org/changeset/base/317713 Log: Add regression tests for r317712 and r306743. MFC after:2 weeks Sponsored by: Dell EMC Isilon Added: head/tests/sys/geom/class/mirror/8_test.sh (contents,

svn commit: r317712 - head/sys/geom/mirror

2017-05-02 Thread Mark Johnston
Author: markj Date: Tue May 2 23:29:42 2017 New Revision: 317712 URL: https://svnweb.freebsd.org/changeset/base/317712 Log: Synchronize unclean mirrors before adding them to a running gmirror. During gmirror startup, if component mirrors are found to be dirty as is typical after a

Re: svn commit: r317709 - head/usr.bin/csplit

2017-05-02 Thread Pedro Giffuni
Very interesting ... On 2/5/2017 16:56, Jilles Tjoelker wrote: Author: jilles Date: Tue May 2 21:56:20 2017 New Revision: 317709 URL: https://svnweb.freebsd.org/changeset/base/317709 Log: csplit: Fix check of fputs() return value, making csplit work again. As of r295638, fputs()

svn commit: r317710 - head/contrib/netbsd-tests/lib/libc/rpc

2017-05-02 Thread Brooks Davis
Author: brooks Date: Tue May 2 22:14:55 2017 New Revision: 317710 URL: https://svnweb.freebsd.org/changeset/base/317710 Log: Remove expected failure now that it was fixed in r317660. PR: 211804 Reviewed by: ngie Obtained from:CheriBSD MFC after:2 weeks

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Ngie Cooper
On Tue, May 2, 2017 at 12:45 PM, Konstantin Belousov wrote: ... > .Fx . > .Pp > .Ss Type sizes > +If not explicitely mentioned, sizes are in bytes. *explicitly > +.Pp > On all supported architectures, > .Bl -column -offset -indent "long long" "Size" > .It Sy Type Ta

svn commit: r317709 - head/usr.bin/csplit

2017-05-02 Thread Jilles Tjoelker
Author: jilles Date: Tue May 2 21:56:20 2017 New Revision: 317709 URL: https://svnweb.freebsd.org/changeset/base/317709 Log: csplit: Fix check of fputs() return value, making csplit work again. As of r295638, fputs() returns the number of bytes written (if not more than INT_MAX). This

svn commit: r317708 - head/share/man/man7

2017-05-02 Thread Justin Hibbits
Author: jhibbits Date: Tue May 2 21:33:27 2017 New Revision: 317708 URL: https://svnweb.freebsd.org/changeset/base/317708 Log: Add powerpcspe to arch(7) Reviewed by: emaste Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7

svn commit: r317707 - head/lib/libc/regex

2017-05-02 Thread Brooks Davis
Author: brooks Date: Tue May 2 21:20:27 2017 New Revision: 317707 URL: https://svnweb.freebsd.org/changeset/base/317707 Log: Correct an out-of-bounds read in regcomp when the RE is bad. When passed the invalid regular expression "a**", the error is eventually detected and seterr() is

Re: svn commit: r317706 - head/usr.bin/proccontrol

2017-05-02 Thread Brooks Davis
On Tue, May 02, 2017 at 09:09:07PM +, Brooks Davis wrote: > Author: brooks > Date: Tue May 2 21:09:07 2017 > New Revision: 317706 > URL: https://svnweb.freebsd.org/changeset/base/317706 > > Log: > Use MAN= rather than MK_MAN=no to not install a manpage. With this change, the only

svn commit: r317706 - head/usr.bin/proccontrol

2017-05-02 Thread Brooks Davis
Author: brooks Date: Tue May 2 21:09:07 2017 New Revision: 317706 URL: https://svnweb.freebsd.org/changeset/base/317706 Log: Use MAN= rather than MK_MAN=no to not install a manpage. MFC after:1 week Modified: head/usr.bin/proccontrol/Makefile Modified:

svn commit: r317705 - head/usr.bin/grep

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 21:08:38 2017 New Revision: 317705 URL: https://svnweb.freebsd.org/changeset/base/317705 Log: bsdgrep: avoid use of magic number for REG_NOSPEC Submitted by: Kyle Evans Differential Revision:https://reviews.freebsd.org/D10420 Modified:

svn commit: r317704 - head/usr.bin/grep/regex

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 20:44:06 2017 New Revision: 317704 URL: https://svnweb.freebsd.org/changeset/base/317704 Log: bsdgrep: fix escape map building for multibyte strings In BSD grep, fix escape map building in the regex parser. It was previously using memory not explicitly

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Konstantin Belousov
On Tue, May 02, 2017 at 02:36:24PM -0600, Ian Lepore wrote: > On Tue, 2017-05-02 at 22:45 +0300, Konstantin Belousov wrote: > > +is always signed, it is 64-bits everywere except on i386 and 32-bit > > powerpc. > > s/everywere/everywhere/ Fixed, thank you. diff --git a/share/man/man7/arch.7

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

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 20:39:33 2017 New Revision: 317703 URL: https://svnweb.freebsd.org/changeset/base/317703 Log: bsdgrep: fix -w flag matching with an empty pattern -w flag matching with an empty pattern was generally 'broken', allowing matches to occur on any line whether

svn commit: r317702 - in head/sys: conf dev/cxgbe dev/cxgbe/common modules/cxgbe/if_cxgbe

2017-05-02 Thread Navdeep Parhar
Author: np Date: Tue May 2 20:38:10 2017 New Revision: 317702 URL: https://svnweb.freebsd.org/changeset/base/317702 Log: cxgbe(4): Support routines for Tx traffic scheduling. - Create a new file, t4_sched.c, and move all of the code related to traffic management from t4_main.c and

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Ian Lepore
On Tue, 2017-05-02 at 22:45 +0300, Konstantin Belousov wrote: > +is always signed, it is 64-bits everywere except on i386 and 32-bit > powerpc. s/everywere/everywhere/ -- Ian ___ svn-src-head@freebsd.org mailing list

svn commit: r317701 - head/usr.bin/grep/regex

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 20:08:04 2017 New Revision: 317701 URL: https://svnweb.freebsd.org/changeset/base/317701 Log: bsdgrep: correct test sense from r317700 Kyle's change in review D10098 was correct. I introduced the error when extracting a portion of that change. Modified:

svn commit: r317700 - head/usr.bin/grep/regex

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 19:56:42 2017 New Revision: 317700 URL: https://svnweb.freebsd.org/changeset/base/317700 Log: bsdgrep: use calloc where appropriate in grep's tre-fastmatch Also apply style(9) to a related NULL check. Submitted by: Kyle Evans (D10098) Modified:

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Konstantin Belousov
On Wed, May 03, 2017 at 04:41:52AM +1000, Bruce Evans wrote: > It would be good to mention that the type of time_t is signed somewhere. > There is a whole column for the signedess of char in another table. > Signedness can be given consisely using some markup like -8 or 8- for > signed. The scale

svn commit: r317696 - head/sys/net

2017-05-02 Thread Alexander Motin
Author: mav Date: Tue May 2 19:09:11 2017 New Revision: 317696 URL: https://svnweb.freebsd.org/changeset/base/317696 Log: Introduce sleepable locks into if_lagg. Before this change if_lagg was using nonsleepable rmlocks to protect its internal state. This patch introduces another sx

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Ed Maste wrote: On 2 May 2017 at 12:35, Bruce Evans wrote: -current man can't handle macros like "Sy" with -width or some other things including the things used above. This causes it to produce excessive column spacing. The formatting is bad enough

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Konstantin Belousov wrote: On Wed, May 03, 2017 at 02:35:17AM +1000, Bruce Evans wrote: On Tue, 2 May 2017, Konstantin Belousov wrote: Log: Document time_t size. Modified: head/share/man/man7/arch.7

svn commit: r317695 - head/sys/vm

2017-05-02 Thread Konstantin Belousov
Author: kib Date: Tue May 2 18:40:41 2017 New Revision: 317695 URL: https://svnweb.freebsd.org/changeset/base/317695 Log: Emulate pre-r317061 ABI. This restores 32bit-sized accesses to vmcnt sysctls, making old binaries like top(1), systat(8) and reboot(8) mostly functional on newer

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

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 18:37:11 2017 New Revision: 317694 URL: https://svnweb.freebsd.org/changeset/base/317694 Log: bsdgrep: revise test case which will soon become a failure Work in progress (D10315) is going to make egrep_empty_invalid an actually invalid regex, to be

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Konstantin Belousov
On Tue, May 02, 2017 at 02:04:09PM -0400, Ed Maste wrote: > > +Machine-depended type's sizes: > > Probably "Machine-dependent type sizes" Sure. diff --git a/share/man/man7/arch.7 b/share/man/man7/arch.7 index 1ce397a303e..f30dfbb8145 100644 --- a/share/man/man7/arch.7 +++

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Ed Maste
On 2 May 2017 at 12:35, Bruce Evans wrote: > > -current man can't handle macros like "Sy" with -width or some other > things including the things used above. This causes it to produce > excessive column spacing. The formatting is bad enough without this > (verbose headers

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Konstantin Belousov wrote: On Wed, May 03, 2017 at 01:31:10AM +1000, Bruce Evans wrote: On Tue, 2 May 2017, Konstantin Belousov wrote: I also thought of changing the scale when the values get high. The values would increase slower above about 2G instead of stabilizing at

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Konstantin Belousov
On Wed, May 03, 2017 at 02:35:17AM +1000, Bruce Evans wrote: > On Tue, 2 May 2017, Konstantin Belousov wrote: > > > Log: > > Document time_t size. > > > > Modified: head/share/man/man7/arch.7 > > == > > ---

Re: svn commit: r317632 - head/sys

2017-05-02 Thread Ngie Cooper (yaneurabeya)
> On May 1, 2017, at 09:34, Warner Losh wrote: > > On Mon, May 1, 2017 at 10:30 AM, Rodney W. Grimes > wrote: >>> Author: ngie >>> Date: Mon May 1 05:59:52 2017 >>> New Revision: 317632 >>> URL: https://svnweb.freebsd.org/changeset/base/317632

Re: svn commit: r317631 - head/sys

2017-05-02 Thread Ngie Cooper (yaneurabeya)
> On May 1, 2017, at 09:28, Rodney W. Grimes > wrote: > >> Author: ngie >> Date: Mon May 1 05:54:33 2017 >> New Revision: 317631 >> URL: https://svnweb.freebsd.org/changeset/base/317631 >> >> Log: >> Fix "make cscope" after r317411 > > This commit is

svn commit: r317682 - head/sbin/ipfw

2017-05-02 Thread Andrey V. Elsukov
Author: ae Date: Tue May 2 17:16:24 2017 New Revision: 317682 URL: https://svnweb.freebsd.org/changeset/base/317682 Log: Add `ipfw table all destroy` support. PR: 212669 MFC after:1 week Modified: head/sbin/ipfw/ipfw.8 head/sbin/ipfw/tables.c Modified:

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Konstantin Belousov
On Wed, May 03, 2017 at 01:31:10AM +1000, Bruce Evans wrote: > > > On Tue, 2 May 2017, Konstantin Belousov wrote: > I also thought of changing the scale when the values get high. The values > would increase slower above about 2G instead of stabilizing at 4G-1. > This is basically floating point

Re: svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Konstantin Belousov wrote: Log: Document time_t size. Modified: head/share/man/man7/arch.7 == --- head/share/man/man7/arch.7 Tue May 2 14:52:28 2017(r317680) +++

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Konstantin Belousov wrote: On Tue, May 02, 2017 at 11:31:21PM +1000, Bruce Evans wrote: On Tue, 2 May 2017, Konstantin Belousov wrote: ENOMEM is, of course, the situation which I want to avoid. Then you have to return no error, but truncate the value instead of

svn commit: r317680 - head/sys/cam/scsi

2017-05-02 Thread Kenneth D. Merry
Author: ken Date: Tue May 2 14:52:28 2017 New Revision: 317680 URL: https://svnweb.freebsd.org/changeset/base/317680 Log: Add the SCSI SSC Manufacturer assigned serial number VPD page. This is current as of SSC-5r03. Submitted by: Sam Klopsch MFC after:3 days Modified:

svn commit: r317681 - head/share/man/man7

2017-05-02 Thread Konstantin Belousov
Author: kib Date: Tue May 2 14:52:35 2017 New Revision: 317681 URL: https://svnweb.freebsd.org/changeset/base/317681 Log: Document time_t size. Reviewed by: emaste, imp, vangyzen Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Konstantin Belousov
On Tue, May 02, 2017 at 11:31:21PM +1000, Bruce Evans wrote: > On Tue, 2 May 2017, Konstantin Belousov wrote: > > ENOMEM is, of course, the situation which I want to avoid. > > Then you have to return no error, but truncate the value instead of > clamping. Anything else is incompatible. I do not

svn commit: r317679 - head/usr.bin/grep/nls

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 13:47:15 2017 New Revision: 317679 URL: https://svnweb.freebsd.org/changeset/base/317679 Log: bsdgrep: correct nls usage data after r317049 r317049 added -z/--null-data to BSD grep but missed the update to nls catalogs. Submitted by: Kyle Evans

svn commit: r317678 - in head/usr.bin/grep: . nls

2017-05-02 Thread Ed Maste
Author: emaste Date: Tue May 2 13:38:20 2017 New Revision: 317678 URL: https://svnweb.freebsd.org/changeset/base/317678 Log: bsdgrep: Add GNU compatible version string indicator As reported in r218614 it's useful to have an indication of whether or not BSD grep was built with

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Konstantin Belousov wrote: On Tue, May 02, 2017 at 09:25:40PM +1000, Bruce Evans wrote: On Tue, 2 May 2017, Konstantin Belousov wrote: On Mon, May 01, 2017 at 06:25:11PM +1000, Bruce Evans wrote: XX Index: subr_counter.c XX

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Konstantin Belousov
On Tue, May 02, 2017 at 09:25:40PM +1000, Bruce Evans wrote: > On Tue, 2 May 2017, Konstantin Belousov wrote: > > > On Mon, May 01, 2017 at 06:25:11PM +1000, Bruce Evans wrote: > >> XX Index: subr_counter.c > >> XX === > >> XX ---

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Konstantin Belousov wrote: On Tue, May 02, 2017 at 12:02:32PM +0200, Hans Petter Selasky wrote: On 05/02/17 11:55, Konstantin Belousov wrote: + out1 = 0x; Nitpicking: Should this be written: 0xU ?? No, 0xU should be written

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Bruce Evans
On Tue, 2 May 2017, Konstantin Belousov wrote: On Mon, May 01, 2017 at 06:25:11PM +1000, Bruce Evans wrote: XX Index: subr_counter.c XX === XX --- subr_counter.c (revision 317604) XX +++ subr_counter.c (working copy) XX @@

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Konstantin Belousov
On Tue, May 02, 2017 at 12:02:32PM +0200, Hans Petter Selasky wrote: > On 05/02/17 11:55, Konstantin Belousov wrote: > > + out1 = 0x; > > Nitpicking: > > Should this be written: 0xU ?? Compiler must do it on its own. The constant is not representable as int so it is

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Hans Petter Selasky
On 05/02/17 11:55, Konstantin Belousov wrote: + out1 = 0x; Nitpicking: Should this be written: 0xU ?? --HPS ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-05-02 Thread Konstantin Belousov
On Mon, May 01, 2017 at 06:25:11PM +1000, Bruce Evans wrote: > XX Index: subr_counter.c > XX === > XX --- subr_counter.c (revision 317604) > XX +++ subr_counter.c (working copy) > XX @@ -78,11 +78,15 @@ > XX