aboutsummaryrefslogtreecommitdiffstats
path: root/src/faudit/seccomp.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-07-27 08:05:51 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-07-27 08:05:51 -0400
commit9d5906c708bc5123377879bc0511ed5d7fe85852 (patch)
treeb03084c8e42e3e21c7071948494cd9252ee21979 /src/faudit/seccomp.c
parentfixes (diff)
downloadfirejail-9d5906c708bc5123377879bc0511ed5d7fe85852.tar.gz
firejail-9d5906c708bc5123377879bc0511ed5d7fe85852.tar.zst
firejail-9d5906c708bc5123377879bc0511ed5d7fe85852.zip
fixed faudit compile problem for non-intel platforms
Diffstat (limited to 'src/faudit/seccomp.c')
-rw-r--r--src/faudit/seccomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/faudit/seccomp.c b/src/faudit/seccomp.c
index 6f5d23c48..7b2999467 100644
--- a/src/faudit/seccomp.c
+++ b/src/faudit/seccomp.c
@@ -86,12 +86,13 @@ void seccomp_test(void) {
86 printf("pivot_root... "); fflush(0); 86 printf("pivot_root... "); fflush(0);
87 syscall_run("pivot_root"); 87 syscall_run("pivot_root");
88 88
89#if defined(__i386__) || defined(__x86_64__)
89 printf("iopl... "); fflush(0); 90 printf("iopl... "); fflush(0);
90 syscall_run("iopl"); 91 syscall_run("iopl");
91 92
92 printf("ioperm... "); fflush(0); 93 printf("ioperm... "); fflush(0);
93 syscall_run("ioperm"); 94 syscall_run("ioperm");
94 95#endif
95 printf("\n"); 96 printf("\n");
96 } 97 }
97 else 98 else