svn commit: r304950 - stable/11/lib/libc/tests/resolv

2016-08-28 Thread Garrett Cooper
Author: ngie Date: Sun Aug 28 07:17:25 2016 New Revision: 304950 URL: https://svnweb.freebsd.org/changeset/base/304950 Log: MFC r304033: Increase timeout from 10 minutes to 20 minutes for all tests On particular slow networks, it can (on average) take longer to resolve hosts to IP*

svn commit: r304949 - stable/11/usr.bin/getconf

2016-08-28 Thread Garrett Cooper
Author: ngie Date: Sun Aug 28 07:16:11 2016 New Revision: 304949 URL: https://svnweb.freebsd.org/changeset/base/304949 Log: MFC r303830,r304693,r304694,r304698: r303830: Remove vestigal references to __alpha__ Replace alpha reference in getconf(1) with amd64 [*] PR:

svn commit: r304951 - stable/11/usr.bin/tar/tests

2016-08-28 Thread Garrett Cooper
Author: ngie Date: Sun Aug 28 07:19:33 2016 New Revision: 304951 URL: https://svnweb.freebsd.org/changeset/base/304951 Log: MFC r303804: Fix building usr.bin/tar/tests with PIE symbol building enabled by removing CFLAGS+= -static `CFLAGS+= -static` was a carryover from pre-r289195

Re: svn commit: r304912 - head/sys/sys

2016-08-28 Thread Mariusz Zaborski
Eh, sorry. Fixed in the @304952. On 28 August 2016 at 06:17, Adrian Chadd wrote: > ... > > ===> lib/libnv (obj,all,install) > In file included from > /usr/home/adrian/work/freebsd/head-embedded/src/lib/libnv/../../sys/contrib/libnv/cnvlist.c:49:0: >

svn commit: r304952 - head/sys/sys

2016-08-28 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Aug 28 07:40:11 2016 New Revision: 304952 URL: https://svnweb.freebsd.org/changeset/base/304952 Log: Remove duplicated declaration. Reported by: adrian@ Modified: head/sys/sys/cnv.h Modified: head/sys/sys/cnv.h

Re: svn commit: r304947 - stable/11/tests/sys/kern/acct

2016-08-28 Thread Bruce Evans
On Sun, 28 Aug 2016, Garrett Cooper wrote: Log: MFC r304238: Only expect :encode_tv_random_million to fail on 64-bit platforms It passes on i386 This can't depend on 64-bitness. It might depend on FLT_EPSILON, but IEEE might require a specific representation of floats and we only have

svn commit: r304946 - stable/11/tests/sys/acl

2016-08-28 Thread Garrett Cooper
Author: ngie Date: Sun Aug 28 07:09:45 2016 New Revision: 304946 URL: https://svnweb.freebsd.org/changeset/base/304946 Log: MFC r304040: Redirect the output of the testcases to stderr instead of redirecting it to /dev/null This will aid in debugging failures Modified:

svn commit: r304947 - stable/11/tests/sys/kern/acct

2016-08-28 Thread Garrett Cooper
Author: ngie Date: Sun Aug 28 07:10:48 2016 New Revision: 304947 URL: https://svnweb.freebsd.org/changeset/base/304947 Log: MFC r304238: Only expect :encode_tv_random_million to fail on 64-bit platforms It passes on i386 Modified: stable/11/tests/sys/kern/acct/acct_test.c Directory

svn commit: r304945 - stable/11/lib/libc/net

2016-08-28 Thread Garrett Cooper
Author: ngie Date: Sun Aug 28 07:08:29 2016 New Revision: 304945 URL: https://svnweb.freebsd.org/changeset/base/304945 Log: MFC r304034: Initialize `ai` to NULL and test for `ai` with type-appropriate values Depending on the address family and ai_flags containing AI_V4MAPPED, it

svn commit: r304948 - in stable/11/cddl/usr.sbin/dtrace/tests: common/raise common/safety tools

2016-08-28 Thread Garrett Cooper
Author: ngie Date: Sun Aug 28 07:12:47 2016 New Revision: 304948 URL: https://svnweb.freebsd.org/changeset/base/304948 Log: MFC r303900: Highball memory requirement (4GB) with common/{raise,safety} Both test suites require more memory than my amd64 VM using GENERIC-NODEBUG can

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

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 11:51:46 2016 New Revision: 304953 URL: https://svnweb.freebsd.org/changeset/base/304953 Log: Define ipfilter's SOLARIS macro in a defined and portable way. Reviewed by: cy MFC after:3 days Differential Revision: https://reviews.freebsd.org/D7671

svn commit: r304956 - head/sys/modules

2016-08-28 Thread Bjoern A. Zeeb
Author: bz Date: Sun Aug 28 12:05:34 2016 New Revision: 304956 URL: https://svnweb.freebsd.org/changeset/base/304956 Log: Back out r304907, Ed had fixed it apparently earlier in the cloudabi* subdirectories. Reported by: np Modified: head/sys/modules/Makefile Modified:

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-28 Thread Andrey Chernov
On 28.08.2016 8:28, Bruce Evans wrote: >> How hard it will be to bring ptrace() to what C99 expects? Perhaps now >> time is suited well to change some obsoleted things. > > This should be safe to change, since portable applications like gdb can't > assume that the implemementation clobbers errno

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Slawa Olhovchenkov
On Sun, Aug 28, 2016 at 10:20:08AM -0700, Adrian Chadd wrote: > * the rtalloc1_fib thing - that's odd, because it shouldn't be > contending there unless there's some temporary redirect that's been > learnt. What's the routing table look like on your machine? I Remember > investigating the rtentry

svn commit: r304957 - head/sys/i386/i386

2016-08-28 Thread Bruce Evans
Author: bde Date: Sun Aug 28 14:03:25 2016 New Revision: 304957 URL: https://svnweb.freebsd.org/changeset/base/304957 Log: Fix vm86 initialization, part 1 of 2 and a half. vm86 uses the tss, but r273995 moved tss initialization to after where it may be first used, just because tss_esp0

svn commit: r304964 - in head: contrib/ipfilter sys/contrib/ipfilter/netinet

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 19:35:29 2016 New Revision: 304964 URL: https://svnweb.freebsd.org/changeset/base/304964 Log: Follow-up to r304953, in which I broke the build: apparently the SOLARIS macro is defined in lots of different places in ipfilter, so replace all of the nonportable

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

2016-08-28 Thread Dimitry Andric
On 28 Aug 2016, at 18:27, Ngie Cooper (yaneurabeya) wrote: > >> On Aug 28, 2016, at 4:51 AM, Dimitry Andric wrote: >> >> Author: dim >> Date: Sun Aug 28 11:51:46 2016 >> New Revision: 304953 >> URL: https://svnweb.freebsd.org/changeset/base/304953 >>

Re: svn commit: r304895 - head/usr.bin/netstat

2016-08-28 Thread hiren panchasara
On 08/27/16 at 11:06P, Bruce Evans wrote: > Author: bde > Date: Sat Aug 27 11:06:06 2016 > New Revision: 304895 > URL: https://svnweb.freebsd.org/changeset/base/304895 > > Log: > Fix build without INET6 and with gcc. A function definition was ifdefed > for INET6, but its protototype was not,

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

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Sun Aug 28 18:10:29 2016 New Revision: 304959 URL: https://svnweb.freebsd.org/changeset/base/304959 Log: Complete r304953. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/contrib/ipfilter/netinet/ip_log.c Modified:

Re: svn commit: r304895 - head/usr.bin/netstat

2016-08-28 Thread Bruce Evans
On Sun, 28 Aug 2016, hiren panchasara wrote: On 08/27/16 at 11:06P, Bruce Evans wrote: Log: Fix build without INET6 and with gcc. A function definition was ifdefed for INET6, but its protototype was not, and gcc detects the error. Modified: head/usr.bin/netstat/route.c Thanks for

svn commit: r304963 - in head/sys/dev/bhnd: . bcma siba

2016-08-28 Thread Landon J. Fuller
Author: landonf Date: Sun Aug 28 19:34:22 2016 New Revision: 304963 URL: https://svnweb.freebsd.org/changeset/base/304963 Log: bhnd(4): Add a bhnd bus method for fetching the device's core table. This will allow us to perform bhndb(4) bridge configuration based on the identified

svn commit: r304962 - head/sys/ddb

2016-08-28 Thread Bruce Evans
Author: bde Date: Sun Aug 28 19:33:09 2016 New Revision: 304962 URL: https://svnweb.freebsd.org/changeset/base/304962 Log: Expand error messages: print symbol names, parentheses and shift tokens, and negative shift counts. Fix error messages: print "Division" instead of "Divide"; print

Re: svn commit: r304912 - head/sys/sys

2016-08-28 Thread Adrian Chadd
Thanks! -a On 28 August 2016 at 00:40, Mariusz Zaborski wrote: > Eh, sorry. > Fixed in the @304952. > > On 28 August 2016 at 06:17, Adrian Chadd wrote: >> ... >> >> ===> lib/libnv (obj,all,install) >> In file included from >>

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Adrian Chadd
Hi, There are some no brainers here so far(tm): working from the bottom up: * yeah, the ixgbe locking is a bit silly. Kip's work with iflib and converting ixgbe to use that instead of its own locking for managing things should remove the bottom two locks * the rtalloc1_fib thing - that's odd,

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Slawa Olhovchenkov
On Sat, Aug 27, 2016 at 07:05:01PM -0700, Adrian Chadd wrote: > On 26 August 2016 at 17:46, Slawa Olhovchenkov wrote: > > On Fri, Aug 26, 2016 at 04:55:34PM -0700, Adrian Chadd wrote: > > > >> Hi, > >> > >> I use the kernel lock profiling debugging, > > > > I am already have

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

2016-08-28 Thread Ngie Cooper (yaneurabeya)
> On Aug 28, 2016, at 4:51 AM, Dimitry Andric wrote: > > Author: dim > Date: Sun Aug 28 11:51:46 2016 > New Revision: 304953 > URL: https://svnweb.freebsd.org/changeset/base/304953 > > Log: > Define ipfilter's SOLARIS macro in a defined and portable way. > > Reviewed by:

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Slawa Olhovchenkov
On Sun, Aug 28, 2016 at 10:20:08AM -0700, Adrian Chadd wrote: Hi, thanks for answer! > Hi, > > There are some no brainers here so far(tm): > > working from the bottom up: > > * yeah, the ixgbe locking is a bit silly. Kip's work with iflib and > converting ixgbe to use that instead of its own

svn commit: r304967 - in head/sys/dev/bhnd: . siba

2016-08-28 Thread Landon J. Fuller
Author: landonf Date: Sun Aug 28 20:39:53 2016 New Revision: 304967 URL: https://svnweb.freebsd.org/changeset/base/304967 Log: bhnd(4): Apply the siba chipid ncore fixup in bhnd_read_chipid(), ensuring that bhndb et al are always operating on a valid core count. Approved by: adrian

svn commit: r304966 - head/sys/boot/i386/libi386

2016-08-28 Thread Peter Wemm
Author: peter Date: Sun Aug 28 20:39:33 2016 New Revision: 304966 URL: https://svnweb.freebsd.org/changeset/base/304966 Log: The read-ahead code from r298230 made it likely the boot code would read beyond the end of disk. r298900 added code to prevent this. Some BIOSes cause significant

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-28 Thread John Baldwin
On Sunday, August 28, 2016 04:52:10 AM Konstantin Belousov wrote: > On Sun, Aug 28, 2016 at 04:25:46AM +0300, Andrey Chernov wrote: > > On 28.08.2016 4:15, Konstantin Belousov wrote: > > >> POSIX: "No function in this volume of POSIX.1-2008 shall set errno to > > >> zero." > > > I am quite

svn commit: r304971 - head/sys/dev/mfi

2016-08-28 Thread John Baldwin
Author: jhb Date: Mon Aug 29 01:59:18 2016 New Revision: 304971 URL: https://svnweb.freebsd.org/changeset/base/304971 Log: Add missing array subscript. This fixes a tautological pointer comparison warning, but would also a real bug for a platform where bus_dmamap_unload of a static

Re: svn commit: r304949 - stable/11/usr.bin/getconf

2016-08-28 Thread Adam Weinberger
> On 28 Aug, 2016, at 1:16, Garrett Cooper wrote: > > Author: ngie > Date: Sun Aug 28 07:16:11 2016 > New Revision: 304949 > URL: https://svnweb.freebsd.org/changeset/base/304949 > > Log: > MFC r303830,r304693,r304694,r304698: > > r303830: > > Remove vestigal references

svn commit: r304958 - head/sys/i386/i386

2016-08-28 Thread Bruce Evans
Author: bde Date: Sun Aug 28 15:23:44 2016 New Revision: 304958 URL: https://svnweb.freebsd.org/changeset/base/304958 Log: Fix vm86 initialization, part 1 of 2 and a half. Early use of vm86 depends on the PIC being reset to mask interrupts, but r286667 moved PIC initialization to after

svn commit: r304969 - head/sbin/hastd

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 21:26:11 2016 New Revision: 304969 URL: https://svnweb.freebsd.org/changeset/base/304969 Log: Define hastd's STRICT_ALIGN macro in a defined and portable way. MFC after:3 days Modified: head/sbin/hastd/lzf.h Modified: head/sbin/hastd/lzf.h

svn commit: r304970 - in head/sys/dev: ofw uart

2016-08-28 Thread Justin Hibbits
Author: jhibbits Date: Sun Aug 28 21:31:21 2016 New Revision: 304970 URL: https://svnweb.freebsd.org/changeset/base/304970 Log: Check all compatible strings on uart devices in powerpc Summary: Some device trees put "fsl,ns16650" first in the compatible list. This causes the probe code

Re: svn commit: r304963 - in head/sys/dev/bhnd: . bcma siba

2016-08-28 Thread Adrian Chadd
Heh. Make a free function too. ;) On Aug 28, 2016 12:34 PM, "Landon J. Fuller" wrote: > Author: landonf > Date: Sun Aug 28 19:34:22 2016 > New Revision: 304963 > URL: https://svnweb.freebsd.org/changeset/base/304963 > > Log: > bhnd(4): Add a bhnd bus method for fetching

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

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 04:44:24 2016 New Revision: 304973 URL: https://svnweb.freebsd.org/changeset/base/304973 Log: hyperv/hn: Switch to new RNDIS query for link status extraction. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304974 - stable/11/sys/kern

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 04:45:58 2016 New Revision: 304974 URL: https://svnweb.freebsd.org/changeset/base/304974 Log: MFC r303548: Cache getbintime(9) answer in timehands. Modified: stable/11/sys/kern/kern_tc.c Directory Properties: stable/11/ (props changed) Modified:

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

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 05:08:53 2016 New Revision: 304976 URL: https://svnweb.freebsd.org/changeset/base/304976 Log: hyperv/hn: Fix # of channels setting, if RSS is not available. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304980 - in stable/11: lib/libc/include lib/libc/sys lib/libthr/thread share/man/man3

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 05:37:03 2016 New Revision: 304980 URL: https://svnweb.freebsd.org/changeset/base/304980 Log: MFC r304209: The fdatasync(2) call must be cancellation point. Added: stable/11/lib/libc/sys/fdatasync.c - copied unchanged from r304209,

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

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 03:22:56 2016 New Revision: 304972 URL: https://svnweb.freebsd.org/changeset/base/304972 Log: hyperv/hn: Add definition for NDIS media state. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7652

svn commit: r304977 - in stable/11: include lib/libc/sys sys/compat/freebsd32 sys/kern

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 05:15:43 2016 New Revision: 304977 URL: https://svnweb.freebsd.org/changeset/base/304977 Log: MFC r304176: Add a trivial implementation of fdatasync(2). Modified: stable/11/include/unistd.h stable/11/lib/libc/sys/Symbol.map

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

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 05:35:35 2016 New Revision: 304979 URL: https://svnweb.freebsd.org/changeset/base/304979 Log: hyperv/hn: Switch to new RNDIS set for RSS parameters. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304983 - in stable/11/sys: fs/smbfs fs/unionfs kern sys ufs/ffs ufs/ufs vm

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 05:51:27 2016 New Revision: 304983 URL: https://svnweb.freebsd.org/changeset/base/304983 Log: MFC r303924 (by trasz): Eliminate vprint(). Modified: stable/11/sys/fs/smbfs/smbfs_node.c stable/11/sys/fs/unionfs/union_vnops.c stable/11/sys/kern/vfs_default.c

svn commit: r304984 - stable/11/sys/ufs/ffs

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 05:53:59 2016 New Revision: 304984 URL: https://svnweb.freebsd.org/changeset/base/304984 Log: MFC r304180: Implement VOP_FDATASYNC() for UFS. Modified: stable/11/sys/ufs/ffs/ffs_extern.h stable/11/sys/ufs/ffs/ffs_vnops.c Directory Properties: stable/11/

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

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 04:54:13 2016 New Revision: 304975 URL: https://svnweb.freebsd.org/changeset/base/304975 Log: hyperv/hn: Switch to new RNDIS query for RSS capabilities extraction. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304978 - in stable/11/sys: compat/freebsd32 kern sys

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 05:17:44 2016 New Revision: 304978 URL: https://svnweb.freebsd.org/changeset/base/304978 Log: Regen Modified: stable/11/sys/compat/freebsd32/freebsd32_proto.h stable/11/sys/compat/freebsd32/freebsd32_syscall.h

svn commit: r304982 - stable/10/lib/libc/net

2016-08-28 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 05:46:35 2016 New Revision: 304982 URL: https://svnweb.freebsd.org/changeset/base/304982 Log: MFstable/11 r304945: MFC r304034: Initialize `ai` to NULL and test for `ai` with type-appropriate values Depending on the address family and ai_flags

svn commit: r304981 - in stable/11/sys: fs/msdosfs kern sys

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 05:40:21 2016 New Revision: 304981 URL: https://svnweb.freebsd.org/changeset/base/304981 Log: MFC r304178: Implement VOP_FDATASYNC() for msdosfs. Modified: stable/11/sys/fs/msdosfs/msdosfs_vnops.c stable/11/sys/kern/vfs_default.c stable/11/sys/sys/vnode.h