summaryrefslogtreecommitdiff
path: root/regress/sys/kern
AgeCommit message (Collapse)Author
2009-10-13Make sure we do not loop when allocating an extent region with EX_CONFLICTOKMiod Vallat
and the whole extent is used; the current code computations would wrap. Found the hard way by jsg@, fix discuss with kettenis@, and you get a regress test for free (which will spin if you compile it again an old subr_extent.c)
2009-09-18Add regression test for overlapping allocation that should coallesce butMark Kettenis
currently doesn't.
2009-04-10Add EX_CONFLICTOK flag that allows an allocation to conflict with existingMark Kettenis
allocations, making sure that the union of all space is allocated. ok deraadt@
2008-09-19adjust for MAXINTERP crank, pointed out by dkrause@Damien Miller
2008-07-26Make sure the test array is 64 bit aligned, this now makes sparc fail thisMiod Vallat
test.
2008-07-25flockArtur Grabowski
2008-07-25file advisory locking tests from FreeBSD. We fail to detectArtur Grabowski
two deadlocks at the moment.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-10Add a regression test for signaling permission checks. From mickey@.Hans-Joerg Hoexer
ok deraadt
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
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@