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

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

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: r312028 - stable/10/contrib/netbsd-tests/lib/libc/ttyio

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:36:14 2017 New Revision: 312028 URL: https://svnweb.freebsd.org/changeset/base/312028 Log: MFC r311871: Merge ^/vendor/NetBSD/tests/dist@r311868 This is the vendor accepted version of ^/head@r311245 Modified:

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: 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: 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: 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: 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: 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: r312025 - stable/10/tools/tools/gensnmpdef

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:29:43 2017 New Revision: 312025 URL: https://svnweb.freebsd.org/changeset/base/312025 Log: MFC r311511: Add integration makefile for contrib/bsnmp/gensnmpdef It's a whole lot less error prone than generating the file completely by hand. Added:

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

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:38:29 2017 New Revision: 312030 URL: https://svnweb.freebsd.org/changeset/base/312030 Log: MFC r311870: Merge the grammar fix for lib/libc/gen/raise_test:raise_stress Modified: stable/10/contrib/netbsd-tests/lib/libc/gen/t_raise.c Directory Properties:

svn commit: r312032 - stable/10/lib/libutil

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:39:40 2017 New Revision: 312032 URL: https://svnweb.freebsd.org/changeset/base/312032 Log: MFC r311714: lib/libutil/kinfo_*: style cleanup - Use nitems(mib) instead of hardcoding mib's length - Sort sys/ #includes Modified:

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: 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: r312021 - stable/10/usr.bin/top

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:24:41 2017 New Revision: 312021 URL: https://svnweb.freebsd.org/changeset/base/312021 Log: MFC r266773,r280680,r311710: r266773 (by jhb): Fix a couple of size_t != int warnings. r280680 (by kevlo): Print size_t's with %zu rather than "%zd.

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