diff options
author | Xiaotian Wu <wuxiaotian@loongson.cn> | 2021-11-05 09:52:27 +0100 |
---|---|---|
committer | Xiaotian Wu <wuxiaotian@loongson.cn> | 2023-08-09 02:50:07 +0200 |
commit | f9d3fb6b5e3bd49d336fccd6604a4942b901e8d4 (patch) | |
tree | 3c6a01980feb61479529ca9ee75b95875d841ca1 /src/nspawn | |
parent | Merge pull request #28727 from yuwata/proc-cmdline-cleanups (diff) | |
download | systemd-f9d3fb6b5e3bd49d336fccd6604a4942b901e8d4.tar.xz systemd-f9d3fb6b5e3bd49d336fccd6604a4942b901e8d4.zip |
seccomp: add LoongArch 64bit support
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn-oci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-oci.c b/src/nspawn/nspawn-oci.c index 61798e166c..a4eda80ea0 100644 --- a/src/nspawn/nspawn-oci.c +++ b/src/nspawn/nspawn-oci.c @@ -1643,6 +1643,9 @@ static int oci_seccomp_arch_from_string(const char *name, uint32_t *ret) { } table[] = { { "SCMP_ARCH_AARCH64", SCMP_ARCH_AARCH64 }, { "SCMP_ARCH_ARM", SCMP_ARCH_ARM }, +#ifdef SCMP_ARCH_LOONGARCH64 + { "SCMP_ARCH_LOONGARCH64", SCMP_ARCH_LOONGARCH64 }, +#endif { "SCMP_ARCH_MIPS", SCMP_ARCH_MIPS }, { "SCMP_ARCH_MIPS64", SCMP_ARCH_MIPS64 }, { "SCMP_ARCH_MIPS64N32", SCMP_ARCH_MIPS64N32 }, |