Commit Graph

530 Commits

Author SHA1 Message Date
pk cd1fabcef4 Writing to address 0x5a5a5a5a does not guarantee a SIGSEGV on all platforms
(e.g. on sparc, this produces a BUSERR). Just use a NUL pointer instead.
2003-10-12 17:13:46 +00:00
thorpej 8655c7d7eb Add a MAP_WIRED flag to mmap(2), which causes the new mapping to be
wired as if by mlock(2).
2003-10-07 00:17:09 +00:00
christos ce8fc220ee don't descend to siginfo on platforms that don't have it. by popular demand. 2003-10-04 20:29:52 +00:00
kleink b4a47d2e02 Query _POSIX_SEMAPHORES before the functional tests are run. 2003-10-01 12:18:53 +00:00
christos b6f1a886f4 Turn on strict warnings and add a main() 2003-09-30 21:05:04 +00:00
christos 2be3afdc37 don't check for vaddr_t yet, because all ports define it. 2003-09-30 21:01:59 +00:00
christos 2d148569b5 Make sure that our headers are clean enough by including all of them, and
checking for symbols that we leak in userland that we should not. Currently
only vaddr_t checked.
2003-09-30 20:47:23 +00:00
mycroft 4aa6d02a2d Maybe I'm just slow, but having diffs in the wrong direction confuses me... 2003-09-30 04:20:24 +00:00
mycroft af8bef6910 Catch up with MAXINTERP changing. 2003-09-30 03:41:33 +00:00
mycroft 7f2125f83b sysctl has moved. 2003-09-30 03:34:42 +00:00
mycroft afea89cace Make this test actually *work*... 2003-09-30 03:29:08 +00:00
christos bc895a7e30 Descend to siginfo; this will prompt the port masters to complete the
necessary work.
2003-09-26 18:13:36 +00:00
cjep 80911070d5 Add a test for output when using context options and -z. 2003-09-14 15:10:49 +00:00
cjep 46b2019823 +grep 2003-09-14 13:51:16 +00:00
cjep 260648d185 Import of some regression tests for grep. Some of them based on tests
seen in OpenBSD src/regress/usr.bin/grep.
2003-09-14 13:47:47 +00:00
christos 2874dc149c this needs to be able to core-dump so unlimit core 2003-09-14 07:14:28 +00:00
christos 3db3349e14 Add a Makefile for the siginfo tests 2003-09-14 07:06:40 +00:00
christos a17de3f746 Add a Makefile 2003-09-14 06:55:01 +00:00
christos 88827cce1c turn this into a proper regression test. 2003-09-14 06:54:28 +00:00
christos d6330eb736 more regression. 2003-09-14 05:38:41 +00:00
christos bb2796d215 make this a true regression test. 2003-09-13 22:55:17 +00:00
simonb f34da8442c Add a regression test for testing that here documents don't confuse the
exit status of the previous command ($?).  Fixed long ago on -current,
but forgot to commit this test...
2003-09-13 09:35:56 +00:00
christos 91e2bd73c5 add regression test for siginfo and threaded signal delivery. 2003-09-12 21:15:05 +00:00
christos ea9e274f07 delete bogus sigcontext 2003-09-12 16:18:37 +00:00
christos c86f27654b new vm86_struct that does not use sigcontext. 2003-09-11 19:14:01 +00:00
drochner a1b15f00d2 sigcontext->siginfo 2003-09-10 15:33:08 +00:00
christos 6607193a4c simple tests to verify new signal trampoline works. 2003-09-06 22:27:22 +00:00
drochner 7fd74af1e3 add a "using namespace std" to make it compile with gcc3, and remove
the Makefile clause which disabled it in the gcc3 case
2003-09-03 20:53:16 +00:00
mrg 1e69032f26 forgot these with:
introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-09-02 06:36:22 +00:00
uwe 03bdc52085 #include <crypto/rijndael/rijndael-api-fst.h> to make this compile. 2003-08-28 22:31:46 +00:00
tron feb2a2aee7 Rewrite for new CAST-128 implementation. 2003-08-27 12:37:09 +00:00
drochner 4063218cee add vm86 2003-08-16 15:43:00 +00:00
drochner 1aa623b237 some basic vm86 tests, with and without separate signal stack 2003-08-16 15:02:35 +00:00
skrll 640826818b s/DL_LAZY/RTLD_LAZY/ 2003-08-12 16:15:33 +00:00
simonb 0f5220a9e0 Descend into games. 2003-08-12 03:05:20 +00:00
simonb 103942fe21 Add a regression test for factor(6). Just has the Jenny prime for now. 2003-08-12 03:03:20 +00:00
drochner 21fd723e0c choose ldt positions invidious enough to exercise the
kernel's ldt reallocate strategy,
now we can reproduce the problem described in
PR port-i386/19724 by Stephen Ma
2003-08-11 17:19:51 +00:00
drochner 4257f06ff2 close the stack frame properly before using the return address
(did this ever work with recent compiler versions?)
2003-08-11 13:30:16 +00:00
sjg a41eaef46a Hook make unit-tests into regress 2003-08-08 06:42:38 +00:00
agc 73b0a7eafd Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22307, verified by myself.
2003-08-07 09:51:08 +00:00
itojun 18232c74bc regress test for libdes (destest.c from 0.9.6j) 2003-08-04 04:20:25 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
skrll d4773575b3 s/DL_LAZY/RTLD_LAZY/ 2003-08-01 07:04:31 +00:00
itojun 5de5abdd3d consistently use new DES API, re-enable des regression test 2003-07-31 08:53:58 +00:00
lukem 46a6f14708 style nit; list bsd.rpc.mk before bsd.prog.mk 2003-07-29 02:45:23 +00:00
salo b75abedac4 netbsd.org->NetBSD.org 2003-07-26 19:38:45 +00:00
mrg a64be71369 disable this with gcc3 for now 2003-07-26 15:25:52 +00:00
mrg 875072c60b include <stdlib.h> for exit prototype 2003-07-26 15:25:28 +00:00
tron cef2e0510a Fix broken library reference. 2003-07-24 16:28:59 +00:00
itojun 81307aea12 regress test for openssl 0.9.7b 2003-07-24 14:22:51 +00:00