Permalink
Browse files

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>
  • Loading branch information...
1 parent bc528aa commit 08a682a9f895b8f622499df5ee69fcabe1e3cbab @pcmoore pcmoore committed Feb 23, 2016
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/system.c
View
@@ -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;

0 comments on commit 08a682a

Please sign in to comment.