apparmor

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 52

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HostSupports

func HostSupports() bool

HostSupports returns true if apparmor is enabled for the host, // On non-Linux returns false On Linux returns true if apparmor_parser is enabled, and if we

are not running docker-in-docker.

It is a modified version of libcontainer/apparmor.IsEnabled(), which does not
check for apparmor_parser to be present, or if we're running docker-in-docker.

Types

This section is empty.

Jump to

Keyboard shortcuts

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