Commit Graph

206869 Commits

Author SHA1 Message Date
hannken 6c1ffcfa42 Move an assertion to the right place.
Ok: YAMAMOTO Takashi <yamt@netbsd.org>

Fixes PR #45578 (kernel crash with BUFQ_PRIOCSCAN)
2011-11-07 08:44:16 +00:00
tron 061f7d1edc Stack-smash protection is not enabled by default, at least not for
the complete source-tree.

Pointed out by <bch> on "current-users" mailing list.
2011-11-06 22:34:47 +00:00
jym 234ccf064a Add a new command to dd(1): msgfmt. The command modifies the
output of the information summary returned by dd(1). This can be used
to specify messages in a more usable (or parseable) format like
human-readable values.

My intent is to re-use this for building image files and quick I/O
benchmarking.

Reviewed by tsutsui@ on tech-userlevel. See also
http://mail-index.netbsd.org/tech-userlevel/2010/12/03/msg004179.html

Some examples:

 $ dd if=/dev/zero of=/dev/null bs=1m count=1 msgfmt=human
1+0 records in
1+0 records out
1048576 bytes (1,0 MB) transferred in 0.001 secs (1048576000 bytes/sec - 1,0 GB/sec)

 $ dd if=/dev/zero of=/dev/null count=1 msgfmt='
 > <speed>%E</speed>
 > <time>%s</time>
 > <bytes>%b</bytes>
 > '
<speed>500 KB/sec</speed>
<time>0.001</time>
<bytes>512</bytes>
2011-11-06 21:22:23 +00:00
christos c32c91254c make this compile again. 2011-11-06 20:21:05 +00:00
phx 8fb34a2940 Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.
2011-11-06 20:20:57 +00:00
christos e8514ab687 explain how to use .PARSEDIR and .PARSEFILE 2011-11-06 19:50:46 +00:00
christos f0528cf595 add debugging for parsedir and parsefile 2011-11-06 19:46:56 +00:00
christos 96f71ed699 mkdir the proper sim dirs! 2011-11-06 19:46:12 +00:00
christos 334ef7a14f make the standard tests optional. 2011-11-06 19:45:37 +00:00
christos 210cc8d989 Add compat_svr4 hooks, this does not work yet. 2011-11-06 19:45:04 +00:00
christos f57affd507 Add the libtre tests
XXX: It would be *really* nice to share the data with libc/regex since
this is just another copy.
2011-11-06 18:53:00 +00:00
christos d85ad0736b add libtre test directories 2011-11-06 18:45:04 +00:00
christos 2c2ad6b65c Hook in the libtre tests 2011-11-06 18:43:51 +00:00
christos 9ac3865ca8 Disable the basic tests for now. 2011-11-06 18:42:53 +00:00
christos a8ac67be00 XXX: Limit repetitions to something tiny so TRE can handle the exhaust test. 2011-11-06 18:37:40 +00:00
christos 60e5ed2c64 skip the association that does not match with our implementation. 2011-11-06 18:35:22 +00:00
christos 53528ec223 - Print the symbolic error using regerror, as well as the pattern that caused
it.
- Add the ability to set the number of repetitions in the pattern from
  cpp since TRE handles things poorly:
	- It runs the machine out of memory with rep=9 (we use rep=9999)
	- It truncates the pattern with rep=9999
2011-11-06 18:34:48 +00:00
christos 8ff45b318b ability to select associativity 2011-11-06 18:32:39 +00:00
christos ea54479e81 - Handle TRE
- Make BUG comments print.
2011-11-06 18:32:17 +00:00
christos 102413b584 leave all tests in and have the awk script select which ones are appropriate. 2011-11-06 18:31:30 +00:00
christos 70f088f0e1 don't truncate error messages to 1K. 2011-11-06 18:18:16 +00:00
wiz 442932cb1b Remove dot from Nd. 2011-11-06 17:31:19 +00:00
christos 9d51999485 new regex tests 2011-11-06 17:05:02 +00:00
christos 87ec57a977 Add the AT&T regex tests 2011-11-06 17:02:33 +00:00
christos bb341c661e be less chatty. 2011-11-06 16:43:25 +00:00
christos 4161ff24cf moved below 2011-11-06 16:41:02 +00:00
christos 91c85f3431 moved because we cannot have multiple FILESDIR 2011-11-06 16:40:37 +00:00
christos 1fb803f0c7 more failed tests, perhaps I should move the data to a file, but how do
you open a file in ATF?
2011-11-06 16:26:54 +00:00
christos 57214080b8 Add tests from: http://www2.research.att.com/~gsf/testregex/ 2011-11-06 16:26:20 +00:00
jruoho 2f943d6432 Skip the test on sparc and point to PR port-sparc/45580. 2011-11-06 16:18:27 +00:00
christos 10382e8ffe Add the failed forced association tests. 2011-11-06 16:08:28 +00:00
christos 0a70be0425 Add the nullsubexpression tests. We mostly fail or don't support them.
Two of the tests actually cause the regex library to enter infinite
recursion.
2011-11-06 16:02:08 +00:00
cherry d4e5375149 Use the right format strings with printf 2011-11-06 15:53:04 +00:00
cherry b5f94a29fc DTRT with macros and use xen's info page when initialising pmap_pa_start and pmap_pa_end. 2011-11-06 15:51:09 +00:00
cherry be86218e1b DTRT when initialising pmap_pa_end. 2011-11-06 15:35:29 +00:00
christos b6cafb52cb Add a bug section so we can skip tests that don't work. 2011-11-06 15:19:31 +00:00
cherry c9745c1f66 [merging from cherry-xenmp] make pmap_kernel() shadow PMD per-cpu and MP aware. 2011-11-06 15:18:18 +00:00
christos a65aa58ff6 Add a test harness for the att data files:
http://www2.research.att.com/~gsf/testregex/
Not part of the build yet.
2011-11-06 14:23:04 +00:00
dholland 60230be848 time_t isn't necessarily "long". PR 45577 from taca@ 2011-11-06 14:11:00 +00:00
tron d775ee19fd Add entries for "npf_alg_icmp" kernel module. 2011-11-06 13:27:25 +00:00
tron 2d18c9fb9f Add "npf_alg_icmp" kernel module. 2011-11-06 13:26:54 +00:00
tron 2a04f59494 Change module class to driver as npf(4) is a pseudo device. 2011-11-06 13:08:04 +00:00
tron 0783b12674 Fix breakage caused by last commit. "npf_alg_icmp.c" is supposed to be
its own kernel module.
2011-11-06 13:04:44 +00:00
tron e9e19f6e0e Return ENOEXEC instead of 0 if the info of a kernel module doesn't have the
expected size. This prevents kernel panics when loading broken modules.
2011-11-06 12:40:04 +00:00
tron 2f22aacfed Define "INET6" to get IPv6 support. 2011-11-06 12:07:21 +00:00
tron e97d755f1c Add "npf" kernel module. 2011-11-06 11:51:42 +00:00
tron ceee944e91 Build "npf" module. 2011-11-06 11:51:23 +00:00
cherry 396b8b4abf [merging from cherry-xenmp] Make the xen MMU op queue locking api private. Implement per-cpu queues. 2011-11-06 11:40:46 +00:00
tron c461628ce9 Fix build with stack smash protection enabled. 2011-11-06 10:55:27 +00:00
tron 74975501ed Update list of source files. 2011-11-06 10:35:50 +00:00