summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/.git-dpm4
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/x32-syntax-error.patch28
-rw-r--r--sandbox-seccomp-filter.c2
5 files changed, 33 insertions, 3 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
index f27785e11..bd533dda5 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -1,6 +1,6 @@
1# see git-dpm(1) from git-dpm package 1# see git-dpm(1) from git-dpm package
2326d5114682d8ddbb64dead273d7738aea10e30a 293563703c3acd94883e89baa7fcbf666318e2704
3326d5114682d8ddbb64dead273d7738aea10e30a 393563703c3acd94883e89baa7fcbf666318e2704
46fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 46fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874
56fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 56fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874
6openssh_7.5p1.orig.tar.gz 6openssh_7.5p1.orig.tar.gz
diff --git a/debian/changelog b/debian/changelog
index 08f586ab1..3ace044cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
1openssh (1:7.5p1-2) UNRELEASED; urgency=medium 1openssh (1:7.5p1-2) UNRELEASED; urgency=medium
2 2
3 * Add missing header on Linux/s390. 3 * Add missing header on Linux/s390.
4 * Fix syntax error on Linux/X32.
4 5
5 -- Colin Watson <cjwatson@debian.org> Sun, 02 Apr 2017 13:15:56 +0100 6 -- Colin Watson <cjwatson@debian.org> Sun, 02 Apr 2017 13:15:56 +0100
6 7
diff --git a/debian/patches/series b/debian/patches/series
index 16d970527..981b5cf25 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -28,3 +28,4 @@ regress-integrity-robust.patch
28no-dsa-host-key-by-default.patch 28no-dsa-host-key-by-default.patch
29restore-authorized_keys2.patch 29restore-authorized_keys2.patch
30s390-missing-header.patch 30s390-missing-header.patch
31x32-syntax-error.patch
diff --git a/debian/patches/x32-syntax-error.patch b/debian/patches/x32-syntax-error.patch
new file mode 100644
index 000000000..e78003fed
--- /dev/null
+++ b/debian/patches/x32-syntax-error.patch
@@ -0,0 +1,28 @@
1From 93563703c3acd94883e89baa7fcbf666318e2704 Mon Sep 17 00:00:00 2001
2From: Damien Miller <djm@mindrot.org>
3Date: Tue, 21 Mar 2017 08:47:55 +1100
4Subject: Fix syntax error on Linux/X32
5
6Patch from Mike Frysinger
7
8Origin: https://anongit.mindrot.org/openssh.git/commit/?id=6b853c6f8ba5eecc50f3b57af8e63f8184eb0fa6
9Last-Update: 2017-04-02
10
11Patch-Name: x32-syntax-error.patch
12---
13 sandbox-seccomp-filter.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
17index 08dc3a8b..2831e9d1 100644
18--- a/sandbox-seccomp-filter.c
19+++ b/sandbox-seccomp-filter.c
20@@ -238,7 +238,7 @@ static const struct sock_filter preauth_insns[] = {
21 * x86-64 syscall under some circumstances, e.g.
22 * https://bugs.debian.org/849923
23 */
24- SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT);
25+ SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT),
26 #endif
27
28 /* Default deny */
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index 08dc3a8b2..2831e9d10 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -238,7 +238,7 @@ static const struct sock_filter preauth_insns[] = {
238 * x86-64 syscall under some circumstances, e.g. 238 * x86-64 syscall under some circumstances, e.g.
239 * https://bugs.debian.org/849923 239 * https://bugs.debian.org/849923
240 */ 240 */
241 SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT); 241 SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT),
242#endif 242#endif
243 243
244 /* Default deny */ 244 /* Default deny */