diff options
Diffstat (limited to 'src/fseccomp/seccomp_file.c')
-rw-r--r-- | src/fseccomp/seccomp_file.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fseccomp/seccomp_file.c b/src/fseccomp/seccomp_file.c index 9ce2dabb1..b44672d46 100644 --- a/src/fseccomp/seccomp_file.c +++ b/src/fseccomp/seccomp_file.c | |||
@@ -39,11 +39,9 @@ void write_to_file(int fd, const void *data, size_t size) { | |||
39 | void filter_init(int fd, bool native) { | 39 | void filter_init(int fd, bool native) { |
40 | struct sock_filter filter_native[] = { | 40 | struct sock_filter filter_native[] = { |
41 | VALIDATE_ARCHITECTURE, | 41 | VALIDATE_ARCHITECTURE, |
42 | #if defined(__x86_64__) | ||
43 | EXAMINE_SYSCALL, | 42 | EXAMINE_SYSCALL, |
43 | #if defined(__x86_64__) | ||
44 | HANDLE_X32 | 44 | HANDLE_X32 |
45 | #else | ||
46 | EXAMINE_SYSCALL | ||
47 | #endif | 45 | #endif |
48 | }; | 46 | }; |
49 | struct sock_filter filter_32[] = { | 47 | struct sock_filter filter_32[] = { |