From: James Cowgill Date: Thu, 18 Aug 2016 13:27:35 +0000 (+0100) Subject: seccomp: Add mips and mips64 entries to lxc_config_parse_arch X-Git-Tag: lxc-2.1.0~348^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e319eb3478799207d3185bfc780b94d0959ea627;p=thirdparty%2Flxc.git seccomp: Add mips and mips64 entries to lxc_config_parse_arch Fixes "unsupported personality" warnings when starting containers. Signed-off-by: James Cowgill --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 5ce2dc478..f5e639d5f 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -2079,9 +2079,13 @@ signed long lxc_config_parse_arch(const char *arch) { "i586", PER_LINUX32 }, { "i686", PER_LINUX32 }, { "athlon", PER_LINUX32 }, + { "mips", PER_LINUX32 }, + { "mipsel", PER_LINUX32 }, { "linux64", PER_LINUX }, { "x86_64", PER_LINUX }, { "amd64", PER_LINUX }, + { "mips64", PER_LINUX }, + { "mips64el", PER_LINUX }, }; size_t len = sizeof(pername) / sizeof(pername[0]);