summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Minor mdoc improvements.joel2013-05-161-3/+3
|
* Add a sample script to create filesystem images from an installed treebrooks2013-05-163-0/+368
| | | | created by installworld+distribution with the -DNO_ROOT option.
* Add support for an external cross compiler. The cross compiler isbrooks2013-05-151-0/+3
| | | | | | | | | | | | | | | | | | | | specified by passing the XCC, XCXX, and XCPP variables (corresponding to CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang or be configured to target the appropriate architecture. To speed build times, if XCC is an absolute path or WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built during the cross-tools stage. Limited documentation of this feature can currently be found at: https://wiki.freebsd.org/ExternalToolchain This functionality should be considered experimental and is subject to change without notice. Sponsored by: DARPA, AFRL Discussed with: imp, sjg
* Add a new option WITHOUT_FORMAT_EXTENSIONS to disable flags related tobrooks2013-05-151-0/+5
| | | | | | | checking our kernel printf extensions. This is useful to allow compilers without these extensions to build kernels. Sponsored by: DARPA, AFRL
* As python3 does not have raw_input(), convert it to input() when wehiren2013-05-131-1/+5
| | | | | | | | are using python3. PR: 177214 Reviewed by: gnn Approved by: sbruno (mentor)
* Tidy up some CVS workarounds.peter2013-05-121-2/+0
|
* Unconditionally install 210.backup-aliases as many MTAs other thaneadler2013-05-111-1/+0
| | | | | | | | sendmail support the use of /etc/aliases. PR: conf/176098 Submitted by: ak MFC after: 2 weeks
* Add simple testcases for fcntl(F_DUP2FD_CLOEXEC).jilles2013-05-111-1/+47
|
* Add simple testcases for fcntl(F_DUPFD_CLOEXEC).jilles2013-05-111-1/+23
|
* Add missing argument to fcntl(F_DUPFD) in regression test.jilles2013-05-111-2/+6
|
* 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.
OpenPOWER on IntegriCloud