package aaparser
import "github.com/docker/cli/components/engine/pkg/aaparser"
Package aaparser is a convenience package interacting with `apparmor_parser`.
Index ¶
Functions ¶
func GetVersion ¶
GetVersion returns the major and minor version of apparmor_parser.
func LoadProfile ¶
LoadProfile runs `apparmor_parser -Kr` on a specified apparmor profile to replace the profile. The `-K` is necessary to make sure that apparmor_parser doesn't try to write to a read-only filesystem.
Source Files ¶
- Version
- v17.11.0-ce-rc2+incompatible
- Published
- Nov 1, 2017
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 1 minute ago –
Tools for package owners.