summaryrefslogtreecommitdiff
path: root/regress/sys/kern
AgeCommit message (Collapse)Author
2011-08-29Test that reverse splicing timeout does not affect forward splicing.Alexander Bluhm
2011-08-28Minor cleanup.Alexander Bluhm
2011-08-28Allow splice make regress to run with and without obj directory.Alexander Bluhm
2011-08-21Add one more regression test for socket splicing with idle timeout.Alexander Bluhm
2011-07-23TCP out-of-band data is not reliable. Allow socket splicingAlexander Bluhm
regression tests to tolerate missing urgent bytes.
2011-07-07Add tests for kqueue EVFILT_SIGNAL and that they can't be passed overPhilip Guenthe
sockets
2011-07-07braces rock!Philip Guenthe
2011-07-07Suppress known failuresPhilip Guenthe
2011-07-06Add a regression test for file descriptor passing with UNIX sockets.Matthew Dempsky
ok claudio@
2011-07-06Test handling of non-NUL terminated sun_path values as well as garbagePhilip Guenthe
in the end of the sockaddr_un. Done with claudio@
2011-07-06Switch to a device that isn't deprecated and return more info onPhilip Guenthe
read failure
2011-07-06Add regress for errno returns of failed fchdir()sPhilip Guenthe
2011-07-05Hook unixsock upClaudio Jeker
2011-07-05Regress test for the path length of unix sockets.Claudio Jeker
2011-07-04Add new socket splicing tests for the idle timeout feature. NoteAlexander Bluhm
that you need p5-BSD-Socket-Splice version 0.03 to run the regression tests.
2011-04-22Make the socket splicing regression tests architecture independentAlexander Bluhm
by using the perl module BSD::Socket::Splice from ports. Tested on i386 and sparc64.
2011-03-13Make regression tests more reliable.Alexander Bluhm
2011-03-13Test that reading from a spliced socket does not return eof if thereAlexander Bluhm
is still data in the receive socket buffer.
2011-03-12Add more regression tests for socket splicing. These find theAlexander Bluhm
kernel bugs that have slipped through.
2011-03-08Add regression test that checks ENOTSOCK error for non-socket drain.Alexander Bluhm
2011-02-14Make tests more reliable by handling short socket splice correctly.Alexander Bluhm
2011-01-07Add kernel regression tests for socket splicing.Alexander Bluhm
2011-01-07do not rely on rndvar.h leaking shit into the namespaceTheo de Raadt
2010-08-04Add the new kqueue+rfork test, but disable the tests that use RFMEMPhilip Guenthe
as they don't work right now
2010-08-04Regression test for the recent rfork+kqueue fixPhilip Guenthe
2010-08-04tun* interfaces are now automatically destroyed on last close whenPhilip Guenthe
originally created by opening /dev/tun*
2010-08-04Confirm that a NOTE_EXIT knote is delivered when the child exitsPhilip Guenthe
Fix a C thinko
2010-06-27GCC is being intelligent with our asm statements that were used to pad stuffArtur Grabowski
before and after a function. We made the assumption that the function would not be rearranged but would stay between our paddings. Haha, trusting gcc to not rearrange things, we've never had problems with that.
2010-06-26Do not print "Read from tunnel foo failed" in the failure case of aBret Lambert
function named "tunnel_write", tell people that a write failed. ok claudio@
2010-06-21Fix fpe handler in regress test. Tested and `looks good' phessler@.Paul Irofti
2010-06-21clean up all generated filesPeter Hessler
2010-06-20Add some missing includes, so we do not have implicit functionPeter Hessler
declarations. OK miod@, millert@
2010-06-20Have the flock regress test actually depend on the flock regressPeter Hessler
program, so we have a chance of running pointed out (a long time ago) by david@
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