summaryrefslogtreecommitdiff
path: root/regress/sys
AgeCommit message (Collapse)Author
2004-06-21always run userldt regress, but enable the sysctl if neededDavid Krause
ok millert@
2004-05-13test the spop1,,0 instructionsMichael Shalayeff
2004-05-12a test for probe instructionsMichael Shalayeff
2004-05-10Check select in addition to poll (they should produce the same results).Todd C. Miller
Run tests 4 times: with and without blocking and with and without a timeout for poll/select. Results match Solaris.
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-26Oops, unbreak m88k; spotted by aoyama@Miod Vallat
2004-04-24Look for tests in sys/arch/MACHINE_ARCH as well if necessary; and move theMiod Vallat
m88k userland trap tests to its MACHINE_ARCH directory.
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-14disable mac operationsMarkus Friedl
2004-03-04actually SKIP nxtext-mmap, rather than returning a fake SUCCESSDavid Krause
2004-03-03... and add alpha too, which I forgot earlier.Miod Vallat
2004-03-03Add arm to the victims.Miod Vallat
2004-03-02skip test if machdep.userldt sysctl is not enabledDavid Krause
help from and ok tedu@
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-28struct reg changedTheo 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.
2004-01-31Simple unaligned-pc ptrace evil test.Miod Vallat
Code initially for sparc from Mark Kettenis, KNF and other architectures snippets by yours truly. Regress at your own risc on sparc and m68060 for now.
2004-01-29Add fifofs regress (currently fails)Todd C. Miller
2004-01-29Add copyright, remove old test results from a comment and enhanceTodd C. Miller
compilation on FreeBSD and NetBSD.
2004-01-29Simple FIFO regress for O_RDWR using poll, read and write.Todd C. Miller
2004-01-18add regression tests for /dev/ptm.Bob Beck
ok deraadt@
2003-12-07destroy, not delete tunXXMarkus Friedl
2003-12-07- use tun98 and tun99 and not interfere with existing tun(4)Markus Friedl
- use IPs from the example rage - destroy tun98/99 after the test - test all of select/poll and kqueue ok deraadt
2003-12-02delete nasty mickey changeTheo de Raadt
2003-12-02tun(4) select+kq tests from Christopher Maxwell <cmaxwell@themanor.net> w/ ↵Michael Shalayeff
little mods of mine
2003-11-04old __syscall test is really a wait() testMichael Shalayeff
2003-11-04a simpler test for __syscall args alignmentMichael Shalayeff
2003-09-25make sure to not overflow the label; from Charles Blundell <cb@netbsd.org>Michael Shalayeff
2003-09-02add missing includesDavid Krause
ok deraadt@ tedu@ dhartmei@ krw@
2003-09-02Run a complete test again all trap vectors - this passes now.Miod Vallat
2003-09-01A simple regression test to catch which trap vectors, when invoked fromMiod Vallat
userland, will spank the mvme88k kernel by mistake. The test does not trigger the deadly ones, yet.
2003-08-19X should have R; deraadt, so now the page is in one of three states: none, ↵Jason Wright
X|R, W|R at all times.
2003-08-19Keep the permissions on the page we're messing with as strict as possibleJason Wright
(ie. W^X semantics). based on discussion with Theo.
2003-08-19cleaning... I'm done, I swear.Jason Wright
2003-08-19flush instruction cache nicelyJason Wright
2003-08-19replace the brain dead perl implementation with an devious C implementationJason Wright
(based on discussion with drahn... insanity is all mine tho =)
2003-08-06don't repeat the numeric frequency 10 times... use a #defineJason Wright
2003-08-02add missing includesDavid Krause
ok deraadt@ tedu@
2003-08-02pass correct argument to sigfillsetDavid Krause
ok deraadt@ tedu@
2003-07-31add missing CLEANFILES; ok deraadt@David Krause
2003-07-31various cleanups; david says results are sameTheo de Raadt
2003-07-31do not do -Werror hereTheo de Raadt
2003-07-31go deeperTheo de Raadt