Instantiating BSD jails from C
stackoverflow.com