Add missing header on s390 (#1434341)

This commit is contained in:
Jakub Jelen 2017-03-21 14:24:03 +01:00
parent 09320cf61a
commit fb74d1ec96
2 changed files with 12 additions and 2 deletions

View File

@ -2,6 +2,16 @@ 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
@@ -50,6 +50,9 @@
#include <elf.h>
#include <asm/unistd.h>
+#ifdef __s390__
+#include <asm/zcrypt.h>
+#endif
#include <errno.h>
#include <signal.h>
@@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = {
* x86-64 syscall under some circumstances, e.g.
* https://bugs.debian.org/849923

View File

@ -228,8 +228,8 @@ Patch942: openssh-7.2p2-chroot-capabilities.patch
Patch944: openssh-7.3p1-x11-max-displays.patch
# Help systemd to track the running service
Patch948: openssh-7.4p1-systemd.patch
# Fix typo in sandbox code
Patch949: openssh-7.5p1-sandbox-typo.patch
# Fix typo in sandbox code; missing header for s390
Patch949: openssh-7.5p1-sandbox.patch
License: BSD