Documentation
¶
Overview ¶
Package apparmor provides AppArmor profile management.
Index ¶
Constants ¶
View Source
const DefaultProfileTemplate = `` /* 1840-byte string literal not displayed */
DefaultProfileTemplate is the default Doki AppArmor profile template. AE9: Restricts file access, network, capabilities, and mounts.
Variables ¶
This section is empty.
Functions ¶
func IsAppArmorAvailable ¶
func IsAppArmorAvailable() bool
IsAppArmorAvailable checks specifically for AppArmor (not SELinux).
func IsSELinuxAvailable ¶
func IsSELinuxAvailable() bool
IsSELinuxAvailable checks if SELinux is available (Android fallback).
func LoadProfile ¶
LoadProfile loads an AppArmor profile into the kernel.
func UnloadProfile ¶
UnloadProfile removes an AppArmor profile from the kernel.
Types ¶
Click to show internal directories.
Click to hide internal directories.