Function set_current_mode

Source
pub fn set_current_mode(new_mode: SELinuxMode) -> Result<()>
Expand description

Set the current SELinux enforcing mode.

See: security_disable(), security_setenforce().