summaryrefslogtreecommitdiff
path: root/regress/sys/kern
AgeCommit message (Collapse)Author
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-15Repair usage of CMSG_SPACE and CMSG_LEN. While there, send three fdsHans-Joerg Hoexer
instead of just two as this decreases the propability that things just work although the sizes are wrong (ie. 8 aligns correctly on both 32 and 64 bit platforms even with wrong usage of CMSG_{LEN,SPACE} whereas 12 doesn't).
2008-03-13Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due toTheo de Raadt
an extensive discussion with otto, kettenis, millert, and hshoexer
2007-12-27-s uses optarg; Elad EfratTheo de Raadt
2007-08-01Fix Dutch hypos.Miod Vallat
2007-05-29the MSIZE mbuf constant moved from MD param.h to MI param.hDavid Krause
ok deraadt@ millert@
2007-04-29add sig-stop.Artur Grabowski
2007-04-29Quite dumb test for torturing SIGSTOP/SIGCONT.Artur Grabowski
2006-10-23regression test for getpeereid. okay claudioMarc Espie
2006-02-20make it more evil and panic; from egger@Michael Shalayeff
2006-02-15use proper msyncMichael Shalayeff
2005-08-08A reghression test that checks if a process survives very early signalOtto Moerbeek
delivery. Very early is before fork() returns.
2005-07-20EFAULT from PT_IO is a good error value too.Artur Grabowski
2005-07-20run from .OBJDIRTheo de Raadt
2005-07-20Regress test for PT_READ_{D,I} and PT_IO. (write coming soon).Artur Grabowski
2005-07-15Make globals accessed from sig handler volatile. From millert@Otto Moerbeek
2005-07-13As mickey@ pointed out, this test does not belong in libm. Move toOtto Moerbeek
correct place.
2005-07-11+= mmap-failArtur Grabowski
2005-07-11Test that mmap fails properly.Artur Grabowski
2005-05-31+=sigsuspendArtur Grabowski
2005-05-31Test the semantics of sigsuspend.Artur Grabowski
For some reason this test doesn't fail which means the code is correct and my reading of the code is incorrect. That can be either a good or bad sign depending on how you look at it. millert@ says it "looks correct"
2005-04-26A regress test for accessing long long on a long aligned, but not long longMiod Vallat
aligned, boundary on 32 bit systems. Written a while ago for m88k, eventually turned into a real regress test.
2005-04-22Do not trigger (valid) DIAGNOSTIC complaints with an incorrect test.Miod Vallat
2005-04-22Use REGRESS_TARGETS.Miod Vallat
2005-04-21Add a regression test for the extent subroutines; from NetBSD.Miod Vallat
2004-12-29define REGRESS_ROOT_TARGETS for tests that require root privilegesDavid Krause
2004-12-22some -Wimplicit-function-declaration cleaning; ok millert@David Krause
2004-10-10a few cleanupsMichael Shalayeff
2004-08-30Use CMSG_SPACE when allocating space for the control message.Todd C. Miller
Fixes a bogus regression on sparc64. OK henning@
2004-08-05Be nice to poor people with small machines and low limits.Artur Grabowski
2004-08-05Add signal-stress. Good luck.Artur Grabowski
2004-08-05A test that tests sends such a huge amount of signals that somethingArtur Grabowski
should happen if signal delivery is not robust.
2004-08-02A long time ago, the mquery API changed, however the regress was never updated.Dale Rahn
pointed out last week, and again today by art.
2004-07-28Add itimer.Artur Grabowski
2004-07-28Very crude tests that check that itimers are at least pretending to work.Artur Grabowski
2004-07-28Remove statement with no effect.Todd C. Miller
2004-07-22Spell reserved correctly; ok from copyright holders when in licence blocks.Miod Vallat
2004-07-20add commented-out entries for currently disabled regress testsDavid Krause
2004-04-27fd passing works over a socketpair too of course so document this.Todd C. Miller
Also test it in regress to be pedantic (though the kernel path is really the same). While there, remove cred-passing code that we don't support. OK deraadt@,
2004-04-12don't check rfork. the RFMEM changes had two effects. some of theTed Unangst
regress conditions (rfmem-stack) are no longer true, and other tests have to be rewritten to handle shared stacks. spotted by david@
2004-03-04actually SKIP nxtext-mmap, rather than returning a fake SUCCESSDavid Krause
2004-03-01oopsTheo de Raadt
2004-03-01looks like powerpc will not do W^X for some time..Theo de Raadt
2004-02-28avoid bad functions; tedu okTheo de Raadt
2004-02-28regress tests full of warnings make me go redTheo de Raadt
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-23disable buffering on stdout/stderr to avoid freaky sbrk() messagesMichael Shalayeff
2004-02-23let this run on a few more archsTheo de Raadt
2004-02-15Fool gcc3 into not detecting we want a divide by zero at compile time.Miod Vallat
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.