diff options
author | Tuan M. Hoang <tmhoang@flatglobe.org> | 2017-04-07 22:10:25 -0400 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-10 13:00:52 +0000 |
commit | 00368db93712aca058f44e6fb674d574ba0b98d4 (patch) | |
tree | 423fd2c9893bdcfb0219d49deeeff7109c04410a /main/openssh/openssh-7.5p1-sandbox.patch | |
parent | 0efdb591d0a6f10796708df3129a4a8a05575bb5 (diff) | |
download | aports-00368db93712aca058f44e6fb674d574ba0b98d4.tar.bz2 aports-00368db93712aca058f44e6fb674d574ba0b98d4.tar.xz |
main/openssh: add missing header on s390x
Ref : https://bugzilla.redhat.com/show_bug.cgi?id=1434341
Patch from fedora team
Diffstat (limited to 'main/openssh/openssh-7.5p1-sandbox.patch')
-rw-r--r-- | main/openssh/openssh-7.5p1-sandbox.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/openssh/openssh-7.5p1-sandbox.patch b/main/openssh/openssh-7.5p1-sandbox.patch new file mode 100644 index 0000000000..7d09632c8f --- /dev/null +++ b/main/openssh/openssh-7.5p1-sandbox.patch @@ -0,0 +1,23 @@ +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 + */ +- SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT); ++ SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT), + #endif + + /* Default deny */ |