svn commit: r292137 - stable/9/sys/ofed/drivers/infiniband/hw/mthca

2015-12-12 Thread Garrett Cooper
Author: ngie Date: Sun Dec 13 03:35:54 2015 New Revision: 292137 URL: https://svnweb.freebsd.org/changeset/base/292137 Log: MFstable/10 r292136: MFC r291753: Fix scope of bridge_header and bridge_pcix_cap in mthca_reset(..) They're only used in the __linux__ case

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: r292049 - stable/10/bin/ls/tests

2015-12-09 Thread Garrett Cooper
Author: ngie Date: Thu Dec 10 07:11:46 2015 New Revision: 292049 URL: https://svnweb.freebsd.org/changeset/base/292049 Log: MFC r291919: Enable bin/ls testcases disabled previously because of issues with how kyua 0.11's version of report-junit was rendering non-printable characters

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: r291874 - stable/10/rescue/rescue

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 22:51:20 2015 New Revision: 291874 URL: https://svnweb.freebsd.org/changeset/base/291874 Log: MFC r289452,r289469: r289452 (by trasz): Add iscsictl(8) and iscsid(8) to rescue(8). The point is to make it easier to build md_root images from rescue(8), to

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: r291878 - stable/9/lib/libc/locale

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sun Dec 6 00:27:35 2015 New Revision: 291878 URL: https://svnweb.freebsd.org/changeset/base/291878 Log: MFstable/10 r291871: MFC r291296: Link localeconv(3) to localeconv_l(3) Modified: stable/9/lib/libc/locale/Makefile.inc Directory Properties: stable/9/

svn commit: r291875 - in stable/9: include include/xlocale lib/libc/locale sys/sys tools/regression/lib/libc/locale

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 22:56:57 2015 New Revision: 291875 URL: https://svnweb.freebsd.org/changeset/base/291875 Log: MFstable/10 r250883,r251314: r250883 (by ed): Add . The header, part of C11, adds a small number of utility functions for 16/32-bit "universal"

svn commit: r291871 - stable/10/lib/libc/locale

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 21:58:21 2015 New Revision: 291871 URL: https://svnweb.freebsd.org/changeset/base/291871 Log: MFC r291296: Link localeconv(3) to localeconv_l(3) Modified: stable/10/lib/libc/locale/Makefile.inc Directory Properties: stable/10/ (props changed) Modified:

svn commit: r291873 - in stable/10: contrib/netbsd-tests/lib/libcrypt lib/libcrypt/tests

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 22:44:07 2015 New Revision: 291873 URL: https://svnweb.freebsd.org/changeset/base/291873 Log: MFC r290908,r291615: r290908: Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSD test suite as lib/libcrypt/crypt_test Sponsored by:

svn commit: r291870 - in stable/10: contrib/netbsd-tests/lib/libc/c063 lib/libc/tests lib/libc/tests/stdio

2015-12-05 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 21:49:35 2015 New Revision: 291870 URL: https://svnweb.freebsd.org/changeset/base/291870 Log: MFC r283801,r290846,r290851,r290856,r290860: r283801 (by araujo): Fix warning of implicit declaration of function 'mkdir'. Differential Revision:

svn commit: r291756 - stable/9/share/man/man9

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:08:39 2015 New Revision: 291756 URL: https://svnweb.freebsd.org/changeset/base/291756 Log: MFstable/10 r291754: MFC r284527,r284528,r284608,r285219,r291166,r291167: r284527 (by imp): Update style.9 to reflect consensus on developer's mailing list

svn commit: r291755 - in stable/9/lib/libc: rpc stdio

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:07:54 2015 New Revision: 291755 URL: https://svnweb.freebsd.org/changeset/base/291755 Log: MFstable/10 r291573: MFC r278932: r278932 (by pfg): libc: clean some set-but-not-used errors. These were found by gcc 5.0 on Dragonfly BSD, however I

svn commit: r291754 - stable/10/share/man/man9

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:07:18 2015 New Revision: 291754 URL: https://svnweb.freebsd.org/changeset/base/291754 Log: MFC r284527,r284528,r284608,r285219,r291166,r291167: r284527 (by imp): Update style.9 to reflect consensus on developer's mailing list allowing redundant

svn commit: r291763 - stable/10/tests/sys/kern/acct

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:29:47 2015 New Revision: 291763 URL: https://svnweb.freebsd.org/changeset/base/291763 Log: MFC r291180: Fix up convert.c generation - Use a temporary file for convert.c to reduce likelihood of an interrupted build resulting in bad code being

svn commit: r291759 - stable/10/tools/regression/lib/libc/nss

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:18:12 2015 New Revision: 291759 URL: https://svnweb.freebsd.org/changeset/base/291759 Log: MFC r291363: Clean up trailing whitespace Modified: stable/10/tools/regression/lib/libc/nss/test-getaddr.c stable/10/tools/regression/lib/libc/nss/test-getgr.c

svn commit: r291760 - stable/9/tools/regression/lib/libc/nss

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:18:59 2015 New Revision: 291760 URL: https://svnweb.freebsd.org/changeset/base/291760 Log: MFstable/10 r291759: MFC r291363: Clean up trailing whitespace Modified: stable/9/tools/regression/lib/libc/nss/test-getaddr.c

svn commit: r291764 - in stable/10: contrib/netbsd-tests/kernel tests/sys/kern

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:32:03 2015 New Revision: 291764 URL: https://svnweb.freebsd.org/changeset/base/291764 Log: MFC r290913,r291181: r290913: Port contrib/netbsd-tests/kernel/t_mqueue.c to FreeBSD - Add missing headers - Ensure mqueuefs is loaded - Make sure the

svn commit: r291758 - in stable/10/tools/regression/lib/libc: nss resolv

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:10:49 2015 New Revision: 291758 URL: https://svnweb.freebsd.org/changeset/base/291758 Log: MFC r291358: Remove cnftp.bjpu.edu.cn (it no longer resolves) Add localhost to resolv/mach for parity with nss/mach Modified:

svn commit: r291765 - in stable/9/tools/regression/lib/libc: nss resolv

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 10:02:14 2015 New Revision: 291765 URL: https://svnweb.freebsd.org/changeset/base/291765 Log: MFstable/10 r291758: MFC r291358: Remove cnftp.bjpu.edu.cn (it no longer resolves) Add localhost to resolv/mach for parity with nss/mach Modified:

svn commit: r291761 - stable/10/tools/regression/lib/libc/resolv

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:25:13 2015 New Revision: 291761 URL: https://svnweb.freebsd.org/changeset/base/291761 Log: MFC r291359,r291362: r291359: Skip over lines that start with # (comments) r291362: r291359 was incorrect. Skip over tokens that start with `#' as

svn commit: r291762 - stable/9/tools/regression/lib/libc/resolv

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Fri Dec 4 09:27:56 2015 New Revision: 291762 URL: https://svnweb.freebsd.org/changeset/base/291762 Log: MFstable/10 r243346,r291761: r243346 (by emaste): Non-void function should return a value. Found by: clang r291761: MFC r291359,r291362:

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: r291841 - stable/10/tools/regression/lib/libc/stdio

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 04:19:40 2015 New Revision: 291841 URL: https://svnweb.freebsd.org/changeset/base/291841 Log: Remove stale tools/regression directory that should have been deleted in r291840 Sponsored by: EMC / Isilon Storage Division Deleted:

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: r291840 - stable/10/lib/libc/tests/stdio

2015-12-04 Thread Garrett Cooper
Author: ngie Date: Sat Dec 5 04:17:40 2015 New Revision: 291840 URL: https://svnweb.freebsd.org/changeset/base/291840 Log: MFC r290537,r290540,r290560,r290856,r290871,r291839: r290537: Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite as lib/libc/tests/stdio

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: r291602 - in stable/10: include lib/libc/stdio

2015-12-01 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 18:19:23 2015 New Revision: 291602 URL: https://svnweb.freebsd.org/changeset/base/291602 Log: MFC r285140: r285140 (by oshogbo): Add fdclose(3) function. This function is equivalent to fclose(3) function except that it does not close the underlying

svn commit: r291604 - in stable/10: bin/sh/tests bin/sh/tests/builtins bin/sh/tests/errors bin/sh/tests/execution bin/sh/tests/expansion bin/sh/tests/parameters bin/sh/tests/parser bin/sh/tests/set...

2015-12-01 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 18:27:38 2015 New Revision: 291604 URL: https://svnweb.freebsd.org/changeset/base/291604 Log: MFC r269902,r270101: r269902: Convert bin/sh/tests to ATF The new code uses a "test discovery mechanism" to determine what tests are available for

svn commit: r291603 - stable/10/share/examples/tests/tests/plain

2015-12-01 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 18:21:25 2015 New Revision: 291603 URL: https://svnweb.freebsd.org/changeset/base/291603 Log: MFC r285118: r285118 (by jmmv): Add missing shebang Plain test programs are not preprocessed by the build system (as opposed to ATF test cases, which

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: r291572 - stable/10/lib/libc/stdio

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 07:16:05 2015 New Revision: 291572 URL: https://svnweb.freebsd.org/changeset/base/291572 Log: MFC r269326: r269326 (by n_hibma): Fix the example: free the memory that was allocated by getline(). Modified: stable/10/lib/libc/stdio/getline.3 Directory

svn commit: r291573 - in stable/10/lib/libc: rpc stdio

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 07:32:35 2015 New Revision: 291573 URL: https://svnweb.freebsd.org/changeset/base/291573 Log: MFC r278932: r278932 (by pfg): libc: clean some set-but-not-used errors. These were found by gcc 5.0 on Dragonfly BSD, however I made no attempt to silence

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: r291574 - stable/9/lib/libc/stdio

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 07:33:30 2015 New Revision: 291574 URL: https://svnweb.freebsd.org/changeset/base/291574 Log: MFstable/10 r291572: MFC r269326: r269326 (by n_hibma): Fix the example: free the memory that was allocated by getline(). Modified:

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: r291571 - stable/9/lib/libc/stdio

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 06:51:59 2015 New Revision: 291571 URL: https://svnweb.freebsd.org/changeset/base/291571 Log: MFstable/10 r291336: MFC r288006,r288031,r288032,r288033: r288006 (by rodrigc): Add declarations to eliminate -Wmissing-prototypes warnings r288031 (by

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: r291343 - stable/10/lib/libc/tests/net

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Thu Nov 26 00:48:09 2015 New Revision: 291343 URL: https://svnweb.freebsd.org/changeset/base/291343 Log: Fix bad MFC (r291175) Replace SRCTOP with the relevant path via .CURDIR Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r291345 - stable/10/lib/libc/tests/net

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Thu Nov 26 00:56:07 2015 New Revision: 291345 URL: https://svnweb.freebsd.org/changeset/base/291345 Log: MFC r291172: 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

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: r291336 - stable/10/lib/libc/stdio

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Wed Nov 25 21:43:05 2015 New Revision: 291336 URL: https://svnweb.freebsd.org/changeset/base/291336 Log: MFC r288006,r288031,r288032,r288033: r288006 (by rodrigc): Add declarations to eliminate -Wmissing-prototypes warnings r288031 (by rodrigc): Remove

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: r291297 - stable/9/lib/libc/stdio

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Wed Nov 25 09:19:32 2015 New Revision: 291297 URL: https://svnweb.freebsd.org/changeset/base/291297 Log: MFstable/10 r291294: MFC r258245: r258245 (by eadler): Add missing include files for the printf_l and scanf_l man pages. Reported by:

svn commit: r291294 - stable/10/lib/libc/stdio

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Wed Nov 25 08:51:43 2015 New Revision: 291294 URL: https://svnweb.freebsd.org/changeset/base/291294 Log: MFC r258245: r258245 (by eadler): Add missing include files for the printf_l and scanf_l man pages. Reported by: swild...@dragonflybsd.org Modified:

svn commit: r291293 - in stable/10: lib/libc/stdio tools/regression/lib/libc/stdio

2015-11-25 Thread Garrett Cooper
Author: ngie Date: Wed Nov 25 08:19:01 2015 New Revision: 291293 URL: https://svnweb.freebsd.org/changeset/base/291293 Log: MFC r264737: Discussed with: jilles r264737 (by jilles): libc/stdio: Fail fdopen() on an execute-only fd. An execute-only fd (opened with O_EXEC)

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: r291174 - stable/10/contrib/netbsd-tests/lib/libcrypt

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 08:18:52 2015 New Revision: 291174 URL: https://svnweb.freebsd.org/changeset/base/291174 Log: MFC r290907: Expect all testcases dealing with invalid salts to fail on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified:

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: r291185 - stable/10/sys/ofed/drivers/net/mlx4

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 09:33:27 2015 New Revision: 291185 URL: https://svnweb.freebsd.org/changeset/base/291185 Log: MFC r291047: Don't leak work if __mlx4_register_vlan(..) fails in mlx4_master_immediate_activate_vlan_qos(..) Differential Revision:

svn commit: r291191 - stable/10/contrib/netbsd-tests/lib/libc/stdio

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 10:57:04 2015 New Revision: 291191 URL: https://svnweb.freebsd.org/changeset/base/291191 Log: MFC r290856: r290856 (by bap): also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros Modified:

svn commit: r291190 - stable/10/lib/libc/tests/gen

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 10:53:01 2015 New Revision: 291190 URL: https://svnweb.freebsd.org/changeset/base/291190 Log: MFC r290572,r290646,r290848,r290849: r290572: Integrate tools/regression/lib/libc/gen into the FreeBSD test suite as lib/libc/tests/gen The code in

svn commit: r291173 - in stable/10: etc/mtree tests/sys/kern tests/sys/kern/acct tools/regression/acct

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 08:17:32 2015 New Revision: 291173 URL: https://svnweb.freebsd.org/changeset/base/291173 Log: MFC r290905,r290922: r290905: Integrate acct(2) testcase in as tests/sys/kern/acct/acct_test The :encode_tv_random_million testcase fails the epsilon tests

svn commit: r291186 - stable/9/sys/ofed/drivers/net/mlx4

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 09:36:25 2015 New Revision: 291186 URL: https://svnweb.freebsd.org/changeset/base/291186 Log: MFstable/10 r291185: MFC r291047: Don't leak work if __mlx4_register_vlan(..) fails in mlx4_master_immediate_activate_vlan_qos(..) Differential Revision:

svn commit: r291179 - in stable/10: contrib/netbsd-tests/kernel tests/sys/kern

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 08:52:38 2015 New Revision: 291179 URL: https://svnweb.freebsd.org/changeset/base/291179 Log: MFC r290911,r290912: r290911: Ignore EINTR from usleep(3) in try_locks(..) NetBSD's usleep(3) only returns -1/sets errno=EINVAL when `microseconds` is one

svn commit: r291177 - stable/10/contrib/netbsd-tests/lib/libc/rpc

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 08:26:26 2015 New Revision: 291177 URL: https://svnweb.freebsd.org/changeset/base/291177 Log: MFC r290850: 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

svn commit: r291175 - in stable/10: lib/libc/tests/net tools/regression/lib/libc/net

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 08:22:40 2015 New Revision: 291175 URL: https://svnweb.freebsd.org/changeset/base/291175 Log: MFC r290563,r290868,r291038: r290563: Integrate tools/regression/lib/libc/net into the FreeBSD test suite as lib/libc/tests/net Also, fix

svn commit: r291178 - in stable/10: lib/libc/tests/locale tools/regression/lib/libc/locale

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 08:31:41 2015 New Revision: 291178 URL: https://svnweb.freebsd.org/changeset/base/291178 Log: MFC r290532,r290561,r290843,r290844,r290845: r290532: Integrate tools/regression/lib/libc/locale into the FreeBSD test suite as lib/libc/tests/locale

svn commit: r291183 - in stable/10: etc/mtree tests/sys/kern tests/sys/kern/pipe tools/regression/pipe

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 09:26:53 2015 New Revision: 291183 URL: https://svnweb.freebsd.org/changeset/base/291183 Log: MFC r290914: Integrate tools/regression/pipe in to the FreeBSD test suite as tests/sys/kern/pipe - Fix style(9) bugs - Fix compiler warnings - Use

svn commit: r291187 - stable/10

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 09:58:56 2015 New Revision: 291187 URL: https://svnweb.freebsd.org/changeset/base/291187 Log: MFC r264725: r264725 (by jilles): libc: Add fopen() test to regression Makefile. NOTE (ngie): this is a mergeinfo-only commit Modified: Directory

svn commit: r291176 - stable/10/contrib/netbsd-tests/lib/libc/regex

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 08:24:48 2015 New Revision: 291176 URL: https://svnweb.freebsd.org/changeset/base/291176 Log: MFC r290869: 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

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: r291182 - stable/10/lib/libc/tests/sys

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 09:22:01 2015 New Revision: 291182 URL: https://svnweb.freebsd.org/changeset/base/291182 Log: MFC r290909: Add some initial tests for SLIST and STAILQ macros Sponsored by: EMC / Isilon Storage Division Added: stable/10/lib/libc/tests/sys/queue_test.c

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

2015-11-23 Thread Garrett Cooper
Author: ngie Date: Mon Nov 23 10:09:59 2015 New Revision: 291189 URL: https://svnweb.freebsd.org/changeset/base/291189 Log: MFC r290870: Add NO_WERROR and WARNS to PROG_OVERRIDE_VARS for bsd.prog.mk compatibility Sponsored by: EMC / Isilon Storage Division Modified:

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

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