docker: github.com/docker/docker/profiles/apparmor Index | Files

package apparmor

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

Index

Package Files

apparmor.go template.go

func InstallDefault Uses

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 Uses

func IsLoaded(name string) (bool, error)

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

Package apparmor imports 8 packages (graph) and is imported by 343 packages. Updated 2020-10-02. Refresh now. Tools for package owners.