The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6351

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 7318abe3c3d4cd68ab0d0327cf7fa8b5b6272c3e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Fri, 25 Oct 2019 15:29:13 -0400
Subject: [PATCH] lxd/include: Fix definition of
 SECCOMP_USER_NOTIF_FLAG_CONTINUE
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/include/lxd_seccomp.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lxd/include/lxd_seccomp.h b/lxd/include/lxd_seccomp.h
index 9756cca255..665abb96be 100644
--- a/lxd/include/lxd_seccomp.h
+++ b/lxd/include/lxd_seccomp.h
@@ -20,6 +20,9 @@
 #define SECCOMP_GET_NOTIF_SIZES 3
 #endif
 
+// Workaround for kernels with bad definition (using BIT)
+#undef SECCOMP_USER_NOTIF_FLAG_CONTINUE
+
 #ifndef SECCOMP_USER_NOTIF_FLAG_CONTINUE
 #define SECCOMP_USER_NOTIF_FLAG_CONTINUE 0x00000001
 #endif
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to