[lxc-devel] [lxd/master] lxd/include: Fix SECCOMP_GET_ACTION_AVAIL define
Ne02ptzero on Github
lxc-bot at linuxcontainers.org
Thu Nov 14 20:58:14 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 505 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191114/2b37058e/attachment.bin>
-------------- next part --------------
From ae8f1114d2179bec30aa744a42aea59572e44185 Mon Sep 17 00:00:00 2001
From: Louis Solofrizzo <lsolofrizzo at online.net>
Date: Thu, 14 Nov 2019 21:55:01 +0100
Subject: [PATCH] lxd/include: Fix SECCOMP_GET_ACTION_AVAIL define
There was a typo in the code, resulting with compilation error on system
where SECCOMP_GET_ACTION_AVAIL is not defined by the standard headers.
Signed-off-by: Louis Solofrizzo <lsolofrizzo at online.net>
---
lxd/include/lxd_seccomp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxd/include/lxd_seccomp.h b/lxd/include/lxd_seccomp.h
index 665abb96be..242347e3e1 100644
--- a/lxd/include/lxd_seccomp.h
+++ b/lxd/include/lxd_seccomp.h
@@ -8,7 +8,7 @@
#include <linux/filter.h>
#include <linux/types.h>
-#ifdef SECCOMP_GET_ACTION_AVAIL
+#ifndef SECCOMP_GET_ACTION_AVAIL
#define SECCOMP_GET_ACTION_AVAIL 2
#endif
More information about the lxc-devel
mailing list