summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-11-23132-1873/+31376
|\
| * MFC r290856:ngie2015-11-231-0/+2
| | | | | | | | | | | | | | r290856 (by bap): also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros
| * MFC r290572,r290646,r290848,r290849:ngie2015-11-2310-1/+1690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r290572: Integrate tools/regression/lib/libc/gen into the FreeBSD test suite as lib/libc/tests/gen The code in test-fnmatch that was used for generating: - bin/sh/tests/builtins/case2.0 - bin/sh/tests/builtins/case3.0 has been left undisturbed. The target `make sh-tests` has been moved over from tools/regression/lib/libc/gen/Makefile to lib/libc/tests/gen/Makefile and made into a PHONY target case2.0 and case3.0 test input generation isn't being done automatically. This needs additional discussion. Sponsored by: EMC / Isilon Storage Division r290646: Add missing licensing boilerplate to test-fnmatch.c Carry over licensing author info from fnmatch_test.c (jilles@) Sponsored by: EMC / Isilon Storage Division r290848: Fix -Wunused warnings Sponsored by: EMC / Isilon Storage Division r290849: Fix -Wmissing-braces warnings by adding braces around all the testcase inputs Sponsored by: EMC / Isilon Storage Division
| * MFC r290870:ngie2015-11-231-2/+2
| | | | | | | | | | | | Add NO_WERROR and WARNS to PROG_OVERRIDE_VARS for bsd.prog.mk compatibility Sponsored by: EMC / Isilon Storage Division
| * MFC r291047:ngie2015-11-231-0/+1
| | | | | | | | | | | | | | | | | | Don't leak work if __mlx4_register_vlan(..) fails in mlx4_master_immediate_activate_vlan_qos(..) Differential Revision: https://reviews.freebsd.org/D4203 Submitted by: Miles Olrich <miles.olrich@isilon.com> Sponsored by: EMC / Isilon Storage Division
| * MFC r290650, r290709, r291067, r291068, r291069 and r291070:hselasky2015-11-2344-0/+27451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards from Mellanox Technologies. The current driver supports ethernet speeds up to and including 100 GBit/s. Infiniband support will be done later. The code added is not compiled by default, which will be done by a separate commit. Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4177 Differential Revision: https://reviews.freebsd.org/D4178 Differential Revision: https://reviews.freebsd.org/D4179 Differential Revision: https://reviews.freebsd.org/D4180
| * MFC r290914:ngie2015-11-2317-429/+575
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 `sizeof(x) / sizeof(*x)` pattern The testcases will be converted over to ATF eventually, but for now will be integrated in as plain C tests Sponsored by: EMC / Isilon Storage Division
| * MFC r290909:ngie2015-11-232-0/+239
| | | | | | | | | | | | Add some initial tests for SLIST and STAILQ macros Sponsored by: EMC / Isilon Storage Division
| * MFC r290911,r290912:ngie2015-11-232-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r290911: 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 Submitted by: pho Sponsored by: EMC / Isilon Storage Division r290912: Integrate contrib/netbsd-tests/kernel/t_lockf.c into the FreeBSD test suite as tests/sys/kern/lockf_test Sponsored by: EMC / Isilon Storage Division
| * MFC r290532,r290561,r290843,r290844,r290845:ngie2015-11-2335-933/+843
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r290532: Integrate tools/regression/lib/libc/locale into the FreeBSD test suite as lib/libc/tests/locale Sponsored by: EMC / Isilon Storage Division r290561: Delete leftover printfs from when these were TAP tests Sponsored by: EMC / Isilon Storage Division r290843: 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 segfaulting, because setlocale returns NULL and strcmp(NULL, b) will always segfault Split up the testcases so one failing (in this case en_US.ISO8859-15) won't cause the rest of the testcases to be skipped Remove some unused variables Sponsored by: EMC / Isilon Storage Division r290844: 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 - Replace `sizeof(x) / sizeof(*x)` pattern with `nitems(x)` Sponsored by: EMC / Isilon Storage Division r290845: Remove unused variables; sort by alignment where needed Sponsored by: EMC / Isilon Storage Division
| * MFC r290850:ngie2015-11-231-0/+6
| | | | | | | | | | | | | | | | | | 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 Sponsored by: EMC / Isilon Storage Division
| * MFC r290869:ngie2015-11-231-12/+10
| | | | | | | | | | | | | | | | | | 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 Reported by: gcc Sponsored by: EMC / Isilon Storage Division
| * MFC r290563,r290868,r291038:ngie2015-11-2310-318/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r290563: Integrate tools/regression/lib/libc/net into the FreeBSD test suite as lib/libc/tests/net Also, fix eui64_aton_test:test_str(..). The test was comparing the result of eui64_aton to a pointer of the expected result. Sponsored by: EMC / Isilon Storage Division r290868: Fix -Wformat issues Reported by: gcc Sponsored by: EMC / Isilon Storage Division r291038: Do not print out errno if the call succeeded unexpectedly; this was a mistake made in r290868 Reported by: jilles Sponsored by: EMC / Isilon Storage Division
| * MFC r290907:ngie2015-11-231-0/+4
| | | | | | | | | | | | Expect all testcases dealing with invalid salts to fail on FreeBSD Sponsored by: EMC / Isilon Storage Division
| * MFC r290905,r290922:ngie2015-11-237-169/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r290905: 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 million, so expect the testcase to fail Submitted by: keramida Sponsored by: EMC / Isilon Storage Division r290922: Remove directory made obsolete by r290905 X-MFC note: stable/10 only Sponsored by: EMC / Isilon Storage Division
| * MFC r290492:kib2015-11-212-9/+8
| | | | | | | | Move intmax_t and uintmax_t type declarations to sys/_stdint.h.
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-11-2019-208/+569
|\ \ | |/
| * MFC r290367, r290370, r290437:ume2015-11-201-10/+16
| | | | | | | | | | | | | | Change to not truncate an interface name when -W option is specified. MFC Requested by: Jim Thompson <jim__at__netgate.com>
| * MFC 290662jpaetzel2015-11-201-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug in the CPU % limiting code If you attempt to set a pcpu limit that is higher than 110% using rctl (for instance, you want a jail to be able to use 2 cores on your system so you set pcpu to 200%) the thing you are trying to limit becomes unthrottled. PR: 189870 Submitted by: dustinwenz@ebureau.com Reviewed by: trasz
| * MFC 290416:jhb2015-11-191-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | Chelsio T5 chips do not properly echo the No Snoop and Relaxed Ordering attributes when replying to a TLP from a Root Port. As a workaround, disable No Snoop and Relaxed Ordering in the Root Port of each T5 adapter during attach so that CPU-initiated requests do not contain these flags. Note that this affects CPU-initiated requests to all devices under this root port. Sponsored by: Chelsio
| * MFC r290400asomers2015-11-191-7/+4
| | | | | | | | Update authors' contact info and fix grammar bugs.
| * MFC r290639:hselasky2015-11-192-106/+281
| | | | | | | | | | | | | | | | Update the wsp driver to support newer touch pads, like found in MacBookPro11,4 and MacBook12,1. This update adds support for the force touch parameter. PR: 204420
| * MFC r290542:hselasky2015-11-192-39/+143
| | | | | | | | | | | | | | Avoid using the bounce buffer when the source or destination buffer is 32-bits aligned. Merge the two bounce buffers into a single one. Some rough tests showed that the DWC OTG throughput on RPI2 increased by 10% after this patch.
| * MFC r290489:hselasky2015-11-192-0/+32
| | | | | | | | | | Add helper function to check if a USB page cache buffer is properly aligned to reduce the use of bounce buffers in PIO mode.
| * MFC: r290549,r290729ache2015-11-191-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | r290549: Reorganize code to elimitate one _sseek() call for append modes. r290729: 1) Remove my overcomplicated error fallback and just return error immediatelly as old code does, now for append modes too. Real use case for such fallback is impossible (unless specially crafted). 2) Remove now unneded include I forgot to remove in prev. commits.
| * MFC r290847:ngie2015-11-192-0/+6
| | | | | | | | | | | | | | Fix -Wunused warnings with variables used unlit code by adding appropriate #ifdef guards around the variables Sponsored by: EMC / Isilon Storage Division
| * MFC r290645:ngie2015-11-191-5/+2
| | | | | | | | | | | | | | | | | | | | | | Fix some trivial warnings with bootparamd/main.c - Convert K&R to something a bit less ancient - Remove an incorrect, duplicate prototype for bootparamprog_1(..) PR: 71667 Submitted by: bcran Sponsored by: EMC / Isilon Storage Division
| * Document EN-15:19.kqueue, EN-15:20.vm, SA-15:25.ntpgjb2015-11-172-0/+23
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * MFC r289888:avatar2015-11-171-4/+8
| | | | | | | | | | | | | | - Plugging a memory leak when malloc() failed during initialisation; - Plugging another memory leak inside the destructor. Reviewed by: matk
| * MFC r290452: zfsboottest: catch up with r241289, call zfs_spa_init() foravg2015-11-171-7/+9
| | | | | | | | all found pools
| * MFC r290451: zfsboottest: build as a 32 bit applicationavg2015-11-171-0/+1
| |
* | Revert "Import a better fix for #5484"Renato Botelho2015-11-201-15/+9
| | | | | | | | | | | | MFC is on stable/10 now (r291101) This reverts commit 99ddd03d08b1fd5ae8f8ba04cac699afbe3ffb24.
* | Import a better fix for #5484Renato Botelho2015-11-201-9/+15
| | | | | | | | | | | | Patch done by ume@FreeBSD.org TAG: netstat
* | Revert "Importing pfSense patch netstat_ifname_size.diff"Renato Botelho2015-11-201-4/+4
| | | | | | | | This reverts commit 817040ad698689f61817bcc33e4a7f0dca4f4c94.
* | Enable bhyveRenato Botelho2015-11-201-1/+0
| |
* | Remove netmap from wrap kernelsRenato Botelho2015-11-202-2/+0
| |
* | Enable netmap on all pfSense kernelsRenato Botelho2015-11-203-0/+3
| |
* | Set the interface pointer in all v6 fragments.Luiz Otavio O Souza2015-11-181-0/+1
| | | | | | | | | | | | Fix a crash in ip6_forward() caused by a NULL m->m_pkthdr.rcvif. Issue: #5428
* | Create pfSense-devel template to pkg.conf, now using same config as pfSense ↵Renato Botelho2015-11-171-0/+15
| | | | | | | | while we don't have a stable repo
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-11-16212-59772/+36627
|\ \ | |/
| * MFC r290253:ngie2015-11-1610-49/+25
| | | | | | | | | | | | | | Remove unnecessary `if (x)` tests before calling `free(x)`; free(3) already employs this check Sponsored by: EMC / Isilon Storage Division
| * MFC r290567:ngie2015-11-164-0/+80
| | | | | | | | | | | | Add some basic tests that exercise cputime limits with limits(1) Sponsored by: EMC / Isilon Storage Division
| * Follow up to r290255ngie2015-11-161-1/+0
| | | | | | | | | | | | | | The utimensat testcase was never integrated into stable/10 because the syscall is not present on stable/10 Sponsored by: EMC / Isilon Storage Division
| * MFC r290255:ngie2015-11-164-37/+68
| | | | | | | | | | | | | | Add _test suffix to multiple tests in lib/libc to conform to the design noted in the FreeBSD Test Suite wiki Sponsored by: EMC / Isilon Storage Division
| * Remove tools/regression/acltoolsngie2015-11-1613-3295/+0
| | | | | | | | | | | | Should have been done with r290894 Sponsored by: EMC / Isilon Storage Division
| * MFC r289446:ngie2015-11-1616-0/+3345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/acl - Make the requirements more complete for the testcases - Detect prerequisites so the tests won't fail (zfs.ko is loaded, zpool(1) is available, ACL support is enabled with UFS, etc). - Work with temporary files/directories/mountpoints that work with atf/kyua - Limit the testcases to work on temporary filesystems to reduce tainting the test host Reviewed by: trasz (earlier version) Differential Revision: https://reviews.freebsd.org/D3810
| * MFC r289195:ngie2015-11-1512-673/+688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in to the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. Sponsored by: EMC / Isilon Storage Division Conflicts: lib/libarchive/test usr.bin/cpio/test
| * MFC r289195:ngie2015-11-1512-412/+800
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in to the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. Sponsored by: EMC / Isilon Storage Division Conflicts: lib/libarchive/test usr.bin/cpio/test
| * MFC r283245:ngie2015-11-151-1/+0
| | | | | | | | | | | | r283245 (by imp): Remove stray DEBUG_FLAGS=-g that snuck in with r184761.
| * Bump .Ddngie2015-11-151-1/+1
| |
OpenPOWER on IntegriCloud