Rust Rewrite Index

apparmor

user-space parser utility for AppArmor

Rust efforts

Research record · 2026-11-29

Searched AppArmor, apparmor_parser, Rust policy parsing and bindings. apparmor-policy implements policy parsing and serialization but is not the enforcement system, a complete parser-loader replacement, or merely a binding. No full source port surfaced in these sources.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Rust component

apparmor-policy

Rust parser and serializer for AppArmor policy text; it explicitly does not load policies, inspect kernel state or perform enforcement.

Evidence checked 2026-11-29

Project structure

apparmor provides the system initialization scripts needed to use the AppArmor Mandatory Access Control system, including the AppArmor Parser which is required to convert AppArmor text profiles into machine-readable policies that are loaded into the kernel for use with the AppArmor Linux Security Module.

Inside the source tree

Source files by extension in this snapshot · C (146), Python (95), C++ (20), Java (4)

Selected components packaged from this source in Debian 13.

  • apparmor · user-space parser utility for AppArmor
  • dh-apparmor · AppArmor debhelper routines
  • libapparmor1 · changehat AppArmor library
  • apparmor-utils · utilities for controlling AppArmor
  • apparmor-notify · AppArmor notification system
  • libpam-apparmor · changehat AppArmor library as a PAM module