summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Import Dragonfly Mail Agent into base systembapt2014-02-212-0/+8
| | | | | | | | | | | | It is a small and lightweight Mail Transport Agent. It accepts mails from locally installed Mail User Agents (MUA) and delivers the mails either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support, SMTP authentication and NULLCLIENT. Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL Reviewed by: peter Discussed with: emaste, bz, peter
*-. Upgrade our copy of llvm/clang to 3.4 release. This version supportsdim2014-02-161-36/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y. The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.4/docs/ReleaseNotes.html> <http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html> MFC after: 1 month
| | * Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):dim2013-12-2269-2680/+2990
| | | | | | | | | | | | https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841
| | * Vendor import of clang tags/RELEASE_33/final r183502 (effectively, 3.3dim2013-06-1024-71/+600
| | | | | | | | | | | | | | | release): http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_33/final@183502
| * | Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3):dim2013-12-22130-5528/+6287
| | | | | | | | | | | | https://llvm.org/svn/llvm-project/llvm/branches/release_34@197841
| * | Vendor import of llvm tags/RELEASE_33/final r183502 (effectively, 3.3dim2013-06-1030-628/+1348
| | | | | | | | | | | | | | | release): http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_33/final@183502
* | | This new version of netmap brings you the following:luigi2014-02-159-1249/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - netmap pipes, providing bidirectional blocking I/O while moving 100+ Mpps between processes using shared memory channels (no mistake: over one hundred million. But mind you, i said *moving* not *processing*); - kqueue support (BHyVe needs it); - improved user library. Just the interface name lets you select a NIC, host port, VALE switch port, netmap pipe, and individual queues. The upcoming netmap-enabled libpcap will use this feature. - optional extra buffers associated to netmap ports, for applications that need to buffer data yet don't want to make copies. - segmentation offloading for the VALE switch, useful between VMs. and a number of bug fixes and performance improvements. My colleagues Giuseppe Lettieri and Vincenzo Maffione did a substantial amount of work on these features so we owe them a big thanks. There are some external repositories that can be of interest: https://code.google.com/p/netmap our public repository for netmap/VALE code, including linux versions and other stuff that does not belong here, such as python bindings. https://code.google.com/p/netmap-libpcap a clone of the libpcap repository with netmap support. With this any libpcap client has access to most netmap feature with no recompilation. E.g. tcpdump can filter packets at 10-15 Mpps. https://code.google.com/p/netmap-ipfw a userspace version of ipfw+dummynet which uses netmap to send/receive packets. Speed is up in the 7-10 Mpps range per core for simple rulesets. Both netmap-libpcap and netmap-ipfw will be merged upstream at some point, but while this happens it is useful to have access to them. And yes, this code will be merged soon. It is infinitely better than the version currently in 10 and 9. MFC after: 3 days
* | | MFV: Import atf-0.20.jmmv2014-02-141-0/+4
|\ \ \
| * | | Import atf-0.20:jmmv2014-02-1490-24140/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Experimental version released on February 7th, 2014. This is the first release without the code for the deprecated tools. If you require such code, please fetch a copy of the 0.19 release and extract the 'tools' directory for your own consumption. * Removed the deprecated tools. This includes atf-config, atf-report, atf-run and atf-version.
| * | | Import atf-0.19:jmmv2014-02-1490-0/+24140
| / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Experimental version released on February 7th, 2014. This is the last release to bundle the code for the deprecated tools. The next release will drop their code and will stop worrying about backwards compatibility between the ATF libraries and what the old tools may or may not support. If you still require the old tools for some reason, grab a copy of the 'tools' directory now. The code in this directory is standalone and does not depend on any internal details of atf-c++ any longer. * Various fixes and improvements to support running as part of the FreeBSD test suite. * Project hosting moved from Google Code (as a subproject of Kyua) to GitHub (as a first-class project). The main reason for the change is the suppression of binary downloads in Google Code on Jan 15th, 2014. See https://github.com/jmmv/atf/ * Removed builtin help from atf-sh(1) and atf-check(1) for simplicity reasons. In other words, their -h option is gone. * Moved the code of the deprecated tools into a 'tools' directory and completely decoupled their code from the internals of atf-c++. The reason for this is to painlessly allow a third-party to maintain a copy of these tools after we delete them because upcoming changes to atf-c++ would break the stale tools.
* | | Use CAP_EVENT instead of the deprecated CAP_POLL_EVENT.brueffer2014-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | PR: 185382 (based on) Submitted by: Loganaden Velvindron Reviewed by: pjd MFC after: 1 week
* | | Add test case for kern/181741. Right now test fails.glebius2014-02-061-25/+79
| | | | | | | | | | | | | | | PR: 181741 Sponsored by: Nginx, Inc.
* | | cxgbetool: Display the congestion channel map in hex.np2014-02-061-2/+2
| | | | | | | | | | | | MFC after: 1 week
* | | Add files to remove WITHOUT_NISantoine2014-02-051-3/+54
| | | | | | | | | | | | PR: 186412
* | | The -B flag is intended to take an argument.brooks2014-01-301-3/+3
| | | | | | | | | | | | | | | | | | | | | Fix a couple typos in comments. MFC after: 4 weeks Sponsored by: DARPA, ARFL
* | | Add file missed in r261296.brooks2014-01-301-0/+4
| | | | | | | | | | | | | | | MFC after: 4 weeks Sponsored by: DARPA, AFRL
* | | Merge from CheriBSD:brooks2014-01-302-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 2d581e8caf79d7a0f5a24590eccd06da90cccb74 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:57:51 2014 +0000 Add WITHOUT_FMTREE to disable building fmtree. MFC after: 4 weeks Sponsored by: DARPA, AFRL
* | | Merge from CheriBSD:brooks2014-01-301-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 6b569451b92c48ccf1768da32e7e89189e1aa253 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Mon Jan 27 22:50:46 2014 +0000 Always install nmtree as mtree. For compability, link mtree to nmtree. X-MFC after: never Sponsored by: DARPA, AFRL
* | | Import libc++ 3.4 release. This contains a lot of bugfixes, and somedim2014-01-301-0/+3
| | | | | | | | | | | | | | | | | | preliminary support for C++1y. MFC after: 3 weeks
* | | Replace the old unix_seqpacket and unix_seqpacket_exercise tests, whichasomers2014-01-234-593/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | were a little broken and not automatable, with unix_seqpacket_test. It's coverage is a superset of the old tests and it uses ATF. It includes test cases for bugs kern/185813 and kern/185812. PR: kern/185812 PR: kern/185813 Sponsored by: Spectra Logic MFC after: 2 weeks
* | | Remove WITHOUT_ATF as it has been replaced by WITH_TESTSskreuzer2014-01-231-2/+0
| | | | | | | | | | | | | | | | | | PR: conf/185326 Reported by: Igor Mozolevsky <igor@hybrid-lab.co.uk> Approved by: hrs (mentor)
* | | Add a command line argument to turn off blocking waiting for the usergnn2014-01-161-6/+12
| | | | | | | | | | | | | | | | | | | | | to press Ctrl-C (-b). This allows tests with tight loops of mcgrabs that can stress the multicast tables. MFC after: 2 weeks
* | | netmap_user.h:luigi2014-01-167-481/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add separate rx/tx ring indexes add ring specifier in nm_open device name netmap.c, netmap_vale.c more consistent errno numbers netmap_generic.c correctly handle failure in registering interfaces. tools/tools/netmap/ massive cleanup of the example programs (a lot of common code is now in netmap_user.h.) nm_util.[ch] are going away soon. pcap.c will also go when i commit the native netmap support for libpcap.
* | | Add new testcase for USB mass storage.hselasky2014-01-132-0/+40
| | |
* | | Respect the original layout of the atf-{c,c++} tests.jmmv2014-01-101-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Put test programs for internal modules into a 'detail' subdirectory of the libatf-c and libatf-c++ test directories, just as the upstream distribution does. This is necessary because the tests assume such layout to find the process_helper program, and currently fail because of this divergence. MFC after: 1 week
* | | Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.kevlo2014-01-088-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The origin of WEP comes from IEEE Std 802.11-1997 where it defines whether the frame body of MAC frame has been encrypted using WEP algorithm or not. IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates whether the frame is protected by a cryptographic encapsulation algorithm. Reviewed by: adrian, rpaulo
* | | It is 2014 and we have a new version of netmap.luigi2014-01-066-160/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most relevant features: - netmap emulation on any NIC, even those without native netmap support. On the ixgbe we have measured about 4Mpps/core/queue in this mode, which is still a lot more than with sockets/bpf. - seamless interconnection of VALE switch, NICs and host stack. If you disable accelerations on your NIC (say em0) ifconfig em0 -txcsum -txcsum you can use the VALE switch to connect the NIC and the host stack: vale-ctl -h valeXX:em0 allowing sharing the NIC with other netmap clients. - THE USER API HAS SLIGHTLY CHANGED (head/cur/tail pointers instead of pointers/count as before). This was unavoidable to support, in the future, multiple threads operating on the same rings. Netmap clients require very small source code changes to compile again. On the plus side, the new API should be easier to understand and the internals are a lot simpler. The manual page has been updated extensively to reflect the current features and give some examples. This is the result of work of several people including Giuseppe Lettieri, Vincenzo Maffione, Michio Honda and myself, and has been financially supported by EU projects CHANGE and OPENLAB, from NetApp University Research Fund, NEC, and of course the Universita` di Pisa.
* | | MFp4 @1189766:pjd2014-01-045-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | - Compile the tests with .t suffix, so prove can use them directly. - The CHECKX() macro should increment ntest just like the CHECK() macro. - For consistency remove # from the pwd.t output. Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
* | | Some DTrace tests (mostly in the pid provider directory) make use ofmarkj2013-12-311-2/+11
| | | | | | | | | | | | | | | | | | | | | executable ksh scripts. These are currently not copied into the test directory the way that compiled executables are, so the tests which make use of them cannot work. This changes the test Makefile to copy the scripts into the test directory.
* | | Output all {normal,bold} {left,right} mapsemaste2013-12-231-4/+4
| | | | | | | | | | | | | | | | | | This change was missed in r259680. Sponsored by: The FreeBSD Foundation
* | | To avoid having to explicitly test COMPILER_TYPE for settingdim2013-12-222-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC after: 1 week
* | | Honor WITHOUT_CASPER.gjb2013-12-211-0/+7
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | Support double-width characters in vt(9)emaste2013-12-213-133/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | Normal and bold fonts each have a glyph map for single or left half- glyphs, and right half glyphs. The flag TF_CJK_RIGHT in term_char_t requests the right half-glyph. Reviewed by: ed@ Sponsored by: The FreeBSD Foundation
* | | Migrate tools/regression/bin/ tests to the new layout.jmmv2013-12-11411-6857/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is a proof of concept on how to easily integrate existing tests from the tools/regression/ hierarchy into the /usr/tests/ test suite and on how to adapt them to the new layout for src. To achieve these goals, this change: - Moves tests from tools/regression/bin/<tool>/ to bin/<tool>/tests/. - Renames the previous regress.sh files to legacy_test.sh. - Adds Makefiles to build and install the tests and all their supporting data files into /usr/tests/bin/. - Plugs the legacy_test test programs into the test suite using the new TAP backend for Kyua (appearing in 0.8) so that the code of the test programs does not have to change. - Registers the new directories in the BSD.test.dist mtree file. Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
* | | - Refresh /etc/localtime after each update using tzsetup -r.jhb2013-12-093-1/+244
| | | | | | | | | | | | | | | | | | - Regenerate /var/db/services.db when /etc/services changes. MFC after: 1 week
* | | Add regression test for recently added 'i' flag in r259132.eadler2013-12-092-0/+5
| | | | | | | | | | | | PR: standards/184641
* | | Two new cxgbetool subcommands to set up scheduler classes and to bindnp2013-12-061-29/+320
| | | | | | | | | | | | | | | | | | them to NIC queues. Obtained from: Chelsio
* | | MFC @r258947.ray2013-12-0525-41/+5615
|\ \ \ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
| * | | Add missing period for WITHOUT_PKGBOOTSTRAP so that it matches allbdrewery2013-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | other entries. Approved by: bapt MFC after: 3 days
| * | | Enable some previously-disabled DTrace tests for umod, ufunc and usym. Theymarkj2013-12-041-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | expect the installed ksh binary to be named "ksh", which is not the case when it's installed on FreeBSD via the shells/ksh93 port. Allow for it to be "ksh93" as well so that the tests can actually pass.
| * | | Regression tests for existing Casper services.pjd2013-12-025-0/+5211
| | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
| * | | Please welcome casperd daemon. It (and its services) will be responsible forpjd2013-12-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | giving access to functionality that is not available in capability mode sandbox. The functionality can be precisely restricted. Start with the following services: - system.dns - provides API compatible to: - gethostbyname(3), - gethostbyname2(3), - gethostbyaddr(3), - getaddrinfo(3), - getnameinfo(3), - system.grp - provides getgrent(3)-compatible API, - system.pwd - provides getpwent(3)-compatible API, - system.random - allows to obtain entropy from /dev/random, - system.sysctl - provides sysctlbyname(3-compatible API. Sponsored by: The FreeBSD Foundation
| * | | Add package additions support for pkgng by adding a new function cust_pkgng():mr2013-11-281-0/+71
| | | | | | | | | | | | | | | | | | | | first bootstrap the pkg package (must be contained in the Pkg/ dir) then add the other packages
| * | | Do a parallel buildworld & buildkernel (using NANO_PMAKE), but use an_hibma2013-11-281-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | single threaded installworld, installkernel and distribution (using NANO_MAKE). Setting NANO_PMAKE to 'make -j 12' would otherwise bomb during installation of world. MFC after: 2 weeks
| * | | cxgbetool: "modinfo" command to display SFP+ module information.np2013-11-272-1/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | trantor:~# cxgbetool t5nex0 modinfo 1 ID: SFP Vendor FINISAR CORP. SN AJ10JQR PN FTLX8571D3BCL Rev A Temp: +35C Vcc 3.225600V TX Bias 2.176000uA TX Power 0.588800mW RX Power 0.486400mW Submitted by: gnn
| * | | zfsboottest: properly specify a library dependencyavg2013-11-261-1/+1
| | | | | | | | | | | | | | | | MFC after: 4 days
| * | | sh: Make <&0 disable the </dev/null implicit in a background command.jilles2013-11-242-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Although <&0 does nothing, it is a redirection affecting standard input and should therefore disable the </dev/null redirection implicit in a background command.
| * | | sh: Add more tests for the </dev/null implicit in a background command.jilles2013-11-243-0/+15
| | | |
| * | | sh: Add tests for the </dev/null implicit in a background command.jilles2013-11-223-0/+9
| | | |
| * | | Print some more flags.mav2013-11-201-0/+7
| | | |
OpenPOWER on IntegriCloud