Documentation
¶
Overview ¶
Package policy provides helpers for keeping a framework's security policies up to date on install/remove.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SecBase is the directory to which the security policies and templates // are copied SecBase = "/var/lib/snappy" )
Functions ¶
func AppArmorDelta ¶
func AppArmorDelta(oldPath, newPath, prefix string) (policies map[string]bool, templates map[string]bool)
AppArmorDelta returns which policies and templates are updated in the package at newPath, as compared to those installed in the system. The given prefix is applied to the keys of the returns maps.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.