Documentation
¶
Index ¶
- func IsAppArmorProfileLoaded(name string) (bool, error)
- func LoadAppArmorProfile(path string, mode string) (string, error)
- func RemoveAppArmorProfile(profilePath string) error
- func RemoveUnknown() (string, error)
- func SaveAppArmorProfile(fileName string, content string) error
- func UnloadAllAppArmorProfiles(profileDir string)
- func UnloadAppArmorProfile(profilePath string) (string, error)
- func UpdateAppArmorProfile(path string, mode string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAppArmorProfileLoaded ¶
func RemoveAppArmorProfile ¶
func RemoveUnknown ¶
RemoveUnknown remove the unknown AppArmor profiles from kernel.
Node: It will only recognize profiles in /etc/apparmor.d, not even its subdirectories
func SaveAppArmorProfile ¶ added in v0.5.4
func UnloadAllAppArmorProfiles ¶ added in v0.5.6
func UnloadAllAppArmorProfiles(profileDir string)
func UnloadAppArmorProfile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.