summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make this output more terse.adrian2013-02-181-46/+49
|
* update the netmap example programs merging some common code in nm_util.cluigi2013-02-176-931/+1366
| | | | | pkt-gen now implements several functions (unlimited transmit, receive, ping-pong) and can operate on a 'tap' device.
* Oops, I flipped LDNS_UTILS but forgot to update the description.des2013-02-151-3/+2
|
* Import LDNS and build it as an internal library.des2013-02-152-0/+8
|
* Major update for unix_cmsg from Andrey Simonenko.pluknet2013-02-113-1249/+1652
| | | | | | | | | | | | | | | | | | Quoting the submitter: - Added tests for SCM_BINTIME, LOCAL_PEERCRED, cmsghdr.cmsg_len - Code that checks correctness of groups was corrected (getgroups(2) change) - unix_cmsg.c was completely redesigned and simplified - Use less timeout value in unix_cmsg.c for faster work - Added support for not sending data in a message, not sending data and data array associated with a cmsghdr structure in a message - Existent tests were improved - unix_cmsg.t was redesigned and simplified Correctness of unix_cmsg verified on 7.1-STABLE, 9.1-STABLE and 10-CURRENT. PR: bin/131567 Submitted by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> MFC after: 2 weeks
* Teach athalq about the recent if_ath_alq timestamp format change.adrian2013-02-115-34/+51
|
* Add missing src.conf(5) fragments for WITHOUT_LIBCPLUSPLUS and WITH_GPL_DTC.dim2013-02-022-0/+5
|
* Pull in r170135 from upstream clang trunk:dim2013-02-022-0/+6
| | | | | | | | | | | | | | | | Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). To disable these clang components, and get a smaller clang binary built and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the initial stages of buildworld, those extra components are already disabled automatically, to save some build time. MFC after: 1 week
* - Fix more style(9)-related issues (copyright header, spaces after functiongahr2013-02-011-71/+71
| | | | | | | | | names, unnecessary casts) - Change type of boolean variable from char to bool Suggested by: jhb, zont, jmallett Reviewed by: cognet Approved by: cognet
* - Remove underscores from the internal structure name, as it doesn't collidegahr2013-01-311-27/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with the user's namespace. - Correct size and position variables type from long to size_t. - Do not set errno to ENOMEM on malloc failure, as malloc already does so. - Implement the concept of "buffer data length", which mandates what SEEK_END refers to and the allowed extent for a read. - Use NULL as read-callback if the buffer is opened in write-only mode. Conversely, use NULL as write-callback when opened in read-only mode. - Implement the handling of the ``b'' character in the mode argument. A binary buffer differs from a text buffer (default mode if ``b'' is omitted) in that NULL bytes are never appended to writes and that the "buffer data length" equals to the size of the buffer. - Remove shall from the man page. Use indicative instead. Also, specify that the ``b'' flag does not conform with POSIX but is supported by glibc. - Update the regression test so that the ``b'' functionality and the "buffer data length" concepts are tested. - Minor style(9) corrections. Suggested by: jilles Reviewed by: cognet Approved by: cognet
* Add fmemopen(3), an interface to get a FILE * from a buffer in memory, alonggahr2013-01-302-0/+153
| | | | | | | | with the respective regression test. See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html Reviewed by: cognet Approved by: cognet
* Rework the handling of the children for the pthread_vfork_test. Thekib2013-01-301-7/+25
| | | | | | | | | trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to not abandon our zombies to init(8). This way, the zombies are around slightly longer, allowing to actually exercise the logic for p_pwait use by the test. MFC after: 1 week
* - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-291-0/+2
| | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
* Use = not == in test arguments.brooks2013-01-241-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Restore Python 2.6+ compatibilityemaste2013-01-221-0/+2
| | | | | | | | SVN r245536 ported this to Python 3. The major change was the use of the print function. Unfortunately this is incompatible with Python 2, which is still the default version in the ports tree. Use a __future__ import to make this compatible with Python 2.6 and later.
* Implement the -l option using ln(1) to facilitate boostrapping.brooks2013-01-211-4/+20
| | | | | | | | Ignore the new options -D, -h, -T, and -U. Adjust -M support to ignore an argument. Sponsored by: DARPA, AFRL Reviewed by: ian, ray, rpaulo
* Add option to make pc-sysinstall optionaleadler2013-01-182-0/+93
| | | | Approved by: cperciva
* Add extra debugging fields.adrian2013-01-172-8/+16
|
* Add compiler support for the ARM EABI.andrew2013-01-171-0/+2
| | | | | | ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added.
* Convert to Python 3eadler2013-01-171-22/+22
| | | | Approved by: cperciva
* Add a src.conf(5) option to allow users to compile in the "NONE cipher",bz2013-01-171-0/+9
| | | | | | | | | which, only after authentication, disables crypto, and only for sessions without a terminal. Submitted by: Jeremy Chadwick (freebsd jdc.parodius.com) PR: bin/163095 MFC after: 10 days
* Allow "ivlan" (inner VLAN) to be used as an alias for "vlan" whennp2013-01-171-3/+10
| | | | | | | | specifying match criteria. "vlan" continues to be valid here, and it continues to be valid when deleting, rewriting, inserting, or stacking an 802.1q tag to a matching packet. MFC after: 3 days
* Remember the . in .\" in the WITH_NMTREE file and regenerate the output.brooks2013-01-141-1/+1
| | | | Reported by: joeld
* sh: Pass $? to command substitution containing compound/multiple commands.jilles2013-01-141-0/+5
| | | | | Example: false; echo $(echo $?; :)
* sh: Add testcase that $? is preserved into a simple command substitution.jilles2013-01-131-0/+5
| | | | | The test builtins/trap6.0 already uses this but having it separate eases diagnosis if this would break.
* sh: Add some testcases related to subshells.jilles2013-01-135-0/+25
| | | | | These failed in earlier attempts to execute more subshells without forking. The patches are uncommitted.
OpenPOWER on IntegriCloud