2017-03-21 09:12:44 +00:00
|
|
|
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
|
|
|
|
index 3a1aedce72c2..a8d472a63ccb 100644
|
|
|
|
--- a/sandbox-seccomp-filter.c
|
|
|
|
+++ b/sandbox-seccomp-filter.c
|
2017-03-21 13:24:03 +00:00
|
|
|
@@ -50,6 +50,9 @@
|
|
|
|
#include <elf.h>
|
|
|
|
|
|
|
|
#include <asm/unistd.h>
|
|
|
|
+#ifdef __s390__
|
|
|
|
+#include <asm/zcrypt.h>
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
#include <errno.h>
|
|
|
|
#include <signal.h>
|
2017-03-21 09:12:44 +00:00
|
|
|
@@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = {
|
|
|
|
* x86-64 syscall under some circumstances, e.g.
|
|
|
|
* https://bugs.debian.org/849923
|
|
|
|
*/
|
|
|
|
- SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT);
|
|
|
|
+ SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT),
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Default deny */
|