svn commit: r293821 - in head: etc/mtree tests/sys tests/sys/geom tests/sys/geom/class tests/sys/geom/class/concat tests/sys/geom/class/eli tests/sys/geom/class/gate tests/sys/geom/class/mirror tes...

2016-01-13 Thread Garrett Cooper
Author: ngie Date: Wed Jan 13 09:14:27 2016 New Revision: 293821 URL: https://svnweb.freebsd.org/changeset/base/293821 Log: Integrate tools/regression/geom_{concat,eli,gate,mirror,nop,raid3,shsec,stripe,uzip} in to the FreeBSD test suite as

Re: svn commit: r293877 - head/sys/modules/hyperv/vmbus

2016-01-13 Thread Garrett Cooper
> On Jan 13, 2016, at 21:19, Sepherosa Ziehau wrote: > > Thanks, I was about to commit the same fix. I think i386 hyperv > should be dropped, since it is not supported. Probably. I ran into this issue on amd64 though :/.. ___

svn commit: r293878 - head/tests/sys/geom/class/gate

2016-01-13 Thread Garrett Cooper
Author: ngie Date: Thu Jan 14 07:27:14 2016 New Revision: 293878 URL: https://svnweb.freebsd.org/changeset/base/293878 Log: Remove unnecessary kldload logic added to geom_subr.sh in r293028 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r293880 - head/tests/sys/geom/class/gate

2016-01-13 Thread Garrett Cooper
Author: ngie Date: Thu Jan 14 07:39:05 2016 New Revision: 293880 URL: https://svnweb.freebsd.org/changeset/base/293880 Log: PID file support hasn't been committed for ggated(8) yet. Unbreak running the testcase more than once by restoring the "killall ggated" MFC after: 15 days

svn commit: r293877 - head/sys/modules/hyperv/vmbus

2016-01-13 Thread Garrett Cooper
Author: ngie Date: Thu Jan 14 05:02:33 2016 New Revision: 293877 URL: https://svnweb.freebsd.org/changeset/base/293877 Log: Unbreak `make depend` with sys/modules/hyperv/vmbus after r293870 Pointyhat to: sephe Modified: head/sys/modules/hyperv/vmbus/Makefile Modified:

svn commit: r293815 - head/tools/regression/geom_gate

2016-01-12 Thread Garrett Cooper
Author: ngie Date: Wed Jan 13 07:31:59 2016 New Revision: 293815 URL: https://svnweb.freebsd.org/changeset/base/293815 Log: Add conf.sh file missed in r293621 MFC after: 16 days Sponsored by: EMC / Isilon Storage Division Added: head/tools/regression/geom_gate/conf.sh (contents,

svn commit: r293778 - stable/10/sys/modules/if_gif

2016-01-12 Thread Garrett Cooper
Author: ngie Date: Tue Jan 12 18:24:22 2016 New Revision: 293778 URL: https://svnweb.freebsd.org/changeset/base/293778 Log: Fix LINT-NOINET kernels - Generate opt_inet.h appropriately according to MK_INET_SUPPORT - Only add in_gif.c to SRCS if MK_INET_SUPPORT != no This is a

svn commit: r293715 - head/lib/libc/rpc

2016-01-11 Thread Garrett Cooper
Author: ngie Date: Tue Jan 12 00:20:57 2016 New Revision: 293715 URL: https://svnweb.freebsd.org/changeset/base/293715 Log: Fix a mismerge from NetBSD in r162194 with `xdr_rpcb_entry_list_ptr(..)` This fixes the potential NULL pointer dereference properly, and also fixes memory leaks

svn commit: r293704 - head/lib/libc/rpc

2016-01-11 Thread Garrett Cooper
Author: ngie Date: Mon Jan 11 21:56:53 2016 New Revision: 293704 URL: https://svnweb.freebsd.org/changeset/base/293704 Log: Fix theoretical leak of netconfig(3) resources in svcunix_create(..) In the event that the getconfig(3) call in svcunix_create is partly successful, some of the

svn commit: r293705 - head/lib/libc/rpc

2016-01-11 Thread Garrett Cooper
Author: ngie Date: Mon Jan 11 22:01:33 2016 New Revision: 293705 URL: https://svnweb.freebsd.org/changeset/base/293705 Log: Similar to r293704, fix theoretical leak of netconfig(3) resources in __rpcbind_is_up(..) if getnetconfig(3) is partly successful in allocating resources, but not

svn commit: r293637 - stable/10/usr.bin/netstat

2016-01-10 Thread Garrett Cooper
Author: ngie Date: Sun Jan 10 17:39:49 2016 New Revision: 293637 URL: https://svnweb.freebsd.org/changeset/base/293637 Log: Unbreak stable/10 buildworlds on arm/arm, mips/mips, mips/mips64, mips/mipsel, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64, sparc64/sparc64 with gcc after r293307

Re: svn commit: r293649 - in stable/10/sys/boot/efi: . boot1

2016-01-10 Thread Garrett Cooper
> On Jan 10, 2016, at 16:43, Ed Maste wrote: > > Author: emaste > Date: Mon Jan 11 00:43:50 2016 > New Revision: 293649 > URL: https://svnweb.freebsd.org/changeset/base/293649 > > Log: > MFC r281027: Clean up more x86 only options in the efi code. > > Modified: >

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:

svn commit: r293622 - head/tools/regression/geom_gate

2016-01-09 Thread Garrett Cooper
Author: ngie Date: Sat Jan 9 23:46:52 2016 New Revision: 293622 URL: https://svnweb.freebsd.org/changeset/base/293622 Log: Remove Makefile now that the testcases are all TAP based and prove -rv can be used on them MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division

svn commit: r293621 - head/tools/regression/geom_gate

2016-01-09 Thread Garrett Cooper
Author: ngie Date: Sat Jan 9 23:45:25 2016 New Revision: 293621 URL: https://svnweb.freebsd.org/changeset/base/293621 Log: - Delete non-TAP testcases - Add a conf.sh file for executing common functions with geom_gate - Use attach_md for attaching md(4) devices - Don't hardcode /tmp for

svn commit: r293434 - head/tools/regression/geom_concat

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 19:10:52 2016 New Revision: 293434 URL: https://svnweb.freebsd.org/changeset/base/293434 Log: - Use attach_md for memory disks so they can be tracked. - Add a geom_concat specific cleanup function and trap on that function at exit so things are cleaned up

svn commit: r293436 - head/tools/regression/geom_eli

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 19:38:59 2016 New Revision: 293436 URL: https://svnweb.freebsd.org/changeset/base/293436 Log: - Add a conf.sh file for executing common functions with geli -- Use linear probing to find the first unique md(4) device, unlike the other code which uses

svn commit: r293438 - head/tools/regression/geom_raid3

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 19:47:49 2016 New Revision: 293438 URL: https://svnweb.freebsd.org/changeset/base/293438 Log: - Add a geom_raid3 specific cleanup function and trap on that function at exit so things are cleaned up properly - Use attach_md for attaching md(4) devices -

svn commit: r293443 - head/tools/regression/geom_uzip

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 21:38:26 2016 New Revision: 293443 URL: https://svnweb.freebsd.org/changeset/base/293443 Log: - Make test-1.sh into a TAP testable testcase - Delete test-2.sh as it was an incomplete testcase, and the contents were basically a subset of test-1.sh - Add a

svn commit: r293437 - head/tools/regression/geom_nop

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 19:43:18 2016 New Revision: 293437 URL: https://svnweb.freebsd.org/changeset/base/293437 Log: - Add a conf.sh file for executing common functions with gnop - Use attach_md for attaching md(4) devices - Don't hardcode /tmp for temporary files, which violates the

svn commit: r293441 - head/tools/regression/geom_shsec

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 21:25:27 2016 New Revision: 293441 URL: https://svnweb.freebsd.org/changeset/base/293441 Log: - Add a geom_shsec specific cleanup function and trap on that function at exit so things are cleaned up properly - Use attach_md for attaching md(4) devices -

svn commit: r293442 - head/tools/regression/geom_stripe

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 21:28:09 2016 New Revision: 293442 URL: https://svnweb.freebsd.org/changeset/base/293442 Log: - Add a geom_stripe specific cleanup function and trap on that function at exit so things are cleaned up properly - Use attach_md for attaching md(4) devices -

svn commit: r293444 - head/tools/regression

2016-01-08 Thread Garrett Cooper
Author: ngie Date: Fri Jan 8 21:47:41 2016 New Revision: 293444 URL: https://svnweb.freebsd.org/changeset/base/293444 Log: - Move functions that might be used in class-specific cleanup functions (geom_test_cleanup, etc) down so the testcases don't emit noise when bailing - Conform to

svn commit: r293246 - stable/10/tools/regression/mac/mac_bsdextended

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 19:40:37 2016 New Revision: 293246 URL: https://svnweb.freebsd.org/changeset/base/293246 Log: MFC r292530,r292546: r292530: - Use 1 for an exit code instead of -1 with err, errx, and exit - Add unistd.h for getuid(3) - Sort #includes r292546:

svn commit: r293270 - stable/10/tests/sys/kern

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:27:55 2016 New Revision: 293270 URL: https://svnweb.freebsd.org/changeset/base/293270 Log: MFC r288961,r288962: r288961 (by bdrewery): Fix build with older GCC which, doesn't like 'main' being a variable name. r288962 (by jhb): Tweak: use

svn commit: r293251 - in stable/10: etc/mtree tests/sys tests/sys/mac tests/sys/mac/bsdextended

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:02:49 2016 New Revision: 293251 URL: https://svnweb.freebsd.org/changeset/base/293251 Log: MFC r292570: Integrate tools/regression/mac/mac_bsdextended and tools/regression/mac/mac_portacl into the FreeBSD test suite as tests/sys/mac/bsdextended and

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

svn commit: r293267 - in stable/10: lib/msun/tests tools/regression/lib/msun

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:21:40 2016 New Revision: 293267 URL: https://svnweb.freebsd.org/changeset/base/293267 Log: MFC r292328: Integrate a number of testcases from tools/regression/lib/msun into the FreeBSD test suite There's no functional change with these testcases;

svn commit: r293257 - stable/10/tests/sys/mac/bsdextended

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:06:15 2016 New Revision: 293257 URL: https://svnweb.freebsd.org/changeset/base/293257 Log: MFC r292650,r292651: r292650: Move mac_bsdextended check up before running the test_libugidfw_strings testcases I realize that these tests could be run

svn commit: r293272 - in stable/10: tests/sys/kern tools/regression/sockets/unix_passfd

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:29:15 2016 New Revision: 293272 URL: https://svnweb.freebsd.org/changeset/base/293272 Log: MFC r292914,r292957: r292914: Integrate tools/regression/sockets/unix_passfd into the FreeBSD test suite as tests/sys/kern/unix_passfd_test - Convert

svn commit: r293273 - stable/10/tests/sys/kern

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:43:41 2016 New Revision: 293273 URL: https://svnweb.freebsd.org/changeset/base/293273 Log: MFC r271397: r271397 (by asomers): Abort the create_socket test if socket creation fails. CID: 1232756 Modified:

svn commit: r293275 - stable/10/tests/sys/kern

2016-01-06 Thread Garrett Cooper
Author: ngie Date: Wed Jan 6 20:50:23 2016 New Revision: 293275 URL: https://svnweb.freebsd.org/changeset/base/293275 Log: MFC r270228: r270228 (by asomers): Numerous small fixes, mostly suggested by Coverity. tests/sys/kern/unix_seqpacket_test.c * Remove a duplicate error

svn commit: r293191 - stable/10/etc/mtree

2016-01-05 Thread Garrett Cooper
Author: ngie Date: Tue Jan 5 08:10:06 2016 New Revision: 293191 URL: https://svnweb.freebsd.org/changeset/base/293191 Log: Add `..` after sys/kern/pipe entry accidentally missed in r291183 This is a direct commit to stable/10 Pointyhat to: ngie Reported by: rodrigc Sponsored by:

svn commit: r293130 - head/lib/libnv/tests

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 03:02:44 2016 New Revision: 293130 URL: https://svnweb.freebsd.org/changeset/base/293130 Log: Rename nitems and string variables to avoid collisions Rename the `nitems` variable to `num_items` to avoid collisions with the macro in sys/param.h for counting

svn commit: r293121 - stable/10/sys/cddl/compat/opensolaris/sys

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 22:50:19 2016 New Revision: 293121 URL: https://svnweb.freebsd.org/changeset/base/293121 Log: MFC r279437,r284107: r279437 (by rstone): Allow Illumos code to co-exist with nv(9) r284107 (by avg): compat nvpair.h: make sure that the names are

svn commit: r293135 - head/lib/libnv/tests

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 03:34:22 2016 New Revision: 293135 URL: https://svnweb.freebsd.org/changeset/base/293135 Log: Remove free'ing of an uninitialized variable Just remove it completely from the test as it's initialized but unused apart from the free(3) call Differential

svn commit: r293134 - head/lib/libnv/tests

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 03:26:36 2016 New Revision: 293134 URL: https://svnweb.freebsd.org/changeset/base/293134 Log: Use `nitems(x)` macro instead of using hardcoded numbers for indices into the nvlists Convert some of the variables from int to unsigned int to squelch

svn commit: r293131 - head/lib/libnv/tests

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 03:12:18 2016 New Revision: 293131 URL: https://svnweb.freebsd.org/changeset/base/293131 Log: Convert another `string` variable to `string_arr` missed in r293130 Differential Revision: https://reviews.freebsd.org/D4769 (part of larger diff) MFC after: 5 days

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

svn commit: r293138 - stable/10/tools/regression/mac/mac_bsdextended

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 06:57:06 2016 New Revision: 293138 URL: https://svnweb.freebsd.org/changeset/base/293138 Log: MFC r292531,r292532,r292533,r292545: r292531: Make test_matches.sh into a series of TAP testcases Use temporary filesystems / memory disks instead of a

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

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 07:09:29 2016 New Revision: 293144 URL: https://svnweb.freebsd.org/changeset/base/293144 Log: MFC r292822: Remove retval to fix a -Wunused-but-set-variable warning from gcc 4.9 Modified: stable/10/tests/sys/kern/pipe/pipe_overcommit1_test.c Directory

svn commit: r293143 - stable/10/tests/sys/kern

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 07:06:46 2016 New Revision: 293143 URL: https://svnweb.freebsd.org/changeset/base/293143 Log: MFC r292820: Clean trailing whitespace Modified: stable/10/tests/sys/kern/unix_seqpacket_test.c Directory Properties: stable/10/ (props changed) Modified:

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 /

svn commit: r293145 - stable/10/tools/regression/sockets/unix_passfd

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 07:11:15 2016 New Revision: 293145 URL: https://svnweb.freebsd.org/changeset/base/293145 Log: MFC r292814: - Explicitly initialize ch to 0 - Delete some spurious whitespace - Use calloc instead of malloc in the last test to ensure that sendspace is

svn commit: r293140 - stable/10/tests/sys/aio

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Mon Jan 4 07:02:48 2016 New Revision: 293140 URL: https://svnweb.freebsd.org/changeset/base/293140 Log: MFC r292816,r292818,r292819: r292816: Place cancel and error under #ifdef DEBUG to mute -Wunused-but-set-variable warnings reported by gcc 4.9 Remove some

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

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

svn commit: r293091 - head/sys/conf

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 08:48:23 2016 New Revision: 293091 URL: https://svnweb.freebsd.org/changeset/base/293091 Log: Revert r293070 It seems that `options GZIP` and `options ZFS` collide because they both define inconsistent definitions for inflate, etc Fixing this will

svn commit: r293102 - head/lib/libnv/tests

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 11:22:15 2016 New Revision: 293102 URL: https://svnweb.freebsd.org/changeset/base/293102 Log: Add sys/types.h for for size_t, etc stable/10 requires it due to header pollution MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r293112 - head/sys/dev/ixl

2016-01-03 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 18:09:46 2016 New Revision: 293112 URL: https://svnweb.freebsd.org/changeset/base/293112 Log: Fix ixl(4) compilation with PCI_IOV pre-r266974 stable/10 doesn't have the if_getdrvflags(9) KPI. Reference the field in the structure directly if the

svn commit: r293048 - head/tools/regression

2016-01-02 Thread Garrett Cooper
Author: ngie Date: Sat Jan 2 10:07:31 2016 New Revision: 293048 URL: https://svnweb.freebsd.org/changeset/base/293048 Log: - Use a temporary file for the temporary md(4) devices instead of hardcoding it - Remove the temporary file in the cleanup routine MFC after: 2 weeks

svn commit: r293073 - head/tools/regression/geom_mirror

2016-01-02 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 06:02:56 2016 New Revision: 293073 URL: https://svnweb.freebsd.org/changeset/base/293073 Log: - Use attach_md instead of hardcoding md(4) provider unit numbers - Implement a gmirror_test_cleanup function, which in turn calls geom_test_cleanup to clean up all

svn commit: r293070 - head/sys/conf

2016-01-02 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 04:38:17 2016 New Revision: 293070 URL: https://svnweb.freebsd.org/changeset/base/293070 Log: Add "options ZFS" to NOTES so this will be tested with the LINT KERNCONF when "make tinderbox" is run This will help ensure that "options ZFS" will not be

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

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Thu Dec 31 19:32:46 2015 New Revision: 292998 URL: https://svnweb.freebsd.org/changeset/base/292998 Log: MFC r292710: Remove unused function `act_getkernstring` This fixes a clang -Wunused warning Differential Revision: https://reviews.freebsd.org/D4697

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:

svn commit: r293028 - head/tools/regression

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Fri Jan 1 02:22:45 2016 New Revision: 293028 URL: https://svnweb.freebsd.org/changeset/base/293028 Log: - Use geom load instead of g load; g doesn't exist for all geom classes, e.g. geom_uzip(4) - These tests require root. Skip all of the tests if they're run as

svn commit: r293029 - head/tools/regression

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Fri Jan 1 02:25:10 2016 New Revision: 293029 URL: https://svnweb.freebsd.org/changeset/base/293029 Log: Add functions for managing md(4) devices and cleaning up said md(4) devices These will be used soon in the various test scripts that source geom_subr.sh MFC

svn commit: r293003 - stable/10/sys/kern

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Thu Dec 31 20:25:26 2015 New Revision: 293003 URL: https://svnweb.freebsd.org/changeset/base/293003 Log: MFC r292640,r292641: r292640: Clean up trailing whitespace; no functional change Sponsored by: EMC / Isilon Storage Division r292641: Fix r292640

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

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:

svn commit: r293025 - stable/10/usr.sbin/makefs

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Fri Jan 1 00:36:59 2016 New Revision: 293025 URL: https://svnweb.freebsd.org/changeset/base/293025 Log: MFC r292884: Fix getopt(3) argument after r290180; I forgot to change -r to -R by accident Pointyhat to: ngie Modified: stable/10/usr.sbin/makefs/makefs.c

svn commit: r293032 - in head/tools/regression: geom_concat geom_mirror geom_raid3 geom_shsec geom_stripe

2015-12-31 Thread Garrett Cooper
Author: ngie Date: Fri Jan 1 03:12:51 2016 New Revision: 293032 URL: https://svnweb.freebsd.org/changeset/base/293032 Log: Use randomly generated device names in testcases via mktemp -u instead of using the hardcoded device name, "test" MFC after: 2 weeks Sponsored by: EMC / Isilon

svn commit: r292973 - in stable/10: cddl/lib/libnvpair contrib/mdocml etc/mtree lib lib/libnv share/mk sys/cddl/contrib/opensolaris/common/nvpair sys/conf sys/kern sys/modules/zfs sys/sys

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Thu Dec 31 03:28:14 2015 New Revision: 292973 URL: https://svnweb.freebsd.org/changeset/base/292973 Log: MFC nv(3) and part of nv(9) to stable/10 This includes the following revisions from head:

svn commit: r292976 - stable/9/sys/dev/pci

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Thu Dec 31 04:01:52 2015 New Revision: 292976 URL: https://svnweb.freebsd.org/changeset/base/292976 Log: MFstable/10 r292975: MFC r278860: r278860 (by jmg): remove NULL check as M_WAITOK will not return NULL Reviewed by: jhb Sponsored by: FreeBSD

svn commit: r292957 - head/tests/sys/kern

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Wed Dec 30 18:13:43 2015 New Revision: 292957 URL: https://svnweb.freebsd.org/changeset/base/292957 Log: Rename `recvfd` and `sendfd` variables in recvfd/sendfd functions to avoid -Wshadow issues with gcc MFC after: 1 week Reported by: bz, jenkins Sponsored by: EMC

svn commit: r292975 - stable/10/sys/dev/pci

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Thu Dec 31 03:55:02 2015 New Revision: 292975 URL: https://svnweb.freebsd.org/changeset/base/292975 Log: MFC r278860: r278860 (by jmg): remove NULL check as M_WAITOK will not return NULL Reviewed by: jhb Sponsored by: FreeBSD Foundation Modified:

svn commit: r292914 - in head: tests/sys/kern tools/regression/sockets/unix_passfd

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Wed Dec 30 11:15:07 2015 New Revision: 292914 URL: https://svnweb.freebsd.org/changeset/base/292914 Log: Integrate tools/regression/sockets/unix_passfd into the FreeBSD test suite as tests/sys/kern/unix_passfd_test - Convert testcases to ATF - Fix an alignment issues

svn commit: r292908 - stable/10/sys/sys

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Wed Dec 30 08:53:12 2015 New Revision: 292908 URL: https://svnweb.freebsd.org/changeset/base/292908 Log: Bump __FreeBSD_version per pci(4) changes made in r292907 Sponsored by: EMC / Isilon Storage Division Modified: stable/10/sys/sys/param.h Modified:

svn commit: r292907 - in stable/10/sys: dev/pci ofed/include/linux

2015-12-30 Thread Garrett Cooper
Author: ngie Date: Wed Dec 30 08:52:03 2015 New Revision: 292907 URL: https://svnweb.freebsd.org/changeset/base/292907 Log: MFC r270212,r270332: This helps reduce the diff in pci(4) between head and stable/10 to help pave the way for bringing in IOV/nv(9) more cleanly Differential

svn commit: r292879 - stable/10

2015-12-29 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 18:22:06 2015 New Revision: 292879 URL: https://svnweb.freebsd.org/changeset/base/292879 Log: MFC r265842,r266120,r266121,r266959,r267148,r269985,r281789,r282261,r285064: r265842 (by eadler): arcconfig: add one Add a .arcconfig to allow arc to work

svn commit: r292880 - stable/9

2015-12-29 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 18:33:43 2015 New Revision: 292880 URL: https://svnweb.freebsd.org/changeset/base/292880 Log: MFstable/10 r292879: MFC r265842,r266120,r266121,r266959,r267148,r269985,r281789,r282261,r285064: r265842 (by eadler): arcconfig: add one Add a

svn commit: r292884 - head/usr.sbin/makefs

2015-12-29 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 20:17:40 2015 New Revision: 292884 URL: https://svnweb.freebsd.org/changeset/base/292884 Log: Fix getopt(3) argument after r290180; I forgot to change -r to -R by accident MFC after: 3 days Pointyhat to: ngie Reported by: vangyzen Sponsored by: EMC /

Re: svn commit: r292777 - in head: lib/libc/sys sys/kern

2015-12-28 Thread Garrett Cooper
> On Dec 28, 2015, at 02:17, Bruce Evans wrote: ... > It is not unreasonable to panic when such tests fail, just like for other > settings of unreasonable values. Only the superuser can make them, and > the superuser should know better than to run them on production

svn commit: r292844 - in stable/10: etc/mtree lib/libc/tests lib/libc/tests/nss lib/libc/tests/resolv

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 23:05:13 2015 New Revision: 292844 URL: https://svnweb.freebsd.org/changeset/base/292844 Log: MFC r292317,r292318,r292323,r292324,r292665: r292317: Integrate tools/regression/lib/libc/resolv into the FreeBSD test suite as lib/libc/tests/resolv

svn commit: r292852 - in stable/10/contrib/netbsd-tests/lib/libc: gen ssp

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 01:05:48 2015 New Revision: 292852 URL: https://svnweb.freebsd.org/changeset/base/292852 Log: MFC r292578: Don't dump core files with lib/libc/ssp/ssp_test and lib/libc/gen/assert_test The default `sysctl kern.corefile` value is compatible with `kyua

svn commit: r292845 - stable/10/tools/regression/mac/mac_portacl

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 23:32:27 2015 New Revision: 292845 URL: https://svnweb.freebsd.org/changeset/base/292845 Log: MFC r292569: Make the mac_portacl testcases work / more robust - A trap(1) call has been added to the test scripts to better ensure that the tests do a

svn commit: r292848 - stable/9/tools/regression/mac/mac_portacl

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 00:04:21 2015 New Revision: 292848 URL: https://svnweb.freebsd.org/changeset/base/292848 Log: MFstable/10 r292845: MFC r292569: Make the mac_portacl testcases work / more robust - A trap(1) call has been added to the test scripts to better ensure

svn commit: r292853 - stable/10/contrib/netbsd-tests/usr.bin/grep

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 01:07:00 2015 New Revision: 292853 URL: https://svnweb.freebsd.org/changeset/base/292853 Log: MFC r292581: Use stable output to a test file instead of depending on the OS name being grep'able in /bin/sh This fixes the situation where the OS has been

svn commit: r292854 - stable/10/tests/sys/file

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 01:08:07 2015 New Revision: 292854 URL: https://svnweb.freebsd.org/changeset/base/292854 Log: MFC r292582: Dump out the output from flock_helper on failure so failures with the test app can be debugged Obtained from: Isilon OneFS (^/onefs/head@r511419)

svn commit: r292856 - stable/9/usr.sbin/uhsoctl

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 01:09:53 2015 New Revision: 292856 URL: https://svnweb.freebsd.org/changeset/base/292856 Log: MFstable/10 r292855: MFC r292585: Prevent use-after-free with ctx->ns in set_nameservers(..), which could occur if the memory wasn't allocated again later on

svn commit: r292855 - stable/10/usr.sbin/uhsoctl

2015-12-28 Thread Garrett Cooper
Author: ngie Date: Tue Dec 29 01:08:58 2015 New Revision: 292855 URL: https://svnweb.freebsd.org/changeset/base/292855 Log: MFC r292585: Prevent use-after-free with ctx->ns in set_nameservers(..), which could occur if the memory wasn't allocated again later on Reported by: Coverity

svn commit: r292768 - stable/10/share/mk

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 11:04:11 2015 New Revision: 292768 URL: https://svnweb.freebsd.org/changeset/base/292768 Log: MFC r292500,r292501,r292504,r292509: r292500: Simplify Kyuafile generation logic with KYUAFILE == auto and related complexity with variables Differential

svn commit: r292769 - stable/10/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 11:12:09 2015 New Revision: 292769 URL: https://svnweb.freebsd.org/changeset/base/292769 Log: MFC r292493: Don't run test-fma on i386 It completely fails all assertions on i386 on both stable/9 and stable/10 PR: 205448 X-MFC to: stable/10

svn commit: r292802 - stable/9/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:34:37 2015 New Revision: 292802 URL: https://svnweb.freebsd.org/changeset/base/292802 Log: MFstable/10 r292795: MFC r292491,r292493,r292496: r292491: Disable test-ctrig.t testcases which fail assertions on i386 [*] Also, don't compile the

svn commit: r292801 - stable/10/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:17:30 2015 New Revision: 292801 URL: https://svnweb.freebsd.org/changeset/base/292801 Log: MFC r292489: Disable test-ctrig.t testcases which fail assertions on i386 Tested on: stable/10 (amd64/i386), head (amd64/i386) PR: 205446 X-MFC to: stable/10

svn commit: r292800 - stable/9/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:15:58 2015 New Revision: 292800 URL: https://svnweb.freebsd.org/changeset/base/292800 Log: MFstable/10 r226377,r292799: r226377 (by das): Add some tests for double-rounding bugs in fma(). r292799: MFC r292492,r292495,r292647: r292492:

svn commit: r292796 - stable/10/sys/modules/hyperv/netvsc

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:02:56 2015 New Revision: 292796 URL: https://svnweb.freebsd.org/changeset/base/292796 Log: MFC r284969: r284969 (by lwhsu): - Fix `make depend` in sys/modules Differential Revision:https://reviews.freebsd.org/D2951 Approved by: delphij

svn commit: r292797 - stable/10/sys/dev/hyperv/vmbus

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:03:39 2015 New Revision: 292797 URL: https://svnweb.freebsd.org/changeset/base/292797 Log: MFC r292661: Remove redundant vmbus_select_outgoing_channel declaration already handled in include/hyperv.h This unbreaks the gcc 4.2.1 kernel build of hyperv

svn commit: r292795 - stable/10/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 20:54:48 2015 New Revision: 292795 URL: https://svnweb.freebsd.org/changeset/base/292795 Log: MFC r292491,r292493,r292496: r292491: Disable test-ctrig.t testcases which fail assertions on i386 [*] Also, don't compile the exp2l(3) testcases on

svn commit: r292799 - stable/10/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:08:46 2015 New Revision: 292799 URL: https://svnweb.freebsd.org/changeset/base/292799 Log: MFC r292492,r292495,r292647: r292492: - Use nitems instead of handrolling the macro - Use a separate variable for tracking the testcase count instead of

svn commit: r292803 - stable/9/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:39:28 2015 New Revision: 292803 URL: https://svnweb.freebsd.org/changeset/base/292803 Log: MFstable/10 r226603,r251119: r226603 (by das): Tests for complex trig and hyperbolic functions. r251119 (by das): Basic tests for complex inverse trig

svn commit: r292821 - head/tests/sys/kern

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:34:59 2015 New Revision: 292821 URL: https://svnweb.freebsd.org/changeset/base/292821 Log: - Remove unused but set ssize in shutdown_send_sigpipe - Add #ifdef TEST_SEQ_PACKET_SOURCE_ADDRESS` for untestable code because FreeBSD doesn't have a means to map

svn commit: r292815 - head/contrib/bsnmp/snmpd

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 01:51:20 2015 New Revision: 292815 URL: https://svnweb.freebsd.org/changeset/base/292815 Log: Staticize several variables that are used exclusively in bsnmpd/main.c and bsnmpd/trap.c This fixes several -Wmissing-variable-declaration warnings noted by clang

svn commit: r292806 - stable/9/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:55:26 2015 New Revision: 292806 URL: https://svnweb.freebsd.org/changeset/base/292806 Log: MFstable/10 r251053: r251053 (by tijl): Fix cexp regression tests that have an infinite real part. The signs of the result depend on the cosine and sine of the

svn commit: r292818 - head/tests/sys/aio

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:18:22 2015 New Revision: 292818 URL: https://svnweb.freebsd.org/changeset/base/292818 Log: Fix style(9) a bit and ensure that error from initializing kqueue(2) is sane - Push the kqueue(2) initialization down so the errno will correspond with the

svn commit: r292805 - stable/9/tools/regression/lib/msun

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Sun Dec 27 21:53:21 2015 New Revision: 292805 URL: https://svnweb.freebsd.org/changeset/base/292805 Log: MFstable/10 r292769,r292799: r292769: MFC r292493: Don't run test-fma on i386 It completely fails all assertions on i386 on both stable/9 and stable/10

svn commit: r292814 - head/tools/regression/sockets/unix_passfd

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 00:53:37 2015 New Revision: 292814 URL: https://svnweb.freebsd.org/changeset/base/292814 Log: - Explicitly initialize ch to 0 - Delete some spurious whitespace - Use calloc instead of malloc in the last test to ensure that sendspace is properly zero'ed out

svn commit: r292816 - head/tests/sys/aio

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:01:41 2015 New Revision: 292816 URL: https://svnweb.freebsd.org/changeset/base/292816 Log: Place cancel and error under #ifdef DEBUG to mute -Wunused-but-set-variable warnings reported by gcc 4.9 Remove some trailing whitespace as well Tested with

svn commit: r292819 - head/tests/sys/aio

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:21:36 2015 New Revision: 292819 URL: https://svnweb.freebsd.org/changeset/base/292819 Log: - Fix an improperly sized buffer for `pathname` [1] - Fix a -Wunused-but-set-variable warning [2] MFC after: 1 week Reported by: cppcheck [1], gcc 4.9 [2]

svn commit: r292820 - head/tests/sys/kern

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:28:12 2015 New Revision: 292820 URL: https://svnweb.freebsd.org/changeset/base/292820 Log: Clean trailing whitespace MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tests/sys/kern/unix_seqpacket_test.c Modified:

svn commit: r292812 - stable/10/share/mk

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 00:05:31 2015 New Revision: 292812 URL: https://svnweb.freebsd.org/changeset/base/292812 Log: MFC r292507,r292508: r292507: - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1) - Use LOCALBASE instead of hardcoding /usr/local for perl

<    1   2   3   4   5   6   7   8   9   10   >