64b286c7
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); }