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

svn commit: r312123 - in vendor/NetBSD/tests/dist: dev/clock_subr kernel kernel/arch kernel/arch/amd64 kernel/arch/i386 lib/libc/gen/exect lib/libpthread_dbg lib/librefuse net/if_tun net/if_vlan sy...

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 06:18:54 2017 New Revision: 312123 URL: https://svnweb.freebsd.org/changeset/base/312123 Log: Add additional tests missed in previous merges Reminder: use cvs up -APd to pull new directories Added: vendor/NetBSD/tests/dist/dev/clock_subr/

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:

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

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

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

svn commit: r312117 - stable/10/sys/dev/cxgbe/tom

2017-01-13 Thread Navdeep Parhar
Author: np Date: Sat Jan 14 04:34:30 2017 New Revision: 312117 URL: https://svnweb.freebsd.org/changeset/base/312117 Log: MFC r311569, r311657, and r311949. r311569: Fix comment in t4_tom. No functional change. r311657: cxgbe/t4_tom: Fix tid accounting. An offloaded IPv6

svn commit: r312116 - stable/11/sys/dev/cxgbe/tom

2017-01-13 Thread Navdeep Parhar
Author: np Date: Sat Jan 14 04:24:49 2017 New Revision: 312116 URL: https://svnweb.freebsd.org/changeset/base/312116 Log: MFC r311569, r311657, and r311949. r311569: Fix comment in t4_tom. No functional change. r311657: cxgbe/t4_tom: Fix tid accounting. An offloaded IPv6

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

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)

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:

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:

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

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

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

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:

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: >

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

svn commit: r312106 - in vendor/NetBSD/tests/dist: dev/cgd dev/scsipi dev/sysmon fs/common fs/ffs fs/hfs fs/kernfs fs/lfs fs/msdosfs fs/nfs fs/nullfs fs/ptyfs fs/puffs fs/tmpfs fs/umapfs fs/union f...

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 02:26:46 2017 New Revision: 312106 URL: https://svnweb.freebsd.org/changeset/base/312106 Log: Commit more accepted upstream changes from /tests/... This includes a number of accepted patches for: - lib/libc/sys - lib/libm christos was also nice enough

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 >>>

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

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:

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:

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.

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.

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:

svn commit: r312100 - stable/10/tools/tools/gensnmpdef

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:39:55 2017 New Revision: 312100 URL: https://svnweb.freebsd.org/changeset/base/312100 Log: MFC r311748: Bump WARNS up from 0 to 6 Modified: stable/10/tools/tools/gensnmpdef/Makefile Directory Properties: stable/10/ (props changed) Modified:

svn commit: r312101 - stable/11/tools/tools/gensnmpdef

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:39:58 2017 New Revision: 312101 URL: https://svnweb.freebsd.org/changeset/base/312101 Log: MFC r311748: Bump WARNS up from 0 to 6 Modified: stable/11/tools/tools/gensnmpdef/Makefile Directory Properties: stable/11/ (props changed) Modified:

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

svn commit: r312098 - stable/10/contrib/bsnmp/gensnmpdef

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:36:48 2017 New Revision: 312098 URL: https://svnweb.freebsd.org/changeset/base/312098 Log: MFC r311750,r311754,r311757: r311750: Check result from smiGetFirstNode and smiGetNodeByOID This avoids a segfault with malformed or unanticipated files,

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: r312099 - stable/11/contrib/bsnmp/gensnmpdef

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:36:50 2017 New Revision: 312099 URL: https://svnweb.freebsd.org/changeset/base/312099 Log: MFC r311750,r311754,r311757: r311750: Check result from smiGetFirstNode and smiGetNodeByOID This avoids a segfault with malformed or unanticipated files,

svn commit: r312096 - stable/10/contrib/netbsd-tests/lib/libc/sys

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:33:03 2017 New Revision: 312096 URL: https://svnweb.freebsd.org/changeset/base/312096 Log: MFC r311236,r311919: r311236: unlink_fifo: don't leak the file descriptors opened with mkfifo and open MFC fater:3 days CID: 978316, 978317

svn commit: r312097 - stable/11/contrib/netbsd-tests/lib/libc/sys

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:33:07 2017 New Revision: 312097 URL: https://svnweb.freebsd.org/changeset/base/312097 Log: MFC r311236,r311919: r311236: unlink_fifo: don't leak the file descriptors opened with mkfifo and open MFC fater:3 days CID: 978316, 978317

svn commit: r312095 - stable/10/contrib/netbsd-tests/lib/libc/gen

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:29:55 2017 New Revision: 312095 URL: https://svnweb.freebsd.org/changeset/base/312095 Log: MFC r311924: Fix whitespace in comment Modified: stable/10/contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c

svn commit: r312094 - stable/11/contrib/netbsd-tests/lib/libc/gen

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:29:55 2017 New Revision: 312094 URL: https://svnweb.freebsd.org/changeset/base/312094 Log: MFC r311924: Fix whitespace in comment Modified: stable/11/contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c

svn commit: r312092 - stable/10/contrib/netbsd-tests/lib/libc/regex

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:28:21 2017 New Revision: 312092 URL: https://svnweb.freebsd.org/changeset/base/312092 Log: MFC r311926: Consolidate __NetBSD__ #ifdef Modified: stable/10/contrib/netbsd-tests/lib/libc/regex/debug.c Directory Properties: stable/10/ (props changed)

svn commit: r312093 - stable/11/contrib/netbsd-tests/lib/libc/regex

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:28:23 2017 New Revision: 312093 URL: https://svnweb.freebsd.org/changeset/base/312093 Log: MFC r311926: Consolidate __NetBSD__ #ifdef Modified: stable/11/contrib/netbsd-tests/lib/libc/regex/debug.c Directory Properties: stable/11/ (props changed)

svn commit: r312091 - stable/10/contrib/netbsd-tests/lib/libc/gen

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:26:52 2017 New Revision: 312091 URL: https://svnweb.freebsd.org/changeset/base/312091 Log: MFC r311227,r311917: r311227: seekdir_basic: fix various Coverity issues Address.. - .. resource leaks of file descriptors and memory - .. unchecked

svn commit: r312090 - stable/11/contrib/netbsd-tests/lib/libc/gen

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:26:50 2017 New Revision: 312090 URL: https://svnweb.freebsd.org/changeset/base/312090 Log: MFC r311227,r311917: r311227: seekdir_basic: fix various Coverity issues Address.. - .. resource leaks of file descriptors and memory - .. unchecked

svn commit: r312088 - stable/11/contrib/bsnmp/snmp_mibII

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:24:44 2017 New Revision: 312088 URL: https://svnweb.freebsd.org/changeset/base/312088 Log: MFC r310950: MIB-II: use strlcpy when copying interface names to .ifr_name .ifra_name is assumed to be NUL terminated; using strlcpy(3) ensures that it's

svn commit: r312089 - stable/10/contrib/bsnmp/snmp_mibII

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 00:24:46 2017 New Revision: 312089 URL: https://svnweb.freebsd.org/changeset/base/312089 Log: MFC r310950: MIB-II: use strlcpy when copying interface names to .ifr_name .ifra_name is assumed to be NUL terminated; using strlcpy(3) ensures that it's

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:

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

svn commit: r312085 - in stable: 10/sys/conf 11/sys/conf

2017-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 21:42:36 2017 New Revision: 312085 URL: https://svnweb.freebsd.org/changeset/base/312085 Log: MFC 304492,310721,310734: Update cxgbe info in NOTES. 304492: Move cxgb and cxgbe down to the non-mii PCI NIC section. 310721: Mention T6 and 100GbE in

svn commit: r312085 - in stable: 10/sys/conf 11/sys/conf

2017-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 21:42:36 2017 New Revision: 312085 URL: https://svnweb.freebsd.org/changeset/base/312085 Log: MFC 304492,310721,310734: Update cxgbe info in NOTES. 304492: Move cxgb and cxgbe down to the non-mii PCI NIC section. 310721: Mention T6 and 100GbE in

svn commit: r312084 - stable/11/usr.bin/truss

2017-01-13 Thread John Baldwin
Author: jhb Date: Fri Jan 13 21:30:18 2017 New Revision: 312084 URL: https://svnweb.freebsd.org/changeset/base/312084 Log: MFC 309589: Rework syscall structure lookups. Avoid always using an O(n^2) loop over known syscall structures with strcmp() on each system call. Instead, use a

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

svn commit: r312082 - stable/11/sys/tools

2017-01-13 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Fri Jan 13 19:22:22 2017 New Revision: 312082 URL: https://svnweb.freebsd.org/changeset/base/312082 Log: MFC r311881: Replace using of objdump with elfdump In-tree objdump is too old to dump new ELF headers. But for example if we use: `make

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

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

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

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

svn commit: r312075 - stable/11/sys/dev/drm2/i915

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 13:50:44 2017 New Revision: 312075 URL: https://svnweb.freebsd.org/changeset/base/312075 Log: MFC r309712: Use the populate() driver paging method for i915 driver. MFC r310027: Fix bug in r309712, do not leak gem object pin count in case of error or

svn commit: r312074 - stable/11/sys/vm

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 13:47:26 2017 New Revision: 312074 URL: https://svnweb.freebsd.org/changeset/base/312074 Log: MFC r309711: Implement the populate() pager method for phys pager. Modified: stable/11/sys/vm/phys_pager.c Directory Properties: stable/11/ (props changed)

svn commit: r312073 - stable/11/sys/vm

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 13:45:34 2017 New Revision: 312073 URL: https://svnweb.freebsd.org/changeset/base/312073 Log: MFC r309710: Add a new populate() pager method and extend device pager ops vector with cdev_pg_populate() to provide device drivers access to it. MFC r310849:

svn commit: r312072 - in stable/11: bin/pax contrib/mtree sbin/fsck_ffs sys/fs/nfsclient sys/fs/tmpfs sys/ufs/ffs sys/ufs/ufs tests/sys/kern/pipe usr.bin/find usr.bin/gzip usr.sbin/fmtree

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 13:37:09 2017 New Revision: 312072 URL: https://svnweb.freebsd.org/changeset/base/312072 Log: MFC r311522: Use type-independent formats for printing nlink_t and ino_t. Modified: stable/11/bin/pax/gen_subs.c stable/11/contrib/mtree/create.c

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 > >

svn commit: r312069 - stable/10/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:47:44 2017 New Revision: 312069 URL: https://svnweb.freebsd.org/changeset/base/312069 Log: MFC r311525: Lock tmpfs node tn_status updates done under the shared vnode lock. Modified: stable/10/sys/fs/tmpfs/tmpfs.h stable/10/sys/fs/tmpfs/tmpfs_fifoops.c

svn commit: r312068 - stable/10/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:45:54 2017 New Revision: 312068 URL: https://svnweb.freebsd.org/changeset/base/312068 Log: MFC r311524: Use vnode lock assertion expression, assert exclusive ownership. Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stable/10/ (props

svn commit: r312067 - stable/10/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:44:52 2017 New Revision: 312067 URL: https://svnweb.freebsd.org/changeset/base/312067 Log: MFC r311523: Remove dead code. Modified: stable/10/sys/fs/tmpfs/tmpfs_fifoops.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r312066 - stable/11/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:38:25 2017 New Revision: 312066 URL: https://svnweb.freebsd.org/changeset/base/312066 Log: MFC r311525: Lock tmpfs node tn_status updates done under the shared vnode lock. Modified: stable/11/sys/fs/tmpfs/tmpfs.h stable/11/sys/fs/tmpfs/tmpfs_fifoops.c

svn commit: r312065 - stable/11/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:36:53 2017 New Revision: 312065 URL: https://svnweb.freebsd.org/changeset/base/312065 Log: MFC r311524: Use vnode lock assertion expression, assert exclusive ownership. Modified: stable/11/sys/fs/tmpfs/tmpfs_subr.c Directory Properties: stable/11/ (props

svn commit: r312064 - stable/11/sys/fs/tmpfs

2017-01-13 Thread Konstantin Belousov
Author: kib Date: Fri Jan 13 12:31:56 2017 New Revision: 312064 URL: https://svnweb.freebsd.org/changeset/base/312064 Log: MFC r311523: Remove dead code. Modified: stable/11/sys/fs/tmpfs/tmpfs_fifoops.c Directory Properties: stable/11/ (props changed) Modified:

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

svn commit: r312061 - stable/10/contrib/bzip2

2017-01-13 Thread Dmitry Marakasov
Author: amdmi3 (ports committer) Date: Fri Jan 13 10:28:24 2017 New Revision: 312061 URL: https://svnweb.freebsd.org/changeset/base/312061 Log: MFC r310718: bzip2 does not exit after showing license as requested with --version or --license as most apps would do, instead it waits for data

svn commit: r312062 - stable/11/contrib/bzip2

2017-01-13 Thread Dmitry Marakasov
Author: amdmi3 (ports committer) Date: Fri Jan 13 10:28:26 2017 New Revision: 312062 URL: https://svnweb.freebsd.org/changeset/base/312062 Log: MFC r310718: bzip2 does not exit after showing license as requested with --version or --license as most apps would do, instead it waits for data

svn commit: r312059 - stable/11/contrib/bsnmp/snmpd

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:19:09 2017 New Revision: 312059 URL: https://svnweb.freebsd.org/changeset/base/312059 Log: MFC r311381: lsock_init_port: address issues with initializing sockaddr_un object - Use strlcpy to ensure p->name doesn't overflow sa.sun_path [*]. - Use

svn commit: r312058 - stable/10/contrib/bsnmp/snmpd

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:19:04 2017 New Revision: 312058 URL: https://svnweb.freebsd.org/changeset/base/312058 Log: MFC r310586,r310587,r310588,r311381: r310586: Refactor transport sources a bit to facilitate changes coming down pipeline Add recv callback to transport

svn commit: r312057 - stable/11/contrib/bsnmp/snmpd

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:11:11 2017 New Revision: 312057 URL: https://svnweb.freebsd.org/changeset/base/312057 Log: MFC r310586,r310587,r310588: r310586: Refactor transport sources a bit to facilitate changes coming down pipeline Add recv callback to transport layer to

svn commit: r312056 - in stable/11/usr.sbin/bsnmpd/modules: snmp_atm snmp_hast snmp_hostres snmp_mibII snmp_target snmp_usm snmp_vacm

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:07:29 2017 New Revision: 312056 URL: https://svnweb.freebsd.org/changeset/base/312056 Log: MFC r311739: Use SRCTOP instead of spelling out the full path with .CURDIR This helps condense the output for CFLAGS and .PATH Modified:

svn commit: r312055 - in stable/10/usr.sbin/bsnmpd/modules: snmp_atm snmp_hast snmp_hostres snmp_mibII snmp_target snmp_usm snmp_vacm

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:07:25 2017 New Revision: 312055 URL: https://svnweb.freebsd.org/changeset/base/312055 Log: MFC r311739: Use SRCTOP instead of spelling out the full path with .CURDIR This helps condense the output for CFLAGS and .PATH Modified:

svn commit: r312054 - stable/10/contrib/bsnmp/snmpd

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:04:29 2017 New Revision: 312054 URL: https://svnweb.freebsd.org/changeset/base/312054 Log: MFC r311378: lm_load: fix string copying issues - Ensure `section` doesn't overrun section by using strlcpy instead of strcpy [*]. - Use strdup instead of

svn commit: r312053 - stable/11/contrib/bsnmp/snmpd

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:04:26 2017 New Revision: 312053 URL: https://svnweb.freebsd.org/changeset/base/312053 Log: MFC r311378: lm_load: fix string copying issues - Ensure `section` doesn't overrun section by using strlcpy instead of strcpy [*]. - Use strdup instead of

svn commit: r312052 - stable/10/contrib/bsnmp/lib

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:01:09 2017 New Revision: 312052 URL: https://svnweb.freebsd.org/changeset/base/312052 Log: MFC r311390: snmp_table_fetch_async: don't leak `work` if snmp_pdu_send(..) fails CID: 1017276 Modified: stable/10/contrib/bsnmp/lib/snmpclient.c

svn commit: r312051 - stable/11/contrib/bsnmp/lib

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 09:01:06 2017 New Revision: 312051 URL: https://svnweb.freebsd.org/changeset/base/312051 Log: MFC r311390: snmp_table_fetch_async: don't leak `work` if snmp_pdu_send(..) fails CID: 1017276 Modified: stable/11/contrib/bsnmp/lib/snmpclient.c

svn commit: r312050 - stable/10/usr.sbin/bsnmpd/tools/bsnmptools

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:59:22 2017 New Revision: 312050 URL: https://svnweb.freebsd.org/changeset/base/312050 Log: MFC r310892,r310894,r310989: r310892: Don't call snmp_pdu_free(..) until finished with the pdu and when ready to allocate a new one via snmp_pdu_create(..)

svn commit: r312049 - stable/11/usr.sbin/bsnmpd/tools/bsnmptools

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:59:08 2017 New Revision: 312049 URL: https://svnweb.freebsd.org/changeset/base/312049 Log: MFC r310892,r310894,r310989: r310892: Don't call snmp_pdu_free(..) until finished with the pdu and when ready to allocate a new one via snmp_pdu_create(..)

svn commit: r312047 - stable/10/contrib/bsnmp/lib

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:55:37 2017 New Revision: 312047 URL: https://svnweb.freebsd.org/changeset/base/312047 Log: MFC r310729: Prevent improper memory accesses after calling snmp_pdu_free and snmp_value_free snmp_pdu_free: set pdu->nbindings to 0 to limit the damage that

svn commit: r312048 - stable/11/contrib/bsnmp/lib

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:55:41 2017 New Revision: 312048 URL: https://svnweb.freebsd.org/changeset/base/312048 Log: MFC r310729: Prevent improper memory accesses after calling snmp_pdu_free and snmp_value_free snmp_pdu_free: set pdu->nbindings to 0 to limit the damage that

svn commit: r312046 - stable/11/contrib/bsnmp/snmp_mibII

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:54:09 2017 New Revision: 312046 URL: https://svnweb.freebsd.org/changeset/base/312046 Log: MFC r311733: Use nitems(mib) instead of hardcoding mib's length when calling sysctl(3) Modified: stable/11/contrib/bsnmp/snmp_mibII/mibII.c Directory Properties:

svn commit: r312045 - stable/10/contrib/bsnmp/snmp_mibII

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:54:06 2017 New Revision: 312045 URL: https://svnweb.freebsd.org/changeset/base/312045 Log: MFC r311733: Use nitems(mib) instead of hardcoding mib's length when calling sysctl(3) Modified: stable/10/contrib/bsnmp/snmp_mibII/mibII.c Directory Properties:

svn commit: r312044 - stable/10/usr.sbin/bsnmpd/modules/snmp_bridge

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:51:46 2017 New Revision: 312044 URL: https://svnweb.freebsd.org/changeset/base/312044 Log: MFC r311290,r311293,r311294: r311290: Use strlcpy instead of strcpy when copying the bridge name to ifr.ifr_name to avoid buffer overflows CID:

svn commit: r312043 - stable/11/usr.sbin/bsnmpd/modules/snmp_bridge

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:51:43 2017 New Revision: 312043 URL: https://svnweb.freebsd.org/changeset/base/312043 Log: MFC r311290,r311293,r311294: r311290: Use strlcpy instead of strcpy when copying the bridge name to ifr.ifr_name to avoid buffer overflows CID:

svn commit: r312041 - stable/11/contrib/bsnmp/snmp_mibII

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:49:10 2017 New Revision: 312041 URL: https://svnweb.freebsd.org/changeset/base/312041 Log: MFC r311282: snmp_mibII(3) requires net/if.h and net/if_mib.h Document that requirement Modified: stable/11/contrib/bsnmp/snmp_mibII/snmp_mibII.3 Directory

svn commit: r312042 - stable/10/contrib/bsnmp/snmp_mibII

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:49:22 2017 New Revision: 312042 URL: https://svnweb.freebsd.org/changeset/base/312042 Log: MFC r311282: snmp_mibII(3) requires net/if.h and net/if_mib.h Document that requirement Modified: stable/10/contrib/bsnmp/snmp_mibII/snmp_mibII.3 Directory

svn commit: r312039 - stable/10/contrib/netbsd-tests/lib/libc/sys

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:48:17 2017 New Revision: 312039 URL: https://svnweb.freebsd.org/changeset/base/312039 Log: MFC r311268: Clarify lifetime of child(..) function Ensure child exits when complete as it's always run in a forked process. Add a missing break statement

svn commit: r312040 - stable/11/contrib/netbsd-tests/lib/libc/sys

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:48:20 2017 New Revision: 312040 URL: https://svnweb.freebsd.org/changeset/base/312040 Log: MFC r311268: Clarify lifetime of child(..) function Ensure child exits when complete as it's always run in a forked process. Add a missing break statement

svn commit: r312037 - stable/11/contrib/netbsd-tests/lib/libpthread

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:46:46 2017 New Revision: 312037 URL: https://svnweb.freebsd.org/changeset/base/312037 Log: MFC r311265,r311274: r311265: fpu: ensure calls to pthread_create succeed and test sched_yield to make sure it returns 0 sched_yield tests for values

svn commit: r312038 - stable/10/contrib/netbsd-tests/lib/libpthread

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:46:49 2017 New Revision: 312038 URL: https://svnweb.freebsd.org/changeset/base/312038 Log: MFC r311265,r311274: r311265: fpu: ensure calls to pthread_create succeed and test sched_yield to make sure it returns 0 sched_yield tests for values

svn commit: r312035 - stable/11/lib/libprocstat

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:42:05 2017 New Revision: 312035 URL: https://svnweb.freebsd.org/changeset/base/312035 Log: MFC r311715: Use nitems({mib,name}) instead of hardcoding their value Modified: stable/11/lib/libprocstat/libprocstat.c Directory Properties: stable/11/ (props

svn commit: r312036 - stable/10/lib/libprocstat

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:42:11 2017 New Revision: 312036 URL: https://svnweb.freebsd.org/changeset/base/312036 Log: MFC r311715: Use nitems({mib,name}) instead of hardcoding their value Modified: stable/10/lib/libprocstat/libprocstat.c Directory Properties: stable/10/ (props

  1   2   >