Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2022 v0.0.1 Nov 10, 2022 Changes in this version + var CacheDir string + var ConfDir string + var LoadProfiles = func(fnames []string, cacheDir string, flags AaParserFlags) error + var SnapConfineDistroProfilePath = func() string + var SystemCacheDir string + func DecodeLabel(label string) (snap, app, hook string, err error) + func KernelFeatures() ([]string, error) + func LoadedProfiles() ([]string, error) + func MockFeatures(kernelFeatures []string, kernelError error, parserFeatures []string, ...) (restore func()) + func MockLevel(level LevelType) (restore func()) + func ParserFeatures() ([]string, error) + func ParserMtime() int64 + func ReloadAllSnapProfiles() error + func SnapAppFromPid(pid int) (snap, app, hook string, err error) + func Summary() string + func UnloadProfiles(names []string, cacheDir string) error + func UpdateHomedirsTunable(homedirs []string) error + func ValidateNoAppArmorRegexp(s string) error + type AaParserFlags int + const ConserveCPU + const SkipKernelLoad + const SkipReadCache + type LevelType int + const Full + const Partial + const Unknown + const Unsupported + const Unusable + func ProbedLevel() LevelType + func (level LevelType) String() string