From 0bcebe0347c7ce43dfc4a5cdbb4fa083dcd86d82 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 7 Apr 2014 02:47:43 -0400 Subject: [PATCH] apparmor: abstractions/base expects pid variable Add 'pid' variable pointing to 'self' to allow parsing of profile to succeed Docker-DCO-1.1-Signed-off-by: Michael Brown (github: Supermathie) --- libcontainer/apparmor/setup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libcontainer/apparmor/setup.go b/libcontainer/apparmor/setup.go index cc786de..d9deec4 100644 --- a/libcontainer/apparmor/setup.go +++ b/libcontainer/apparmor/setup.go @@ -16,6 +16,7 @@ const DefaultProfile = ` #@{HOMEDIRS}+= @{multiarch}=*-linux-gnu* @{PROC}=/proc/ +@{pid}=self profile docker-default flags=(attach_disconnected,mediate_deleted) { #include