]> 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)
committerJames Cowgill <james410@cowgill.org.uk>
Thu, 18 Aug 2016 15:49:25 +0000 (16:49 +0100)
Fixes "unsupported personality" warnings when starting containers.

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

index 5ce2dc478781e20431f269aea4e2ca07bf8ea35c..f5e639d5f8a5c0458b5c8f956dceda17d31155b8 100644 (file)
@@ -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]);