summaryrefslogtreecommitdiff
path: root/system/openssh/openssh-7.5p1-sandbox.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:40 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:40 -0600
commit10613294b48e3736c0edf5f93c6ff34b52339079 (patch)
treefca7f0455d929960160c5b7a58bf7723e757d65b /system/openssh/openssh-7.5p1-sandbox.patch
parentf6b52bbe6f5db81c293948a2aedf978b508eb742 (diff)
downloadpackages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.gz
packages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.bz2
packages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.xz
packages-10613294b48e3736c0edf5f93c6ff34b52339079.zip
system/openssh: add drastically simplified OpenSSH
Diffstat (limited to 'system/openssh/openssh-7.5p1-sandbox.patch')
-rw-r--r--system/openssh/openssh-7.5p1-sandbox.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/system/openssh/openssh-7.5p1-sandbox.patch b/system/openssh/openssh-7.5p1-sandbox.patch
new file mode 100644
index 000000000..7d09632c8
--- /dev/null
+++ b/system/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 */