referrerpolicy=no-referrer-when-downgrade

check_can_fully_clone

Function check_can_fully_clone 

Source
pub unsafe fn check_can_fully_clone() -> Result<()>
Expand description

Runs a check for clone(2) with all sandboxing flags and returns an error indicating whether it can be fully enabled on the current Linux environment.

SAFETY: new process should be either spawned within a single threaded process, or use only async-signal-safe functions.