From d704e4a9c716ec602b75eb461d5760480615d4da 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) --- apparmor/setup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apparmor/setup.go b/apparmor/setup.go index cc786de9..d9deec47 100644 --- a/apparmor/setup.go +++ b/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