summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building thekib2012-04-291-0/+6
| | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
* Change cc -> bc : "bc" is "busy count", which is the % of time the channeladrian2012-04-281-3/+3
| | | | | | | | is considered "busy but not doing any active TX or frame RX." Just keep in mind that "frame RX" is "decoding what looks like a wifi signal", not necessarily "frame successfully decoded for this particular device."
* Add a tool to print out min, average and max channel survey informationadrian2012-04-283-0/+233
| | | | | | | | from the current channel. There seem to be some occasional issues with the extension channel counters reporting more than 100% of use. I'll investigate that soon.
* Add files and directories to be cleaned up if WITHOUT_GCC is in effectdim2012-04-141-0/+36
| | | | | | to OptionalObsoleteFiles.inc. MFC after: 1 week
* A bit of cleanup in the names of fields of netmap-related structures.luigi2012-04-131-3/+5
| | | | | Use the name 'ring' instead of 'queue' in all fields. Bump NETMAP_API.
* use getopt to parse options, add one option to setluigi2012-04-121-19/+61
| | | | the wait time for link-up events
* Teach wlanstats about the new BAR TX statistics.adrian2012-04-081-0/+12
|
* Add AR_ISR_S5 and AR_ISR_S5_S.adrian2012-04-081-0/+2
|
* Add some tests from PR 166463. Also make sure that all of the tests,das2012-04-071-7/+33
| | | | | old and new, check the sign bits of both the remainder and the quotient.
* we need to specify a NETMAP_API version or the ioctl() will fail.luigi2012-04-061-0/+1
|
* Add a threadid to the ah_decode API.adrian2012-04-041-1/+1
| | | | | This adds the current thread ID to each logged register and mark entry, allowing for easier debugging of concurrent/overlapping NIC operations.
* Remove trailing whitespace per mdoc lint warningeadler2012-03-293-9/+9
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* - Add new kerberos libraries to the list of optional obsolete files.stas2012-03-231-1/+37
|
* - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-0/+6
| | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-03-222-41/+537
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
| * - Import Heimdal 1.5 distribution.stas2011-10-059-455/+370
| |
| * - Kill files that do not belong to the laters heimdal version imported.stas2011-09-291-212/+0
| |
| * - Flatten the vendor heimdal tree.stas2011-09-298-0/+2136
|
* Use new -n option when executing kldload, tohselasky2012-03-181-1/+1
| | | | | | not warn about already loaded module(s). MFC after: 1 week
* Add a BINDIR so "make install" works.adrian2012-03-132-0/+2
|
* sh: Add a test for variables with underscores in arithmetic.jilles2012-03-111-0/+4
| | | | | Things like $((_x+1)) are broken in stable/8 sh but work in stable/9 and head.
* Stop some of the output from wrapping at 80 characters.adrian2012-03-111-3/+5
|
* Use = rather than == for expressions to test(1) builtin(1) in sh(1) tobz2012-03-061-1/+1
| | | | | | | | | | comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days
* Add regression test for USB enumeration.hselasky2012-03-011-0/+30
| | | | MFC after: 1 week
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-291-0/+8
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Fix order of arguments to lseek().brueffer2012-02-291-1/+1
| | | | | | PR: 160867 Submitted by: Henning Petersen <henning.petersen@t-online.de> MFC after: 1 week
* Add is_beacon_bad.adrian2012-02-281-0/+4
| | | | PR: kern/165517
* A bunch of netmap fixes:luigi2012-02-273-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USERSPACE: 1. add support for devices with different number of rx and tx queues; 2. add better support for zero-copy operation, adding an extra field to the netmap ring to indicate how many buffers we have already processed but not yet released (with help from Eddie Kohler); 3. The two changes above unfortunately require an API change, so while at it add a version field and some spares to the ioctl() argument to help detect mismatches. 4. update the manual page for the two changes above; 5. update sample applications in tools/tools/netmap KERNEL: 1. simplify the internal structures moving the global wait queues to the 'struct netmap_adapter'; 2. simplify the functions that map kring<->nic ring indexes 3. normalize device-specific code, helps mainteinance; 4. start exploring the impact of micro-optimizations (prefetch etc.) in the ixgbe driver. Use 'legacy' descriptors on the tx ring and prefetch slots gives about 20% speedup at 900 MHz. Another 7-10% would come from removing the explict calls to bus_dmamap* in the core (they are effectively NOPs in this case, but it takes expensive load of the per-buffer dma maps to figure out that they are all NULL. Rx performance not investigated. I am postponing the MFC so i can import a few more improvements before merging.
* Check fchmod()/fchown() in fifo_misc test.jilles2012-02-261-0/+93
|
* Update scripts to work around two sh(1) bugs found in stable/8:bz2012-02-244-252/+263
| | | | | | | | | | | | | | | 1) _x=$((_x + 1)) does not work while x=$((x + 1)) does. 2) Parameter Expansion, esp. "${x%%bar}" does not work if quoted. Correct typos and improve some details forwarding.sh already had in initiator, esp. related to ipfw accepting if the default is deny. Add an extra stat call to the "delay" function in addition to the touch which together is still a lot faster than sleep 1 but seems to help a lot more to mitigate the unrelated kernel race seen. Sponsored by: Cisco Systems, Inc.
* libc: Add some tests for fmtmsg().jilles2012-02-212-1/+252
|
* Fix up this local copy of statfoo to support > 128 statistics.adrian2012-02-172-9/+24
| | | | | | | | | | | | | | | | | | | | | | | This allows all of the athstats statistics to work again. Specifics: * The previous code used chars < 0x80 as printable, and chars >= 0x80 as "statistics" * .. which meant any statistic above 127 would wrap around to 0; * .. so once I added the 802.11n TX/RX statistics to athstats, the tail end of the statistics list weren't accessible. This patch: * adds a define which represents the magic character, rather than a hard coded one * the statistic in question is little endian encoded after the magic character. Notes: * statfoo is useful enough to possibly warrant turning into a library API.
* Add regression tests scripts for multi-IP FIBs exercising the send,bz2012-02-177-0/+4697
| | | | | | | | | | | | | | | receive and forward path tagging packets with both the ifconfig fib option or using ipfw, running ICMP6, TCP/v6 and UDP/v6 tests and testing both setfib(2) as well as the SO_SETFIB socket option. At 16 FIBs a total of over 64k return codes/replies/stati are checked, sometimes multiple times (in different ways, e.g. the reflected request as well as ipfw counter values). The scripts need two or three machines to run and are thus not added to the tools/regression framework but only to tools/test. Sponsored by: Cisco Systems, Inc.
* Add regression tests for the setsockopt(2) SO_SETFIB socket option.bz2012-02-173-0/+262
| | | | | | | | Check that the expected domain(9) families all handle the socket option correctly and do proper bounds checks. This would catch bugs as fixed in (r230938,)r230981. Sponsored by: Cisco Systems, Inc.
* Add some missing radar config parameters.adrian2012-02-141-2/+20
|
* Remove UCP from the list of countersgnn2012-02-141-1/+1
|
* Add options for program (-p) and to turn off waiting (-w) which is nowgnn2012-02-141-5/+20
| | | | | | | | | on by default. The default is to wait after each counter is tested. Since the prompt would go to stdout you won't see it if you're redirecting the output of the executed sub-program to /dev/null, so just press return to continue or Ctrl-D to stop.
* Add a rudimentary test to run through all the available counters on agnn2012-02-141-0/+79
| | | | | | | | system and then execute a program with pmcstat in counting mode. The program will verify that all counters fire and that the code neither panics the system nor locks it up. This should be considered a first pass conformance test for new sets of counters being added to hwpmc(4).
* Include target names in diagnostic output.fjoe2012-02-121-60/+60
| | | | Submitted by: Garrett Cooper
* sh: Make 'hash' return 1 if at least one utility is not found.jilles2012-02-111-0/+6
| | | | Reported by: lme
* Replace utxrm(8) by utx(8).ed2012-02-112-1/+3
| | | | | | | | | | At first, I added a utility called utxrm(8) to remove stale entries from the user accounting database. It seems there are cases in which we need to perform different operations on the database as well. Simply rename utxrm(8) to utx(8) and place the old code under the "rm" command. In addition to "rm", this tool supports "boot" and "shutdown", which are going to be used by an rc-script which I am going to commit separately.
* Add a test program for recently added ptrace(2) interfaces.kib2012-02-102-0/+413
| | | | MFC after: 1 week
* - change the buffer size from a constant to aluigi2012-02-081-1/+1
| | | | | | | | | | | | | TUNABLE variable (hw.netmap.buf_size) so we can experiment with values different from 2048 which may give better cache performance. - rearrange the memory allocation code so it will be easier to replace it with a different implementation. The current code relies on a single large contiguous chunk of memory obtained through contigmalloc. The new implementation (not committed yet) uses multiple smaller chunks which are easier to fit in a fragmented address space.
* Add a `fix' for another whitespace bug.ed2012-02-062-0/+15
| | | | | | If the sentence starts with a multiple of eight spaces, the sentence should in almost all practical cases have started with tabs instead. Replace these spaces by tabs.
* Add fixwhite(1).ed2012-02-063-0/+220
| | | | | | | | | | | | | | | | This small utility can be used to `sanitize' the whitespace in source code. It does the following things: Global: - Remove empty lines at the beginning and the end of a file. - Merge successive empty lines into a single empty line. Per-line: - Remove trailing whitespace. - Merge spaces preceeding tabs into the tabs. It operated on stdin/stdout. This means that if you use vi(1), you can just run :%!fixwhite to reorganize the file.
* Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,dim2012-02-052-0/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that builds the following additional llvm/clang tools: - bugpoint - llc - lli - llvm-ar - llvm-as - llvm-bcanalyzer - llvm-diff - llvm-dis - llvm-extract - llvm-ld - llvm-link - llvm-mc - llvm-nm - llvm-objdump - llvm-prof - llvm-ranlib - llvm-rtdyld - llvm-stub - macho-dump - opt These tools are mainly useful for people that want to manipulate llvm bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker with llvm and clang themselves. MFC after: 2 weeks
| * Vendor import of llvm 3.0 final release:dim2011-12-092-4/+4
| | | | | | | | http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_30/final@145349
| * Vendor import of llvm release_30 branch r142614:dim2011-10-2068-2681/+2162
| | | | | | | | http://llvm.org/svn/llvm-project/llvm/branches/release_30@142614
| * Vendor import of llvm trunk r135360:dim2011-07-1715-179/+212
| | | | | | | | http://llvm.org/svn/llvm-project/llvm/trunk@135360
| * Vendor import of llvm trunk r132879:dim2011-06-1216-152/+179
| | | | | | | | http://llvm.org/svn/llvm-project/llvm/trunk@132879
OpenPOWER on IntegriCloud