aboutsummaryrefslogtreecommitdiffstats
path: root/tests/abort.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/abort.c')
-rw-r--r--tests/abort.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/abort.c b/tests/abort.c
index 3afda7b..aa9dac9 100644
--- a/tests/abort.c
+++ b/tests/abort.c
@@ -1,7 +1,9 @@
+#include <sys/prctl.h>
#include <stdlib.h>
int
main(void)
{
+ prctl(PR_SET_DUMPABLE, 1);
abort();
}