summaryrefslogtreecommitdiffstats
path: root/contrib/mdocml/test-sandbox_init.c
blob: a4902ee6166978d74016d069dbbb535639324e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sandbox.h>

int
main(void)
{
	char	*ep;
	int	 rc;

	rc = sandbox_init(kSBXProfileNoInternet, SANDBOX_NAMED, &ep);
	if (-1 == rc)
		sandbox_free_error(ep);
	return(-1 == rc);
}
OpenPOWER on IntegriCloud