]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
seccomp: Add mips and mips64 entries to lxc_config_parse_arch
authorJames Cowgill <james410@cowgill.org.uk>
Thu, 18 Aug 2016 13:27:35 +0000 (14:27 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 23:31:46 +0000 (18:31 -0500)
Fixes "unsupported personality" warnings when starting containers.

Signed-off-by: James Cowgill <james410@cowgill.org.uk>
src/lxc/confile.c

index 31efd77dce60b88dad220018aa64431050de5a10..b4662377d38527d8ddb444b6b4be36edf46a6e61 100644 (file)
@@ -1791,9 +1791,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]);