caps-rs

A pure-Rust library to work with Linux capabilities

OTHER License

Downloads
3.9M
Stars
80
Committers
14
caps-rs - v0.5.5 Latest Release

Published by lucab almost 2 years ago

Changes:

  • Add CAPGET and CAPSET for LoongArch64
caps-rs - v0.5.4

Published by lucab about 2 years ago

Changes:

  • Remove dependency on errno crate in favor of std functions
caps-rs - v0.5.3

Published by lucab about 3 years ago

Changes:

  • lib: added support for serde
  • cargo: added serde_support feature
caps-rs - v0.5.2

Published by lucab over 3 years ago

Changes:

  • lib: fix bounding drop error message
caps-rs - v0.5.1

Published by lucab over 3 years ago

Changes:

  • nr: fix syscall definitions for x86_64-unknown-linux-gnux32.
  • ci: move Travis jobs to GH actions
caps-rs - v0.5.0

Published by lucab about 4 years ago

Changes:

  • examples: show how to introspect all capabilities
  • nr: add CAP_CHECKPOINT_RESTORE
caps-rs - v0.4.0

Published by lucab about 4 years ago

Changes:

  • lib: switch 'set' to borrow its argument
  • errors: switch to thiserror
  • ci: test on multiple architectures
  • cargo: switch to edition 2018
  • runtime: support procfs cap_last_cap
  • caps: mark enum as non-exhaustive
  • ci: bump toolchains
  • caps: fix warnings
  • caps: gracefully support older kernel versions
  • nr: add CAP_PERFMON and CAP_BPF