OpenBSD pledge(2) and unveil(2) support #157

Closed
emma wants to merge 3 commits from openbsd into main
Showing only changes of commit e2c03842a3 - Show all commits

View File

@ -34,7 +34,6 @@ use sysexits::EX_USAGE;
#[cfg(target_os="openbsd")] use openbsd::{ Promises, pledge };
#[cfg(target_os="openbsd")] use strerror::StrError;
fn usage(s: &str) -> ExitCode {
eprintln!("Usage: {} [-egl] integer integer...", s);
ExitCode::from(EX_USAGE as u8)