package apparmor

import "github.com/dotcloud/docker/profiles/apparmor"

Index

Functions

func InstallDefault

func InstallDefault(name string) error

InstallDefault generates a default profile in a temp directory determined by os.TempDir(), then loads the profile into the kernel using 'apparmor_parser'.

func IsLoaded

func IsLoaded(name string) (bool, error)

IsLoaded checks if a profile with the given name has been loaded into the kernel.

Source Files

apparmor.go template.go

Version
v26.0.1+incompatible
Published
Apr 10, 2024
Platform
linux/amd64
Imports
8 packages
Last checked
6 minutes ago

Tools for package owners.