Skip to content

Releases: cptpcrd/capctl

v0.2.3

30 Jul 21:01
Compare
Choose a tag to compare

Changelog:

  • style(prctl): cargo fmt
  • feat(prctl): add PR_SET_MDWE/PR_GET_MDWE support (#4)

v0.2.2

26 Jun 02:15
Compare
Choose a tag to compare

Changelog:

  • feat(capset): add issubset() and issuperset() methods
  • refactor(caps): special-case full CapState
  • refactor(caps): avoid excessive writes in CapState Display impl
  • feat(prctl): add speculation control interface
  • feat(prctl): add perf events and I/O flusher interfaces
  • doc: Improve documentation

v0.2.1

19 Mar 18:15
Compare
Choose a tag to compare

Changelog:

  • feat: Improve handling of unknown capabilities (now has facilities to avoid certain security issues)
  • feat: Add more prctl() wrappers
  • doc: Improve documentation
  • test: Add many more tests
  • Various internal improvements, including reducing use of unsafe code

v0.2.0

03 Jan 16:38
Compare
Choose a tag to compare

Changelog:

  • feat(caps): new cap_set_ids() helper
  • fix(caps): use correctly scoped reference to CapSet in macro
  • feat(prctl): add get_seccomp() and set_seccomp_strict() helpers
  • refactor(caps): require use of Cap in capset!()
  • chore(caps): implement Error for ParseCapError
  • feat(caps): implement "assignment" versions of some operators on CapSet
  • feat(prctl): add {get,set}_timerslack()
  • feat(caps): add optional serde support to Cap and CapSet
  • perf(caps): reduce range for supported capability binary search
  • feat(caps): implement Display and FromStr for CapState/FileCaps
  • refactor(caps): change Debug implementation for ParseCapError
  • refactor: re-export caps/prctl items in crate root
  • refactor: switch to custom error type
  • refactor: allow disabling std dependency
  • feat: add support for making inline syscalls in some functions
  • feat(caps): make capset!() macro always const
  • perf(caps): skip unnecessary FromStr bounds check in release mode
  • refactor: remove Error::description() impls for error types
  • refactor: major internal refactoring
  • test: improve tests
  • doc: improve documentation