summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2008-09-19adjust for MAXINTERP crank, pointed out by dkrause@Damien Miller
2008-09-02fix builds for when obj/ presentDamien Miller
fix gcc warnings add licenses ok damien@
2008-08-22Test the IPv6 address printing of pf_print_host() in net/pf.c.Alexander Bluhm
help and ok mpf
2008-08-12test vectors for HMAC-MD5, HMAC-SHA1, HMAC-SHA256, AES-128-CMAC,Damien Bergamini
AES Key Wrap. ok djm@
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-12+aes testsDamien Miller
2008-06-12blocksize=128 keysize={128,256} AES test vectors from Dr. Brian GladmanDamien Miller
http://fp.gladman.plus.com/AES/
2008-06-12Test crypto(4) AES against test vectors from Dr. Brian GladmanDamien Miller
available at http://fp.gladman.plus.com/AES/ only keysize={128,256} and standard AES blocksize for now
2008-06-10Add a regression test for signaling permission checks. From mickey@.Hans-Joerg Hoexer
ok deraadt
2008-06-09+aesxts subdirDamien Miller
2008-06-09regress tests for crypto(4) CRYPTO_AES_XTS using test vectors fromDamien Miller
IEEE P1619-2007 standards; ok hshoexer@
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-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-10-20oops, too much copying from select(2) manualJacob Meuser
noticed by and fix from deanna@, thanks
2007-10-19fix off by ones in the AUDIO_GET[PR]RINFO testsJacob Meuser
2007-10-13Do not attempt to work on more than SHMMAXPGS pages, makes this run unmodifiedMiod Vallat
on vax.
2007-10-03add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and theJacob Meuser
data structure these ioctls use, audio_bufinfo. these ioctls return information about the play and record buffers into the audio_bufinfo structure. these are being added to aid in porting non-native audio applications and libraries, and to fix issues in our OSS audio emulation. these ioctls exist only on OpenBSD and should not be used in code intended for distribution. ok ratchov
2007-08-26- remove commented out 'extern errno' declarationJacob Meuser
- remove pointless AUDIO_FLUSH.
2007-08-26add a function to trigger recording and use it for full-duplex modeJacob Meuser
2007-08-01Fix Dutch hypos.Miod Vallat
2007-07-31set the blocksize to the size of the read/write buffers.Jacob Meuser
the blocksize matters for the poll() cases because we pass the poll when reading from the device when there is any data in the record buffer. since data is transfered into the buffer in blocksize chunks, if there was no and now is some data in the buffer, there is probably about blocksize bytes of data in the buffer. if in non-blocking mode, which is common when using poll(), and we try to read() more bytes than are in the record buffer, we will receive an EAGAIN. if we read() in blocksize chunks, we will never try to read more than is available. a more eloquent version of the above description should be in audio(4).
2007-07-31pass command line options to audiotest_rw through OPTS, e.g.Jacob Meuser
$ OPTS="-e 1 -r 22050 -c 1 -b 1024" DO_AUTEST=1 make
2007-07-06- document -vJason McIntyre
- tweak usage()
2007-07-06remove another $Id$, forgotten in last commitJacob Meuser
2007-07-06proper RCS tagsJacob Meuser
2007-07-06manpage improvements from jmc@Jacob Meuser
2007-07-06regression tests for various audio read(2) and write(2) scenariosJacob Meuser
2007-07-06regression test for AUDIO_GETINFO/AUDIO_SETINFO ioctlsJacob Meuser
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29the MSIZE mbuf constant moved from MD param.h to MI param.hDavid Krause
ok deraadt@ millert@
2007-05-21Add mmap_mod.Artur Grabowski
2007-05-21A test for a corner-case that some pmaps get wrong.Artur Grabowski
2007-04-29add sig-stop.Artur Grabowski
2007-04-29Quite dumb test for torturing SIGSTOP/SIGCONT.Artur Grabowski
2007-04-25- add ability to specify a tone to be played (defaults to 440hz)Jason Wright
- stop using atoi ... use strtod/strtol - fixing timing stuff for alaw/8
2007-04-14Add code to check the kern.securelvel sysctl, since we run with aThordur I. Bjornsson
default securelevel of 1, files with the SF_APPEND or SF_IMMUTBLE flag set cant be removed (or the have the flag removed) so we get alot of false postives. Instead of creating duplicte tests for different securelevels we simply remove these flags for the call to chflags(); This however makes some of the test a little corny but we agreed this was better. ok pedro@, tedu@
2007-04-12Remove the SF_NOUNLINK and UF_NOUNLINK from the test files, we dontThordur I. Bjornsson
support them; Cuts down false-postives. ok pedro@
2007-04-10No need to use umount -f now that both cases of vnode leakage were fixedPedro Martelletto
2007-03-30Don't assume 'run' to be executable, pointed out and okay deraadt@Pedro Martelletto
2007-03-30Add regression test suite for FFS, from FreeBSD, okay art@ deraadt@Pedro Martelletto
2006-10-23regression test for getpeereid. okay claudioMarc Espie
2006-05-08Clean the internal m88k trap type codes; while there, simplify andMiod Vallat
factorize the build of the VBR page betweem luna88k and mvme88k. Tested by aoyama@ and I.
2006-04-06enable mmap_fixed regressKurt Miller