svn commit: r304211 - stable/9/usr.bin/getconf

2016-08-16 Thread Garrett Cooper
Author: ngie Date: Tue Aug 16 08:48:41 2016 New Revision: 304211 URL: https://svnweb.freebsd.org/changeset/base/304211 Log: MFstable/10 r304210: MFstable/11 r304208: MFC r303830: Remove vestigal references to __alpha__ Replace alpha reference in getconf(1) with amd64 [*]

svn commit: r303695 - stable/9/sys/rpc

2016-08-02 Thread Garrett Cooper
Author: ngie Date: Wed Aug 3 01:26:02 2016 New Revision: 303695 URL: https://svnweb.freebsd.org/changeset/base/303695 Log: MFstable/10 r303692: MFstable/11 r303691: MFC r302550,r302551,r302552,r302553: r302550: Deobfuscate cleanup path in clnt_dg_create(..) Similar to r

svn commit: r302458 - stable/9/usr.sbin/rpc.lockd

2016-07-08 Thread Garrett Cooper
Author: ngie Date: Fri Jul 8 21:20:09 2016 New Revision: 302458 URL: https://svnweb.freebsd.org/changeset/base/302458 Log: MFstable/10 r302455: MFC r301871: Add missing break in lock_partialfilelock(..) with NFS_RESERR This will help ensure that the right error is trickled up whe

svn commit: r302454 - stable/9/usr.sbin/rpcbind

2016-07-08 Thread Garrett Cooper
Author: ngie Date: Fri Jul 8 20:40:50 2016 New Revision: 302454 URL: https://svnweb.freebsd.org/changeset/base/302454 Log: MFstable/10 r302453: MFC r301605: Bounds check rpcbs_rmtcall(..) to ensure rtype is less than RPCBVERS_STAT Not returning if rtype == RPCBVERS_STAT will caus

svn commit: r302445 - stable/9/lib/libc/net

2016-07-08 Thread Garrett Cooper
Author: ngie Date: Fri Jul 8 19:16:45 2016 New Revision: 302445 URL: https://svnweb.freebsd.org/changeset/base/302445 Log: MFstable/10 r302444: MFC r301708: Revert r301707 getnetent_p doesn't return NULL like getnetent does. coccinelle got confused and I didn't verify that it

svn commit: r302443 - stable/9/lib/libc/net

2016-07-08 Thread Garrett Cooper
Author: ngie Date: Fri Jul 8 19:09:47 2016 New Revision: 302443 URL: https://svnweb.freebsd.org/changeset/base/302443 Log: MFstable/10 r302442: MFC r301707: Use NULL instead of `0` in _ht_getnetbyname(..) - getnetent returns NULL on completion/error. - .h_aliases is NULL termin

svn commit: r301837 - stable/9/contrib/top

2016-06-12 Thread Garrett Cooper
Author: ngie Date: Sun Jun 12 08:32:39 2016 New Revision: 301837 URL: https://svnweb.freebsd.org/changeset/base/301837 Log: MFstable/10 r301836: MFC r300395: Silence top(1) compiler warnings The contrib/top code is no longer maintained upstream (last pulled 16 years ago). The K&

svn commit: r301821 - stable/9/lib/libc/rpc

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Sat Jun 11 01:44:27 2016 New Revision: 301821 URL: https://svnweb.freebsd.org/changeset/base/301821 Log: MFstable/10 r301820: MFC r301704: Test for strchr(3) returning NULL, not 0 Modified: stable/9/lib/libc/rpc/getnetpath.c Directory Properties: stable/9/ (pr

svn commit: r301819 - stable/9/etc/defaults

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Sat Jun 11 01:35:34 2016 New Revision: 301819 URL: https://svnweb.freebsd.org/changeset/base/301819 Log: MFstable/10 r301818: MFC r301683: Fix typo with description for $ipv6_cpe_wanif (upstram -> upstream) PR: 210146 Modified: stable/9/etc/defaults/rc.conf D

svn commit: r301810 - stable/9/usr.sbin/rtadvd

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:22:21 2016 New Revision: 301810 URL: https://svnweb.freebsd.org/changeset/base/301810 Log: MFstable/10 r301809: MFC r299513,r299515: r299513 (by cem): rtadvd(8): Don't use-after-free This whole block of code as committed fully formed in r22414

svn commit: r301807 - stable/9/lib/libmp

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:12:11 2016 New Revision: 301807 URL: https://svnweb.freebsd.org/changeset/base/301807 Log: MFstable/10 r301806: MFC r299510: r299510 (by cem): libmp: Fix trivial buffer overrun fgetln yields a non-NUL-terminated buffer and its length. This routi

svn commit: r301804 - stable/9/usr.sbin/rtadvd

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 18:04:54 2016 New Revision: 301804 URL: https://svnweb.freebsd.org/changeset/base/301804 Log: MFstable/10 r301803: MFC r299507: r299507 (by cem): rtadvd(8): Fix a typo in full msg receive logic Check against the size of the struct, not the pointer.

svn commit: r301802 - stable/9/sys/rpc

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 17:59:30 2016 New Revision: 301802 URL: https://svnweb.freebsd.org/changeset/base/301802 Log: MFstable/10 r301801: MFC r300836: Quell false positives in svc_vc_create and svc_vc_create_conn with cd and xprt Both cd and xprt will be non-NULL after thei

svn commit: r301790 - stable/9/usr.sbin/route6d

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:42:36 2016 New Revision: 301790 URL: https://svnweb.freebsd.org/changeset/base/301790 Log: MFstable/10 r301789: MFC r299491: r299491 (by cem): route6d(8): Fix potential double-free In the case that the subsequent sysctl(3) call failed, 'buf' coul

svn commit: r301785 - stable/9/usr.sbin/makefs/ffs

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:27:56 2016 New Revision: 301785 URL: https://svnweb.freebsd.org/changeset/base/301785 Log: MFstable/10 r301784: MFC r299461: r299461 (by cem): ffs_bswap: Copy one UFS dinode member at a time No functional change. CIDs: 974635, 974636

svn commit: r301781 - stable/9/sys/netipsec

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:06:16 2016 New Revision: 301781 URL: https://svnweb.freebsd.org/changeset/base/301781 Log: MFstable/10 r301780: MFC r299387: r299387 (by cem): netipsec: Fix minor style nit Coverity points out that 'continue' is equivalent to 'break' in a do {}

svn commit: r301783 - stable/9/sbin/fsck_ffs

2016-06-10 Thread Garrett Cooper
Author: ngie Date: Fri Jun 10 14:10:51 2016 New Revision: 301783 URL: https://svnweb.freebsd.org/changeset/base/301783 Log: MFstable/10 r301782: MFC r299460: r299460 (by cem): fsck_ffs: Don't overrun mount device buffer Maybe this case is impossible. Either way, when attempting

svn commit: r301699 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 22:28:57 2016 New Revision: 301699 URL: https://svnweb.freebsd.org/changeset/base/301699 Log: MFstable/10 r301695: MFC r300870,r300884: r300870: Unbreak the zfs(4) build vm/vm_pageout.h grew a dependency on the bool typedef in r300865 arc.c

svn commit: r301690 - stable/9/usr.sbin/bsnmpd/tools/libbsnmptools

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 19:31:12 2016 New Revision: 301690 URL: https://svnweb.freebsd.org/changeset/base/301690 Log: MFstable/10 r301655: MFC r299766: Fix logically dead code pointed out by clang/Coverity parse_context, parse_user_security: test for validity of results from

svn commit: r301688 - stable/9/lib/libc/rpc

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

svn commit: r301686 - stable/9/lib/libc/rpc

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

svn commit: r301685 - stable/9/lib/libc/rpc

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

svn commit: r301681 - stable/9/sys/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:23:33 2016 New Revision: 301681 URL: https://svnweb.freebsd.org/changeset/base/301681 Log: MFstable/10 r301680: MFC r300625: Remove unnecessary memset(.., 0, ..)'s The mem_alloc macro calls calloc (userspace) / malloc(.., M_WAITOK|M_ZERO) under t

svn commit: r301676 - stable/9/contrib/top

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:16:34 2016 New Revision: 301676 URL: https://svnweb.freebsd.org/changeset/base/301676 Log: MFstable/10 r301675: MFC r300714: The readme provides a high-level overview of how to upgrade top(1). Reviewed By: ngie Added: stable/9/contrib/top/FREEBS

svn commit: r301674 - stable/9/lib/libbsnmp

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:15:13 2016 New Revision: 301674 URL: https://svnweb.freebsd.org/changeset/base/301674 Log: MFstable/10 r301673: MFC r299699: Remove NO_WERROR from libbsnmp/Makefile.inc This has been compiling without warnings with clang/gcc for a while now Te

svn commit: r301672 - stable/9/usr.sbin/bsnmpd/modules/snmp_mibII

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

svn commit: r301670 - stable/9/usr.sbin/bsnmpd/tools

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

svn commit: r301668 - stable/9/contrib/bsnmp/snmpd

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 18:00:07 2016 New Revision: 301668 URL: https://svnweb.freebsd.org/changeset/base/301668 Log: MFstable/10 r301667: MFC r299834: Fix .Dd Today is the 14th, not the 10th of May Modified: stable/9/contrib/bsnmp/snmpd/bsnmpd.1 Directory Properties: s

svn commit: r301664 - in stable/9/contrib/bsnmp: snmp_mibII snmpd

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:50:51 2016 New Revision: 301664 URL: https://svnweb.freebsd.org/changeset/base/301664 Log: MFstable/10 r301663: MFC r294507,r294567,r299466: r294507 (by harti): Fill the ifAlias leaf of the ifXTable with the interface description if there is one

svn commit: r301662 - in stable/9/contrib/bsnmp: lib snmp_mibII snmp_target

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:44:22 2016 New Revision: 301662 URL: https://svnweb.freebsd.org/changeset/base/301662 Log: MFstable/10 r301661: MFC r256678,r256680,r260986,r272878,r286402: r256678 (by syrinx): Fix SNMP Error response PDUs and properly encode them when using v3 a

svn commit: r301659 - stable/9/usr.sbin/bsnmpd/tools/libbsnmptools

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:35:59 2016 New Revision: 301659 URL: https://svnweb.freebsd.org/changeset/base/301659 Log: MFstable/10 r301657: MFC r299701: Move _bsnmptools_debug extern from bsnmpmap.c to bsnmptools.h It was used in bsnmpmap.c but was stored in bsnmptools.c; mov

svn commit: r301654 - stable/9/usr.sbin/bsnmpd/tools/libbsnmptools

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

svn commit: r301652 - stable/9/usr.sbin/bsnmpd/tools/libbsnmptools

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:24:57 2016 New Revision: 301652 URL: https://svnweb.freebsd.org/changeset/base/301652 Log: MFstable/10 r300475: MFC r299710,r299711,r299763,r299783,r299811: r299710: Staticize global variables only used in bsnmpimport.c to fix -Wmissing-variable-

svn commit: r301650 - stable/9/usr.sbin/rpcbind

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:17:03 2016 New Revision: 301650 URL: https://svnweb.freebsd.org/changeset/base/301650 Log: MFstable/10 r301636: MFC r300867,r300932,r300934,r300941,r300972,r300973: r300867: Only expose `hint_uaddr` in the ND_DEBUG case This fixes a -Wunused-b

svn commit: r301649 - stable/9/usr.sbin/rpcbind

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

svn commit: r301647 - stable/9/usr.sbin/rpcbind

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

svn commit: r301645 - stable/9/usr.sbin/rpcbind

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

svn commit: r301643 - stable/9/usr.sbin/rpcbind

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 17:04:15 2016 New Revision: 301643 URL: https://svnweb.freebsd.org/changeset/base/301643 Log: MFC r300932,r300934,r300941,r300972,r300973: r300932: Catch malloc(3) errors and socket(2) errors - malloc failing will result in a delayed segfault - sock

svn commit: r301642 - stable/9/usr.sbin/rpcbind

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 16:59:09 2016 New Revision: 301642 URL: https://svnweb.freebsd.org/changeset/base/301642 Log: MFstable/10 r296994: r296994 (by asomers): MFC r293229, r293833 to usr.sbin/rpcbind r293833 | asomers | 2016-01-13 10:33:50 -0700 (Wed, 13 Jan 2016) | 16 lines

svn commit: r301630 - stable/9/lib/libc/rpc

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 14:20:54 2016 New Revision: 301630 URL: https://svnweb.freebsd.org/changeset/base/301630 Log: MFstable/10 r301629: MFC r300387,r300388,r300389: r300387: getnetid(..): consistently fclose fd at the end of the function This mutes a false positive w

svn commit: r301620 - stable/9/usr.sbin/rpc.yppasswdd

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:50:48 2016 New Revision: 301620 URL: https://svnweb.freebsd.org/changeset/base/301620 Log: MFstable/10 r301619: 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 elim

svn commit: r301618 - stable/9/usr.bin/kdump

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:45:02 2016 New Revision: 301618 URL: https://svnweb.freebsd.org/changeset/base/301618 Log: MFstable/10 r301617: MFC r300428: Fix humanized decoding of struct stat with respect to .st_mtim st_mtim was being incorrectly described as "stime=", not "mt

svn commit: r301614 - stable/9/etc/rc.d

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

svn commit: r301616 - stable/9/etc/rc.d

2016-06-08 Thread Garrett Cooper
Author: ngie Date: Wed Jun 8 13:41:51 2016 New Revision: 301616 URL: https://svnweb.freebsd.org/changeset/base/301616 Log: MFstable/10 r301615: MFC r299844,r300931: r299844: Make hostid_save depend on hostid r300931: Make netif REQUIRE hostid As noted in the PR, if

svn commit: r301611 - stable/9/contrib/bsnmp/snmpd

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

svn commit: r301609 - stable/9/sys/cddl/boot/zfs

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

svn commit: r300566 - in stable/9: contrib/bsnmp/snmp_usm contrib/bsnmp/snmpd usr.sbin/bsnmpd/bsnmpd

2016-05-23 Thread Garrett Cooper
Author: ngie Date: Tue May 24 05:11:55 2016 New Revision: 300566 URL: https://svnweb.freebsd.org/changeset/base/300566 Log: MFstable/10 r233128,r300561: r233128 (by harti): memset() wants the size of the structure to clear, not the size of the pointer to it. r300561: MFC r2

svn commit: r300560 - stable/9/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-23 Thread Garrett Cooper
Author: ngie Date: Tue May 24 04:34:45 2016 New Revision: 300560 URL: https://svnweb.freebsd.org/changeset/base/300560 Log: MFC r299764,r299765,r299769,r299770,r299774,r299802,r299803,r299805,r299814: r299764: Use the size of the destination buffer, not the source buffer. Technica

svn commit: r300558 - stable/9/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-23 Thread Garrett Cooper
Author: ngie Date: Tue May 24 04:18:15 2016 New Revision: 300558 URL: https://svnweb.freebsd.org/changeset/base/300558 Log: MFstable/10 r300471: MFC r299712,r299759,r299760,r299761,r299762: r299712: Fix some trivial clang/gcc warnings in bsnmptc.c - By definition, `enum snmp_

svn commit: r300466 - stable/9/sys/boot/i386/zfsboot

2016-05-22 Thread Garrett Cooper
Author: ngie Date: Mon May 23 05:30:24 2016 New Revision: 300466 URL: https://svnweb.freebsd.org/changeset/base/300466 Log: MFstable/10 r300464: MFC r299659: Remove unused const variable Modified: stable/9/sys/boot/i386/zfsboot/zfsboot.c Directory Properties: stable/9/ (props ch

svn commit: r300462 - stable/9/sys/boot/i386/common

2016-05-22 Thread Garrett Cooper
Author: ngie Date: Mon May 23 05:25:34 2016 New Revision: 300462 URL: https://svnweb.freebsd.org/changeset/base/300462 Log: MFstable/10 r300460: MFC r299655: Add missing prototype for getchar(..) Modified: stable/9/sys/boot/i386/common/cons.h Directory Properties: stable/9/ (pro

svn commit: r299652 - stable/9/lib/libkvm

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 09:54:15 2016 New Revision: 299652 URL: https://svnweb.freebsd.org/changeset/base/299652 Log: MFstable/10 r299651: MFC r298839: Fix memory allocation edgecases in kvm_argv(..) - Don't leak nbufp on realloc failure in kvm_argv - Catch malloc errors w

svn commit: r299650 - stable/9/lib/libkvm

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 09:50:38 2016 New Revision: 299650 URL: https://svnweb.freebsd.org/changeset/base/299650 Log: MFstable/10 r299649: MFC r298842: Don't leak PML4 in _amd64_initvtop(..) if kvm_read2(..) fails CID: 1341474 Modified: stable/9/lib/libkvm/kvm_amd64.c Dir

svn commit: r299645 - in stable/9: share/man/man8 tools/build/mk

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 09:33:48 2016 New Revision: 299645 URL: https://svnweb.freebsd.org/changeset/base/299645 Log: MFstable/10 r299643: MFC r299162,r299163: r299162: Only install NIS section 8 manpages if MK_NIS != no r299163: Fix r299162 share/man/man8/Mak

svn commit: r299644 - stable/9/sys/ufs/ufs

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 09:32:05 2016 New Revision: 299644 URL: https://svnweb.freebsd.org/changeset/base/299644 Log: MFstable/10 r299640: MFC r298463: Add FEATURE knob for testing for UFS extended attribute kernel support Support can be verified via `feature_present("ufs_ex

svn commit: r299639 - stable/9/contrib/bsnmp/snmp_mibII

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 09:16:01 2016 New Revision: 299639 URL: https://svnweb.freebsd.org/changeset/base/299639 Log: MFstable/10 r299638: MFC r298462: Return `ret` in op_ifentry(..) to mute a -Wunused-but-set-variable warning This will also now detect error conditions with

svn commit: r299636 - stable/9/sys/dev/aacraid

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 09:07:42 2016 New Revision: 299636 URL: https://svnweb.freebsd.org/changeset/base/299636 Log: MFstable/10 r299635: MFC r298665: r298665 (by cem): aacraid(4): Fix some mostly trivial buffer overruns strcpy(3) emits a trailing nul byte, trampling fiel

svn commit: r299633 - stable/9/sys/dev/sound/midi

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 09:02:28 2016 New Revision: 299633 URL: https://svnweb.freebsd.org/changeset/base/299633 Log: MFstable/10 r299632: MFC r298339: r298339 (by cem): sound(4): Don't use-after-free in midi module unload Also, use ANSI function parameter definitions (voi

svn commit: r299631 - stable/9/sys/dev/sym

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 08:59:49 2016 New Revision: 299631 URL: https://svnweb.freebsd.org/changeset/base/299631 Log: MFstable/10 r299630: MFC r298340: r298340 (by cem): sym(4): Don't double-free 'sim' in failure case CID: 1006106 Modified: stable/9/sys/dev/sym

svn commit: r299628 - stable/9/sys/netipsec

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 08:51:51 2016 New Revision: 299628 URL: https://svnweb.freebsd.org/changeset/base/299628 Log: MFstable/10 r299627: MFC r298676: r298676 (by cem): netipsec: Don't leak memory when deep copy fails CID: 1331693 Modified: stable/9/sys/netips

svn commit: r299626 - stable/9/sys/kern

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 08:46:13 2016 New Revision: 299626 URL: https://svnweb.freebsd.org/changeset/base/299626 Log: MFstable/10 r299625: MFC r298677: r298677 (by cem): subr_mbpool: Don't free bogus pointer in error paths An mbpool is allocated with a contiguous array of

svn commit: r299624 - stable/9/sys/dev/pty

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 08:42:21 2016 New Revision: 299624 URL: https://svnweb.freebsd.org/changeset/base/299624 Log: MFstable/10 r299623: MFC r298337: r298337 (by cem): pty(4): Use strlcpy to guarantee destination buffer isn't overrun The devtoname() name is strcpyed into

svn commit: r299620 - stable/9/sys/rpc/rpcsec_gss

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 08:34:53 2016 New Revision: 299620 URL: https://svnweb.freebsd.org/changeset/base/299620 Log: MFstable/10 r299619: MFC r298336: r298336 (by cem): kgssapi(4): Fix string overrun in Kerberos principal construction 'buf.value' was previously treated as

svn commit: r299618 - stable/9/sys/sys

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 08:25:17 2016 New Revision: 299618 URL: https://svnweb.freebsd.org/changeset/base/299618 Log: MFstable/10 r299616: MFC r298333: r298333 (by cem): Make Racct macro slightly more gracious given RACCT_UNDEFINED rctl_string_to_rule could previously inde

svn commit: r299614 - stable/9/sys/kern

2016-05-13 Thread Garrett Cooper
Author: ngie Date: Fri May 13 08:04:03 2016 New Revision: 299614 URL: https://svnweb.freebsd.org/changeset/base/299614 Log: MFstable/10 r299613: MFC r298678: r298678 (by cem): posix4_mib: Don't overrun facility_initialized array The facility_initialized and facility arrays are t

svn commit: r299112 - stable/9/lib/libcam

2016-05-05 Thread Garrett Cooper
Author: ngie Date: Thu May 5 08:17:55 2016 New Revision: 299112 URL: https://svnweb.freebsd.org/changeset/base/299112 Log: MFstable/10 r299111: MFC r297999: Clean up trailing whitespace in lib/libcam; no functional change Modified: stable/9/lib/libcam/camlib.c stable/9/lib/libcam

svn commit: r299023 - stable/9/contrib/bsnmp/gensnmptree

2016-05-03 Thread Garrett Cooper
Author: ngie Date: Wed May 4 00:35:41 2016 New Revision: 299023 URL: https://svnweb.freebsd.org/changeset/base/299023 Log: MFstable/10 r299022: MFC r298450: Simplify always evaluated branch (`e != NULL`) - xalloc(..) ensures that e will be non-null via malloc + err. - `e` is al

svn commit: r299019 - stable/9/contrib/bsnmp/snmpd

2016-05-03 Thread Garrett Cooper
Author: ngie Date: Wed May 4 00:26:47 2016 New Revision: 299019 URL: https://svnweb.freebsd.org/changeset/base/299019 Log: MFstable/10 r299018: MFC r298448,r298464: r298448: Don't leak `string` in parse_define(..) when a macro has been found and the parser token != TOK_ASSIGN

svn commit: r299017 - stable/9/usr.sbin/bsnmpd/tools/libbsnmptools

2016-05-03 Thread Garrett Cooper
Author: ngie Date: Wed May 4 00:19:46 2016 New Revision: 299017 URL: https://svnweb.freebsd.org/changeset/base/299017 Log: MFstable/10 r299016: MFC r298451,r298452,r298507,r298750: r298451: Don't use `entry` after free in the "already in lists" case Return with 0 as it isn't

svn commit: r298843 - stable/9/sbin/ping6

2016-04-30 Thread Garrett Cooper
Author: ngie Date: Sat Apr 30 09:43:01 2016 New Revision: 298843 URL: https://svnweb.freebsd.org/changeset/base/298843 Log: MFstable/10 r272871: r272871 (by hrs): MFC r271909: Revert changes in r269180. It could cause -c N option to enter an infinite loop if no reply packet is re

svn commit: r298489 - stable/9/lib/libc/gen

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 21:28:50 2016 New Revision: 298489 URL: https://svnweb.freebsd.org/changeset/base/298489 Log: MFstable/10 r298488: MFC r298303: Remove trailing whitespace and use `nitems(mib)` instead of `2` when calling sysctl(3) Modified: stable/9/lib/libc/gen/getp

svn commit: r296818 - stable/9/sbin/ggate/ggated

2016-03-13 Thread Garrett Cooper
Author: ngie Date: Mon Mar 14 00:42:19 2016 New Revision: 296818 URL: https://svnweb.freebsd.org/changeset/base/296818 Log: MFstable/10 r296815: MFC r294973: Add pidfile support to ggated(8) The tests will manipulate the system daemon today, which can cause undesired service int

svn commit: r296817 - stable/9/tools/regression/geom_gate

2016-03-13 Thread Garrett Cooper
Author: ngie Date: Mon Mar 14 00:40:57 2016 New Revision: 296817 URL: https://svnweb.freebsd.org/changeset/base/296817 Log: MFstable/10 r296814: MFC r293621,r293622,r293815: r293621: - Delete non-TAP testcases - Add a conf.sh file for executing common functions with geom_gate

svn commit: r296796 - stable/9/tools/regression/geom_uzip

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sun Mar 13 02:09:01 2016 New Revision: 296796 URL: https://svnweb.freebsd.org/changeset/base/296796 Log: MFstable/10 r296787: MFC r293443: - Make test-1.sh into a TAP testable testcase - Delete test-2.sh as it was an incomplete testcase, and the contents were b

svn commit: r296795 - stable/9/tools/regression/geom_stripe

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sun Mar 13 02:08:23 2016 New Revision: 296795 URL: https://svnweb.freebsd.org/changeset/base/296795 Log: MFstable/10 r296786: MFC r293442: - Add a geom_stripe specific cleanup function and trap on that function at exit so things are cleaned up properly - Use at

svn commit: r296794 - stable/9/tools/regression/geom_shsec

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sun Mar 13 02:07:45 2016 New Revision: 296794 URL: https://svnweb.freebsd.org/changeset/base/296794 Log: MFstable/10 r296785: MFC r293441: - Add a geom_shsec specific cleanup function and trap on that function at exit so things are cleaned up properly - Use att

svn commit: r296793 - stable/9/tools/regression/geom_raid3

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sun Mar 13 02:06:57 2016 New Revision: 296793 URL: https://svnweb.freebsd.org/changeset/base/296793 Log: MFstable/10 r296784: MFC r293438: - Add a geom_raid3 specific cleanup function and trap on that function at exit so things are cleaned up properly - Use att

svn commit: r296792 - stable/9/tools/regression/geom_nop

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sun Mar 13 02:06:09 2016 New Revision: 296792 URL: https://svnweb.freebsd.org/changeset/base/296792 Log: MFstable/10 r296783: MFC r293437: - Add a conf.sh file for executing common functions with gnop - Use attach_md for attaching md(4) devices - Don't hardcode /

svn commit: r296791 - stable/9/tools/regression/geom_eli

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sun Mar 13 02:05:16 2016 New Revision: 296791 URL: https://svnweb.freebsd.org/changeset/base/296791 Log: MFstable/10 r296782: MFC r293436: - Add a conf.sh file for executing common functions with geli -- Use linear probing to find the first unique md(4) device, unl

svn commit: r296778 - stable/9/tools/regression/geom_concat

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sat Mar 12 23:12:23 2016 New Revision: 296778 URL: https://svnweb.freebsd.org/changeset/base/296778 Log: MFstable/10 r296777: MFC r293434: - Use attach_md for memory disks so they can be tracked. - Add a geom_concat specific cleanup function and trap on that functi

svn commit: r296757 - stable/9/libexec/atrun

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sat Mar 12 19:11:45 2016 New Revision: 296757 URL: https://svnweb.freebsd.org/changeset/base/296757 Log: MFstable/10 r296756: MFC r295079: Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on 64-bit architectures where sizeof(int) != sizeof(size_t

svn commit: r296738 - stable/9/sbin/rcorder

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sat Mar 12 18:47:28 2016 New Revision: 296738 URL: https://svnweb.freebsd.org/changeset/base/296738 Log: MFstable/10 r296736: MFC r295119: Remove `r_tmp` to fix a -Wunused-but-set-variable warning with gcc 4.9 Modified: stable/9/sbin/rcorder/rcorder.c Directory Pr

svn commit: r296734 - stable/9/contrib/smbfs/smbutil

2016-03-12 Thread Garrett Cooper
Author: ngie Date: Sat Mar 12 18:38:13 2016 New Revision: 296734 URL: https://svnweb.freebsd.org/changeset/base/296734 Log: MFstable/10 r296733: MFC r295118: Add #include to mute warning from clang/gcc about implicitly declaring strcmp(3) Modified: stable/9/contrib/smbfs/smbutil/

svn commit: r294771 - stable/9/tools/build/mk

2016-01-25 Thread Garrett Cooper
Author: ngie Date: Tue Jan 26 06:39:11 2016 New Revision: 294771 URL: https://svnweb.freebsd.org/changeset/base/294771 Log: MFstable/10 r294770: MFC r278047: PR: 206622 r278047 (by amdmi3): - Remove more files when MK_BSNMP == no Modified: stable/9/tools/build/mk/OptionalO

svn commit: r294658 - stable/9/tools/regression/geom_mirror

2016-01-23 Thread Garrett Cooper
Author: ngie Date: Sun Jan 24 06:20:57 2016 New Revision: 294658 URL: https://svnweb.freebsd.org/changeset/base/294658 Log: MFstable/10 r294657: MFC r293073: - Use attach_md instead of hardcoding md(4) provider unit numbers - Implement a gmirror_test_cleanup function, which in turn c

svn commit: r294551 - stable/9/tools/regression

2016-01-21 Thread Garrett Cooper
Author: ngie Date: Fri Jan 22 07:25:41 2016 New Revision: 294551 URL: https://svnweb.freebsd.org/changeset/base/294551 Log: MFstable/10 r294550: MFC r293048,r293444: r293048: - Use a temporary file for the temporary md(4) devices instead of hardcoding it - Remove the tempora

svn commit: r294306 - stable/9/tools/regression/sockets/unix_gc

2016-01-18 Thread Garrett Cooper
Author: ngie Date: Tue Jan 19 01:42:31 2016 New Revision: 294306 URL: https://svnweb.freebsd.org/changeset/base/294306 Log: MFstable/10 r294305: MFC r294128: Fix -Wunused warning with clang/gcc - Get rid of unused argc/argv variables in main - Bump WARNS to 6 Modified: stable

svn commit: r294304 - stable/9/tools/regression/sockets/accf_data_attach

2016-01-18 Thread Garrett Cooper
Author: ngie Date: Tue Jan 19 01:39:29 2016 New Revision: 294304 URL: https://svnweb.freebsd.org/changeset/base/294304 Log: MFstable/10 r294303: MFC r294103: - Check for accf_filter before running the tests, otherwise it will always fail at subtest 9/11 - Use strncpy instead of s

svn commit: r294301 - stable/9/lib/libc/rpc

2016-01-18 Thread Garrett Cooper
Author: ngie Date: Tue Jan 19 01:33:27 2016 New Revision: 294301 URL: https://svnweb.freebsd.org/changeset/base/294301 Log: MFstable/10 r294300: MFC r293715: Fix a mismerge from NetBSD in r162194 with `xdr_rpcb_entry_list_ptr(..)` This fixes the potential NULL pointer dereference

svn commit: r294242 - stable/9/lib/libc/rpc

2016-01-17 Thread Garrett Cooper
Author: ngie Date: Mon Jan 18 03:52:44 2016 New Revision: 294242 URL: https://svnweb.freebsd.org/changeset/base/294242 Log: MFstable/10 r294240: MFC r293705: Similar to r293704, fix theoretical leak of netconfig(3) resources in __rpcbind_is_up(..) if getnetconfig(3) is partly success

svn commit: r294241 - stable/9/lib/libc/rpc

2016-01-17 Thread Garrett Cooper
Author: ngie Date: Mon Jan 18 03:51:38 2016 New Revision: 294241 URL: https://svnweb.freebsd.org/changeset/base/294241 Log: MFstable/10 r294239: MFC r293704: Fix theoretical leak of netconfig(3) resources in svcunix_create(..) In the event that the getconfig(3) call in svcunix_cre

svn commit: r294067 - in stable/9/tools/regression: geom_concat geom_mirror geom_raid3 geom_shsec geom_stripe

2016-01-14 Thread Garrett Cooper
Author: ngie Date: Fri Jan 15 02:32:57 2016 New Revision: 294067 URL: https://svnweb.freebsd.org/changeset/base/294067 Log: MFstable/10 r294066: MFC r293032: Use randomly generated device names in testcases via mktemp -u instead of using the hardcoded device name, "test" Modified:

svn commit: r294065 - stable/9/tools/regression

2016-01-14 Thread Garrett Cooper
Author: ngie Date: Fri Jan 15 02:19:26 2016 New Revision: 294065 URL: https://svnweb.freebsd.org/changeset/base/294065 Log: MFstable/10 r294063: MFC r293028,r293029: r293028: - Use geom load instead of g load; g doesn't exist for all geom classes, e.g. geom_uzip(4) - These

svn commit: r293615 - stable/9/contrib/bsnmp/lib

2016-01-09 Thread Garrett Cooper
Author: ngie Date: Sat Jan 9 21:33:31 2016 New Revision: 293615 URL: https://svnweb.freebsd.org/changeset/base/293615 Log: MFstable/10 r276677: MFC r276319: Fix the function signatures when MK_CRYPT == no for snmp_get_local_keys and snmp_passwd_to_keys Modified: stable/9/cont

svn commit: r293260 - stable/9/tools/regression/mac/mac_bsdextended

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:09:51 2016 New Revision: 293260 URL: https://svnweb.freebsd.org/changeset/base/293260 Log: MFstable/10 r293246,r293257: r293246: MFC r292530,r292546: r292530: - Use 1 for an exit code instead of -1 with err, errx, and exit - Add unistd.h for

svn commit: r293142 - stable/9/contrib/bsnmp/snmpd

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 07:04:58 2016 New Revision: 293142 URL: https://svnweb.freebsd.org/changeset/base/293142 Log: MFstable/10 r293141: MFC r292815: Staticize several variables that are used exclusively in bsnmpd/main.c and bsnmpd/trap.c This fixes several -Wmissing-var

svn commit: r293139 - stable/9/tools/regression/mac/mac_bsdextended

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 06:58:39 2016 New Revision: 293139 URL: https://svnweb.freebsd.org/changeset/base/293139 Log: MFstable/10 r293138: MFC r292531,r292532,r292533,r292545: r292531: Make test_matches.sh into a series of TAP testcases Use temporary filesystems / memor

svn commit: r293026 - stable/9/usr.sbin/makefs

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Fri Jan 1 00:38:17 2016 New Revision: 293026 URL: https://svnweb.freebsd.org/changeset/base/293026 Log: MFstable/10 r293025: MFC r292884: Fix getopt(3) argument after r290180; I forgot to change -r to -R by accident Pointyhat to: ngie Modified: stable/9/us

svn commit: r293005 - stable/9/sys/kern

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Thu Dec 31 20:52:39 2015 New Revision: 293005 URL: https://svnweb.freebsd.org/changeset/base/293005 Log: MFstable/10 r293003: MFC r292640,r292641: r292640: Clean up trailing whitespace; no functional change r292641: Fix r292640 vim overzealously r

svn commit: r293004 - stable/9/contrib/bsnmp/snmpd

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Thu Dec 31 20:51:05 2015 New Revision: 293004 URL: https://svnweb.freebsd.org/changeset/base/293004 Log: MFstable/10 r292998: MFC r292710: Remove unused function `act_getkernstring` This fixes a clang -Wunused warning Differential Revision: https://reviews.

  1   2   3   >