package apparmor

import "github.com/opencontainers/runc/libcontainer/apparmor"

Index

Functions

func ApplyProfile

func ApplyProfile(name string) error

ApplyProfile will apply the profile with the specified name to the process after the next exec.

func IsEnabled

func IsEnabled() bool

IsEnabled returns true if apparmor is enabled for the host.

Source Files

apparmor_linux.go

Version
v1.0.0-rc93
Published
Feb 3, 2021
Platform
linux/amd64
Imports
5 packages
Last checked
1 hour ago

Tools for package owners.