svn commit: r312124 - head/sys/fs/tmpfs

2017-01-13 Thread Mateusz Guzik
Author: mjg Date: Sat Jan 14 06:20:36 2017 New Revision: 312124 URL: https://svnweb.freebsd.org/changeset/base/312124 Log: tmpfs: manage tm_pages_used with atomics Reviewed by: kib (previous version) Modified: head/sys/fs/tmpfs/tmpfs.h head/sys/fs/tmpfs/tmpfs_subr.c head/sys/fs/tmpf

svn commit: r312122 - head/contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 06:16:57 2017 New Revision: 312122 URL: https://svnweb.freebsd.org/changeset/base/312122 Log: Remove contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind This should have been pruned in r305358 MFC after:3 days Sponsored by: Dell EMC Isilon Deleted: hea

svn commit: r312121 - head/tests/sys/kern/execve

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 05:24:35 2017 New Revision: 312121 URL: https://svnweb.freebsd.org/changeset/base/312121 Log: Follow up to r312118 State that execve failed instead of just printing out the program name and strerror(errno) via err(3). MFC after:3 days X-MFC with:

svn commit: r312120 - head/tests/sys/mac/bsdextended

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 05:18:18 2017 New Revision: 312120 URL: https://svnweb.freebsd.org/changeset/base/312120 Log: Fix warnings - Staticize test_num - Promote i to size_t to deal with -Wsign-compare issues Tested with: clang, gcc, gcc49 MFC after:1 week Sponsored by

svn commit: r312119 - head/sys/kern

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 05:06:14 2017 New Revision: 312119 URL: https://svnweb.freebsd.org/changeset/base/312119 Log: encode_long, encode_timeval: mechanically replace `exp` with `exponent` This helps fix a -Wshadow issue with exp(3) with tests/sys/acct/acct_test, which include math

svn commit: r312118 - head/tests/sys/kern/execve

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 05:02:53 2017 New Revision: 312118 URL: https://svnweb.freebsd.org/changeset/base/312118 Log: Fix -Wformat issue with zero-length format string passed to err(3) MFC after:3 days Tested with: clang, gcc 4.2.1, gcc 4.9 Sponsored by: Dell EMC Isilon Modi

Re: svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Cy Schubert
No problem. My make.conf doesn't adjust any warning levels, they're vanilla so, the build barfed at that line. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. In message , Conrad Meyer writes: > Hi Cy, > >

svn commit: r312115 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 04:20:42 2017 New Revision: 312115 URL: https://svnweb.freebsd.org/changeset/base/312115 Log: Remove WARNS set globally by ../Makefile.inc now Sponsored by: Dell EMC Isilon Modified: head/tests/sys/vfs/Makefile Modified: head/tests/sys/vfs/Makefile

svn commit: r312114 - head/tests/sys

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 04:20:06 2017 New Revision: 312114 URL: https://svnweb.freebsd.org/changeset/base/312114 Log: Enable WARNS?= 6 across all of tests/sys MFC after:1 week Sponsored by: Dell EMC Isilon Added: head/tests/sys/Makefile.inc (contents, props changed) Added:

svn commit: r312113 - head/sys/kern

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 04:16:13 2017 New Revision: 312113 URL: https://svnweb.freebsd.org/changeset/base/312113 Log: Clean up trailing whitespace MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/sys/kern/subr_unit.c Modified: head/sys/kern/subr_unit.c =

svn commit: r312112 - head/sys/kern

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 04:13:28 2017 New Revision: 312112 URL: https://svnweb.freebsd.org/changeset/base/312112 Log: Fix -Wunused on gcc 4.9 (x was set but not used) MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/sys/kern/subr_unit.c Modified: head/sys/kern/s

svn commit: r312111 - head/tests/sys/file

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 04:10:04 2017 New Revision: 312111 URL: https://svnweb.freebsd.org/changeset/base/312111 Log: Remove unused vars to fix -Wunused issues MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/tests/sys/file/ftruncate_test.c Modified: head/tests/

svn commit: r312110 - head/tests/sys/vm

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 04:09:01 2017 New Revision: 312110 URL: https://svnweb.freebsd.org/changeset/base/312110 Log: Fix -Wsign-compare warnings The loop index (i) doesn't need to be size_t as its comparison is signed MFC after:1 week Sponsored by: Dell EMC Isilon Modifie

Re: svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper (yaneurabeya)
> On Jan 13, 2017, at 7:50 PM, Conrad Meyer wrote: > > Hi Cy, > > r312107 fixes it. If the warning-cleanups and major changes were > committed separately, the more major changes could then have been > reverted independently. Unfortunately, they were not. The warnings > are harmless, though,

svn commit: r312109 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 04:00:26 2017 New Revision: 312109 URL: https://svnweb.freebsd.org/changeset/base/312109 Log: Bump WARNS up to 6 again Has not been tested (can't be after r312103 without cem's hacks to atf/kyua)! Modified: head/tests/sys/vfs/Makefile head/tests/sys/vfs/

svn commit: r312108 - head/contrib/netbsd-tests/lib/libc/gen/posix_spawn

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 03:54:23 2017 New Revision: 312108 URL: https://svnweb.freebsd.org/changeset/base/312108 Log: Delete trailing whitespace and use __arraycount instead of nitems in contrib code MFC after:1 week Modified: head/contrib/netbsd-tests/lib/libc/gen/posix_spawn

Re: svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Conrad Meyer
Hi Cy, r312107 fixes it. If the warning-cleanups and major changes were committed separately, the more major changes could then have been reverted independently. Unfortunately, they were not. The warnings are harmless, though, so just turning them down again is fine. Best, Conrad On Fri, Jan

Re: svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Cy Schubert
In message <201701140103.v0e13k8b068...@repo.freebsd.org>, "Conrad E. Meyer" wr ites: > Author: cem > Date: Sat Jan 14 01:03:20 2017 > New Revision: 312103 > URL: https://svnweb.freebsd.org/changeset/base/312103 > > Log: > Revert r310994 > > Don't implement some terrible hack on a test by

Re: svn commit: r312107 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper (yaneurabeya)
> On Jan 13, 2017, at 18:29, Conrad E. Meyer wrote: > > Author: cem > Date: Sat Jan 14 02:29:25 2017 > New Revision: 312107 > URL: https://svnweb.freebsd.org/changeset/base/312107 > > Log: > Follow-up to r312103: > > Revert r310995 as well. > > Modified: > head/tests/sys/vfs/Makefile > >

svn commit: r312107 - head/tests/sys/vfs

2017-01-13 Thread Conrad E. Meyer
Author: cem Date: Sat Jan 14 02:29:25 2017 New Revision: 312107 URL: https://svnweb.freebsd.org/changeset/base/312107 Log: Follow-up to r312103: Revert r310995 as well. Modified: head/tests/sys/vfs/Makefile Modified: head/tests/sys/vfs/Makefile ==

Re: svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper (yaneurabeya)
> On Jan 13, 2017, at 17:07, Ngie Cooper (yaneurabeya) > wrote: > > >> On Jan 13, 2017, at 17:06, Ngie Cooper (yaneurabeya) >> wrote: >> >>> >>> On Jan 13, 2017, at 17:03, Conrad E. Meyer wrote: >>> >>> Author: cem >>> Date: Sat Jan 14 01:03:20 2017 >>> New Revision: 312103 >>> URL: http

svn commit: r312105 - head/usr.sbin/inetd

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 01:37:03 2017 New Revision: 312105 URL: https://svnweb.freebsd.org/changeset/base/312105 Log: Conditionalize libwrap support into inetd based on MK_TCP_WRAPPERS This will allow inetd to stand by itself without libwrap. MFC after:2 weeks Relnotes:

Re: svn commit: r312104 - head/usr.sbin/fstyp/tests

2017-01-13 Thread Ngie Cooper (yaneurabeya)
> On Jan 13, 2017, at 17:08, Conrad E. Meyer wrote: > > Author: cem > Date: Sat Jan 14 01:08:04 2017 > New Revision: 312104 > URL: https://svnweb.freebsd.org/changeset/base/312104 > > Log: > Fix broken fstyp exfat testcase > > Introduced in r312010. > > It helps to read the documentation b

svn commit: r312104 - head/usr.sbin/fstyp/tests

2017-01-13 Thread Conrad E. Meyer
Author: cem Date: Sat Jan 14 01:08:04 2017 New Revision: 312104 URL: https://svnweb.freebsd.org/changeset/base/312104 Log: Fix broken fstyp exfat testcase Introduced in r312010. It helps to read the documentation before trying to test something. Modified: head/usr.sbin/fstyp/tests/f

Re: svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper (yaneurabeya)
> On Jan 13, 2017, at 17:06, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Jan 13, 2017, at 17:03, Conrad E. Meyer wrote: >> >> Author: cem >> Date: Sat Jan 14 01:03:20 2017 >> New Revision: 312103 >> URL: https://svnweb.freebsd.org/changeset/base/312103 >> >> Log: >> Revert r310994 >> >>

Re: svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper (yaneurabeya)
> On Jan 13, 2017, at 17:03, Conrad E. Meyer wrote: > > Author: cem > Date: Sat Jan 14 01:03:20 2017 > New Revision: 312103 > URL: https://svnweb.freebsd.org/changeset/base/312103 > > Log: > Revert r310994 > > Don't implement some terrible hack on a test by test basis. The > framework fix

svn commit: r312103 - head/tests/sys/vfs

2017-01-13 Thread Conrad E. Meyer
Author: cem Date: Sat Jan 14 01:03:20 2017 New Revision: 312103 URL: https://svnweb.freebsd.org/changeset/base/312103 Log: Revert r310994 Don't implement some terrible hack on a test by test basis. The framework fix is straightforward and can be chased up in the original bug. Revi

svn commit: r312102 - head/contrib/netbsd-tests/lib/libc/gen

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 01:01:02 2017 New Revision: 312102 URL: https://svnweb.freebsd.org/changeset/base/312102 Log: Note that sys/types.h is required on FreeBSD for kqueue(2), unlike NetBSD MFC after:12 days X-MFC with: r305358 Sponsored by: Dell EMC Isilon Modified: he

Re: svn commit: r310994 - head/tests/sys/vfs

2017-01-13 Thread Ngie Cooper (yaneurabeya)
> On Jan 13, 2017, at 16:09, Conrad Meyer wrote: > > Um, this is garbage and ruins the entire point of using a standardized > framework like ATF. Please revert it. > > Instead, just have the Kyua framework preopen its output files before > running tests. The diff will be an order of magnitude

Re: svn commit: r310994 - head/tests/sys/vfs

2017-01-13 Thread Conrad Meyer
Um, this is garbage and ruins the entire point of using a standardized framework like ATF. Please revert it. Instead, just have the Kyua framework preopen its output files before running tests. The diff will be an order of magnitude smaller than this one is and it will fix the problem generally

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

2017-01-13 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 13 22:16:41 2017 New Revision: 312087 URL: https://svnweb.freebsd.org/changeset/base/312087 Log: Remove deprecated fgetsock() and fputsock(). Modified: head/sys/kern/kern_descrip.c head/sys/sys/file.h head/sys/sys/param.h Modified: head/sys/kern/kern_descrip

svn commit: r312086 - in head/sys: mips/mips sparc64/sparc64

2017-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 21:52:53 2017 New Revision: 312086 URL: https://svnweb.freebsd.org/changeset/base/312086 Log: Trim a few comments on platforms that did not implement mmap of /dev/kmem. After r307332, no platforms implement mmap for /dev/kmem, so the lack of it for these platf

svn commit: r312083 - head/lib/libc/sys

2017-01-13 Thread Warren Block
Author: wblock (doc committer) Date: Fri Jan 13 19:41:02 2017 New Revision: 312083 URL: https://svnweb.freebsd.org/changeset/base/312083 Log: Update the shm_open.2 man page to reflect objective reality. PR: 215612 Submitted by: rwatson MFC after:1 week Differential Revis

svn commit: r312081 - head/sys/dev/iscsi_initiator

2017-01-13 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 13 18:36:46 2017 New Revision: 312081 URL: https://svnweb.freebsd.org/changeset/base/312081 Log: Use getsock_cap() instead of deprecated fgetsock(). Reviewed by: Daniel Braniss Modified: head/sys/dev/iscsi_initiator/isc_soc.c head/sys/dev/iscsi_initiator

svn commit: r312080 - head/sys/kern

2017-01-13 Thread Ian Lepore
Author: ian Date: Fri Jan 13 17:03:23 2017 New Revision: 312080 URL: https://svnweb.freebsd.org/changeset/base/312080 Log: Correct the comments about how much buffer is allocated. Modified: head/sys/kern/tty.c Modified: head/sys/kern/tty.c

svn commit: r312079 - head/sys/netinet

2017-01-13 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 13 16:54:44 2017 New Revision: 312079 URL: https://svnweb.freebsd.org/changeset/base/312079 Log: Use getsock_cap() instead of deprecated fgetsock(). Reviewed by: tuexen Modified: head/sys/netinet/sctp_syscalls.c Modified: head/sys/netinet/sctp_syscalls.c =

svn commit: r312078 - head/usr.sbin/fstyp

2017-01-13 Thread Conrad E. Meyer
Author: cem Date: Fri Jan 13 16:46:01 2017 New Revision: 312078 URL: https://svnweb.freebsd.org/changeset/base/312078 Log: fstyp.8: Move initial exFAT blurb to the -u section Didn't notice the second list in r312003. Reported by: trasz@ Modified: head/usr.sbin/fstyp/fstyp.8 Modifi

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

2017-01-13 Thread Ian Lepore
Author: ian Date: Fri Jan 13 16:37:38 2017 New Revision: 312077 URL: https://svnweb.freebsd.org/changeset/base/312077 Log: Check tty_gone() after allocating IO buffers. The tty lock has to be dropped then reacquired due to using M_WAITOK, which opens a window in which the tty device can dis

svn commit: r312076 - head/lib/libgcc_s

2017-01-13 Thread Ed Maste
Author: emaste Date: Fri Jan 13 15:17:25 2017 New Revision: 312076 URL: https://svnweb.freebsd.org/changeset/base/312076 Log: libgcc_s: add libc DT_NEEDED to fix underlinking PR: 216012 Reported by: jbeich MFC after:1 week Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r286649 - in head: contrib/netbsd-tests/lib/libc/locale lib/libc/tests/locale

2017-01-13 Thread Jilles Tjoelker
On Wed, Jan 11, 2017 at 02:14:13AM -0800, Ngie Cooper (yaneurabeya) wrote: > > On Aug 11, 2015, at 6:45 PM, Craig Rodrigues wrote: > > > > On Tue, Aug 11, 2015 at 2:59 PM, Jilles Tjoelker > > wrote: > > Author: jilles > > Date: Tue Aug 11 21:59:36 2015 > > New Revisio

svn commit: r312063 - head/sys/netinet

2017-01-13 Thread Michael Tuexen
Author: tuexen Date: Fri Jan 13 10:55:26 2017 New Revision: 312063 URL: https://svnweb.freebsd.org/changeset/base/312063 Log: Ensure that the buffer length and the length provided in the IPv4 header match when using a raw socket to send IPv4 packets and providing the header. If they don't ma

Re: svn commit: r304218 - head/sys/netinet

2017-01-13 Thread Julien Charbon
Hi, On 8/16/16 3:21 PM, Randall Stewart via svn-src-all wrote: > > In theory it *could* be MFC’d to stable-10 and 11 but I am not sure we want > to do that. I am > told by Drew that it does improve performance since in stable-10 you are > getting the INFO_WLOCK() > but I am not sure if folks

svn commit: r312026 - in head/sys/cam: . ctl scsi

2017-01-13 Thread Alexander Motin
Author: mav Date: Fri Jan 13 08:31:55 2017 New Revision: 312026 URL: https://svnweb.freebsd.org/changeset/base/312026 Log: Improve CAM_CDB_POINTER support. MFC after:2 weeks Modified: head/sys/cam/cam_ccb.h head/sys/cam/cam_periph.c head/sys/cam/ctl/ctl_frontend_cam_sim.c head/

svn commit: r312018 - head/usr.sbin/route6d

2017-01-13 Thread Hiroki Sato
Author: hrs Date: Fri Jan 13 08:01:27 2017 New Revision: 312018 URL: https://svnweb.freebsd.org/changeset/base/312018 Log: Purge varargs.h in favor of stdarg.h. Modified: head/usr.sbin/route6d/route6d.c Modified: head/usr.sbin/route6d/route6d.c ===