lucab / caps-rs

A pure-Rust library to work with Linux capabilities
https://docs.rs/caps
Other
83 stars 20 forks source link

errors: chain errno from syscall failure #21

Closed lucab closed 6 years ago

lucab commented 6 years ago

Fixes: #19

lucab commented 6 years ago

@kpcyrd mind giving this a run?

kpcyrd commented 6 years ago

Works nicely 👍

Error(Msg("capset error"), State { next_error: Some(Error(Sys(Errno { code: 1, description: Some("Operation not permitted") }), State { next_error: None, backtrace: None })), backtrace: None })