size_t len = sizeof(jailed);
::sysctlbyname("security.jail.jailed", &jailed, &len, NULL, 0);
return !jailed;
#elif defined (__DragonFly__)
return true;
#else
return false;
#endif