You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/apparmor/apparmor_linux.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,8 @@ var (
29
29
// hostSupports returns true if apparmor is enabled for the host, if
30
30
// apparmor_parser is enabled, and if we are not running docker-in-docker.
31
31
//
32
-
// It is a modified version of libcontainer/apparmor.IsEnabled(), which does not
33
-
// check for apparmor_parser to be present, or if we're running docker-in-docker.
32
+
// This is derived from libcontainer/apparmor.IsEnabled(), with the addition
33
+
// of checks for apparmor_parser to be present and docker-in-docker.
34
34
funchostSupports() bool {
35
35
checkAppArmor.Do(func() {
36
36
// see https://github.com/opencontainers/runc/blob/0d49470392206f40eaab3b2190a57fe7bb3df458/libcontainer/apparmor/apparmor_linux.go
0 commit comments