mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
14 lines
186 B
C
14 lines
186 B
C
![]() |
#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);
|
||
|
}
|