apparmor

package
v1.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 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, 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