Commit Graph

1188 Commits

Author SHA1 Message Date
julian
4503c0ed68 Large rewrite of the tinybsd script.
This allows the user to specify that the root filoesystem should be
an MFS or teh actual medium itself.
Also a new command syntax, along with an interactive mode by default,
with crossinvocation memory of the last used values as defaults for the
current invocation.

Submitted by:jmeloatfreebsdbrasil,com-br
2006-10-04 22:16:40 +00:00
ru
e6127938f3 Revise markup. 2006-09-30 17:21:37 +00:00
ru
6e2dfd0e20 Removed libc_r build support. 2006-09-30 11:32:46 +00:00
ru
32c63e8e58 Initializate "offset" variable to zero; otherwise, if not using
the -o option, it might contain garbage.

MFC after:	1 day
2006-09-28 12:33:36 +00:00
julian
ed1ef715b2 Slight tunups to the config files. 2006-09-21 22:17:04 +00:00
julian
bedb0044a6 In the spirit of nanoBSD and PicoBSD, add TinyBSD.
Submitted by jmeloatfreebsdbrasil,com-br
(Jean Milanez Melo)
As PicoBSD becomes slightly less useful, TinyBSD fills the gap below nanoBSD.
2006-09-20 22:24:20 +00:00
pjd
4524e2abf4 Move readonly.t regression tests file to where it belongs.
I accidentally added it to a wrong directory.
2006-09-19 11:28:06 +00:00
pjd
57e3a9f406 Add regression tests for 'geli configure' subcommand.
MFC after:	1 week
2006-09-16 10:44:33 +00:00
pjd
7eae1b3fd5 Regression tests for read-only option (attach -r).
MFC after:	1 week
2006-09-16 09:30:24 +00:00
rwatson
bd76450bdb dd a series of regression tests to validate that privilege requirements are
implemented properly for a number of kernel subsystems.  In general, they
try to exercise the privilege first as the root user, then as a test user,
in order to determine when privilege is being checked.

Currently, these tests do not compare inside/outside jail, and probably
should be enhanced to do that.

Sponsored by:	nCircle Network Security, Inc.
Obtained from:	TrustedBSD Project
2006-09-13 09:05:39 +00:00
ru
4c76840a35 Document the new know, WITHOUT_ASSERT_DEBUG. 2006-09-11 13:55:27 +00:00
ru
06c361717d - Utilize the "showconfig" top-level target.
- Pass __MAKE_CONF=/dev/null to get a pristine output.
2006-09-11 13:39:44 +00:00
rwatson
ecf4fc184b Enforce the compile-time threads limit at run-time, so that a high thread
count argument doesn't cause a segfault or memory corruption when the
compile-time array is overrun.
2006-09-02 08:25:40 +00:00
phk
40d4b9bdbe Improve input parsing:
Add "-C <column>" and "-d <delims>" options to chop up input lines.

Make '#' a comment character, rest of line is ignored.

Submitted by: Dmitry Morozovsky <marck@rinet.ru>
2006-08-28 08:27:02 +00:00
ru
4d582ffe09 Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
simon
053be5b222 Move the setup of "diskless" /etc magic files from install_etc() to a
separate function which is called right after install_etc().  This makes
it simpler to (ab)use nanobsd.sh as a framework to build more normal
FreeBSD images where a normal /etc is used, since setup_nanobsd_etc()
can just be redefined.

OK'ed in principle by:	phk
MFC after:		1 week
2006-08-15 21:59:33 +00:00
sam
22a881785b checkpoint new version 2006-08-10 19:01:16 +00:00
keramida
3ac57dcacd Fix some minor nits in the README file of wesside
Reviewed by:   sam, Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-07 17:08:05 +00:00
sam
08914d1218 add wesside 2006-08-07 00:05:32 +00:00
sam
f81ca90c9f another tool that uses the raw tx api
Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-07 00:05:04 +00:00
sam
c149c8077e use proper tx series
Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-06 23:50:56 +00:00
sam
eb0a6f2b06 make it work after the api change
Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 18:21:04 +00:00
sam
89fb95df13 hook packet injection tools up 2006-08-05 05:20:40 +00:00
sam
9cfa19eab8 test programs for 802.11 packet injection
Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 05:18:03 +00:00
sam
68f1c8859e 802.11 packet injection test tool
Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 05:13:31 +00:00
sam
6c8c3a52c9 crude stumbler using raw packet api's
Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 05:12:03 +00:00
sam
63b1f1ffac raw tx stat 2006-08-05 05:09:20 +00:00
jb
7cec994cf0 Fix for architectures where sizeof(void *) > sizeof(int). 2006-08-04 21:45:08 +00:00
netchild
b4ead1ad74 Fix build when .CURDIR != .OBJDIR.
Noticed by:	"Alexander Mogilny" <sg@astral.ntu-kpi.kiev.ua>
2006-08-02 15:24:59 +00:00
yar
c2b4172f67 Tell the bitter truth that WITHOUT_GNU and WITHOUT_PAM
don't have any effect now.
2006-07-31 13:53:27 +00:00
yar
11ca32ce47 Document some more src.conf(5) options:
WITHOUT_GNU, WITHOUT_NS_CACHING, WITHOUT_PAM.

Noticed by:	src/tools/build/options/makeman
2006-07-31 13:08:47 +00:00
yar
2d54f27d1f Actually skip over undocumented options with "continue"
to avoid artifacts in the manpage generated.  Previously
an orphaned paragraph on dependencies of such an option
would appear.
2006-07-31 12:41:13 +00:00
yar
8282790501 Extend the MK_INET6 section by rescue/ping6 and the manpages. 2006-07-29 06:29:07 +00:00
simon
aa2529c015 Add a test program which performs some very basic tests of libmp(3).
It is by no means expected to perform a complete test of the library
for correctness, but is meant to test the API to make sure libmp (or
libcrypto) updates don't totally break the library.
2006-07-28 16:00:59 +00:00
thomas
f27e5b6199 'make distribution' must be run from src, not src/etc, so that the proper
set of /usr/share/mk/* is available. This is necessary to build a 7.x
NanoBSD image on a 6.x host.

Reviewed by:	phk
2006-07-28 14:37:38 +00:00
yar
a487647bea Do not forget about INET6 and MK_INET6_SUPPORT. 2006-07-28 10:59:27 +00:00
yar
a7f9881068 Populate the MK_INET6 block. 2006-07-28 10:16:24 +00:00
simon
66c6b22daa Add Memory Corp 512MB CF Flash.
MFC after:	3 days
2006-07-26 20:35:52 +00:00
rwatson
8ccc47a963 Add a test case for closing a UDPv6 socket that has been connected to
the IPv6 loopback address.

Warns ?= 2.
2006-07-19 12:54:14 +00:00
rwatson
42d0cba86a Add very basic regression test for netinet6: create and close raw,
UDP, and TCP IPv6 sockets.
2006-07-19 12:10:33 +00:00
marcel
f457417c4c Add regression tests of the emulation of the long branch conditional form.
These tests can obviously only be run on Merced processors, as they don't
implement the long branch.
2006-07-17 00:27:12 +00:00
thomas
a2b2987edd When creating the NanoBSD disk image, install boot blocks from the
newly-built world, in preference to those from the host system.

Reviewed by:	phk
2006-07-15 20:41:38 +00:00
phk
418bc50150 Create the diskless magic files in /etc during the install_etc() step
instead of setup_nanobsd(), because this gives customize tasks a chance
to fiddle the details.

Inspired & tested by:	Jordan Coleman <jordan@JordanColeman.com>
2006-07-13 14:06:09 +00:00
maxim
cb40ca01c8 o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
rwatson
f47cfe1f24 When extending a file with truncate, check that newly added bytes have
a value of 0 in the extended region.

Make sure that we get EINVAL back if we try to truncate a read-only
file descriptor.
2006-07-09 10:56:36 +00:00
rwatson
6d0cdb6a1e Add regression tests to make sure that attempting to call ftruncate() on
various non-file objects fails.
2006-07-09 10:43:31 +00:00
rwatson
2d926cc233 Add very basic ftruncate() regression test, with a comment rather more
thorough than the tests regarding what should be tested.
2006-07-09 10:19:07 +00:00
netchild
4ee1766788 Add (missing) and remove (obsolete) .m files. 2006-07-08 12:32:42 +00:00
sam
76a217bd1e o fix join/rejoin format
o add netbsd portability glue

MFC after:	2 weeks
2006-06-30 19:06:18 +00:00
sam
2b0185af61 dump new cabq stats 2006-06-23 18:48:44 +00:00