Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add ulimit -c unlimited to the commands that plan to produce a coredump. | 2020-04-01 | 1 | -1/+2 | |
| | | | | | This way the regress tests work also in the case where the invoking shell has ulimit -c 0. | ||||
* | 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@ | ||||
* | Use a regex(3) to find the new pledge violation string in the dmesg. | 2017-10-12 | 2 | -33/+52 | |
| | |||||
* | 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 | ||||
* | 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 | ||||
* | 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 | |
| | |||||
* | drop "abort" promise, and make it the default behaviour. | 2016-01-09 | 1 | -7/+7 | |
| | | | | | | | | | The current code has already setted it by default since 1.74 any pledge failure tries to make a coredump (default rules for coredump still applies: so setuid binaries don't create them locally). ok deraadt@ | ||||
* | regress: pledge: update SYS_kill syscall number | 2015-11-14 | 1 | -2/+2 | |
| | |||||
* | regress: pledge | 2015-11-03 | 1 | -4/+8 | |
| | | | | check for error output for systrace | ||||
* | regress: pledge | 2015-11-03 | 1 | -1/+3 | |
| | | | | | - add $OpenBSD$ tag in systrace.filter.in - replace dir by variable | ||||
* | regress pledge: check the regress with systrace enabled too | 2015-11-03 | 2 | -4/+85 | |
| | |||||
* | regress: pledge | 2015-10-30 | 3 | -8/+8 | |
| | | | | | - for calling ioctl(2), we need "stdio" now: change test_request_tty - for calling kill(2), we need "stdio" now: change test_kill | ||||
* | regress pledge: rpath isn't needed anymore for mkdir() | 2015-10-29 | 2 | -4/+4 | |
| | | | | make the cpath test more strict. | ||||
* | update regress suite for pledge | 2015-10-26 | 5 | -91/+88 | |
| | |||||
* | Cast isdigit() argument to unsigned char. | 2015-10-23 | 1 | -3/+3 | |
| | |||||
* | update regress for pledge after whitelisted-path view inclusion | 2015-10-20 | 1 | -7/+7 | |
| | |||||
* | regress pledge: test kill() | 2015-10-18 | 2 | -5/+5 | |
| | | | | since "inet" has PLEDGE_SELF, and now calling kill() to self is permitted with PLEDGE_SELF, try this with "fattr" | ||||
* | regress pledge: remove cmsg | 2015-10-18 | 2 | -4/+2 | |
| | | | | it has no sens to keep it. | ||||
* | regress pledge: cpath test | 2015-10-18 | 2 | -4/+4 | |
| | | | | you need to read the directory before creating something in. add rpath | ||||
* | regress pledge: cmsg is deprecated | 2015-10-18 | 1 | -2/+2 | |
| | |||||
* | regress pledge: tweak a bit the manner to grab hte syscall number | 2015-10-18 | 1 | -2/+10 | |
| | | | | permit debug string be present on the line | ||||
* | regress pledge | 2015-10-09 | 1 | -0/+1 | |
| | | | | add missing $OpenBSD$ header | ||||
* | regress pledge: remove 'regenerate' target | 2015-10-09 | 1 | -5/+1 | |
| | |||||
* | add "tty" regress for pledge | 2015-10-09 | 5 | -7/+93 | |
| | |||||
* | follow tame->pledge in regress | 2015-10-09 | 5 | -0/+829 | |