svn commit: r307204 - head/contrib/netbsd-tests/fs/tmpfs

2016-10-13 Thread Ngie Cooper
Author: ngie Date: Thu Oct 13 08:27:19 2016 New Revision: 307204 URL: https://svnweb.freebsd.org/changeset/base/307204 Log: Expect :large to fail on FreeBSD FreeBSD doesn't appear to validate large -o size values like NetBSD does MFC after:2 weeks PR: 212862

Re: svn commit: r307397 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-10-16 Thread Ngie Cooper
> On Oct 16, 2016, at 11:49, Alexander Motin wrote: > > Author: mav > Date: Sun Oct 16 18:49:15 2016 > New Revision: 307397 > URL: https://svnweb.freebsd.org/changeset/base/307397 > > Log: > Add vfs.zfs.zil_log_limit sysctl. > > It is at least partially broken now, but

svn commit: r309778 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 23:42:04 2016 New Revision: 309778 URL: https://svnweb.freebsd.org/changeset/base/309778 Log: Make test_unmount usable in cleanup subroutines - Duplicate test_unmount to _test_unmount - Remove atf_check calls - Call _test_unmount from test_unmount,

svn commit: r309779 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 23:43:33 2016 New Revision: 309779 URL: https://svnweb.freebsd.org/changeset/base/309779 Log: - Ignore errors from umount - Use _test_unmount instead of test_unmount in cleanup MFC after:1 week Modified: head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh

svn commit: r309774 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 22:50:43 2016 New Revision: 309774 URL: https://svnweb.freebsd.org/changeset/base/309774 Log: Only run mdconfig -d -u 3 if /dev/md3 exists on the system This will prevent "cleanup failures" (exit code != 0 returned) when tmpfs is not loaded MFC after:

svn commit: r309780 - head/contrib/netbsd-tests/fs/tmpfs

2016-12-09 Thread Ngie Cooper
Author: ngie Date: Fri Dec 9 23:44:25 2016 New Revision: 309780 URL: https://svnweb.freebsd.org/changeset/base/309780 Log: Use _test_unmount instead of test_unmount in cleanup to avoid false positives with atf_check when tmpfs is not loaded, etc MFC after:1 week Modified:

svn commit: r309837 - head/contrib/netbsd-tests/lib/libc/sys

2016-12-10 Thread Ngie Cooper
Author: ngie Date: Sat Dec 10 22:08:33 2016 New Revision: 309837 URL: https://svnweb.freebsd.org/changeset/base/309837 Log: Change the process limits for RLIMIT_MEMLOCK to RLIM_INFINITY when executing :mincore_resid The default process limits in FreeBSD is 64kB for unprivileged users,

svn commit: r309839 - head/sbin/camcontrol

2016-12-10 Thread Ngie Cooper
Author: ngie Date: Sat Dec 10 23:26:34 2016 New Revision: 309839 URL: https://svnweb.freebsd.org/changeset/base/309839 Log: free/NULL out variables prior to calling strdup to avoid leaking memory if arguments are specified more than once with "camcontrol timestamp". CID:

svn commit: r309840 - head/sbin/camcontrol

2016-12-10 Thread Ngie Cooper
Author: ngie Date: Sat Dec 10 23:58:14 2016 New Revision: 309840 URL: https://svnweb.freebsd.org/changeset/base/309840 Log: Cut to the chase and just call free instead of free(x) + x = NULL NULLing out x wasn't required as the memory was immediately scribbled over with strdup in the

svn commit: r309864 - vendor/libarchive/dist/tar/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:11:30 2016 New Revision: 309864 URL: https://svnweb.freebsd.org/changeset/base/309864 Log: Merge PR to address tar/test coverity issues Obtained from:libarchive (fd0ea220635939ffe4b9ffb5cacaaa526a25b5ae) Modified:

svn commit: r309865 - vendor/libarchive/dist/libarchive/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:12:51 2016 New Revision: 309865 URL: https://svnweb.freebsd.org/changeset/base/309865 Log: Merge PR to address libarchive/test coverity issues Obtained from:libarchive (f9e3de49fb294901374e0c8c6c2ceaeea7b6d6c0) Modified:

svn commit: r309869 - in head/contrib/libarchive: cpio/test libarchive/test tar/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:21:56 2016 New Revision: 309869 URL: https://svnweb.freebsd.org/changeset/base/309869 Log: Merge changes from vendor to address several Coverity issues with contrib/libarchive's tests MFC after:2 weeks Obtained from:libarchive (ebe29c,

svn commit: r310126 - stable/11/tools/build/mk

2016-12-15 Thread Ngie Cooper
Author: ngie Date: Thu Dec 15 20:10:20 2016 New Revision: 310126 URL: https://svnweb.freebsd.org/changeset/base/310126 Log: MFC r309602: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no Modified: stable/11/tools/build/mk/OptionalObsoleteFiles.inc Directory

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

2016-12-15 Thread Ngie Cooper
Author: ngie Date: Thu Dec 15 20:13:40 2016 New Revision: 310127 URL: https://svnweb.freebsd.org/changeset/base/310127 Log: MFstable/11 r310126: MFC r309602: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no Modified:

svn commit: r309668 - in stable/11: contrib/netbsd-tests/fs contrib/netbsd-tests/fs/tmpfs etc/mtree tests/sys tests/sys/fs

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Wed Dec 7 06:57:08 2016 New Revision: 309668 URL: https://svnweb.freebsd.org/changeset/base/309668 Log: MFC r306030,r306031,r306033,r306036,r306038,r307190,r307196,r307204,r307205,r307701,r307702: r306030: Port vnode_leak_test:main to FreeBSD Use a simpler

svn commit: r309661 - stable/11/tests/sys/kern/pipe

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Wed Dec 7 00:55:36 2016 New Revision: 309661 URL: https://svnweb.freebsd.org/changeset/base/309661 Log: MFC r306962: r306962 (by br): Ensure data in pipe is available to read. Useful for latest (5th, direct mode) test only. Modified:

svn commit: r309662 - stable/10/tests/sys/kern/pipe

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Wed Dec 7 00:57:15 2016 New Revision: 309662 URL: https://svnweb.freebsd.org/changeset/base/309662 Log: MFstable/11 r309661: MFC r306962: r306962 (by br): Ensure data in pipe is available to read. Useful for latest (5th, direct mode) test only. Modified:

svn commit: r309652 - vendor/fsx

2016-12-06 Thread Ngie Cooper
Author: ngie Date: Tue Dec 6 19:36:30 2016 New Revision: 309652 URL: https://svnweb.freebsd.org/changeset/base/309652 Log: Prune ^/vendor/fsx I don't plan on completing this work Deleted: vendor/fsx/ ___ svn-src-all@freebsd.org mailing list

svn commit: r310196 - head/usr.sbin/bsnmpd/modules/snmp_bridge

2016-12-17 Thread Ngie Cooper
Author: ngie Date: Sun Dec 18 00:44:43 2016 New Revision: 310196 URL: https://svnweb.freebsd.org/changeset/base/310196 Log: Fix some minor typos with begemotBridgeTpLearnedEntryDiscards and begemotBridgeTpMaxAddresses Bump LAST-UPDATED for the MIB, per the change MFC after:1

svn commit: r310202 - head/contrib/bsnmp/lib

2016-12-17 Thread Ngie Cooper
Author: ngie Date: Sun Dec 18 05:31:54 2016 New Revision: 310202 URL: https://svnweb.freebsd.org/changeset/base/310202 Log: Clean up trailing and leading whitespace Fix variable type alignment in snmp_dialog(..) MFC after:1 week Modified: head/contrib/bsnmp/lib/snmpclient.c

svn commit: r310203 - head/usr.sbin/bsnmpd/tools/bsnmptools

2016-12-17 Thread Ngie Cooper
Author: ngie Date: Sun Dec 18 05:36:04 2016 New Revision: 310203 URL: https://svnweb.freebsd.org/changeset/base/310203 Log: Clean up parse_ip(..) - Clean up trailing whitespace - Fix variable alignment MFC after:1 week Modified:

svn commit: r309863 - vendor/libarchive/dist/cpio/test

2016-12-11 Thread Ngie Cooper
Author: ngie Date: Mon Dec 12 02:09:31 2016 New Revision: 309863 URL: https://svnweb.freebsd.org/changeset/base/309863 Log: Free p (the memory allocated via slurpfile) when done with the contents Reported by: Coverity CID: 1331631, 1331632, 1331633, 1331646 Obtained from:

svn commit: r311965 - in vendor/NetBSD/tests/dist/lib/libc: gen string

2017-01-11 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 07:21:56 2017 New Revision: 311965 URL: https://svnweb.freebsd.org/changeset/base/311965 Log: Commit updates accepted upstream (NetBSD) Modified: vendor/NetBSD/tests/dist/lib/libc/gen/t_dir.c vendor/NetBSD/tests/dist/lib/libc/string/t_memcpy.c

svn commit: r311966 - in vendor/NetBSD/tests/dist: . crypto/libcrypto crypto/libcrypto/rc4 dev dev/audio dev/cgd fs/ffs fs/fifofs fs/nfs/nfsservice fs/psshfs fs/puffs fs/vfs kernel lib lib/libc/arc...

2017-01-11 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 07:26:39 2017 New Revision: 311966 URL: https://svnweb.freebsd.org/changeset/base/311966 Log: Sync ^/vendor/NetBSD/tests/dist with upstream Added: vendor/NetBSD/tests/dist/dev/cgd/t_cgd_3des.c (contents, props changed)

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

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

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

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: 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: r312162 - head/usr.sbin/inetd

2017-01-14 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 10:20:38 2017 New Revision: 312162 URL: https://svnweb.freebsd.org/changeset/base/312162 Log: Fix up r312105 - Only #include tcpd.h when LIBWRAP is true to avoid header include errors - Only define whichaf when LIBWRAP is true to avoid -Wunused warning and

svn commit: r312163 - stable/11/tests/sys/acl

2017-01-14 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 10:23:05 2017 New Revision: 312163 URL: https://svnweb.freebsd.org/changeset/base/312163 Log: MFC r309464: Expect 01:main to fail Changes were made to ZFS in the past year with respect to how ACLs are handled, causing failures in this test. Mark it TODO

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

2017-01-14 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 10:38:39 2017 New Revision: 312164 URL: https://svnweb.freebsd.org/changeset/base/312164 Log: Fix -Wformat issue Use %zu for printing out results from nitems, as it's size_t based MFC after:1 week X-MFC with: r312120 Reported by: gcc

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:

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

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: 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: 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: 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: 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: 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: 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: 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: r312194 - in head/tests/sys: fs kern kqueue mac

2017-01-14 Thread Ngie Cooper
Author: ngie Date: Sat Jan 14 20:29:26 2017 New Revision: 312194 URL: https://svnweb.freebsd.org/changeset/base/312194 Log: Add include Makefiles for tests/sys/{fs,kern,kqueue,mac}/... The primary goal for doing this is to leverage the work done in r312114 for enabling WARNS to address

Re: svn commit: r311887 - head/sys/net80211

2017-01-10 Thread Ngie Cooper
On Tue, Jan 10, 2017 at 11:28 AM, Sergey Kandaurov wrote: > Author: pluknet > Date: Tue Jan 10 19:28:40 2017 > New Revision: 311887 > URL: https://svnweb.freebsd.org/changeset/base/311887 > > Log: > Fix build without IEEE80211_DEBUG. This may fix clang builds, but I

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

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 03:42:51 2017 New Revision: 312009 URL: https://svnweb.freebsd.org/changeset/base/312009 Log: Add license preamble for r286964; credit to asomers While here, clean up trailing whitespace MFC after:3 days Sponsored by: Dell EMC Isilon Modified:

svn commit: r312007 - vendor/NetBSD/tests/01.11.2017_23.20

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 03:30:29 2017 New Revision: 312007 URL: https://svnweb.freebsd.org/changeset/base/312007 Log: Copy ^/vendor/NetBSD/tests/dist to .../01.11.2017_23.20 for incoming snapshot update Added: vendor/NetBSD/tests/01.11.2017_23.20/ - copied from r312006,

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

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 04:04:48 2017 New Revision: 312011 URL: https://svnweb.freebsd.org/changeset/base/312011 Log: Use dfr-01-xfat.img.bz2, not dfr-01-xfat.dd.bz2 (the latter case was the full disk image from the website, which was never checked in to svn) Regardless, the

svn commit: r312012 - head/lib/msun/tests

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 04:21:09 2017 New Revision: 312012 URL: https://svnweb.freebsd.org/changeset/base/312012 Log: fmaxmin_test still fails with clang 3.9.x.. bypass the test MFC after:3 days PR: 208703 Sponsored by: Dell EMC Isilon Modified:

svn commit: r312008 - in head: contrib/netbsd-tests contrib/netbsd-tests/crypto/libcrypto contrib/netbsd-tests/dev/audio contrib/netbsd-tests/dev/cgd contrib/netbsd-tests/fs/ffs contrib/netbsd-test...

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 03:33:57 2017 New Revision: 312008 URL: https://svnweb.freebsd.org/changeset/base/312008 Log: Upgrade NetBSD tests to 01.11.2017_23.20 snapshot This contains some new testcases in /usr/tests/...: - .../lib/libc - .../lib/libthr - .../lib/msun -

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

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 04:02:09 2017 New Revision: 312010 URL: https://svnweb.freebsd.org/changeset/base/312010 Log: Add testcase for exFAT that currently fails Disk image obtained from: http://www.cfreds.nist.gov/dfr-images/dfr-01-xfat.dd.bz2 -- was ripped off the first GPT

svn commit: r311972 - head/lib/libnetbsd/sys

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 09:01:14 2017 New Revision: 311972 URL: https://svnweb.freebsd.org/changeset/base/311972 Log: Add __BIT and __BITS macros from NetBSD to help support new testcases MFC after:1 week Modified: head/lib/libnetbsd/sys/cdefs.h Modified:

svn commit: r311968 - head/contrib/netbsd-tests/lib/libc/sys

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 08:31:42 2017 New Revision: 311968 URL: https://svnweb.freebsd.org/changeset/base/311968 Log: Fix lib/libc/sys/access_test after r311925 sys/param.h needs to be #included in order for __FreeBSD_version to be checked MFC after:13 days Modified:

svn commit: r311970 - in vendor/NetBSD/tests/dist/lib: libm libpthread

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 08:46:19 2017 New Revision: 311970 URL: https://svnweb.freebsd.org/changeset/base/311970 Log: Add additional testcases missed in r311966 Added: vendor/NetBSD/tests/dist/lib/libm/t_casinh.c (contents, props changed)

svn commit: r311969 - in head: contrib/netbsd-tests/lib/libc/stdlib lib/libc/tests/stdlib

2017-01-12 Thread Ngie Cooper
Author: ngie Date: Thu Jan 12 08:40:52 2017 New Revision: 311969 URL: https://svnweb.freebsd.org/changeset/base/311969 Log: Remove __HAVE_LONG_DOUBLE #define from t_strtod.c and place it in Makefile This is to enable support in other testcases Inspired by lib/msun/tests/Makefile .

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: 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: 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: 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: r312019 - stable/11/tools/build/options

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:15:32 2017 New Revision: 312019 URL: https://svnweb.freebsd.org/changeset/base/312019 Log: MFC r311548: Carry over r311520 to tools/build/options/WITHOUT_USB_GADGET_EXAMPLES Discussed with: wblock r311520: Fix src.conf(5) description of

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: 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: r312033 - stable/11/usr.sbin/rwhod

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:40:53 2017 New Revision: 312033 URL: https://svnweb.freebsd.org/changeset/base/312033 Log: MFC r311709: Style(9) fixes - Sort sys/ #includes - Use nitems instead of hardcoding the length of `mib` Modified: stable/11/usr.sbin/rwhod/rwhod.c

svn commit: r312034 - stable/10/usr.sbin/rwhod

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:40:58 2017 New Revision: 312034 URL: https://svnweb.freebsd.org/changeset/base/312034 Log: MFC r311709: Style(9) fixes - Sort sys/ #includes - Use nitems instead of hardcoding the length of `mib` Modified: stable/10/usr.sbin/rwhod/rwhod.c

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: 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: 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: 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: r312020 - stable/11/usr.bin/top

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:19:52 2017 New Revision: 312020 URL: https://svnweb.freebsd.org/changeset/base/312020 Log: MFC r311710: Style fixes - Delete trailing whitespace - Use nitems(mib) instead of hardcoding the mib length Modified: stable/11/usr.bin/top/machine.c

svn commit: r312023 - stable/10/usr.sbin/route6d

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:27:40 2017 New Revision: 312023 URL: https://svnweb.freebsd.org/changeset/base/312023 Log: MFC r311711,r311712,r311713: r311711: Clean up trailing whitespace r311712: Sort #includes r311713: Use nitems(mib) instead of hardcoding

svn commit: r312022 - stable/11/usr.sbin/route6d

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:27:07 2017 New Revision: 312022 URL: https://svnweb.freebsd.org/changeset/base/312022 Log: MFC r311711,r311712,r311713: r311711: Clean up trailing whitespace r311712: Sort #includes r311713: Use nitems(mib) instead of hardcoding

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

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

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: 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: 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: 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: 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: 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: r312024 - stable/11/tools/tools/gensnmpdef

2017-01-13 Thread Ngie Cooper
Author: ngie Date: Fri Jan 13 08:29:40 2017 New Revision: 312024 URL: https://svnweb.freebsd.org/changeset/base/312024 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: r312031 - stable/11/lib/libutil

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

<    3   4   5   6   7   8   9   10   11   12   >