Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pledge violation for SO_RTABLE prints "wroute" now. Adapt test. | 2021-01-21 | 1 | -5/+4 | |
| | |||||
* | Make test actually fail if something is broken. | 2020-12-16 | 1 | -33/+26 | |
| | | | | Remove echo headlines. Use consistent target names. | ||||
* | Add ulimit -c unlimited to the commands that plan to produce a coredump. | 2020-04-01 | 3 | -6/+7 | |
| | | | | | This way the regress tests work also in the case where the invoking shell has ulimit -c 0. | ||||
* | bye bye pledgepath | 2018-04-28 | 2 | -630/+0 | |
| | |||||
* | Add test for stat behavior to make sure we can stat executable only | 2018-04-27 | 1 | -2/+4 | |
| | |||||
* | Fix regress that was depengin on pledgepath() being able to | 2018-04-27 | 1 | -8/+3 | |
| | | | | traverse the filesystem unrestricted | ||||
* | test with pledgepath(NULL,NULL) instead of pledge activating things | 2018-04-27 | 1 | -4/+4 | |
| | |||||
* | Change regress to accomodate no flags escalation once active | 2018-04-27 | 1 | -22/+67 | |
| | |||||
* | remove references to O flags in test messages | 2018-04-27 | 1 | -7/+7 | |
| | |||||
* | tests for clearing out flags | 2018-04-26 | 1 | -2/+18 | |
| | |||||
* | Adjust regress for new rwxc flags instead of O_FLAGS | 2018-04-26 | 1 | -14/+12 | |
| | |||||
* | failure for exiting on signal | 2018-04-26 | 1 | -2/+10 | |
| | |||||
* | Add regress for .. being disallowed as it currently is | 2018-04-26 | 1 | -1/+3 | |
| | |||||
* | test double slash in paths | 2018-04-26 | 1 | -1/+5 | |
| | |||||
* | Moar regress | 2018-04-26 | 1 | -3/+32 | |
| | |||||
* | Regress additions and fixes for latest | 2018-04-26 | 1 | -15/+67 | |
| | |||||
* | New regress to handle flags | 2018-04-25 | 2 | -27/+69 | |
| | |||||
* | regress changes for later varieties | 2018-04-24 | 1 | -2/+13 | |
| | |||||
* | Add regression test of unlinking and re-creating a pledgepathed file | 2018-04-16 | 1 | -1/+7 | |
| | |||||
* | The pledge flag for file descriptors opened from /dev/fd was always | 2018-04-11 | 1 | -2/+6 | |
| | | | | | | | set for pledged processes. dup(2) uses the flag from the old file descriptor. Make open /dev/fd consistent to duplicate and inherit the flag. OK deraadt@ | ||||
* | Add subdir filedescriptor. | 2018-04-10 | 1 | -1/+2 | |
| | |||||
* | Check that a file descriptor's plegde flag is correctly propagated. | 2018-04-10 | 8 | -0/+426 | |
| | | | | | The test covers the system calls dup, dup2, dup3, open /dev/fd, and file descriptor passing. The fstat(1) output is analysed. | ||||
* | hookup execpromise | 2017-12-16 | 1 | -1/+2 | |
| | |||||
* | execpromise regress | 2017-12-16 | 2 | -0/+121 | |
| | |||||
* | The pledge(2) regress tests fail since the second parameter has | 2017-12-15 | 3 | -142/+30 | |
| | | | | | | been converted from paths to execpromises. Remove the test fragments for the non-existing paths feature. OK semarie@ florian@ | ||||
* | Add regress to ensure that execve bypasses pledgepath checks (for now) | 2017-11-30 | 1 | -1/+17 | |
| | |||||
* | copyright | 2017-11-28 | 1 | -0/+18 | |
| | |||||
* | decriptor relative openat() and chmod | 2017-11-27 | 1 | -2/+26 | |
| | |||||
* | readlink and friends | 2017-11-27 | 1 | -2/+31 | |
| | |||||
* | symlink and a couple more... | 2017-11-27 | 1 | -0/+48 | |
| | |||||
* | access and chflags | 2017-11-27 | 1 | -1/+36 | |
| | |||||
* | Add the start of regression tests for upcoming pledgepath stuff. | 2017-11-27 | 2 | -0/+250 | |
| | | | | | still some more to add, and we won't link into regress until later ok deraadt@ | ||||
* | Now pledge("inet") allows socket option IPV6_V6ONLY. Adapt test. | 2017-11-20 | 1 | -2/+3 | |
| | |||||
* | Use a regex(3) to find the new pledge violation string in the dmesg. | 2017-10-12 | 2 | -33/+52 | |
| | |||||
* | The pledge sigkill test is an outdated copy of sigabrt. Remove the | 2017-04-12 | 4 | -65/+2 | |
| | | | | | former and activate the latter. OK semarie@ | ||||
* | Add comment how the test works. | 2017-04-12 | 1 | -1/+7 | |
| | |||||
* | Make the test also work with obj directory. | 2017-03-28 | 1 | -2/+3 | |
| | | | | from semarie@ | ||||
* | Link pledge sockopt regression tests to build. | 2017-03-28 | 1 | -1/+2 | |
| | |||||
* | Call get/setsockopt(2) with various sockets and check which options | 2017-03-28 | 2 | -0/+134 | |
| | | | | cause aborts due to pledge(2) restrictions. | ||||
* | correct my email address. thanks fcambus@ | 2017-03-24 | 2 | -4/+4 | |
| | |||||
* | Enable semarie's sendrecvfd tests | 2017-02-22 | 1 | -1/+2 | |
| | |||||
* | Add regress tests for fd passing and pledge. Check sending and receiving | 2017-02-22 | 2 | -0/+349 | |
| | | | | | | | | | | | | | all 7 types of vnodes as follows: - nopledge: no pledge - verify that send/recv work as expected - sendfd: pledge the sender with "stdio sendfd" - recvfd: pledge the receiver with "stdio recvfd" - nosendfd: pledge the sender with "stdio" (it is expected to fail) - norecvfd: pledge the receiver with "stdio" (it is expected to fail) This results in 35 possible combinations with different semantics depending on the vnode type. From semarie, many thanks! | ||||
* | Remove SUDO=doas in regress Makefile. The test developer must not | 2017-02-21 | 1 | -2/+1 | |
| | | | | | | set the SUDO variable. The tester may decide wether he runs doas, sudo or the whole test as root. discussed with tb@ semarie@ benno@ | ||||
* | Make test_request_tty() also pass in environments without tty by opening a | 2017-02-21 | 2 | -4/+9 | |
| | | | | | | | | | pseudo-tty and testing on the slave instead of stderr. nicm confirms that this approach is fine bluhm tested in his environment and the tests now pass from semarie | ||||
* | re-enable generic pledge tests | 2017-02-19 | 1 | -2/+2 | |
| | |||||
* | Clean up regress/sys/kern/pledge/generic tests: many tests failed because | 2017-02-19 | 3 | -108/+15 | |
| | | | | | | | | wlpaths is disabled in GENERIC kernels: remove or disable failing test cases. Also remove the test_mmap() function testing the prot_exec promise since it would need to be run on a wxallowed partition. from semarie | ||||
* | deactivate the existing pledge regress tests, they need | 2017-01-26 | 1 | -3/+4 | |
| | | | | | some changes to work again. activate new ioctl subdirectory. | ||||
* | add check for pledge(pf), and pledge(pf) + fd passing | 2017-01-26 | 5 | -0/+412 | |
| | |||||
* | unbreak pledge/generic test (breaked since ?) | 2016-04-27 | 1 | -3/+3 | |
| | | | | it still requires a pledge(2) with wlpath enable. | ||||
* | remove systrace | 2016-04-25 | 2 | -93/+2 | |
| |