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
v23.0.3+incompatible
Published
Apr 4, 2023
Platform
linux/amd64
Imports
7 packages
Last checked
3 hours ago

Tools for package owners.