libselinux
« Back to VersTracker
Description:
SELinux library and simple utilities
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: selinux security linux library system-utilities
Install: brew install libselinux
About:
Libselinux is the core C library providing the API for SELinux (Security-Enhanced Linux) operations. It enables applications to interact with the Linux Security Module (LSM) for enforcing mandatory access control policies. Its main value is providing a stable interface for developers to write SELinux-aware applications and utilities.
Key Features:
  • Provides the primary C API for SELinux operations
  • Implements SELinux-aware file system and process interfaces
  • Supports security context management and policy interaction
  • Required dependency for many system-level tools
Use Cases:
  • Developing applications that interact with SELinux policies
  • Managing security contexts for files and processes programmatically
  • Building system utilities that require fine-grained access control
Alternatives:
  • AppArmor – Alternative Linux security module with a different policy language and scope, often considered easier to configure but less granular than SELinux.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 8:37pm 0 VERSION_BUMP c5342aad