The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1242
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) === If libseccomp version is < 2.3 we do not have appropriate s390x support. Signed-off-by: Christian Brauner <[email protected]>
From 5ef2ebe212ac3bcd937dde4b9f5629bbb3f847e6 Mon Sep 17 00:00:00 2001 From: Christian Brauner <[email protected]> Date: Thu, 20 Oct 2016 19:23:14 +0200 Subject: [PATCH] seccomp: check libseccomp version for s390x If libseccomp version is < 2.3 we do not have appropriate s390x support. Signed-off-by: Christian Brauner <[email protected]> --- src/lxc/seccomp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lxc/seccomp.c b/src/lxc/seccomp.c index ccffa9f..fc8ec0e 100644 --- a/src/lxc/seccomp.c +++ b/src/lxc/seccomp.c @@ -33,6 +33,12 @@ #include "log.h" #include "lxcseccomp.h" +#if SCMP_VER_MAJOR < 2 || (SCMP_VER_MAJOR == 2 && SCMP_VER_MINOR < 3) +#ifdef SCMP_ARCH_S390X +#undef SCMP_ARCH_S390X +#endif +#endif + lxc_log_define(lxc_seccomp, lxc); static int parse_config_v1(FILE *f, struct lxc_conf *conf)
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
