svn commit: r301695 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 20:47:25 2016 New Revision: 301695 URL: https://svnweb.freebsd.org/changeset/base/301695 Log: MFC r300870,r300884: r300870: Unbreak the zfs(4) build vm/vm_pageout.h grew a dependency on the bool typedef in r300865 arc.c didn't include sys/types.h

svn commit: r301687 - stable/10/lib/libc/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:46:10 2016 New Revision: 301687 URL: https://svnweb.freebsd.org/changeset/base/301687 Log: MFC r300624: Fix up r300385 I accidentally glossed over the fact that tmp is manipulated via strchr, so if we tried to free `tmp` after r300385, it would have c

svn commit: r301684 - stable/10/lib/libc/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:41:49 2016 New Revision: 301684 URL: https://svnweb.freebsd.org/changeset/base/301684 Log: MFC r300385: Don't leak `tmp` if `p->nc_lookups` can't be malloced Modified: stable/10/lib/libc/rpc/getnetconfig.c Directory Properties: stable/10/ (props chang

svn commit: r301682 - stable/10/lib/libc/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:27:44 2016 New Revision: 301682 URL: https://svnweb.freebsd.org/changeset/base/301682 Log: MFC r300386: Don't leak `handle` if svc_tp_create(..) succeeds and allocating a new struct xlist object fails CID: 978277 Modified: stable/10/lib/libc/rpc/sv

svn commit: r301680 - stable/10/sys/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:22:54 2016 New Revision: 301680 URL: https://svnweb.freebsd.org/changeset/base/301680 Log: MFC r300625: Remove unnecessary memset(.., 0, ..)'s The mem_alloc macro calls calloc (userspace) / malloc(.., M_WAITOK|M_ZERO) under the covers, so zeroing out

svn commit: r301678 - stable/10/tools/tools/ioat

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:21:25 2016 New Revision: 301678 URL: https://svnweb.freebsd.org/changeset/base/301678 Log: MFC r300861,r300862: r300861: - Sort make variables - Use SRCTOP instead of ad hoc definition for it r300862: Install ioatcontrol to /usr/bin by defau

svn commit: r301677 - stable/10/tools/tools/ioat

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:19:34 2016 New Revision: 301677 URL: https://svnweb.freebsd.org/changeset/base/301677 Log: MFC r300856,r300857,r300858,r300874: r300856: Initialize `t` with memset(.., 0, ..) This will help ensure that we're not using random garbage on the stack by

svn commit: r301675 - stable/10/contrib/top

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:15:51 2016 New Revision: 301675 URL: https://svnweb.freebsd.org/changeset/base/301675 Log: MFC r300714: The readme provides a high-level overview of how to upgrade top(1). Reviewed By: ngie Added: stable/10/contrib/top/FREEBSD-upgrade - copied u

svn commit: r301673 - stable/10/lib/libbsnmp

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:14:06 2016 New Revision: 301673 URL: https://svnweb.freebsd.org/changeset/base/301673 Log: MFC r299699: Remove NO_WERROR from libbsnmp/Makefile.inc This has been compiling without warnings with clang/gcc for a while now Tested with: clang 3.8.0, gc

svn commit: r301671 - stable/10/usr.sbin/bsnmpd/modules/snmp_mibII

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:08:06 2016 New Revision: 301671 URL: https://svnweb.freebsd.org/changeset/base/301671 Log: MFC r299815: Remove NO_WERROR.clang from this Makefile This compiles with clang without warnings Modified: stable/10/usr.sbin/bsnmpd/modules/snmp_mibII/Makefil

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

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:05:52 2016 New Revision: 301669 URL: https://svnweb.freebsd.org/changeset/base/301669 Log: MFC r299806: Bump WARNS to 6 Modified: stable/10/usr.sbin/bsnmpd/tools/Makefile.inc Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sb

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

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:59:21 2016 New Revision: 301667 URL: https://svnweb.freebsd.org/changeset/base/301667 Log: MFC r299834: Fix .Dd Today is the 14th, not the 10th of May Modified: stable/10/contrib/bsnmp/snmpd/bsnmpd.1 Directory Properties: stable/10/ (props change

svn commit: r301663 - in stable/10/contrib/bsnmp: snmp_mibII snmpd

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:49:03 2016 New Revision: 301663 URL: https://svnweb.freebsd.org/changeset/base/301663 Log: MFC r294507,r294567,r299466: r294507 (by harti): Fill the ifAlias leaf of the ifXTable with the interface description if there is one available and it fits into

svn commit: r301661 - in stable/10/contrib/bsnmp: lib snmp_mibII snmp_target

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:43:04 2016 New Revision: 301661 URL: https://svnweb.freebsd.org/changeset/base/301661 Log: MFC r256678,r256680,r260986,r272878,r286402: r256678 (by syrinx): Fix SNMP Error response PDUs and properly encode them when using v3 auth/encryption. r2566

svn commit: r301657 - stable/10/usr.sbin/bsnmpd/tools/libbsnmptools

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:34:37 2016 New Revision: 301657 URL: https://svnweb.freebsd.org/changeset/base/301657 Log: MFC r299701: Move _bsnmptools_debug extern from bsnmpmap.c to bsnmptools.h It was used in bsnmpmap.c but was stored in bsnmptools.c; moving the extern to the he

svn commit: r301656 - stable/10/usr.sbin/bsnmpd/tools/libbsnmptools

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:32:41 2016 New Revision: 301656 URL: https://svnweb.freebsd.org/changeset/base/301656 Log: MFC r299778: Use a consistent errno save/restore pattern before running strtoul - Save errno - Set errno to 0 - Call strtoul - Test errno (optional, but man

svn commit: r301655 - stable/10/usr.sbin/bsnmpd/tools/libbsnmptools

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:30:29 2016 New Revision: 301655 URL: https://svnweb.freebsd.org/changeset/base/301655 Log: MFC r299766: Fix logically dead code pointed out by clang/Coverity parse_context, parse_user_security: test for validity of results from parse_ascii(..) with by

svn commit: r301653 - stable/10/usr.sbin/bsnmpd/tools/libbsnmptools

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:27:38 2016 New Revision: 301653 URL: https://svnweb.freebsd.org/changeset/base/301653 Log: MFC r299810: Correct function names that failed in error messages It should be calloc/strdup, not malloc Modified: stable/10/usr.sbin/bsnmpd/tools/libbsnmptool

svn commit: r301648 - stable/10/usr.sbin/rpcbind

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:13:28 2016 New Revision: 301648 URL: https://svnweb.freebsd.org/changeset/base/301648 Log: MFC r300947: Staticize variables only used in rpcbind.c This is some low hanging fruit necessary for making this WARNS?= 6 clean Modified: stable/10/usr.sbin/r

svn commit: r301646 - stable/10/usr.sbin/rpcbind

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:11:42 2016 New Revision: 301646 URL: https://svnweb.freebsd.org/changeset/base/301646 Log: MFC r300945: Remove unnecessary caller_uaddr != NULL test before calling free on it Modified: stable/10/usr.sbin/rpcbind/util.c Directory Properties: stable/10/

svn commit: r301644 - stable/10/usr.sbin/rpcbind

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:09:47 2016 New Revision: 301644 URL: https://svnweb.freebsd.org/changeset/base/301644 Log: MFC r300942: Remove a useless if (x != NULL) check before calling free on allocated_uaddr Modified: stable/10/usr.sbin/rpcbind/check_bound.c Directory Properties:

Re: svn commit: r301577 - stable/10/etc/periodic/daily

2016-06-08 Thread Cy Schubert
In message , Andrey Chernov w rites: > The code still is called only if $daily_ntpd_leapfile_enable is YES and > it is NO by default. Yes, that will be MFCd on Friday, June 10. -- Cheers, Cy Schubert or FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs th

Re: svn commit: r301577 - stable/10/etc/periodic/daily

2016-06-08 Thread Andrey Chernov
The code still is called only if $daily_ntpd_leapfile_enable is YES and it is NO by default. On 08.06.2016 6:08, Cy Schubert wrote: > Author: cy > Date: Wed Jun 8 03:08:37 2016 > New Revision: 301577 > URL: https://svnweb.freebsd.org/changeset/base/301577 > > Log: > MFC r301102: > > Don't

svn commit: r301636 - stable/10/usr.sbin/rpcbind

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 15:41:39 2016 New Revision: 301636 URL: https://svnweb.freebsd.org/changeset/base/301636 Log: MFC r300867,r300932,r300934,r300941,r300972,r300973: r300867: Only expose `hint_uaddr` in the ND_DEBUG case This fixes a -Wunused-but-set-variable warning wi

svn commit: r301629 - stable/10/lib/libc/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 14:18:47 2016 New Revision: 301629 URL: https://svnweb.freebsd.org/changeset/base/301629 Log: MFC r300387,r300388,r300389: r300387: getnetid(..): consistently fclose fd at the end of the function This mutes a false positive with cppcheck, but also hel

svn commit: r301627 - stable/10/bin/ls/tests

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 14:07:43 2016 New Revision: 301627 URL: https://svnweb.freebsd.org/changeset/base/301627 Log: MFC r300939: Use require.progs with bc instead of require.files with /usr/bin/bc This will make things more flexible if the program path changes in the future,

svn commit: r301626 - stable/10/tools/build/mk

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 14:06:34 2016 New Revision: 301626 URL: https://svnweb.freebsd.org/changeset/base/301626 Log: MFC r300938: Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run sa(8) is conditionally installed based on MK_ACCT != no today Modified: stab

svn commit: r301625 - stable/10/tools/build/mk

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 14:05:08 2016 New Revision: 301625 URL: https://svnweb.freebsd.org/changeset/base/301625 Log: MFC r300937: Remove the etcupdate tests if MK_RCS == no when "make delete-old" is run etcupdate is conditionally installed based on MK_RCS != no today Modified:

svn commit: r301623 - stable/10/tools/build/mk

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 14:01:42 2016 New Revision: 301623 URL: https://svnweb.freebsd.org/changeset/base/301623 Log: MFC r300936: Remove the calendar tests if MK_CALENDAR == no when "make delete-old" is run Modified: stable/10/tools/build/mk/OptionalObsoleteFiles.inc Directory P

svn commit: r301622 - stable/10/lib/libc/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:58:47 2016 New Revision: 301622 URL: https://svnweb.freebsd.org/changeset/base/301622 Log: MFC r300620,r300621: r300620: Use reallocf instead of malloc to fix leak with outbuf_pmap The previous code overwrote outbuf_pmap's memory with malloc once p

svn commit: r301619 - stable/10/usr.sbin/rpc.yppasswdd

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:49:59 2016 New Revision: 301619 URL: https://svnweb.freebsd.org/changeset/base/301619 Log: MFC r300430: Wrap EXPAND(..) macro with a do-while(0) loop and put a single statement on each line As a positive side-effect, this eliminates the double semicolo

svn commit: r301617 - stable/10/usr.bin/kdump

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:44:01 2016 New Revision: 301617 URL: https://svnweb.freebsd.org/changeset/base/301617 Log: MFC r300428: Fix humanized decoding of struct stat with respect to .st_mtim st_mtim was being incorrectly described as "stime=", not "mtime=". This was introduc

svn commit: r301615 - stable/10/etc/rc.d

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:40:07 2016 New Revision: 301615 URL: https://svnweb.freebsd.org/changeset/base/301615 Log: MFC r299844,r300931: r299844: Make hostid_save depend on hostid r300931: Make netif REQUIRE hostid As noted in the PR, if etc/rc.d/zvol is removed,

svn commit: r301613 - stable/10/etc/rc.d

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:34:52 2016 New Revision: 301613 URL: https://svnweb.freebsd.org/changeset/base/301613 Log: MFC r299843: Fix broken dependency with routed when MK_ROUTED != no Remove routed as a requirement in NETWORKING, and put it in routed as a BEFORE requirement i

svn commit: r301612 - in stable/10: etc/rc.d tools/build/mk

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:32:00 2016 New Revision: 301612 URL: https://svnweb.freebsd.org/changeset/base/301612 Log: MFC r299839,r299840,r299841: r299839: Make FILESYSTEMS, dumpon, and var not depend on zfs and zvol Make zfs and zvol come before all of the items that depend

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

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:24:42 2016 New Revision: 301610 URL: https://svnweb.freebsd.org/changeset/base/301610 Log: MFC r299833: Fix fully canonicalized example for `myvariable.27...` `6` doesn't occur in the OID; it was spurious Bump .Dd for the change Modified: stable

svn commit: r301608 - stable/10/sys/cddl/boot/zfs

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:21:17 2016 New Revision: 301608 URL: https://svnweb.freebsd.org/changeset/base/301608 Log: MFC r299657: Include arpa/inet.h to get the htonl(3) definition Modified: stable/10/sys/cddl/boot/zfs/lz4.c Directory Properties: stable/10/ (props changed) Mo