summaryrefslogtreecommitdiff
path: root/src/shared/seccomp-util.h
diff options
context:
space:
mode:
authorJames Cowgill <james410@cowgill.org.uk>2017-05-03 17:35:45 +0100
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-05-03 18:35:45 +0200
commita3645cc6dd84ea2bde71ff23c1bed1c38315ce0a (patch)
tree1bf2a2d4b09a491f65c1058ca3441e2df46cdd5e /src/shared/seccomp-util.h
parent8251ee109c5f7788fe33043c97b8b9011cb31de6 (diff)
downloadsystemd-a3645cc6dd84ea2bde71ff23c1bed1c38315ce0a.tar.gz
seccomp: add clone syscall definitions for mips (#5880)
Also updates the documentation and adds a mention of ppc64 support which was enabled by #5325. Tested on Debian mipsel and mips64el. The other 4 mips architectures should have an identical user <-> kernel ABI to one of the 2 tested systems.
Diffstat (limited to 'src/shared/seccomp-util.h')
-rw-r--r--src/shared/seccomp-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/seccomp-util.h b/src/shared/seccomp-util.h
index b56ac3f763..468be19f05 100644
--- a/src/shared/seccomp-util.h
+++ b/src/shared/seccomp-util.h
@@ -92,7 +92,7 @@ int seccomp_memory_deny_write_execute(void);
#endif
/* we don't know the right order of the clone() parameters except for these archs, for now */
-#if defined(__x86_64__) || defined(__i386__) || defined(__s390x__) || defined(__s390__) || defined(__powerpc64__)
+#if defined(__x86_64__) || defined(__i386__) || defined(__s390x__) || defined(__s390__) || defined(__powerpc64__) || defined(__mips__)
#define SECCOMP_RESTRICT_NAMESPACES_BROKEN 0
#else
#define SECCOMP_RESTRICT_NAMESPACES_BROKEN 1