apparmor

package
v1.7.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 2 Imported by: 66

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