summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/pidfd/pidfd_exec_helper.c
blob: 5516808c95f2b5f35527eb305b5e40db3b37d4f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
	if (pause())
		_exit(EXIT_FAILURE);

	_exit(EXIT_SUCCESS);
}