Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-22 | knf nits | Anton Lindqvist | |
2021-10-22 | add pipe select hangup test case; ok mpi@ | Anton Lindqvist | |
2021-10-05 | build prog once | Anton Lindqvist | |
2021-09-30 | Quote SUDO value during propagation, allowing `doas -n' to be correctly | Anton Lindqvist | |
honored which I use while running regress. The same principle is already applied to the PYTHON variable here. | |||
2021-09-28 | Turns out that older SPARC CPUs (like the UltraSPARC II) do report an exact | Mark Kettenis | |
fault address, while others (like the UltraSPARC T2) report an inexact address. Deal with this by using the EXPADDR_MASK on both the expected and the reported fault address. ok bluhm@ | |||
2021-09-28 | add missing sudo | Anton Lindqvist | |
2021-09-27 | Return 0 from main() otherwise the exit code is garbage on sparc64. | Alexander Bluhm | |
Collect status of the child process to detect test failures. OK tb@ | |||
2021-09-20 | Use proper sigsuspend() instead of old pause() and use sigprocmask() to | Claudio Jeker | |
block delivery of signals outside of sigsuspend(). With this the test is more reliable. pause() is implemented as two syscalls and so it is possible to catch a signal on the first syscall and than be stuck on the second waiting for something that already happened. OK millert@ deraadt@ bluhm@ | |||
2021-08-30 | Test for the pathetic case that the 2nd unveil in | Claudio Jeker | |
unveil(NULL, NULL); if (fork() == 0) unveil("/", "rwx") fails with EPERM. | |||
2021-08-30 | Check that fchdir() works. The problem in unveil was fixed some time ago. | Claudio Jeker | |
2021-08-30 | Make lines not wrap on 80 char terminals. Code gets more readable. | Claudio Jeker | |
2021-07-06 | This regress checks that 400 singals are evenly distributed over 4 | Alexander Bluhm | |
threads. It works well on idle 4 CPU machines, but with load or fewer cores the distribution of the threads' signal handlers is worse. Reduce the limit of signals that each thread must receive from 75 to 50. This should prevent random test fails. from Christian Ludwig | |||
2021-07-06 | alarm(3) cannot fail, remove error handling. | Alexander Bluhm | |
suggested by millert@ | |||
2021-06-20 | use __riscv instead of __riscv64 | Theo de Raadt | |
2021-06-12 | Exercise resetting of expired and unexpired timers. | Visa Hankala | |
2021-06-11 | Adjust futex regress test since futex(2) now returns -1 on error and sets | Mark Kettenis | |
errno like any normal syscall. ok mpi@, bluhm@ | |||
2021-06-01 | Introduce the new test which enforces unp_gc() run and close | mvs | |
unreferenced descriptors. ok bluhm@ | |||
2021-05-27 | Introduce the new test which enforces unp_internalize() to follow error | mvs | |
path and FRELE(9) descriptors. ok @bluhm | |||
2021-05-22 | On powerpc64 calling a function needs 64 bytes of stack overhead | Alexander Bluhm | |
per recursion. On amd64 it is only 32. Allocate more stack per thread and the stack tests pass everywhere | |||
2021-05-21 | Fix the calculation of the maximum stack size in the command line | Alexander Bluhm | |
option -s. | |||
2021-05-21 | Set the stack size attribute of the pthreads large enough to allocate | Alexander Bluhm | |
the specified amount of stack memory. On 32 bit architectures regress fork-exit failed as the default stack size for pthreads is smaller. With the limit set to the expected size we can test even larger thread stacks. | |||
2021-05-17 | Skip sosplice loop test if Perl packages are not installed. | Alexander Bluhm | |
2021-05-16 | add riscv asm for these two security-feature checking regress tests | Theo de Raadt | |
with drahn | |||
2021-05-08 | Fix a race in the kqueue-read test. If the writer thread managed to fill | anton | |
up the pipe buffer, it will hang in write(2) waiting for the pipe to become writeable again. While doing so, it cannot observe that the kqueue thread as already finished implying that ctx_thread_alive() would return false, meaning no further writes are wanted. Therefore open the pipe in non blocking mode and just ignore EAGAIN errors while writing. | |||
2021-05-07 | Dynamic socket buffers make tests unreliable, set fixed buffer size. | Alexander Bluhm | |
2021-05-04 | Create memory pressure in test. Allocate heap and stack in child | Alexander Bluhm | |
processes and threads. Then exit has more work to do. | |||
2021-04-29 | Extend the fork and exit test with threads. Simultaneously kill | Alexander Bluhm | |
30 processes with 30 threads each. | |||
2021-04-28 | To hunt kernel bugs during exit, terminate processes simultaneously. | Alexander Bluhm | |
Fork 300 children that sleep. Kill them together as process group. Sleeping can optionally be done with individual memory layout by executing sleep(1). | |||
2021-04-14 | Unify pivot.h; brings powerpc/powerpc64 support to the usr.bin/lastcomm | Mark Kettenis | |
regress test. ok bluhm@ | |||
2021-02-09 | These regress tests expect coredumps to be written so run them with | Claudio Jeker | |
ulimit -c unlimited. Also simplify the logic a bit as requested by bluhm@. OK bluhm@ deraadt@ | |||
2021-02-09 | These regress test expect coredumps as an effect of the test so run | Claudio Jeker | |
the tests with ulimit -c unlimited to make sure coredumps are written. OK bluhm@ deraadt@ | |||
2021-01-21 | Pledge violation for SO_RTABLE prints "wroute" now. Adapt test. | Alexander Bluhm | |
2021-01-09 | Test that local UDP broadcast packets to 255.255.255.255 are handled | Alexander Bluhm | |
correctly by socket splicing. They generate an ELOOP error. | |||
2021-01-03 | Increase file descriptor limit to allow long chains of spliced | Alexander Bluhm | |
sockets in one test process. | |||
2021-01-02 | Create chains and loops of spliced tcp and udp sockets. Send data | Alexander Bluhm | |
through them and check that MAXLOOP is triggered in kernel. | |||
2020-12-30 | py3-scapy is now scapy | kn | |
OK bluhm sthen | |||
2020-12-27 | Ensure that a sufficient part of the remote log file has been | Alexander Bluhm | |
transferred before the local side greps for the spliced keyword. Fixes a race seen on the arm64 regress machine. | |||
2020-12-26 | Missed a python2.7, scapy 2, copyright bump in previous scapy 3 commits. | Alexander Bluhm | |
2020-12-25 | Switch to scapy with python 3. | Alexander Bluhm | |
2020-12-17 | Fix regress target name, they must be unique. | Alexander Bluhm | |
2020-12-17 | Remove echo headlines. | Alexander Bluhm | |
2020-12-16 | Remove echo headlines. Makefile cleanup. | Alexander Bluhm | |
2020-12-16 | Remove echo headlines. Use consistent target names. | Alexander Bluhm | |
2020-12-16 | Make test actually fail if something is broken. | Alexander Bluhm | |
Remove echo headlines. Use consistent target names. | |||
2020-11-10 | Link all regress/sys/kern/ subdirs to build and sort alphabetically. | Alexander Bluhm | |
2020-10-21 | Fix building the library when invoked with make regress. | Alexander Bluhm | |
OK patrick@ | |||
2020-10-20 | Add arm64 support. | Mark Kettenis | |
ok deraadt@ | |||
2020-10-16 | Implement propper handling for make clean and obj. | Alexander Bluhm | |
2020-09-16 | Remove tests that are now under signal/ | Martin Pieuchot | |
2020-09-16 | Move sigsuspend test. | Martin Pieuchot | |