#linux #bindings #libcap #capabilties

yanked capabilities

Rust bindings to libcap. Allows you work with Linux Capabilities from Rust.

Uses old Rust 2015

0.3.0 Sep 6, 2017
0.2.1 Jan 16, 2017
0.2.0 Jan 21, 2016
0.1.0 Jan 20, 2016

#1255 in #linux


Used in 2 crates

MPL-2.0 license

27KB
387 lines

rust-capabilities Build Status


About

Provides a rust interface to Linux Capabilties.

Installation

Requires libcap to be installed on the machine.

Fedora

$ sudo dnf install libcap-devel

Debian/Ubuntu

$ sudo apt-get install libcap-dev

Usage

See examples/demo.rs for example usage.

$ cargo run --example demo

Dependencies

~43KB