summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add the AR9300 descriptor decoding code.adrian2013-05-053-4/+6
|
* This is a simple script to output the delta between each TX and TXSTATUS.adrian2013-05-051-0/+34
| | | | Useful for debugging TDMA.
* Add a few xargs tests related to -0, -n and quoting.stefanf2013-05-0411-1/+71
|
* sh: Remove racy test case for read builtin.jilles2013-05-031-13/+0
| | | | | | | This test case sometimes fails because of an EINTR-related race condition. Fixing this race condition likely requires an extra system call per byte, which would make the read builtin even slower than it already is, or very complicated trickery. Therefore, remove the test case for now.
* sh: Improve error handling in read builtin:jilles2013-05-032-0/+18
| | | | | | | | | | | | * If read -t times out, return status as if interrupted by SIGALRM (formerly 1). * If a trapped signal interrupts read, return status 128+sig (formerly 1). * If [EINTR] occurs but there is no trap, retry the read (for example because of a SIGWINCH in interactive mode). * If a read error occurs, write an error message and return status 2. As before, a variable assignment error returns 2 and discards the remaining data read.
* sync with my local copy (this file may go away, eventually)luigi2013-04-301-0/+1
|
* Replace a silly command sequence with a proper if-then-else.n_hibma2013-04-281-5/+5
| | | | | | | Generate images sparsely. This saves space and time, especially when generating images inside a VM (PR 173482). Add a 'true' statement to last_orders to prevent some version of sh from tripping over an empty function.
* Doing a cpio from /var/empty if dir was not specified or non-existentn_hibma2013-04-281-6/+7
| | | | | | | | copies its mode to the destination. This is not desirable. Rephrase this code to be more sensible. PR: 173483 MFC after: 1 week
* When the world is built WITHOUT_OPENSSH also don'teadler2013-04-281-3/+3
| | | | | | | | install ssh-copy-id. PR: misc/177590 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Reviewed by: imp
* Add a comma to satisfy Igor.eadler2013-04-272-2/+2
|
* Remove IDEA from OptionalObsoleteFiles.inceadler2013-04-271-4/+0
| | | | Also add an UPDATING entry (requsted by gjb)
* Remove the WITH_IDEA option and build it unconditionally.eadler2013-04-262-7/+1
| | | | | | | | The European version of the patent expired in 2011. The US version of the patent expired in 2012 or prior. Reviewed by: des No objection from: cperciva, ehaupt
* Style cleanups.pjd2013-04-171-11/+23
|
* - Correct mispellings of word andgabor2013-04-171-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* - Correct mispellings of the word occurrencegabor2013-04-172-2/+2
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* Fix build.pluknet2013-04-121-2/+2
| | | | | | | - pass a format string to printf - catch up with constifying uz_name MFC after: 3 days
*-. Upgrade our copy of llvm/clang to trunk r178860, in preparation of thedim2013-04-121-0/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished.
| | * Vendor import of clang trunk r178860:dim2013-04-0869-1834/+3905
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@178860
| * | Vendor import of llvm trunk r178860:dim2013-04-08116-1263/+5792
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/llvm/trunk@178860
* | | sh: Don't modify exit status when break/continue/return passes !.jilles2013-04-122-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | This matches what would happen if ! P were to be replaced with if P; then false; else true; fi. Example: f() { ! return 0; }; f
* | | Set and display the IP fragment bit correctly when dealing withnp2013-04-111-1/+7
| | | | | | | | | | | | | | | | | | the filter mode. MFC after: 3 days.
* | | sh: Add a variation on builtins/eval4.0 where the cmdsubst returns 0.jilles2013-04-061-0/+5
| | |
* | | wordexp(): Remove wrong IFS usage.jilles2013-04-011-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Words in shell script are separated by spaces or tabs independent of the value of IFS. The value of IFS is only relevant for the result of substitutions. Therefore, there should be a space between 'wordexp' and the words to be expanded, not an IFS character. Paranoia might dictate that the shell ignore IFS from the environment (even though our sh currently uses it), so do not depend on it in the new test case.
* | | cxgbe(4): Add support for Chelsio's Terminator 5 (aka T5) ASIC. Thisnp2013-03-302-6/+65087
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | includes support for the NIC and TOE features of the 40G, 10G, and 1G/100M cards based on the T5. The ASIC is mostly backward compatible with the Terminator 4 so cxgbe(4) has been updated instead of writing a brand new driver. T5 cards will show up as cxl (short for cxlgb) ports attached to the t5nex bus driver. Sponsored by: Chelsio
* | | Properly spell "Class Based Queueing"rene2013-03-271-1/+1
| | | | | | | | | | | | | | | | | | PR: www/177412 Submitted by: Oliver Loch <grimeton@gmx.net> Approved by: cognet
* | | Add shlib-compat under tools.gleb2013-03-2531-0/+1833
| | | | | | | | | | | | | | | shlib-compat is ABI compatibility checker for shared libraries with symbol versioning.
* | | More indentation fixes.adrian2013-03-231-6/+6
| | |
* | | Expose the beacon miss counter.adrian2013-03-231-1/+5
| | |
* | | Add AR9300 descriptor decoding.adrian2013-03-232-0/+366
| | |
* | | Update regression tests after adding chflagsat(2).pjd2013-03-213-7/+23
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | - Make 'flags' argument to chflags(2), fchflags(2) and lchflags(2) of typepjd2013-03-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | u_long. Before this change it was of type int for syscalls, but prototypes in sys/stat.h and documentation for chflags(2) and fchflags(2) (but not for lchflags(2)) stated that it was u_long. Now some related functions use u_long type for flags (strtofflags(3), fflagstostr(3)). - Make path argument of type 'const char *' for consistency. Discussed on: arch Sponsored by: The FreeBSD Foundation
* | | Set WARNS=3 so this actually compiles.neel2013-03-201-0/+2
| | |
* | | Update the tests now that absence of the O_APPEND flag requires CAP_SEEKpjd2013-03-161-13/+46
| | | | | | | | | | | | | | | | | | capability. Add some more tests. Sponsored by: The FreeBSD Foundation
* | | The mode argument for open(2)/openat(2) only makes sense if the O_CREAT flagpjd2013-03-161-6/+6
| | | | | | | | | | | | | | | | | | was given. Sponsored by: The FreeBSD Foundation
* | | sh: Recognize "--" and explicitly reject options in wait builtin.jilles2013-03-152-0/+7
| | | | | | | | | | | | | | | | | | If syntactically invalid job identifiers are to be taken as jobs that exited with status 127, this should not apply to options, so that we can add options later if need be.
* | | Make file name generation to work with both new and old versions of OpenSSL.pjd2013-03-151-2/+2
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | Fix compile warning by including ctype.h for isdigit().np2013-03-051-0/+1
| | | | | | | | | | | | MFC after: 1 day
* | | Import libyaml as libbsdyml (private brand name)bapt2013-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | LibYAML is a YAML 1.1 parser and emitter under MIT license which will soon be used by the pkg boostrap (usr.bin/pkg) and bhyve Reviewed by: roberto, antoine
* | | sh: When executing a trap, keep exit status along with evalskip.jilles2013-03-031-0/+10
| | | | | | | | | | | | | | | | | | | | | This ensures 'return' in a trap returns the correct status to the caller. If evalskip is not set or if it is overridden by a previous evalskip, keep the old behaviour of restoring the exit status from before the trap.
* | | If all ioctls are allowed, cap_ioctls_get(2) will return CAP_IOCTLS_ALL.pjd2013-03-021-2/+2
| | | | | | | | | | | | Update regression tests.
* | | Add support for bindat(2) and connectat(2).pjd2013-03-022-1/+45
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | Add regression tests for the new Capsicum system calls.pjd2013-03-026-0/+1387
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | Update existing regression tests after Capsicum overhaul.pjd2013-03-022-101/+349
| | |
* | | fix this script so we don't expand the second $FreeBSD since svn thinksjmg2013-02-271-1/+1
| | | | | | | | | | | | the $ in $1 ends the keyword, and expands it...
* | | Add an implementation of open_memstream() and open_wmemstream(). Thesejhb2013-02-275-1/+429
| | | | | | | | | | | | | | | | | | | | | | | | | | | routines provide write-only stdio FILE objects that store their data in a dynamically allocated buffer. They are a string builder interface somewhat akin to a completely dynamic sbuf. Reviewed by: bde, jilles (earlier versions) MFC after: 1 month
* | | Enhance test(1) by adding provision to compare any combination of thepeterj2013-02-251-1/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | access, birth, change and modify times of two files, instead of only being able to compare modify times. The builtin test in sh(1) will automagically acquire the same expansion. Approved by: grog MFC after: 2 weeks
* | | sh: If a SIGINT or SIGQUIT interrupts "wait", return status 128+sig.jilles2013-02-232-0/+24
| | |
* | | sh: Test that the exit status is 1 if read encounters EOF.jilles2013-02-231-0/+5
| | |
* | | Print out the RTS/CTS rate in the TX descriptor.adrian2013-02-191-0/+2
| | |
* | | * Add initial debugging of the interrupt status entryadrian2013-02-184-1/+181
| | | | | | | | | | | | * Add in the TDMA debugging entries that I added a while ago
OpenPOWER on IntegriCloud