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:

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

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:

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:

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:

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

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

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

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

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:

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

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:

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

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:

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

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

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

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

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

2015-12-09 Thread Garrett Cooper
> On Dec 8, 2015, at 23:23, Bruce Evans <b...@optusnet.com.au> wrote: > >> On Tue, 8 Dec 2015, Garrett Cooper wrote: >> >> Author: ngie >> ... >> >> Log: >> Fix compilation when -DDEBUG is defined by adding inttypes.h #include >

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:

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

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

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

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

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:

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:

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

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:

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:

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

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 /

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

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

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

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

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:

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

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:

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 style ones - Add a missing return type for main(..) MFC after: 1 week Sponsored by: EMC / Isilon Storage

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

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 style ones MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

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

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

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.

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:

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:

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

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

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

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

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

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

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:

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

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

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

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:

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:

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

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: 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: r291172 - head/lib/libc/tests/net

2015-11-22 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 07:57:41 2015 New Revision: 291172 URL: https://svnweb.freebsd.org/changeset/base/291172 Log: Use __MAKE_SHELL instead of HOST_SHELL when generating aton_ether_subr.c (HOST_SHELL is used in NetBSD) This fixes permission denied issues when gen_ether_subr is

svn commit: r291165 - head/sys/modules/ipoib

2015-11-22 Thread Garrett Cooper
Author: ngie Date: Sun Nov 22 23:07:07 2015 New Revision: 291165 URL: https://svnweb.freebsd.org/changeset/base/291165 Log: Don't explicitly set INET/INET6 in the Makefile; opt_inet.h and opt_inet6.h already do this MFC after: never (depends on kern.opts.mk; will not be MFCed probably)

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

2015-11-22 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 00:40:08 2015 New Revision: 291169 URL: https://svnweb.freebsd.org/changeset/base/291169 Log: Bump .Dd Modified: head/share/man/man4/mlx5en.4 Modified: head/share/man/man4/mlx5en.4 ==

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

2015-11-22 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 00:39:48 2015 New Revision: 291168 URL: https://svnweb.freebsd.org/changeset/base/291168 Log: - Fix bad double space between HW and LRO - Fix improperly capitalized `interface` MFC after: 1 week Modified: head/share/man/man4/mlx5en.4 Modified:

svn commit: r291167 - head/share/man/man9

2015-11-22 Thread Garrett Cooper
Author: ngie Date: Sun Nov 22 23:16:15 2015 New Revision: 291167 URL: https://svnweb.freebsd.org/changeset/base/291167 Log: Bump .Dd Modified: head/share/man/man9/style.9 Modified: head/share/man/man9/style.9 == ---

svn commit: r291166 - head/share/man/man9

2015-11-22 Thread Garrett Cooper
Author: ngie Date: Sun Nov 22 23:15:44 2015 New Revision: 291166 URL: https://svnweb.freebsd.org/changeset/base/291166 Log: Recommend cc -Wall instead of gcc -Wall MFC after: 1 week Modified: head/share/man/man9/style.9 Modified: head/share/man/man9/style.9

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

2015-11-22 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 00:43:23 2015 New Revision: 291170 URL: https://svnweb.freebsd.org/changeset/base/291170 Log: Install mce(4) and mlx5en(4) if MK_OFED != no MFC after: 1 week Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile

svn commit: r291047 - head/sys/ofed/drivers/net/mlx4

2015-11-18 Thread Garrett Cooper
Author: ngie Date: Thu Nov 19 01:08:16 2015 New Revision: 291047 URL: https://svnweb.freebsd.org/changeset/base/291047 Log: Don't leak work if __mlx4_register_vlan(..) fails in mlx4_master_immediate_activate_vlan_qos(..) MFC after: 3 days Differential Revision:

svn commit: r291038 - head/lib/libc/tests/net

2015-11-18 Thread Garrett Cooper
Author: ngie Date: Wed Nov 18 23:42:44 2015 New Revision: 291038 URL: https://svnweb.freebsd.org/changeset/base/291038 Log: Do not print out errno if the call succeeded unexpectedly; this was a mistake made in r290868 MFC after: 4 days X-MFC with: r290563, r290868 Reported by: jilles

Re: svn commit: r290976 - head

2015-11-17 Thread Garrett Cooper
> On Nov 17, 2015, at 04:18, Baptiste Daroussin wrote: > > Author: bapt > Date: Tue Nov 17 12:18:57 2015 > New Revision: 290976 > URL: https://svnweb.freebsd.org/changeset/base/290976 > > Log: > install(1) is following symlinks when installing a files, which result in >

Re: svn commit: r290931 - head/usr.sbin/ypldap

2015-11-16 Thread Garrett Cooper
> On Nov 16, 2015, at 08:48, Craig Rodrigues wrote: > > Author: rodrigc > Date: Mon Nov 16 16:48:43 2015 > New Revision: 290931 > URL: https://svnweb.freebsd.org/changeset/base/290931 > > Log: > Import ypldap from OpenBSD. > > ypldap -- Intended to be a drop-in

svn commit: r290868 - head/lib/libc/tests/net

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 18:45:04 2015 New Revision: 290868 URL: https://svnweb.freebsd.org/changeset/base/290868 Log: Fix -Wformat issues X-MFC with: r290563 MFC after: 1 week Reported by: gcc Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r290870 - head/share/mk

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 18:51:48 2015 New Revision: 290870 URL: https://svnweb.freebsd.org/changeset/base/290870 Log: Add NO_WERROR and WARNS to PROG_OVERRIDE_VARS for bsd.prog.mk compatibility MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

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

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 18:56:58 2015 New Revision: 290871 URL: https://svnweb.freebsd.org/changeset/base/290871 Log: Disable -Wformat with scanfloat_test when compiling with gcc to avoid a "use of assignment suppression and length modifier together in scanf format" warning on line 90

svn commit: r290908 - head/lib/libcrypt/tests

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 04:06:14 2015 New Revision: 290908 URL: https://svnweb.freebsd.org/changeset/base/290908 Log: Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSD test suite as lib/libcrypt/crypt_test MFC after: 1 week Sponsored by: EMC / Isilon Storage

svn commit: r290909 - head/lib/libc/tests/sys

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 04:15:39 2015 New Revision: 290909 URL: https://svnweb.freebsd.org/changeset/base/290909 Log: Add some initial tests for SLIST and STAILQ macros MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Added: head/lib/libc/tests/sys/queue_test.c

svn commit: r290911 - head/contrib/netbsd-tests/kernel

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 04:53:13 2015 New Revision: 290911 URL: https://svnweb.freebsd.org/changeset/base/290911 Log: Ignore EINTR from usleep(3) in try_locks(..) NetBSD's usleep(3) only returns -1/sets errno=EINVAL when `microseconds` is one million or more MFC after: 3 days

svn commit: r290913 - head/contrib/netbsd-tests/kernel

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 05:28:14 2015 New Revision: 290913 URL: https://svnweb.freebsd.org/changeset/base/290913 Log: Port contrib/netbsd-tests/kernel/t_mqueue.c to FreeBSD - Add missing headers - Ensure mqueuefs is loaded - Make sure the mqueuefs path is absolute and relative to

svn commit: r290905 - in head: etc/mtree tests/sys/kern tests/sys/kern/acct

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 03:32:12 2015 New Revision: 290905 URL: https://svnweb.freebsd.org/changeset/base/290905 Log: Integrate acct(2) testcase in as tests/sys/kern/acct/acct_test The :encode_tv_random_million testcase fails the epsilon tests a few thousand times out of one

svn commit: r290907 - head/contrib/netbsd-tests/lib/libcrypt

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 04:04:05 2015 New Revision: 290907 URL: https://svnweb.freebsd.org/changeset/base/290907 Log: Expect all testcases dealing with invalid salts to fail on FreeBSD MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

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

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 04:56:14 2015 New Revision: 290912 URL: https://svnweb.freebsd.org/changeset/base/290912 Log: Integrate contrib/netbsd-tests/kernel/t_lockf.c into the FreeBSD test suite as tests/sys/kern/lockf_test MFC after: 1 week Sponsored by: EMC / Isilon Storage

svn commit: r290914 - in head: etc/mtree tests/sys/kern tests/sys/kern/pipe tools/regression/pipe

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 05:38:40 2015 New Revision: 290914 URL: https://svnweb.freebsd.org/changeset/base/290914 Log: Integrate tools/regression/pipe in to the FreeBSD test suite as tests/sys/kern/pipe - Fix style(9) bugs - Fix compiler warnings - Use `nitems(x)` instead of

svn commit: r290922 - head/tools/regression/acct

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Mon Nov 16 06:56:45 2015 New Revision: 290922 URL: https://svnweb.freebsd.org/changeset/base/290922 Log: Remove directory made obsolete by r290905 MFC after: 1 week X-MFC with: r290905 X-MFC note: stable/10 only Sponsored by: EMC / Isilon Storage Division Deleted:

svn commit: r290869 - head/contrib/netbsd-tests/lib/libc/regex

2015-11-15 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 18:49:31 2015 New Revision: 290869 URL: https://svnweb.freebsd.org/changeset/base/290869 Log: Redo r290847: use #ifdef __NetBSD__ on all the non-public APIs to mute -Wunused-but-set-variable warnings with gcc dealing with the function calls X-MFC with:

svn commit: r290851 - in head/lib/libc/tests: . locale

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 05:21:58 2015 New Revision: 290851 URL: https://svnweb.freebsd.org/changeset/base/290851 Log: Change WARNS to 2 across the board with all the libc testcases This effectively "reverts" r290846 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division

svn commit: r290848 - head/lib/libc/tests/gen

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 05:02:41 2015 New Revision: 290848 URL: https://svnweb.freebsd.org/changeset/base/290848 Log: Fix -Wunused warnings MFC after: 1 week X-MFC with: r290572 Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/tests/gen/ftw_test.c

svn commit: r290847 - in head/contrib/netbsd-tests/lib/libc: gen regex

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 05:00:32 2015 New Revision: 290847 URL: https://svnweb.freebsd.org/changeset/base/290847 Log: Fix -Wunused warnings with variables used unlit code by adding appropriate #ifdef guards around the variables MFC after: 3 days Sponsored by: EMC / Isilon

svn commit: r290840 - head/etc

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 03:04:39 2015 New Revision: 290840 URL: https://svnweb.freebsd.org/changeset/base/290840 Log: Setup the symlink to /sys to mirror one's current source, e.g. if my source tree was /usr/src/svn, /sys would point to usr/src/svn This fixes the assumption that

svn commit: r290843 - head/lib/libc/tests/locale

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 04:33:14 2015 New Revision: 290843 URL: https://svnweb.freebsd.org/changeset/base/290843 Log: Polish up the tests a bit more after projects/collation was merged to head Provide more meaningful diagnostic messages if LC_CTYPE can't be set properly instead of

svn commit: r290850 - head/contrib/netbsd-tests/lib/libc/rpc

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 05:19:41 2015 New Revision: 290850 URL: https://svnweb.freebsd.org/changeset/base/290850 Log: Cast xdr_void to xdrproc_t to mute -Wincompatible-pointer-types warnings from clang This pattern is used in other areas of lib/libc/rpc MFC after: 1 week

svn commit: r290844 - head/lib/libc/tests/locale

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 04:50:08 2015 New Revision: 290844 URL: https://svnweb.freebsd.org/changeset/base/290844 Log: Polish up iswctype_test - Split up the testcases into C locale and ja_JP.eucJP testcases. - Avoid a segfault in the event that setlocale fails, similar to r290843

svn commit: r290845 - head/lib/libc/tests/locale

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 04:50:54 2015 New Revision: 290845 URL: https://svnweb.freebsd.org/changeset/base/290845 Log: Remove unused variables; sort by alignment where needed MFC after: 1 week X-MFC with: r290532 Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r290846 - head/lib/libc/tests/locale

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 04:51:14 2015 New Revision: 290846 URL: https://svnweb.freebsd.org/changeset/base/290846 Log: Bump WARNS to 2 MFC after: 1 week X-MFC with: r290532 Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/tests/locale/Makefile Modified:

svn commit: r290849 - head/lib/libc/tests/gen

2015-11-14 Thread Garrett Cooper
Author: ngie Date: Sun Nov 15 05:13:33 2015 New Revision: 290849 URL: https://svnweb.freebsd.org/changeset/base/290849 Log: Fix -Wmissing-braces warnings by adding braces around all the testcase inputs MFC after: 1 week X-MFC with: r290572 Sponsored by: EMC / Isilon Storage Division

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