aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
blob: 082a952ce732fbc8a9f68c7f3bb691047f1bbaec (plain) (blame)
1
2
3
4
5
6
7
8
9
/* See LICENSE file for copyright and license details. */
#include <sys/prctl.h>

int
main(void)
{
	int val = 0;
	return prctl(PR_GET_PDEATHSIG, &val) || !val;
}