selinux-sys 0.2.1

Flexible Mandatory Access Control (MAC) for Linux
Documentation

crates.io docs.rs license

selinux-sys: Unsafe Rust bindings for libselinux

SELinux is a flexible Mandatory Access Control (MAC) for Linux.

Linking options

This crate finds libselinux based on pkg-config. Environment variables controlling the pkg-config crate also affect this crate.

Depending on this crate

This crate provides the following variables to other crates that depend on it:

  • DEP_SELINUX_INCLUDE: Path of the directory where library C header files reside.
  • DEP_SELINUX_LIB: Path of the directory where the library binary resides.

Versioning

This project adheres to Semantic Versioning. The CHANGELOG.md file details notable changes over time.