summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2016-02-23 11:53:43 -0500
committerPaul Moore <paul@paul-moore.com>2016-02-26 13:02:27 -0500
commit08a682a9f895b8f622499df5ee69fcabe1e3cbab (patch)
treea0010f3498b4b25c178d7b76d1e8472834bbf73b /src
parentbc528aa7fc4ebcd7bb63d5262fe32553a05b2116 (diff)
downloadlibseccomp-08a682a9f895b8f622499df5ee69fcabe1e3cbab.tar.gz
system: update the ABI whitelist for the seccomp() syscall
Special thanks to those on the "Reported-by" line who helped test this. Reported-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> Reported-by: than <than@redhat.com> Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src')
-rw-r--r--src/system.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/system.c b/src/system.c
index ebc4464..c0a1adc 100644
--- a/src/system.c
+++ b/src/system.c
@@ -65,6 +65,12 @@ int sys_chk_seccomp_syscall(void)
/* architecture whitelist */
switch (arch_def_native->token) {
case SCMP_ARCH_X86_64:
+ case SCMP_ARCH_ARM:
+ case SCMP_ARCH_AARCH64:
+ case SCMP_ARCH_PPC64:
+ case SCMP_ARCH_PPC64LE:
+ case SCMP_ARCH_S390:
+ case SCMP_ARCH_S390X:
break;
default:
goto unsupported;