From fb74d1ec9613447a524c031b83802f46c5c3d30c Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 21 Mar 2017 14:24:03 +0100 Subject: [PATCH] Add missing header on s390 (#1434341) --- ...1-sandbox-typo.patch => openssh-7.5p1-sandbox.patch | 10 ++++++++++ openssh.spec | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) rename openssh-7.5p1-sandbox-typo.patch => openssh-7.5p1-sandbox.patch (75%) diff --git a/openssh-7.5p1-sandbox-typo.patch b/openssh-7.5p1-sandbox.patch similarity index 75% rename from openssh-7.5p1-sandbox-typo.patch rename to openssh-7.5p1-sandbox.patch index dd5f1fa..7d09632 100644 --- a/openssh-7.5p1-sandbox-typo.patch +++ b/openssh-7.5p1-sandbox.patch @@ -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 + + #include ++#ifdef __s390__ ++#include ++#endif + + #include + #include @@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = { * x86-64 syscall under some circumstances, e.g. * https://bugs.debian.org/849923 diff --git a/openssh.spec b/openssh.spec index f07d64d..5b95119 100644 --- a/openssh.spec +++ b/openssh.spec @@ -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