svn commit: r291180 - head/tests/sys/kern/acct

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 09:15:20 2015 New Revision: 291180 URL: https://svnweb.freebsd.org/changeset/base/291180 Log: Fix up convert.c generation - Use a temporary file for convert.c to reduce likelihood of an interrupted build resulting in bad code being written to convert.c -

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

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 09:17:25 2015 New Revision: 291181 URL: https://svnweb.freebsd.org/changeset/base/291181 Log: Integrate contrib/netbsd-tests/kernel/t_mqueue into the FreeBSD test suite as tests/sys/kern/mqueue_test MFC after: 1 week Modified: head/tests/sys/kern/Makefile

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

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 19:44:39 2015 New Revision: 291220 URL: https://svnweb.freebsd.org/changeset/base/291220 Log: Revert r291170 The mlx5* driver(s) are built [*]/installed separate from the OFED stack thanks to recent refactoring done in the linuxkpi(4) module. Always ins

svn commit: r291296 - head/lib/libc/locale

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Wed Nov 25 09:12:30 2015 New Revision: 291296 URL: https://svnweb.freebsd.org/changeset/base/291296 Log: Link localeconv(3) to localeconv_l(3) MFC after: 3 days Modified: head/lib/libc/locale/Makefile.inc Modified: head/lib/libc/locale/Makefile.inc ===

svn commit: r291335 - head/sys/net

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Wed Nov 25 21:16:10 2015 New Revision: 291335 URL: https://svnweb.freebsd.org/changeset/base/291335 Log: Fix building sys/modules/if_enc by adding missing headers X-MFC with: r291292, r291299 (if that ever happens) Pointyhat to: ae Modified: head/sys/net/if_enc.c Mo

svn commit: r291337 - head/lib/libc/stdio

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Wed Nov 25 22:07:18 2015 New Revision: 291337 URL: https://svnweb.freebsd.org/changeset/base/291337 Log: Link fclose(3) to fdclose(3) X-MFC with: r285140 MFC after: 3 weeks (need to evaluate whether or not r285140 can be MFCed) Sponsored by: EMC / Isilon Storage Divis

svn commit: r291359 - head/tools/regression/lib/libc/resolv

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Thu Nov 26 07:03:59 2015 New Revision: 291359 URL: https://svnweb.freebsd.org/changeset/base/291359 Log: Skip over lines that start with # (comments) MFC after: 3 days Modified: head/tools/regression/lib/libc/resolv/resolv.c Modified: head/tools/regression/lib/libc/re

svn commit: r291358 - in head/tools/regression/lib/libc: nss resolv

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Thu Nov 26 07:03:26 2015 New Revision: 291358 URL: https://svnweb.freebsd.org/changeset/base/291358 Log: Remove cnftp.bjpu.edu.cn (it no longer resolves) Add localhost to resolv/mach for parity with nss/mach MFC after: 3 days Modified: head/tools/regression/lib/libc/

svn commit: r291362 - head/tools/regression/lib/libc/resolv

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Thu Nov 26 07:58:22 2015 New Revision: 291362 URL: https://svnweb.freebsd.org/changeset/base/291362 Log: r291359 was incorrect. Skip over tokens that start with `#' as fgetln can return more than one '\n' delimited line in a buffer Handle empty lines too, just in case

svn commit: r291363 - head/tools/regression/lib/libc/nss

2015-11-26 Thread Garrett Cooper
Author: ngie Date: Thu Nov 26 08:58:13 2015 New Revision: 291363 URL: https://svnweb.freebsd.org/changeset/base/291363 Log: Clean up trailing whitespace MFC after: 1 week Modified: head/tools/regression/lib/libc/nss/test-getaddr.c head/tools/regression/lib/libc/nss/test-getgr.c head/

svn commit: r291472 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Mon Nov 30 08:02:52 2015 New Revision: 291472 URL: https://svnweb.freebsd.org/changeset/base/291472 Log: Fix the build ichan is only used if AH_DEBUG_ALQ if defined Pointyhat to: adrian Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_radio.c Modified: he

svn commit: r291491 - head/rescue/rescue

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Mon Nov 30 16:34:13 2015 New Revision: 291491 URL: https://svnweb.freebsd.org/changeset/base/291491 Log: Fix the build after ifconfig was converted over to lib80211 in r291470 Reported by: jenkins, O. Hartmann Pointyhat to: adrian Modified: head/rescue/rescue/Makefi

svn commit: r291568 - head/etc

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 06:22:27 2015 New Revision: 291568 URL: https://svnweb.freebsd.org/changeset/base/291568 Log: Revert r290840 This request by the submitter was valid, but unfortunately there is a good deal of concern over breakage when DESTDIR != / or "", i.e. with release m

svn commit: r291566 - in head: . lib/libelf

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 06:09:22 2015 New Revision: 291566 URL: https://svnweb.freebsd.org/changeset/base/291566 Log: Move libelf.so.2 from /usr/lib to /lib to unbreak libkvm use after r291406 Tested with the following commands as root: - yes | make delete-old - service ldconfig r

svn commit: r291565 - head/sys/net

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 05:59:53 2015 New Revision: 291565 URL: https://svnweb.freebsd.org/changeset/base/291565 Log: Fix LINT-NOIP kernels after r291467 rn is only used if INET or INET6 are defined Sponsored by: EMC / Isilon Storage Division Modified: head/sys/net/route.c Mo

svn commit: r291575 - head/tests/sys/mqueue

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 07:52:41 2015 New Revision: 291575 URL: https://svnweb.freebsd.org/changeset/base/291575 Log: Disable mqueue test # 3 and # 4 until __mq_oshandle is properly publicized This will unbreak the test script and make things green again after r291440 Sponsored b

svn commit: r291609 - head/usr.bin/rctl

2015-12-01 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 19:37:24 2015 New Revision: 291609 URL: https://svnweb.freebsd.org/changeset/base/291609 Log: Fix typos in error messages dealing with unknown groups/users MFC after: 1 month X-MFC with: r291447, r291452 Sponsored by: EMC / Isilon Storage Division Modified

svn commit: r291681 - head/share/mk

2015-12-02 Thread Garrett Cooper
Author: ngie Date: Thu Dec 3 07:42:00 2015 New Revision: 291681 URL: https://svnweb.freebsd.org/changeset/base/291681 Log: Fix a typo in a comment (spacial -> special) Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/src.libnames.mk Modified: head/share/mk/src.libnam

svn commit: r291753 - head/sys/ofed/drivers/infiniband/hw/mthca

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:01:58 2015 New Revision: 291753 URL: https://svnweb.freebsd.org/changeset/base/291753 Log: Fix scope of bridge_header and bridge_pcix_cap in mthca_reset(..) They're only used in the __linux__ case Differential Revision: https://reviews.freebsd.org/D4332

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Garrett Cooper
> On Dec 4, 2015, at 12:42, Bruce Evans wrote: ... > I wouldn't trust style(9) for anything except simple formatting, but > look at the subsystem(s) style. Just the top level of geom has 11000+ > lines which can be considered as giving about 20 times more examples > than style(9). It would be

svn commit: r291832 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 01:12:58 2015 New Revision: 291832 URL: https://svnweb.freebsd.org/changeset/base/291832 Log: Fix -Wformat warnings by using the correct format qualifiers MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/grot/debu

svn commit: r291833 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 01:13:18 2015 New Revision: 291833 URL: https://svnweb.freebsd.org/changeset/base/291833 Log: - Use ANSI C function prototypes/definitions instead of K&R style ones - Add a missing return type for main(..) MFC after: 1 week Sponsored by: EMC / Isilon Storag

svn commit: r291834 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 01:19:35 2015 New Revision: 291834 URL: https://svnweb.freebsd.org/changeset/base/291834 Log: Add missing headers and sort #includes per style(9) MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/grot/main.c Modif

svn commit: r291835 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:07:55 2015 New Revision: 291835 URL: https://svnweb.freebsd.org/changeset/base/291835 Log: Use ANSI C function prototypes/definitions instead of K&R style ones MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/g

svn commit: r291836 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:18:36 2015 New Revision: 291836 URL: https://svnweb.freebsd.org/changeset/base/291836 Log: Use `==` instead of `=` in the function comment above split(..) so mkh -p exposes split(..). MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modifie

svn commit: r291837 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:23:44 2015 New Revision: 291837 URL: https://svnweb.freebsd.org/changeset/base/291837 Log: split.ih: - Create automatically generated include header for split.c main.c: - Use function definitions from debug.ih and split.ih instead of externs Sponsor

svn commit: r291838 - head/lib/libc/regex/grot

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 02:25:20 2015 New Revision: 291838 URL: https://svnweb.freebsd.org/changeset/base/291838 Log: Fix -Wformat issues and minor whitespace issues in surrounding areas MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/regex/g

svn commit: r291839 - head/lib/libc/tests/stdio

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 04:10:15 2015 New Revision: 291839 URL: https://svnweb.freebsd.org/changeset/base/291839 Log: Initialize errno to 0 in the nul testcase before testing it For some odd reason stable/10 requires this, otherwise it always fails the errno == 0 check on line 196.

Re: svn commit: r291860 - in head/tools/tools/nanobsd: . embedded

2015-12-05 Thread Garrett Cooper
> On Dec 5, 2015, at 09:26, Benjamin Kaduk wrote: ... >> - [ ! -z "${NANO_NOPRIV_BUILD" ] && [ -z "${NANO_METALOG}"] && \ >> + [ ! -z "${NANO_NOPRIV_BUILD}" ] && [ -z "${NANO_METALOG}"] && \ > > Hmm, is there still a missing space between '"' and ']' in the second clause? Yup. Sti

svn commit: r291876 - head/sys/boot/uboot/common

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 23:59:30 2015 New Revision: 291876 URL: https://svnweb.freebsd.org/changeset/base/291876 Log: Remove stray unescaped `%` in `Booting from ...` informational message PR: 204944 MFC after: 1 week X-MFC with: r291164 Reported by: David Binderman Sponsored

svn commit: r291891 - head/share/man/man7

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sun Dec 6 06:53:37 2015 New Revision: 291891 URL: https://svnweb.freebsd.org/changeset/base/291891 Log: Use .Fx instead of explicitly spelling out FreeBSD Fix several warnings reported by igor MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified

svn commit: r291892 - head/share/mk

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sun Dec 6 07:00:23 2015 New Revision: 291892 URL: https://svnweb.freebsd.org/changeset/base/291892 Log: Remove redundant default TESTSDIR that is already defined in bsd.test.mk after r289158 MFC after: 1 week X-MFC with: r289158 Sponsored by: EMC / Isilon Storage D

svn commit: r291896 - head/share/mk

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sun Dec 6 07:30:18 2015 New Revision: 291896 URL: https://svnweb.freebsd.org/changeset/base/291896 Log: Remove unused atf.test.mk variables - ATF_BUILD_CC - ATF_BUILD_CPP - ATF_BUILD_CXX - ATF_SHELL - ATF_PREFIX MFC after: 1 week Sponsored by: EMC / Isilon

svn commit: r291908 - head/sbin/newfs_msdos

2015-12-06 Thread Garrett Cooper
Author: ngie Date: Sun Dec 6 21:07:33 2015 New Revision: 291908 URL: https://svnweb.freebsd.org/changeset/base/291908 Log: Fix leak in mkfs_msdos(..) by initializing img to NULL and free'ing at the end of the function Differential Revision: https://reviews.freebsd.org/D4405 MFC after:

svn commit: r291919 - head/bin/ls/tests

2015-12-06 Thread Garrett Cooper
Author: ngie Date: Mon Dec 7 04:03:01 2015 New Revision: 291919 URL: https://svnweb.freebsd.org/changeset/base/291919 Log: Enable bin/ls testcases disabled previously because of issues with how kyua 0.11's version of report-junit was rendering non-printable characters Upgrade to kyua 0.1

Re: svn commit: r291952 - head

2015-12-07 Thread Garrett Cooper
> On Dec 7, 2015, at 10:45, Bryan Drewery wrote: > > Author: bdrewery > Date: Mon Dec 7 18:45:55 2015 > New Revision: 291952 > URL: https://svnweb.freebsd.org/changeset/base/291952 > > Log: > Fix spelling of internal hack. > > Reported by:ngie Thanks :)! ___

Re: svn commit: r291929 - head/tools/tools/nanobsd

2015-12-07 Thread Garrett Cooper
> On Dec 7, 2015, at 10:13, Ian Lepore wrote: > >> On Mon, 2015-12-07 at 10:24 +, Warner Losh wrote: >> Author: imp >> Date: Mon Dec 7 10:24:38 2015 >> New Revision: 291929 >> URL: https://svnweb.freebsd.org/changeset/base/291929 >> >> Log: >> Make sure to quote the arg after -n and -z te

svn commit: r291979 - head/lib/libc/gen

2015-12-07 Thread Garrett Cooper
Author: ngie Date: Tue Dec 8 04:40:03 2015 New Revision: 291979 URL: https://svnweb.freebsd.org/changeset/base/291979 Log: Unbreak compiling getnetgrent.c with -DDEBUG after r236402 by adding a missing "}" MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Modified: head/

svn commit: r291980 - head/lib/libc/tests/stdio

2015-12-07 Thread Garrett Cooper
Author: ngie Date: Tue Dec 8 04:45:44 2015 New Revision: 291980 URL: https://svnweb.freebsd.org/changeset/base/291980 Log: Add missing va_ends for corresponding va_starts to clean up variable arguments initialized in _test_fmt(..) MFC after: 3 days Reported by: cppcheck Sponsored by:

svn commit: r291981 - head/lib/libc/tests/stdio

2015-12-07 Thread Garrett Cooper
Author: ngie Date: Tue Dec 8 04:51:21 2015 New Revision: 291981 URL: https://svnweb.freebsd.org/changeset/base/291981 Log: Delete bogus freeing of uninitialized data MFC after: 3 days Reported by: cppcheck Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/tests/std

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

2015-12-07 Thread Garrett Cooper
Author: ngie Date: Tue Dec 8 05:17:22 2015 New Revision: 291982 URL: https://svnweb.freebsd.org/changeset/base/291982 Log: Skip the MAC portacl tests if MAC_PORTACL support is missing instead of marking them failed MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified

svn commit: r291983 - head/tools/regression/tls/ttls2

2015-12-07 Thread Garrett Cooper
Author: ngie Date: Tue Dec 8 05:24:06 2015 New Revision: 291983 URL: https://svnweb.freebsd.org/changeset/base/291983 Log: Fix compilation warnings by adding unistd.h #include and missing return statements MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Modified: head/

svn commit: r291984 - head/tools/regression/tls/ttls4

2015-12-07 Thread Garrett Cooper
Author: ngie Date: Tue Dec 8 05:27:22 2015 New Revision: 291984 URL: https://svnweb.freebsd.org/changeset/base/291984 Log: Add missing stdlib.h header Apply some minor style(9) fixes MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/tls

svn commit: r292004 - head/lib/libc/stdio

2015-12-08 Thread Garrett Cooper
Author: ngie Date: Tue Dec 8 22:47:54 2015 New Revision: 292004 URL: https://svnweb.freebsd.org/changeset/base/292004 Log: Fix compilation when -DDEBUG is defined by adding inttypes.h #include for intmax_t MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D4434 Rep

svn commit: r292005 - head/sbin/swapon

2015-12-08 Thread Garrett Cooper
Author: ngie Date: Wed Dec 9 01:24:34 2015 New Revision: 292005 URL: https://svnweb.freebsd.org/changeset/base/292005 Log: Call va_end on ap when vsnprintf fails in run_cmd(..) to clean up the variable state MFC after: 1 week Reported by: cppcheck Sponsored by: EMC / Isilon Storage D

Re: svn commit: r292004 - head/lib/libc/stdio

2015-12-09 Thread Garrett Cooper
> On Dec 8, 2015, at 23:23, Bruce Evans wrote: > >> On Tue, 8 Dec 2015, Garrett Cooper wrote: >> >> Author: ngie >> ... >> >> Log: >> Fix compilation when -DDEBUG is defined by adding inttypes.h #include >> for intmax_t > > Wrong in

svn commit: r292013 - head/lib/libc/stdio

2015-12-09 Thread Garrett Cooper
Author: ngie Date: Wed Dec 9 09:14:57 2015 New Revision: 292013 URL: https://svnweb.freebsd.org/changeset/base/292013 Log: Use stdint.h instead of inttypes.h as the latter pollutes namespace more MFC after: 3 days X-MFC with: r292004 Submitted by: bde Sponsored by: EMC / Isilon Stora

svn commit: r292048 - head/sbin/geom/class/multipath

2015-12-09 Thread Garrett Cooper
Author: ngie Date: Thu Dec 10 07:04:36 2015 New Revision: 292048 URL: https://svnweb.freebsd.org/changeset/base/292048 Log: Don't leak rsector/sector in mp_label(..) Use calloc instead of malloc + memset(.., 0, ..) when allocating sector Differential Revision: https://reviews.freebsd.o

svn commit: r292153 - head/lib/libc/regex/grot

2015-12-12 Thread Garrett Cooper
Author: ngie Date: Sun Dec 13 06:33:52 2015 New Revision: 292153 URL: https://svnweb.freebsd.org/changeset/base/292153 Log: Add -static to CFLAGS to unbreak the tests by using a libc.a with the xlocale private symbols exposed which aren't exposed publicly via the DSO PR: 191354 MFC af

svn commit: r292250 - head/lib/libc/resolv

2015-12-14 Thread Garrett Cooper
Author: ngie Date: Tue Dec 15 05:37:09 2015 New Revision: 292250 URL: https://svnweb.freebsd.org/changeset/base/292250 Log: Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its definition MFC after: 3 days Reviewed by:

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

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 09:11:11 2015 New Revision: 292328 URL: https://svnweb.freebsd.org/changeset/base/292328 Log: Integrate a number of testcases from tools/regression/lib/msun into the FreeBSD test suite There's no functional change with these testcases; they're purposely bei

svn commit: r292324 - head/lib/libc/tests

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 08:25:12 2015 New Revision: 292324 URL: https://svnweb.freebsd.org/changeset/base/292324 Log: Iterate down lib/libc/tests/nss... MFC after: 1 week X-MFC with: r292323 Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/tests/Makefile Mod

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

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 08:53:24 2015 New Revision: 292327 URL: https://svnweb.freebsd.org/changeset/base/292327 Log: Use fabsl instead of fabs to mute -Wabsolute-value warnings from clang because `nums[]` is an array of long doubles MFC after: 1 week Sponsored by: EMC / Isilon St

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

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 05:19:07 2015 New Revision: 292318 URL: https://svnweb.freebsd.org/changeset/base/292318 Log: Add Makefile accidentally missed in r292317 MFC after: 1 week X-MFC with: r292317 Sponsored by: EMC / Isilon Storage Division Added: head/lib/libc/tests/resolv/

svn commit: r292323 - in head: etc/mtree lib/libc/tests/nss tools/regression/lib/libc/nss

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 08:09:03 2015 New Revision: 292323 URL: https://svnweb.freebsd.org/changeset/base/292323 Log: Integrate tools/regression/lib/libc/nss into the FreeBSD test suite as lib/libc/tests/nss - Convert the testcases to ATF - Do some style(9) cleanups: -- Sort hea

svn commit: r292316 - in head/tools/regression/lib/libc: nss resolv

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 04:59:30 2015 New Revision: 292316 URL: https://svnweb.freebsd.org/changeset/base/292316 Log: Remove hosts that don't resolve properly with the nss and resolv tests MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regressi

svn commit: r292319 - head/tests/freebsd_test_suite

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 05:44:53 2015 New Revision: 292319 URL: https://svnweb.freebsd.org/changeset/base/292319 Log: Add ATF_REQUIRE_FEATURE and PLAIN_REQUIRE_FEATURE macros for testing for kernel features via the feature_present(3) libcall The semantics are similar to the other ma

svn commit: r292317 - in head: etc/mtree lib/libc/tests lib/libc/tests/resolv tools/regression/lib/libc/resolv

2015-12-16 Thread Garrett Cooper
Author: ngie Date: Wed Dec 16 05:11:57 2015 New Revision: 292317 URL: https://svnweb.freebsd.org/changeset/base/292317 Log: Integrate tools/regression/lib/libc/resolv into the FreeBSD test suite as lib/libc/tests/resolv Convert the testcases to ATF MFC after: 1 week Sponsored by: E

Re: svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

2015-12-16 Thread Garrett Cooper
> On Dec 16, 2015, at 08:15, John Baldwin wrote: > >> On Wednesday, December 16, 2015 10:58:47 AM Jonathan T. Looney wrote: >>> On Dec 16, 2015, at 10:08 AM, Randall Stewart wrote: >>> Ahh I think I see this is a difference between our friend >>> clang and gcc.. since I bet ppc uses gcc not cla

Re: svn commit: r292410 - head/usr.sbin/boot0cfg

2015-12-17 Thread Garrett Cooper
> On Dec 17, 2015, at 21:36, luke wrote: > >> On Fri, Dec 18, 2015 at 4:42 AM, John Baldwin wrote: >> Author: jhb >> Date: Thu Dec 17 20:42:05 2015 >> New Revision: 292410 >> URL: https://svnweb.freebsd.org/changeset/base/292410 >> >> Log: >> Exit cleanly if malloc() fails to allocate a buff

Re: svn commit: r292454 - head/bin/ed

2015-12-18 Thread Garrett Cooper
> On Dec 18, 2015, at 15:46, Conrad Meyer wrote: > >> On Fri, Dec 18, 2015 at 2:44 PM, Pedro Giffuni wrote: >> Hi Warner; >> >>> Il giorno 18/dic/2015, alle ore 17:01, Warner Losh ha >>> scritto: >>> >>> Isn’t strlcpy() the more appropriate interface? strncpy doesn’t guarantee >>> NUL term

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: head/etc/mt

svn commit: r292485 - head/share/examples/tests/tests/atf

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 02:36:30 2015 New Revision: 292485 URL: https://svnweb.freebsd.org/changeset/base/292485 Log: Add missing return statement to atf/printf_test to make the example complete and correct, and mute a compiler warning from clang MFC after: 3 days Reported by: Jen

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 Mo

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: head/tools/regression/lib/msun/M

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: stable/1

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: r292492 - head/tools/regression/lib/msun

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 04:28:37 2015 New Revision: 292492 URL: https://svnweb.freebsd.org/changeset/base/292492 Log: - Use nitems instead of handrolling the macro - Use a separate variable for tracking the testcase count instead of hardcoding the offset for the testcases MFC af

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 Sponso

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: head/t

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

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 x8

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

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: https://reviews.freebsd.org

svn commit: r292501 - head/share/mk

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 05:41:12 2015 New Revision: 292501 URL: https://svnweb.freebsd.org/changeset/base/292501 Log: Fix typo in r292500 by adding missing conditional statement MFC after: 1 week X-MFC with: r292500 Pointyhat to: ngie Differential Revision: https://reviews.freeb

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 bu

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) Re

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 Revisio

svn commit: r292508 - head/share/mk

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 06:27:36 2015 New Revision: 292508 URL: https://svnweb.freebsd.org/changeset/base/292508 Log: Document LOCALBASE in the bsd.test.mk section MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Reviewed by: emas

svn commit: r292509 - head/share/mk

2015-12-19 Thread Garrett Cooper
Author: ngie Date: Sun Dec 20 06:29:03 2015 New Revision: 292509 URL: https://svnweb.freebsd.org/changeset/base/292509 Log: Clean up Kyuafile.tmp, not Kyuafile.auto.tmp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Reviewed by: emast

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 Storag

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 MFC

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 Sp

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: head/tools/regres

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 Storage

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 failure;

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

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 (^/onefs/head@r511419)

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

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: 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: https://reviews.fr

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

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

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 wrote: > >> On Mon, Dec 21, 2015 at 12:58 AM, Garrett Cooper wrote: >> Author: ngie >> Date: Mon Dec 21 08:58:14 2015 >> New Revision: 292533 >> URL: https://svnweb.freebsd.org/changeset/base/292533 &g

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

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

<    5   6   7   8   9   10   11   12   13   14   >