Commit Graph

1212 Commits

Author SHA1 Message Date
jkim
be0e24cc9d Fix message size tests for msgsnd(3) and msgrcv(3). msgsz is the length of
actual message and it should not include size of message type.
2006-11-16 19:51:10 +00:00
benno
0168d3765c Add the Transcend 2GB card specs. 2006-11-16 08:04:29 +00:00
rwatson
4bfbd5c778 Add a short regression test to try to exercise races in the non-atomic
nature of implied connect via sendto().  Oddly, uipc_usrreq.c implements
this for stream sockets, but doesn't set the flag in its protocol
definition so that it can actually be used.  As such, the stream test is
implemented but doesn't run for now.
2006-11-15 12:43:45 +00:00
maxim
90c11a6b82 o Indent by tab. 2006-11-11 18:45:20 +00:00
maxim
42ff530d83 o Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD).
Obtained from:	OpenBSD
2006-11-11 18:32:50 +00:00
bms
ed19ab972b Update copyright date.
MFC after:	3 weeks
2006-11-09 11:45:44 +00:00
bms
67a51422fc Use C99 types.
MFC after:	3 weeks
2006-11-09 11:42:38 +00:00
bms
8d49d67d0a Rewrite the format of pirtool output to match what the kernel currently
prints out if bootverbose is set. This is to facilitate the code being
removed from the kernel at a later date.

While we're here, fix the __packed structures, and add some other
PCI interrupt router IDs.

Submitted by:	jhb (with some tweaks)
MFC after:	3 weeks
2006-11-09 11:39:34 +00:00
jkim
883def490b Use z modifier for size_t and ssize_t. 2006-11-07 23:28:30 +00:00
dds
c1bff9358c Add the examples from the manual page. 2006-11-06 15:05:03 +00:00
dds
5f9d5575d3 Updated results for bin/68981
PR:		bin/68981
2006-11-06 15:00:37 +00:00
dds
162bf8c18e Regress.out is now regress.x.out. 2006-11-06 08:49:43 +00:00
dds
785f45c300 Test the handling of supplied and default parameters. 2006-11-06 08:39:52 +00:00
stefanf
5d1b410c9d Add regression tests for PR 105078. 2006-11-05 18:41:23 +00:00
n_hibma
3d639ea5f8 Only use the filename part of the kernel configuration file as an argument to
KERNCONF after the file has been copied to the sys/${ARCH}/conf directory. This
allows the use of one kernel config file for multiple images. E.g.:

	NANO_KERNEL=../../../../software/nanobsd/default/SOEKRIS

MFC: after 6.2
2006-11-02 20:43:20 +00:00
jb
8f5ff1bf04 Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting
to WITH_CDDL.

This option enables building code that is licensed under Sun's CDDL.
The DTrace code is licensed that way, so by default it will get built
unless the WITHOUT_CDDL option is used.

There is another build toggle, NO_CTF, which turns off execution of
ctfconvert and ctfmerge in sys.mk, but this can't be implemented as
WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and
sys.mk is included automatically by make.
2006-11-01 09:02:11 +00:00
julian
ca6370b606 Reworking of how to add ports.
submitted by: Jean Milanez Melo
2006-11-01 01:25:51 +00:00
pjd
3a5ac9f9e0 Add fs_unrefs field to the super block structure.
Sponsored by:	home.pl
2006-10-31 22:18:33 +00:00
julian
cc337af506 Add configuration stubs for adding package derived files to the various
sample configurations.
Submitted by Jeremie Le Hen and tested by Jean Milanez Melo.
2006-10-30 19:50:01 +00:00
julian
75e5d4bb24 Add some code to support including files ffrom packages in the image.
Submitted by: Jeremie Le Hen and tested by Jean Milanez Melo.
2006-10-30 19:47:05 +00:00
julian
680b3eb932 Might as well move to the right place if we are not there.
The whole question of how much to rely on teh sources being in /usr/src
needs visiting.
2006-10-11 21:46:53 +00:00
julian
4104af0125 let the user know what configurations are available when asking for it. 2006-10-11 21:39:19 +00:00
maxim
d81c54abb9 o Grammar.
Submitted by:	kris
2006-10-09 06:47:08 +00:00
maxim
3e3b20daad o Enable test-sparceaout test since alc@ has fixed the panic in rev. 1.229
sys/vm/vnode_pager.c.
cVS: ----------------------------------------------------------------------
2006-10-09 05:31:37 +00:00
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