aboutsummaryrefslogtreecommitdiffstats
path: root/tests/abort.c
blob: aa9dac96c5dea86d8d17c9da9ee77812b339783e (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <sys/prctl.h>
#include <stdlib.h>

int
main(void)
{
	prctl(PR_SET_DUMPABLE, 1);
	abort();
}