[lxc-devel] [lxd/master] lxd/apparmor/forkproxy: Fix running on i386

stgraber on Github lxc-bot at linuxcontainers.org
Thu Aug 27 16:23:50 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200827/e857df17/attachment.bin>
-------------- next part --------------
From 21d9728ea1312467ddd9836bbcf709fff4207986 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 27 Aug 2020 12:23:35 -0400
Subject: [PATCH] lxd/apparmor/forkproxy: Fix running on i386
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: St├ęphane Graber <stgraber at ubuntu.com>
---
 lxd/apparmor/instance_forkproxy.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/apparmor/instance_forkproxy.go b/lxd/apparmor/instance_forkproxy.go
index ca3f4a2288..3bdb79ed11 100644
--- a/lxd/apparmor/instance_forkproxy.go
+++ b/lxd/apparmor/instance_forkproxy.go
@@ -49,6 +49,7 @@ profile "{{ .name }}" flags=(attach_disconnected,mediate_deleted) {
   @{PROC}/** rw,
   / rw,
   ptrace (read),
+  ptrace (trace),
 
   # Needed for lxd fork commands
   {{ .exePath }} mr,


More information about the lxc-devel mailing list