Function jail::helpers::simple_jail
source · pub fn simple_jail(
jail_config: &Option<JailConfig>,
policy: &str
) -> Result<Option<Minijail>>
Expand description
Creates a basic [Minijail] if jail_config
is present.
Returns None
if jail_config
is none.