History log of /openbsd-current/regress/sys/kern/pledge/generic/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.11 03-Jun-2024 anton

Pledge violation messages are no longer accessible through dmesg since
the switch to uprintf. Attach a pseudo terminal in pledge regress in order to
observe the syscall number that caused the pledge violation, shrug.


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.10 01-Apr-2020 claudio

Add ulimit -c unlimited to the commands that plan to produce a coredump.
This way the regress tests work also in the case where the invoking shell
has ulimit -c 0.


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 12-Oct-2017 bluhm

Use a regex(3) to find the new pledge violation string in the dmesg.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.8 21-Feb-2017 tb

Make test_request_tty() also pass in environments without tty by opening a
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


Revision tags: OPENBSD_6_0_BASE
# 1.7 25-Apr-2016 tedu

remove systrace


Revision tags: OPENBSD_5_9_BASE
# 1.6 03-Nov-2015 semarie

regress: pledge

check for error output for systrace


# 1.5 03-Nov-2015 semarie

regress pledge: check the regress with systrace enabled too


# 1.4 26-Oct-2015 semarie

update regress suite for pledge


# 1.3 09-Oct-2015 semarie

regress pledge: remove 'regenerate' target


# 1.2 09-Oct-2015 semarie

add "tty" regress for pledge


# 1.1 09-Oct-2015 semarie

follow tame->pledge in regress


# 1.10 01-Apr-2020 claudio

Add ulimit -c unlimited to the commands that plan to produce a coredump.
This way the regress tests work also in the case where the invoking shell
has ulimit -c 0.


Revision tags: OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.9 12-Oct-2017 bluhm

Use a regex(3) to find the new pledge violation string in the dmesg.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.8 21-Feb-2017 tb

Make test_request_tty() also pass in environments without tty by opening a
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


Revision tags: OPENBSD_6_0_BASE
# 1.7 25-Apr-2016 tedu

remove systrace


Revision tags: OPENBSD_5_9_BASE
# 1.6 03-Nov-2015 semarie

regress: pledge

check for error output for systrace


# 1.5 03-Nov-2015 semarie

regress pledge: check the regress with systrace enabled too


# 1.4 26-Oct-2015 semarie

update regress suite for pledge


# 1.3 09-Oct-2015 semarie

regress pledge: remove 'regenerate' target


# 1.2 09-Oct-2015 semarie

add "tty" regress for pledge


# 1.1 09-Oct-2015 semarie

follow tame->pledge in regress


# 1.9 12-Oct-2017 bluhm

Use a regex(3) to find the new pledge violation string in the dmesg.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.8 21-Feb-2017 tb

Make test_request_tty() also pass in environments without tty by opening a
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


Revision tags: OPENBSD_6_0_BASE
# 1.7 25-Apr-2016 tedu

remove systrace


Revision tags: OPENBSD_5_9_BASE
# 1.6 03-Nov-2015 semarie

regress: pledge

check for error output for systrace


# 1.5 03-Nov-2015 semarie

regress pledge: check the regress with systrace enabled too


# 1.4 26-Oct-2015 semarie

update regress suite for pledge


# 1.3 09-Oct-2015 semarie

regress pledge: remove 'regenerate' target


# 1.2 09-Oct-2015 semarie

add "tty" regress for pledge


# 1.1 09-Oct-2015 semarie

follow tame->pledge in regress