apparmor

package
v0.0.0-...-04e5504 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteProfile

func DeleteProfile(state *state.State, c instance)

DeleteProfile removes the policy from cache/disk.

func Destroy

func Destroy(state *state.State, c instance) error

Destroy ensures that the instances's policy namespace is unloaded to free kernel memory. This does not delete the policy from disk or cache.

func LoadProfile

func LoadProfile(state *state.State, c instance) error

LoadProfile ensures that the instances's policy is loaded into the kernel so the it can boot.

func Namespace

func Namespace(c instance) string

Namespace returns the instance's apparmor namespace.

func ParseProfile

func ParseProfile(state *state.State, c instance) error

ParseProfile parses the profile without loading it into the kernel.

func ProfileFull

func ProfileFull(c instance) string

ProfileFull returns the instance's apparmor profile.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL