lucab / caps-rs

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

securebits: add support for all flags #31

Open lucab opened 6 years ago

lucab commented 6 years ago

Release 0.3.0 introduced support for a single flag in securebits, namely SECBIT_KEEP_CAPS.

There are three more flags missing, with their corresponding "locked" twins. All of those should be implemented via PR_SET_SECUREBITS and PR_GET_SECUREBITS.

This is a followup to https://github.com/lucab/caps-rs/issues/26.

lucab commented 6 years ago

/cc @kpcyrd

kpcyrd commented 6 years ago

If they aren't out of scope for a capabilities library I would be interested in having those :)