summaryrefslogtreecommitdiff
path: root/net-misc/openssh/files/openssh-7.5_p1-x32-typo.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-10 22:32:41 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-10 22:32:41 +0300
commit5ce1bbe7d1016464d20c4c7749a752b0ce089663 (patch)
tree078f9fc4f2ad6ed5df56829843ba61726c0a430d /net-misc/openssh/files/openssh-7.5_p1-x32-typo.patch
parent9421d2f948084be45a7ce74a4cb40a2062b1eb06 (diff)
openssh-scm
Diffstat (limited to 'net-misc/openssh/files/openssh-7.5_p1-x32-typo.patch')
-rw-r--r--net-misc/openssh/files/openssh-7.5_p1-x32-typo.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-7.5_p1-x32-typo.patch b/net-misc/openssh/files/openssh-7.5_p1-x32-typo.patch
new file mode 100644
index 0000000..5dca1b0
--- /dev/null
+++ b/net-misc/openssh/files/openssh-7.5_p1-x32-typo.patch
@@ -0,0 +1,25 @@
+From 596c432181e1c4a9da354388394f640afd29f44b Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 20 Mar 2017 14:57:40 -0400
+Subject: [PATCH] seccomp sandbox: fix typo w/x32 check
+
+---
+ sandbox-seccomp-filter.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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
+@@ -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 */
+--
+2.12.0
+