forked from bonsai/harakit
mm(1): fixes to pledge(2) now; tests: bonsai/mm.mk: adds test for regression
This commit is contained in:
@@ -52,7 +52,7 @@ fn main() -> ExitCode {
|
||||
let usage = format!("Usage: {} [-aetu] [-i input] [-o output]", argv[0]);
|
||||
|
||||
if cfg!(target_os="openbsd") {
|
||||
let promises = Promises::new("rpath stdio unveil");
|
||||
let promises = Promises::new("cpath rpath stdio unveil wpath");
|
||||
if let Err(e) = pledge(Some(promises), None) {
|
||||
eprintln!("{}: {}", argv[0], e.strerror());
|
||||
return ExitCode::from(EX_OSERR as u8);
|
||||
|
||||
Reference in New Issue
Block a user