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

2016-01-31 Thread Garrett Cooper
Author: ngie Date: Mon Feb 1 06:25:16 2016 New Revision: 295116 URL: https://svnweb.freebsd.org/changeset/base/295116 Log: Add an additional 1 second sleep to after calling ggatec before calling dd to defeat a race when writing out to the geom_gate(4) device This will quell the Jenkins

svn commit: r295118 - head/contrib/smbfs/smbutil

2016-01-31 Thread Garrett Cooper
Author: ngie Date: Mon Feb 1 07:09:08 2016 New Revision: 295118 URL: https://svnweb.freebsd.org/changeset/base/295118 Log: Add #include to mute warning from clang/gcc about implicitly declaring strcmp(3) MFC after: 1 month Reported by: Jenkins Sponsored by: EMC / Isilon Storage

svn commit: r295079 - head/libexec/atrun

2016-01-30 Thread Garrett Cooper
Author: ngie Date: Sat Jan 30 17:54:18 2016 New Revision: 295079 URL: https://svnweb.freebsd.org/changeset/base/295079 Log: Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on 64-bit architectures where sizeof(int) != sizeof(size_t). MFC after: 1 week PR: 206758

svn commit: r295080 - head/sys/dev/iicbus

2016-01-30 Thread Garrett Cooper
Author: ngie Date: Sat Jan 30 18:33:23 2016 New Revision: 295080 URL: https://svnweb.freebsd.org/changeset/base/295080 Log: Use the correct type for i when iterating over `buf` to avoid unlikely negative array indexing in iicrdwr(..) Differential Revision:

svn commit: r295076 - head/sbin/nvmecontrol

2016-01-30 Thread Garrett Cooper
Author: ngie Date: Sat Jan 30 17:10:14 2016 New Revision: 295076 URL: https://svnweb.freebsd.org/changeset/base/295076 Log: Revert r295062 to unbreak buildworld Some of the structures referenced in power.c (in particular struct nvme_power_state) are missing from sbin/nvmecontrol/

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

2016-01-26 Thread Garrett Cooper
Author: ngie Date: Wed Jan 27 06:24:19 2016 New Revision: 294894 URL: https://svnweb.freebsd.org/changeset/base/294894 Log: Adjust vm.max_wired in order to avoid hitting EAGAIN artificially Set vm.max_wired to INT_MAX in :mlock_err, :mlock_mmap, and :mlock_nested to avoid hitting EAGAIN

svn commit: r294891 - head/usr.sbin/makefs/tests

2016-01-26 Thread Garrett Cooper
Author: ngie Date: Wed Jan 27 06:14:20 2016 New Revision: 294891 URL: https://svnweb.freebsd.org/changeset/base/294891 Log: Require /sbin/mount_cd9660 when running the cd9660 tests In some cases the test system might not have mount_cd9660(8). Don't implicitly rely on it while testing

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

2016-01-26 Thread Garrett Cooper
Author: ngie Date: Wed Jan 27 07:06:49 2016 New Revision: 294899 URL: https://svnweb.freebsd.org/changeset/base/294899 Log: Add debug output via ATF_REQUIRE_MSG when the first call to mlock(2) fails This helps identify the problem with running this test on my VM hosts (ENOMEM) MFC

svn commit: r294647 - head/tools/regression/sockets/zerosend

2016-01-23 Thread Garrett Cooper
Author: ngie Date: Sat Jan 23 22:51:22 2016 New Revision: 294647 URL: https://svnweb.freebsd.org/changeset/base/294647 Log: Use different ports in the TCP/UDP testcases with the first set and the second set (increment the original ports by 10) This avoids issues where the first listening

svn commit: r294646 - head/tools/regression/sockets/unix_cmsg

2016-01-23 Thread Garrett Cooper
Author: ngie Date: Sat Jan 23 22:49:13 2016 New Revision: 294646 URL: https://svnweb.freebsd.org/changeset/base/294646 Log: Don't run the t_cmsg_len testcase on 64-bit architectures It always fails when trying to send through the sendit(9) private KPI in the kernel due to a size mismatch

svn commit: r294645 - head/tools/regression/sockets/unix_cmsg

2016-01-23 Thread Garrett Cooper
Author: ngie Date: Sat Jan 23 22:44:00 2016 New Revision: 294645 URL: https://svnweb.freebsd.org/changeset/base/294645 Log: - Don't return immediately in check_xucred, check_scm_creds_cmsgcred, and check_scm_creds_sockcred after initial != NULL checks have been done for debugging

svn commit: r294103 - head/tools/regression/sockets/accf_data_attach

2016-01-15 Thread Garrett Cooper
Author: ngie Date: Fri Jan 15 21:59:18 2016 New Revision: 294103 URL: https://svnweb.freebsd.org/changeset/base/294103 Log: - Check for accf_filter before running the tests, otherwise it will always fail at subtest 9/11 - Use strncpy instead of strcpy with afa.af_name Modified:

svn commit: r294123 - head/tools/regression/sockets/so_setfib

2016-01-15 Thread Garrett Cooper
Author: ngie Date: Sat Jan 16 01:37:17 2016 New Revision: 294123 URL: https://svnweb.freebsd.org/changeset/base/294123 Log: Add missing newline to message about requiring root privileges This will help ensure that scripts/parsers don't get confused when the message is printed out

svn commit: r294128 - head/tools/regression/sockets/unix_gc

2016-01-15 Thread Garrett Cooper
Author: ngie Date: Sat Jan 16 02:19:56 2016 New Revision: 294128 URL: https://svnweb.freebsd.org/changeset/base/294128 Log: Fix -Wunused warning with clang/gcc - Get rid of unused argc/argv variables in main - Bump WARNS to 6 MFC after: 3 days Sponsored by: EMC / Isilon Storage

svn commit: r294132 - head/share/man/man4

2016-01-15 Thread Garrett Cooper
Author: ngie Date: Sat Jan 16 05:35:42 2016 New Revision: 294132 URL: https://svnweb.freebsd.org/changeset/base/294132 Log: Bump .Dd for the content changes Modified: head/share/man/man4/ddb.4 Modified: head/share/man/man4/ddb.4

svn commit: r294127 - head/tools/regression/sockets/zerosend

2016-01-15 Thread Garrett Cooper
Author: ngie Date: Sat Jan 16 02:18:36 2016 New Revision: 294127 URL: https://svnweb.freebsd.org/changeset/base/294127 Log: Fix warnings with clang/gcc - Get rid of unused argc/argv variables in main - Exit on failure with a return code of 1 instead of -1 with err/errx as a return

svn commit: r294125 - in head/tools/regression/sockets: rtsocket unix_socket

2016-01-15 Thread Garrett Cooper
Author: ngie Date: Sat Jan 16 02:02:50 2016 New Revision: 294125 URL: https://svnweb.freebsd.org/changeset/base/294125 Log: Test for EPROTOTYPE not EPROTONOSUPPORT - `SOCK_RAW` is the implied supported type parameter for socket(2) per route(4) - localsw in `sys/kern/uipc_usrreq.c`

svn commit: r294126 - in head/tools/regression/sockets: reconnect sendfile

2016-01-15 Thread Garrett Cooper
Author: ngie Date: Sat Jan 16 02:15:13 2016 New Revision: 294126 URL: https://svnweb.freebsd.org/changeset/base/294126 Log: Fix warnings with gcc 5.0 reconnect.c: - Convert the K prototype of main to an ANSI prototype to mute a warning from gcc 4.2.1 - Close s_sock2 after finishing

svn commit: r294026 - head/share/man/man4

2016-01-14 Thread Garrett Cooper
Author: ngie Date: Thu Jan 14 18:04:49 2016 New Revision: 294026 URL: https://svnweb.freebsd.org/changeset/base/294026 Log: Fix spelling of IPMI Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man4/ddb.4 Modified: head/share/man/man4/ddb.4

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

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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: r292822 - head/tests/sys/kern/pipe

2015-12-27 Thread Garrett Cooper
Author: ngie Date: Mon Dec 28 02:36:57 2015 New Revision: 292822 URL: https://svnweb.freebsd.org/changeset/base/292822 Log: Remove retval to fix a -Wunused-but-set-variable warning from gcc 4.9 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

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: 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: 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: 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: 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: r292710 - head/contrib/bsnmp/snmpd

2015-12-24 Thread Garrett Cooper
Author: ngie Date: Thu Dec 24 22:22:02 2015 New Revision: 292710 URL: https://svnweb.freebsd.org/changeset/base/292710 Log: Remove unused function `act_getkernstring` This fixes a clang -Wunused warning Differential Revision: https://reviews.freebsd.org/D4697 MFC after: 1 week

Re: svn commit: r291937 - in head: lib/libc/aarch64/sys lib/libc/arm/sys sys/arm/arm sys/arm/include sys/arm64/arm64 sys/arm64/include sys/conf sys/kern

2015-12-24 Thread Garrett Cooper
> On Dec 24, 2015, at 10:00, Konstantin Belousov wrote: > >> On Thu, Dec 24, 2015 at 08:40:42AM -0700, Ian Lepore wrote: >>> On Mon, 2015-12-07 at 12:20 +, Konstantin Belousov wrote: >>> Author: kib >>> Date: Mon Dec 7 12:20:26 2015 >>> New Revision: 291937 >>> URL:

Re: svn commit: r291937 - in head: lib/libc/aarch64/sys lib/libc/arm/sys sys/arm/arm sys/arm/include sys/arm64/arm64 sys/arm64/include sys/conf sys/kern

2015-12-24 Thread Garrett Cooper
> On Dec 24, 2015, at 07:40, Ian Lepore wrote: > >> On Mon, 2015-12-07 at 12:20 +, Konstantin Belousov wrote: >> Author: kib >> Date: Mon Dec 7 12:20:26 2015 >> New Revision: 291937 >> URL: https://svnweb.freebsd.org/changeset/base/291937 >> >> Log: >> Add support for

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

2015-12-23 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 09:59:31 2015 New Revision: 292650 URL: https://svnweb.freebsd.org/changeset/base/292650 Log: Move mac_bsdextended check up before running the test_libugidfw_strings testcases I realize that these tests could be run before mac_bsdextended is loaded, but it

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

2015-12-23 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 10:02:51 2015 New Revision: 292651 URL: https://svnweb.freebsd.org/changeset/base/292651 Log: Delete the comment about running `test_libugidfw_strings` before testing `mac_is_present` so it doesn't accidentally confuse people MFC after: 3 days X-MFC with:

svn commit: r292665 - head/lib/libc/tests/resolv

2015-12-23 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 18:48:32 2015 New Revision: 292665 URL: https://svnweb.freebsd.org/changeset/base/292665 Log: Increase the timeout for resolv_test from the default (300 seconds) to 450 seconds This is required on slower network connections, and on older releases

svn commit: r292662 - head/sys/x86/xen

2015-12-23 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 17:43:55 2015 New Revision: 292662 URL: https://svnweb.freebsd.org/changeset/base/292662 Log: Remove redundant declarations in sys/x86/xen which are now handled in other sys/x86 headers Differential Revision: https://reviews.freebsd.org/D4685 X-MFC with:

svn commit: r292661 - head/sys/dev/hyperv/vmbus

2015-12-23 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 17:37:30 2015 New Revision: 292661 URL: https://svnweb.freebsd.org/changeset/base/292661 Log: Remove redundant vmbus_select_outgoing_channel declaration already handled in include/hyperv.h This unbreaks the gcc 4.2.1 kernel build of hyperv Differential

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

2015-12-23 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 09:11:18 2015 New Revision: 292647 URL: https://svnweb.freebsd.org/changeset/base/292647 Log: Use j instead of a hardcoded index (9) and increment it after running the NaNs testcases MFC after: 3 days Pointyhat to: ngie Sponsored by: EMC / Isilon Storage

svn commit: r292619 - head/sys/amd64/include

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 20:08:32 2015 New Revision: 292619 URL: https://svnweb.freebsd.org/changeset/base/292619 Log: Remove redundant ctx_switch_xsave declaration in sys/amd64/include/md_var.h This variable was added to sys/x86/include/x86_var.h recently. This unbreaks building

svn commit: r292640 - head/sys/kern

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 03:29:37 2015 New Revision: 292640 URL: https://svnweb.freebsd.org/changeset/base/292640 Log: Clean up trailing whitespace; no functional change MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/sys/kern/link_elf.c Modified:

svn commit: r292641 - head/sys/kern

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Wed Dec 23 03:34:43 2015 New Revision: 292641 URL: https://svnweb.freebsd.org/changeset/base/292641 Log: Fix r292640 vim overzealously removed some trailing `+' and I didn't check the diff MFC after: 1 week X-MFC with: r292640 Pointyhat to: ngie Sponsored

svn commit: r292626 - head/sys/kern

2015-12-22 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 21:07:33 2015 New Revision: 292626 URL: https://svnweb.freebsd.org/changeset/base/292626 Log: Fold lim_shared into lim_copy to mute a -Wunused compiler warning from clang when the kernel is compiled without INVARIANTS Differential Revision:

Re: svn commit: r292533 - head/tools/regression/mac/mac_bsdextended

2015-12-22 Thread Garrett Cooper
> On Dec 22, 2015, at 22:42, Craig Rodrigues <rodr...@crodrigues.org> wrote: > >> On Mon, Dec 21, 2015 at 12:58 AM, Garrett Cooper <n...@freebsd.org> wrote: >> Author: ngie >> Date: Mon Dec 21 08:58:14 2015 >> New Revision: 292533 >> URL:

svn commit: r292569 - head/tools/regression/mac/mac_portacl

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 21:15:23 2015 New Revision: 292569 URL: https://svnweb.freebsd.org/changeset/base/292569 Log: 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 better job at trying to

svn commit: r292570 - in head: etc/mtree tests/sys tests/sys/mac tests/sys/mac/bsdextended tests/sys/mac/portacl tools/regression/mac

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 21:24:03 2015 New Revision: 292570 URL: https://svnweb.freebsd.org/changeset/base/292570 Log: Integrate tools/regression/mac/mac_bsdextended and tools/regression/mac/mac_portacl into the FreeBSD test suite as tests/sys/mac/bsdextended and tests/sys/mac/portacl,

svn commit: r292578 - in head/contrib/netbsd-tests/lib/libc: gen ssp

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 00:43:22 2015 New Revision: 292578 URL: https://svnweb.freebsd.org/changeset/base/292578 Log: 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 test` (FreeBSD will

svn commit: r292531 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 08:14:45 2015 New Revision: 292531 URL: https://svnweb.freebsd.org/changeset/base/292531 Log: Make test_matches.sh into a series of TAP testcases Use temporary filesystems / memory disks instead of a hardcoded path which doesn't exist on test systems

svn commit: r292582 - head/tests/sys/file

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 02:10:31 2015 New Revision: 292582 URL: https://svnweb.freebsd.org/changeset/base/292582 Log: Dump out the output from flock_helper on failure so failures with the test app can be debugged MFC after: 1 week Obtained from: Isilon OneFS

svn commit: r292581 - head/contrib/netbsd-tests/usr.bin/grep

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 01:21:27 2015 New Revision: 292581 URL: https://svnweb.freebsd.org/changeset/base/292581 Log: 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 rebranded to

svn commit: r292585 - head/usr.sbin/uhsoctl

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Tue Dec 22 05:57:23 2015 New Revision: 292585 URL: https://svnweb.freebsd.org/changeset/base/292585 Log: 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 Submitted by:

svn commit: r292532 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 08:53:26 2015 New Revision: 292532 URL: https://svnweb.freebsd.org/changeset/base/292532 Log: Mark `subject matching jailid` testcase as an unexpected failure with TODO to ensure that the testcase isn't marked as a failure PR: 205481 MFC after: 2 weeks

svn commit: r292533 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 08:58:14 2015 New Revision: 292533 URL: https://svnweb.freebsd.org/changeset/base/292533 Log: Skip the testcases if mac_bsdextended(4) isn't detected on the system MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r292545 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 12:39:16 2015 New Revision: 292545 URL: https://svnweb.freebsd.org/changeset/base/292545 Log: Redo the TAP integration so it works with Kyua Kyua needs numbers in the TAP results :/, but prove doesn't MFC after: 2 weeks Sponsored by: EMC / Isilon

svn commit: r292546 - head/tools/regression/mac/mac_bsdextended

2015-12-21 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 12:43:04 2015 New Revision: 292546 URL: https://svnweb.freebsd.org/changeset/base/292546 Log: - Convert testcase to TAP format - Use nitems(x) instead of handrolled sizeof(x) / sizeof(*x) macro - Do not mark count != 0 case with bsde_get_rule_count as a

svn commit: r292530 - head/tools/regression/mac/mac_bsdextended

2015-12-20 Thread Garrett Cooper
Author: ngie Date: Mon Dec 21 07:04:01 2015 New Revision: 292530 URL: https://svnweb.freebsd.org/changeset/base/292530 Log: - Use 1 for an exit code instead of -1 with err, errx, and exit - Add unistd.h for getuid(3) - Sort #includes MFC after: 1 week Sponsored by: EMC / Isilon

svn commit: r292489 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 04:06:30 2015 New Revision: 292489 URL: https://svnweb.freebsd.org/changeset/base/292489 Log: Disable test-ctrig.t testcases which fail assertions on i386 Tested on: stable/10 (amd64/i386), head (amd64/i386) PR: 205446 MFC after: 1 week X-MFC to:

svn commit: r292493 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 04:32:30 2015 New Revision: 292493 URL: https://svnweb.freebsd.org/changeset/base/292493 Log: Don't run test-fma on i386 It completely fails all assertions on i386 on both stable/9 and stable/10 PR: 205448 MFC after: 1 week X-MFC to: stable/10

svn commit: r292487 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 03:06:29 2015 New Revision: 292487 URL: https://svnweb.freebsd.org/changeset/base/292487 Log: Update the test list after r292328 Add test-invtrig to the list of tests Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r292500 - head/share/mk

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 05:38:06 2015 New Revision: 292500 URL: https://svnweb.freebsd.org/changeset/base/292500 Log: Simplify Kyuafile generation logic with KYUAFILE == auto and related complexity with variables MFC after: 1 week Differential Revision:

svn commit: r292491 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 04:17:54 2015 New Revision: 292491 URL: https://svnweb.freebsd.org/changeset/base/292491 Log: Disable test-ctrig.t testcases which fail assertions on i386 [*] Also, don't compile the exp2l(3) testcases on platforms that don't support the libcall (technically

svn commit: r292496 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 04:52:53 2015 New Revision: 292496 URL: https://svnweb.freebsd.org/changeset/base/292496 Log: Skip the testcases on i386 (all the assertions fail) [*] Also, don't compile the ldexpl(3) testcases on platforms that don't support the libcall (technically only

svn commit: r292504 - head/share/mk

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 06:01:53 2015 New Revision: 292504 URL: https://svnweb.freebsd.org/changeset/base/292504 Log: Deal with another hardcoded reference to Kyuafile in the KYUAFILE == auto case Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff)

svn commit: r292507 - head/share/mk

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 06:26:15 2015 New Revision: 292507 URL: https://svnweb.freebsd.org/changeset/base/292507 Log: - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1) - Use LOCALBASE instead of hardcoding /usr/local for perl MFC after: 1 week Differential

svn commit: r292480 - head/etc/mtree

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sat Dec 19 23:02:18 2015 New Revision: 292480 URL: https://svnweb.freebsd.org/changeset/base/292480 Log: Fix whitespace issues in BSD.usr.dist introduced in r291455 Sponsored by: EMC / Isilon Storage Division Modified: head/etc/mtree/BSD.usr.dist Modified:

svn commit: r292486 - head/sys/boot/i386/libi386

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 02:46:51 2015 New Revision: 292486 URL: https://svnweb.freebsd.org/changeset/base/292486 Log: Add missing smbios.h #include to mute a -Wimplicit-function-declaration warning after r279222 Reported by: Jenkins Sponsored by: EMC / Isilon Storage Division

svn commit: r292495 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 04:42:55 2015 New Revision: 292495 URL: https://svnweb.freebsd.org/changeset/base/292495 Log: Initialize j so it doesn't print out a garbage index Use it consistently instead of i in the first loop MFC after: 3 days X-MFC with: 292492 Sponsored by:

svn commit: r292494 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 04:41:17 2015 New Revision: 292494 URL: https://svnweb.freebsd.org/changeset/base/292494 Log: Skip infinities testcases that fail assertions on amd64 only on CURRENT PR: 205448 MFC after: never Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r292497 - in head: lib/msun/tests tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 05:06:44 2015 New Revision: 292497 URL: https://svnweb.freebsd.org/changeset/base/292497 Log: Integrate the remaining tools/regression/lib/msun testcases into the FreeBSD test suite under lib/msun/tests MFC after: 3 weeks X-MFC with: r292328 Sponsored

svn commit: r292502 - head

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 05:52:03 2015 New Revision: 292502 URL: https://svnweb.freebsd.org/changeset/base/292502 Log: Always expose LOCALBASE, not just when CROSS_TOOLCHAIN is defined Instead of using which(1) to look for doxygen, look for it in /bin . $PATH gets mangled by make

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