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

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) ===
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 <lsolofri...@online.net>
From ae8f1114d2179bec30aa744a42aea59572e44185 Mon Sep 17 00:00:00 2001
From: Louis Solofrizzo <lsolofri...@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 <lsolofri...@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
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to