Function priv_sep::unveil_no_more

source ·
pub fn unveil_no_more() -> Result<(), Error>
Available on crate feature openbsd only.
Expand description

Invokes unveil(2) by passing NULL for both path and permissions.

§Errors

Returns io::Error when a problem occurs.

§Example

use priv_sep;
assert!(priv_sep::unveil_no_more().is_ok());