summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/pledge/generic (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add ulimit -c unlimited to the commands that plan to produce a coredump.claudio2020-04-011-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 hasbluhm2017-12-153-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.bluhm2017-10-122-33/+52
|
* Make test_request_tty() also pass in environments without tty by opening atb2017-02-212-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 becausetb2017-02-193-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 ?)semarie2016-04-271-3/+3
| | | | it still requires a pledge(2) with wlpath enable.
* remove systracetedu2016-04-252-93/+2
|
* drop "abort" promise, and make it the default behaviour.semarie2016-01-091-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 numbersemarie2015-11-141-2/+2
|
* regress: pledgesemarie2015-11-031-4/+8
| | | | check for error output for systrace
* regress: pledgesemarie2015-11-031-1/+3
| | | | | - add $OpenBSD$ tag in systrace.filter.in - replace dir by variable
* regress pledge: check the regress with systrace enabled toosemarie2015-11-032-4/+85
|
* regress: pledgesemarie2015-10-303-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()semarie2015-10-292-4/+4
| | | | make the cpath test more strict.
* update regress suite for pledgesemarie2015-10-265-91/+88
|
* Cast isdigit() argument to unsigned char.mmcc2015-10-231-3/+3
|
* update regress for pledge after whitelisted-path view inclusionsemarie2015-10-201-7/+7
|
* regress pledge: test kill()semarie2015-10-182-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 cmsgsemarie2015-10-182-4/+2
| | | | it has no sens to keep it.
* regress pledge: cpath testsemarie2015-10-182-4/+4
| | | | you need to read the directory before creating something in. add rpath
* regress pledge: cmsg is deprecatedsemarie2015-10-181-2/+2
|
* regress pledge: tweak a bit the manner to grab hte syscall numbersemarie2015-10-181-2/+10
| | | | permit debug string be present on the line
* regress pledgesemarie2015-10-091-0/+1
| | | | add missing $OpenBSD$ header
* regress pledge: remove 'regenerate' targetsemarie2015-10-091-5/+1
|
* add "tty" regress for pledgesemarie2015-10-095-7/+93
|
* follow tame->pledge in regresssemarie2015-10-095-0/+829